/* ===== CSS Custom Properties — Light Warm Theme ===== */
:root {
    /* Backgrounds — warm cream/beige tones from the logo bg */
    --bg-primary: #ede9e4;
    --bg-secondary: #e3dfd9;
    --bg-tertiary: #d8d3cc;
    --bg-card: rgba(255, 255, 255, 0.7);
    --bg-card-hover: rgba(255, 255, 255, 0.9);
    --bg-white: #ffffff;

    /* Character palette — warm brownish greys from the PAIN character */
    --char-dark: #5c5550;
    --char-mid: #7a726c;
    --char-body: #8e857e;
    --char-light: #a89e96;
    --char-lighter: #c4bbb3;

    /* Accent — warm dark tones */
    --accent-900: #2d2926;
    --accent-800: #3e3935;
    --accent-700: #5c5550;
    --accent-600: #6b6360;
    --accent-500: #7a726c;
    --accent-400: #8e857e;
    --accent-300: #a89e96;
    --accent-200: #c4bbb3;
    --accent-100: #ddd7d0;
    --accent-50: #f0ece8;

    /* Text */
    --text-primary: #2d2926;
    --text-secondary: #6b6360;
    --text-muted: #9a928b;
    --text-accent: var(--accent-700);
    --text-on-dark: #f0ece8;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--accent-700), var(--accent-900));
    --gradient-warm: linear-gradient(135deg, var(--char-body), var(--char-dark));
    --gradient-soft: linear-gradient(135deg, var(--accent-100), var(--accent-50));

    /* Borders */
    --border-subtle: rgba(45, 41, 38, 0.1);
    --border-medium: rgba(45, 41, 38, 0.18);
    --border-strong: rgba(45, 41, 38, 0.3);
    --border-outline: #2d2926;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(45, 41, 38, 0.06);
    --shadow-md: 0 4px 20px rgba(45, 41, 38, 0.08);
    --shadow-lg: 0 8px 40px rgba(45, 41, 38, 0.1);
    --shadow-xl: 0 16px 60px rgba(45, 41, 38, 0.12);

    /* Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;

    /* Fonts */
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

/* ===== Particles Background ===== */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--char-mid);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat 10s infinite;
}

@keyframes particleFloat {
    0% { opacity: 0; transform: translateY(100vh) scale(0); }
    10% { opacity: 0.25; }
    90% { opacity: 0.05; }
    100% { opacity: 0; transform: translateY(-10vh) scale(1); }
}

/* ===== Utility ===== */
.text-gradient {
    background: var(--gradient-warm);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.section-tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent-700);
    background: rgba(45, 41, 38, 0.06);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    border: 1.5px solid var(--border-medium);
    margin-bottom: 20px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.section-title-center {
    text-align: center;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 48px;
    text-align: center;
    line-height: 1.7;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-normal);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--accent-900);
    color: var(--text-on-dark);
    box-shadow: 0 4px 16px rgba(45, 41, 38, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(45, 41, 38, 0.28);
    background: var(--accent-800);
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--accent-900);
}

.btn-outline:hover {
    background: var(--accent-900);
    color: var(--text-on-dark);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 1.05rem;
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all var(--transition-normal);
}

.navbar.scrolled {
    background: rgba(237, 233, 228, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    padding: 10px 0;
    box-shadow: var(--shadow-sm);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1001;
}

.nav-logo-img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2.5px solid var(--accent-900);
    object-fit: cover;
}

.nav-logo-text {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--accent-900);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-900);
    border-radius: 1px;
    transition: width var(--transition-normal);
}

.nav-link:hover {
    color: var(--text-primary);
}

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

.nav-cta {
    padding: 10px 24px;
    background: var(--accent-900);
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-on-dark);
    transition: all var(--transition-normal);
    box-shadow: 0 2px 10px rgba(45, 41, 38, 0.15);
}

.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(45, 41, 38, 0.25);
    background: var(--accent-800);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle span {
    width: 24px;
    height: 2.5px;
    background: var(--accent-900);
    border-radius: 2px;
    transition: all var(--transition-normal);
}

