/* Critical CSS - Above the fold styles only */

/* Contract Information Styles */
.contract-info {
    margin: 2rem 0;
    padding: 1.5rem;
    background: var(--card-bg);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.contract-info h4 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.contract-addresses {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contract-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem;
    background: rgba(28, 30, 38, 0.3);
    border-radius: 8px;
    border: 1px solid rgba(0, 240, 255, 0.1);
}

.contract-item strong {
    color: var(--primary);
    font-size: 0.9rem;
}

.contract-item code {
    background: rgba(0, 0, 0, 0.3);
    padding: 0.5rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    word-break: break-all;
    color: var(--text-light);
    border: 1px solid rgba(0, 240, 255, 0.2);
}

.explorer-link {
    color: var(--primary);
    text-decoration: none;
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.explorer-link:hover {
    color: var(--text-light);
    text-shadow: var(--glow);
}

.explorer-link::after {
    content: "↗";
    font-size: 0.7rem;
}

@media (max-width: 768px) {
    .contract-addresses {
        gap: 0.8rem;
    }
    
    .contract-item {
        padding: 0.8rem;
    }
    
    .contract-item code {
        font-size: 0.7rem;
        padding: 0.4rem;
    }
}
:root {
    --bg-dark: #0A0B0F;
    --primary: #00f0ff;
    --primary-dark: #0066ff;
    --secondary: #1C1E26;
    --text-light: #ffffff;
    --text-medium: #b8c4d9;
    --border-color: rgba(0, 240, 255, 0.2);
    --gradient: linear-gradient(90deg, #00f0ff 0%, #0066ff 100%);
    --gradient-reverse: linear-gradient(90deg, #0066ff 0%, #00f0ff 100%);
    --glow: 0 0 10px rgba(0, 240, 255, 0.5);
    --glow-intense: 0 0 20px rgba(0, 240, 255, 0.8);
    --card-bg: linear-gradient(145deg, rgba(28, 30, 38, 0.6), rgba(20, 22, 30, 0.8));
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    max-width: 100vw;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    font-size: 16px;
    position: relative;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(0, 102, 255, 0.08) 0%, transparent 25%),
        radial-gradient(circle at 90% 80%, rgba(0, 240, 255, 0.08) 0%, transparent 25%),
        radial-gradient(circle at 50% 50%, rgba(10, 11, 15, 0.9) 10%, transparent 25%);
}

h1, h2, h3, .nav-logo {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    letter-spacing: 1px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    opacity: 0.4;
}

header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(10, 11, 15, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

header.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 4px 20px rgba(0, 102, 255, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-weight: 700;
    font-size: 1.5rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    position: relative;
}

.nav-logo::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width 0.3s ease;
}

.nav-logo:hover::after {
    width: 100%;
}

.nav-logo:hover {
    text-shadow: var(--glow);
}

.nav-logo img {
    width: 36px;
    margin-right: 12px;
    filter: drop-shadow(0 0 5px rgba(0, 240, 255, 0.7));
    transition: all 0.5s ease;
}

.nav-logo:hover img {
    transform: rotate(15deg) scale(1.1);
    filter: drop-shadow(0 0 8px rgba(0, 240, 255, 0.9));
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-medium);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 1rem;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--text-light);
}

.nav-links a:hover::after {
    width: 100%;
}

.btn {
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.6s ease;
    z-index: -1;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: var(--glow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 102, 255, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-light);
    border: 1px solid var(--primary);
    box-shadow: var(--glow);
}

.btn-secondary:hover {
    background: rgba(0, 240, 255, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 240, 255, 0.3);
}

.hero {
    padding: 120px 0 100px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(0, 102, 255, 0.1) 0%, transparent 50%);
    animation: pulse 8s infinite alternate;
    z-index: -1;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1.2;
    animation: pulse 2s infinite alternate, float 6s ease-in-out infinite;
    text-shadow: 0 5px 15px rgba(0, 102, 255, 0.3);
}

.hero p {
    font-size: 1.3rem;
    color: var(--text-medium);
    max-width: 700px;
    margin: 0 auto 2.5rem auto;
    line-height: 1.6;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-image {
    max-width: 240px;
    margin: 2rem auto;
    filter: drop-shadow(0 0 20px rgba(0, 240, 255, 0.5));
    animation: float 4s ease-in-out infinite;
    transition: all 0.5s ease;
    position: relative;
}

.hero-image::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 20px;
    background: radial-gradient(ellipse at center, rgba(0, 240, 255, 0.5) 0%, transparent 70%);
    filter: blur(5px);
    z-index: -1;
}

.hero-image:hover {
    filter: drop-shadow(0 0 30px rgba(0, 240, 255, 0.8));
    transform: scale(1.05) rotate(5deg);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
    100% { transform: scale(1); opacity: 0.5; }
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .hamburger { display: block; }
    .hero h1 { font-size: 2.5rem; }
    .hero p { font-size: 1.1rem; }
    .hero-buttons { flex-direction: column; align-items: center; gap: 1rem; }
    .btn { width: 100%; max-width: 250px; }
}
