/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-yellow: #FFD700;
    --dark-bg: #0a0a0a;
    --darker-bg: #050505;
    --card-bg: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --accent-red: #ff0033;
    --glow-yellow: rgba(255, 215, 0, 0.5);
}

body {
    font-family: 'Rajdhani', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Background Pattern */
.background-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/background-pattern.png');
    background-size: 400px 400px;
    opacity: 0.05;
    z-index: -1;
    pointer-events: none;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--primary-yellow);
    z-index: 1000;
    padding: 1rem 0;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--primary-yellow);
    text-shadow: 0 0 20px var(--glow-yellow);
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:not(.btn-primary):hover {
    color: var(--primary-yellow);
}

.btn-primary {
    background: var(--primary-yellow);
    color: var(--dark-bg);
    padding: 0.7rem 1.5rem;
    border-radius: 4px;
    font-weight: 700;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-yellow);
}

.btn-primary:hover {
    background: transparent;
    color: var(--primary-yellow);
    box-shadow: 0 0 20px var(--glow-yellow);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 8rem 2rem 2rem;
    position: relative;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    flex: 1;
}

.hero-content {
    z-index: 2;
}

.glitch-wrapper {
    overflow: hidden;
}

.hero-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 5rem;
    font-weight: 900;
    color: var(--primary-yellow);
    text-shadow: 0 0 30px var(--glow-yellow);
    margin-bottom: 1rem;
    line-height: 1;
    letter-spacing: 4px;
}

/* Glitch Effect */
.glitch {
    position: relative;
    animation: glitch-skew 3s infinite;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    left: 2px;
    text-shadow: -2px 0 #ff0033;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim 5s infinite linear alternate-reverse;
}

.glitch::after {
    left: -2px;
    text-shadow: -2px 0 #00fff9;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim2 5s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% { clip: rect(10px, 9999px, 31px, 0); }
    20% { clip: rect(70px, 9999px, 71px, 0); }
    40% { clip: rect(40px, 9999px, 80px, 0); }
    60% { clip: rect(90px, 9999px, 15px, 0); }
    80% { clip: rect(50px, 9999px, 60px, 0); }
    100% { clip: rect(30px, 9999px, 35px, 0); }
}

@keyframes glitch-anim2 {
    0% { clip: rect(65px, 9999px, 100px, 0); }
    20% { clip: rect(20px, 9999px, 40px, 0); }
    40% { clip: rect(80px, 9999px, 5px, 0); }
    60% { clip: rect(35px, 9999px, 85px, 0); }
    80% { clip: rect(95px, 9999px, 25px, 0); }
    100% { clip: rect(15px, 9999px, 45px, 0); }
}

@keyframes glitch-skew {
    0% { transform: skew(0deg); }
    10% { transform: skew(0deg); }
    11% { transform: skew(2deg); }
    12% { transform: skew(0deg); }
    100% { transform: skew(0deg); }
}

.hero-subtitle {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    letter-spacing: 3px;
}

.hero-description {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.btn-hero {
    background: var(--primary-yellow);
    color: var(--dark-bg);
    padding: 1rem 2.5rem;
    border-radius: 4px;
    font-weight: 700;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-yellow);
    display: inline-block;
}

.btn-hero:hover {
    background: transparent;
    color: var(--primary-yellow);
    box-shadow: 0 0 30px var(--glow-yellow);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--primary-yellow);
    padding: 1rem 2.5rem;
    border-radius: 4px;
    font-weight: 700;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-yellow);
    display: inline-block;
}

.btn-secondary:hover {
    background: var(--primary-yellow);
    color: var(--dark-bg);
    box-shadow: 0 0 30px var(--glow-yellow);
    transform: translateY(-2px);
}

.contract-address {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--card-bg);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--primary-yellow);
    max-width: fit-content;
}

.contract-label {
    font-weight: 700;
    color: var(--primary-yellow);
}

.contract-value {
    font-family: 'Courier New', monospace;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.copy-btn {
    background: transparent;
    border: none;
    color: var(--primary-yellow);
    cursor: pointer;
    padding: 0.5rem;
    transition: all 0.3s ease;
}

.copy-btn:hover {
    transform: scale(1.2);
    filter: drop-shadow(0 0 10px var(--glow-yellow));
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateY(-15px);
}

.image-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, var(--glow-yellow) 0%, transparent 70%);
    filter: blur(60px);
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; transform: scale(0.95); }
    50% { opacity: 0.8; transform: scale(1.05); }
}

.character-img {
    max-width: 100%;
    height: auto;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 0 40px var(--glow-yellow));
    animation: float 4s ease-in-out infinite;
}

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

/* Social Section */
.social-section {
    max-width: 1400px;
    margin: 3rem auto 0;
    padding: 0 2rem;
}

.social-links {
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.social-btn {
    background: var(--card-bg);
    color: var(--primary-yellow);
    padding: 1.2rem 2.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    border: 2px solid var(--primary-yellow);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
}

.social-btn:hover {
    background: var(--primary-yellow);
    color: var(--dark-bg);
    box-shadow: 0 0 30px var(--glow-yellow);
    transform: translateY(-5px);
}

/* Footer */
.footer {
    background: var(--darker-bg);
    border-top: 2px solid var(--primary-yellow);
    padding: 2rem 0 1rem;
    margin-top: 4rem;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-content {
    text-align: center;
    margin-bottom: 1.5rem;
}

.footer-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
}

.footer-bottom p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-image {
        order: -1;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .contract-address {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .nav-links {
        gap: 1rem;
        font-size: 0.9rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .social-links {
        flex-direction: column;
    }
    
    .contract-value {
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .nav-links a:first-child {
        display: none;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
}