/* ===== Hero ===== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    padding: 120px 0 60px;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 600px;
    background: radial-gradient(ellipse, rgba(142, 133, 126, 0.1), rgba(196, 187, 179, 0.05), transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.hero-content {
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: var(--bg-white);
    border: 1.5px solid var(--border-medium);
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--accent-700);
    margin-bottom: 28px;
    animation: fadeInUp 0.8s ease-out 0.1s both;
    box-shadow: var(--shadow-sm);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #4abe6e;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(74, 190, 110, 0.4); }
    50% { box-shadow: 0 0 0 8px rgba(74, 190, 110, 0); }
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.08;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.title-line {
    display: block;
    color: var(--text-primary);
}

.title-highlight {
    display: block;
    color: var(--char-dark);
    font-size: clamp(3.2rem, 7vw, 5.5rem);
    position: relative;
}

.title-highlight::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    width: 100%;
    height: 12px;
    background: var(--accent-200);
    border-radius: 6px;
    z-index: -1;
    opacity: 0.7;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.75;
    max-width: 500px;
    margin-bottom: 36px;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 36px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-contract {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: var(--bg-white);
    border: 1.5px solid var(--border-medium);
    border-radius: var(--radius-md);
    animation: fadeInUp 0.8s ease-out 0.5s both;
    box-shadow: var(--shadow-sm);
}

.contract-label {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-700);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.contract-address {
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 0.72rem;
    color: var(--text-muted);
    user-select: all;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.copy-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
}

.copy-btn:hover {
    color: var(--accent-700);
    background: rgba(45, 41, 38, 0.06);
}

.copy-btn.copied {
    color: #4abe6e;
}

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.hero-img-wrapper {
    position: relative;
    width: 100%;
    max-width: 460px;
}

.hero-img-glow {
    position: absolute;
    inset: -20%;
    background: radial-gradient(circle, rgba(142, 133, 126, 0.12), transparent 60%);
    z-index: -1;
    animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}

.hero-img {
    width: 100%;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    border: 3px solid var(--accent-900);
    animation: float 6s ease-in-out infinite;
    background: var(--bg-secondary);
}

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

.floating-emoji {
    position: absolute;
    font-size: 2rem;
    animation: emojiFloat 5s ease-in-out infinite;
    filter: drop-shadow(0 4px 8px rgba(45, 41, 38, 0.15));
}

.floating-emoji-1 {
    top: 5%;
    right: -10%;
    animation-delay: 0s;
}

.floating-emoji-2 {
    bottom: 15%;
    left: -8%;
    animation-delay: 1.5s;
}

.floating-emoji-3 {
    top: 40%;
    right: -15%;
    animation-delay: 3s;
}

@keyframes emojiFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-12px) rotate(5deg); }
    75% { transform: translateY(8px) rotate(-5deg); }
}

/* Scroll Indicator */
.hero-scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 40px;
    color: var(--text-muted);
    font-size: 0.8rem;
    animation: fadeInUp 0.8s ease-out 0.7s both;
}

.hero-scroll-indicator svg {
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(8px); }
    60% { transform: translateY(4px); }
}

/* ===== Ticker ===== */
.ticker {
    background: var(--accent-900);
    padding: 14px 0;
    overflow: hidden;
    position: relative;
}

.ticker-track {
    display: flex;
    gap: 0;
    animation: tickerScroll 25s linear infinite;
    white-space: nowrap;
    width: max-content;
}

.ticker-item {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-on-dark);
    padding: 0 16px;
}

.ticker-sep {
    color: rgba(240, 236, 232, 0.3);
    padding: 0 8px;
    font-size: 0.7rem;
}

@keyframes tickerScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ===== About Section ===== */
.about {
    padding: 120px 0;
    position: relative;
    background: var(--bg-primary);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

.about-img-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 3px solid var(--accent-900);
}

.about-img-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(142, 133, 126, 0.05), transparent);
    z-index: 1;
}

.about-img {
    width: 100%;
    transition: transform var(--transition-slow);
}

.about-img-wrapper:hover .about-img {
    transform: scale(1.03);
}

.about-text {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 36px;
}

.stat-card {
    background: var(--bg-white);
    border: 2px solid var(--border-medium);
    border-radius: var(--radius-md);
    padding: 20px;
    text-align: center;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.stat-card:hover {
    border-color: var(--accent-900);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.stat-value {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-900);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ===== Tokenomics ===== */
.tokenomics {
    padding: 120px 0;
    background: var(--bg-secondary);
    position: relative;
}

.tokenomics::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
}

.tokenomics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.token-card {
    background: var(--bg-white);
    border: 2px solid var(--border-medium);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.token-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-900);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.token-card:hover {
    border-color: var(--accent-900);
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.token-card:hover::before {
    opacity: 1;
}

.token-card-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-50);
    border-radius: var(--radius-md);
    color: var(--accent-700);
    margin-bottom: 20px;
    border: 1.5px solid var(--border-subtle);
}

.token-card-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.token-card-text {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== Banner Section ===== */
.banner-section {
    position: relative;
    overflow: hidden;
    height: 300px;
}

.banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(45, 41, 38, 0.55), rgba(92, 85, 80, 0.5));
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-text {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: white;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.02em;
}

/* ===== Meme Gallery ===== */
.gallery {
    padding: 120px 0;
    position: relative;
    background: var(--bg-primary);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.gallery-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 2.5px solid var(--accent-900);
    aspect-ratio: 1;
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    box-shadow: var(--shadow-sm);
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(45, 41, 38, 0.4) 100%);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.gallery-item:hover {
    transform: scale(1.04);
    box-shadow: var(--shadow-lg);
    z-index: 2;
}

.gallery-item:hover::after {
    opacity: 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.gallery-item:hover img {
    transform: scale(1.08);
}

/* ===== Community Section ===== */
.community {
    padding: 120px 0 140px;
    position: relative;
    background: var(--bg-primary);
}

.community-card {
    position: relative;
    background: var(--bg-white);
    border: 2.5px solid var(--accent-900);
    border-radius: var(--radius-xl);
    padding: 80px 60px;
    text-align: center;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.community-glow {
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(142, 133, 126, 0.08), transparent 70%);
    pointer-events: none;
}

.community-mascot {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--accent-900);
    margin: 0 auto 28px;
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 1;
}

.community .section-tag,
.community .section-title,
.community .section-desc {
    position: relative;
    z-index: 1;
}

.community .section-desc {
    margin-bottom: 40px;
}

.community-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

/* ===== Footer ===== */
.footer {
    background: var(--accent-900);
    border-top: none;
    padding: 48px 0 32px;
    color: var(--text-on-dark);
}

.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(240, 236, 232, 0.3);
}

.footer-name {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-on-dark);
}

.footer-links {
    display: flex;
    gap: 28px;
}

.footer-link {
    font-size: 0.88rem;
    color: rgba(240, 236, 232, 0.6);
    transition: color var(--transition-fast);
}

.footer-link:hover {
    color: var(--text-on-dark);
}

.footer-divider {
    height: 1px;
    background: rgba(240, 236, 232, 0.12);
    margin: 28px 0;
}

.footer-bottom {
    text-align: center;
}

.footer-disclaimer {
    font-size: 0.78rem;
    color: rgba(240, 236, 232, 0.4);
    max-width: 600px;
    margin: 0 auto 12px;
    line-height: 1.6;
}

.footer-copy {
    font-size: 0.78rem;
    color: rgba(240, 236, 232, 0.4);
}

/* ===== Scroll Animations ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-contract {
        margin: 0 auto;
    }

    .hero-visual {
        order: -1;
    }

    .hero-img-wrapper {
        max-width: 360px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-visual {
        max-width: 400px;
        margin: 0 auto;
    }

    .tokenomics-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: rgba(237, 233, 228, 0.97);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 100px 40px 40px;
        gap: 24px;
        transition: right var(--transition-normal);
        border-left: 1px solid var(--border-medium);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero {
        padding: 100px 0 40px;
        min-height: auto;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .title-highlight {
        font-size: 3rem !important;
    }

    .about-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .stat-value {
        font-size: 1.4rem;
    }

    .community-card {
        padding: 48px 24px;
    }

    .footer-top {
        flex-direction: column;
        gap: 20px;
    }

    .banner-section {
        height: 200px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .hero-scroll-indicator {
        display: none;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .community-actions {
        flex-direction: column;
        align-items: center;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .contract-address {
        max-width: 140px;
    }
}

/* ===== Lightbox ===== */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(45, 41, 38, 0.92);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    cursor: pointer;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    border: 3px solid rgba(240, 236, 232, 0.2);
    transform: scale(0.9);
    transition: transform var(--transition-normal);
}

.lightbox.active img {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.25);
}
