/* ========================================
   PERMANENT STONED LANDING PAGE
   Design: Premium Cannabis × Stoner Cinema × Permanent Marker Ink
   ======================================== */

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

:root {
    /* Colors */
    --color-black: #0a0a0a;
    --color-emerald: #0bb35a;
    --color-emerald-bright: #18d275;
    --color-gold: #ffd166;
    --color-smoke: #4a5568;
    --color-purple: #9d4edd;
    --color-white: #ffffff;
    --color-gray-dark: #1a1a1a;
    --color-gray-light: #e8e8e8;

    /* Fonts */
    --font-display: 'Anton', sans-serif;
    --font-body: 'Space Grotesk', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    --spacing-2xl: 6rem;

    /* Transitions */
    --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
    --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-black);
    color: var(--color-white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ========================================
   STICKY BANNER
   ======================================== */

.sticky-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(90deg, var(--color-emerald) 0%, var(--color-emerald-bright) 100%);
    color: var(--color-black);
    padding: 0.75rem 0;
    z-index: 100;
    overflow: hidden;
    font-weight: 700;
    font-size: 0.875rem;
    letter-spacing: 1px;
}

.banner-marquee {
    display: flex;
    animation: marquee 20s linear infinite;
    white-space: nowrap;
}

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

.banner-marquee span {
    display: inline-block;
    padding-right: 2rem;
}

@media (max-width: 768px) {
    .sticky-banner {
        padding: 0.5rem 0;
        font-size: 0.75rem;
    }
}

/* ========================================
   SMOKE CANVAS (Background Animation)
   ======================================== */

.smoke-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.15;
}

/* ========================================
   STICKY MINIMIZED NAV
   ======================================== */

.sticky-nav {
    position: fixed;
    top: 3.5rem;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    z-index: 99;
    border-bottom: 1px solid rgba(24, 210, 117, 0.2);
    transform: translateY(-100%);
    transition: transform 0.3s var(--ease-out);
}

.sticky-nav.visible {
    transform: translateY(0);
}

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

.nav-logo {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--color-emerald-bright);
    text-decoration: none;
    font-weight: 700;
}

.nav-links {
    display: flex;
    gap: var(--spacing-lg);
}

.nav-links a {
    color: var(--color-white);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    transition: color 0.2s var(--ease-out);
}

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

@media (max-width: 768px) {
    .nav-links {
        gap: var(--spacing-md);
        font-size: 0.75rem;
    }
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 3.5rem;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    z-index: 2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 10, 0.6);
    z-index: 3;
}

.hero-content {
    position: relative;
    z-index: 4;
    text-align: center;
    padding: var(--spacing-xl);
    animation: fadeInUp 0.8s var(--ease-out) 0.2s both;
}

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

.wordmark-container {
    margin-bottom: var(--spacing-xl);
    cursor: pointer;
    position: relative;
}

.wordmark-svg {
    width: 100%;
    max-width: 500px;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(24, 210, 117, 0.5));
}

.wordmark-svg:hover {
    filter: drop-shadow(0 0 30px rgba(255, 209, 102, 0.6));
}

.hand-drawn-underline {
    width: 80%;
    max-width: 300px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
    margin: var(--spacing-md) auto 0;
    border-radius: 2px;
    animation: slideIn 0.6s var(--ease-out) 0.5s both;
}

@keyframes slideIn {
    from {
        width: 0;
        opacity: 0;
    }
    to {
        width: 80%;
        opacity: 1;
    }
}

.hero-tagline {
    font-size: 1.5rem;
    color: var(--color-gray-light);
    margin-bottom: var(--spacing-lg);
    font-weight: 500;
    animation: fadeInUp 0.8s var(--ease-out) 0.4s both;
}

.ca-pill {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    background: rgba(24, 210, 117, 0.1);
    border: 1px solid rgba(24, 210, 117, 0.3);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: 50px;
    margin-bottom: var(--spacing-lg);
    animation: fadeInUp 0.8s var(--ease-out) 0.5s both;
}

.ca-pill span {
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
    color: var(--color-emerald-bright);
}

.ca-copy-btn {
    background: none;
    border: none;
    color: var(--color-gold);
    cursor: pointer;
    font-size: 1rem;
    transition: transform 0.2s var(--ease-out);
}

.ca-copy-btn:hover {
    transform: scale(1.1);
}

.hero-ctas {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s var(--ease-out) 0.6s both;
}

/* Buttons */
.btn {
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.16s var(--ease-out);
    font-family: var(--font-body);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.btn:active {
    transform: scale(0.97);
}

.btn-primary {
    background: var(--color-gold);
    color: var(--color-black);
}

.btn-primary:hover {
    background: #ffe680;
    box-shadow: 0 0 20px rgba(255, 209, 102, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--color-emerald-bright);
    border: 2px solid var(--color-emerald-bright);
}

.btn-secondary:hover {
    background: rgba(24, 210, 117, 0.1);
    box-shadow: 0 0 20px rgba(24, 210, 117, 0.3);
}

/* Vibe Meter */
.vibe-meter {
    position: fixed;
    bottom: var(--spacing-lg);
    right: var(--spacing-lg);
    width: 80px;
    z-index: 50;
}

.vibe-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-gold);
    text-align: center;
    margin-bottom: var(--spacing-xs);
    letter-spacing: 1px;
}

.vibe-gauge {
    width: 100%;
    height: 8px;
    background: rgba(255, 209, 102, 0.2);
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid rgba(255, 209, 102, 0.4);
}

.vibe-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--color-emerald), var(--color-gold));
    width: 0%;
    transition: width 0.1s linear;
}

@media (max-width: 768px) {
    .vibe-meter {
        bottom: var(--spacing-md);
        right: var(--spacing-md);
        width: 60px;
    }

    .hero-tagline {
        font-size: 1.25rem;
    }

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

    .btn {
        width: 100%;
        max-width: 300px;
    }
}

/* ========================================
   CONTAINER & SECTIONS
   ======================================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

section {
    position: relative;
    z-index: 5;
    padding: var(--spacing-2xl) 0;
}

section h2 {
    font-family: var(--font-display);
    font-size: 3rem;
    color: var(--color-emerald-bright);
    margin-bottom: var(--spacing-xl);
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: fadeInUp 0.8s var(--ease-out);
}

/* ========================================
   LORE SECTION
   ======================================== */

.lore {
    background: linear-gradient(135deg, rgba(11, 179, 90, 0.05) 0%, rgba(10, 10, 10, 0.5) 100%);
    border-top: 1px solid rgba(24, 210, 117, 0.2);
}

.lore-content {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--color-gray-light);
}

.lore-content p {
    margin-bottom: var(--spacing-lg);
    animation: fadeInUp 0.8s var(--ease-out);
}

.drop-cap {
    font-family: var(--font-display);
    font-size: 3.5rem;
    float: left;
    line-height: 1;
    padding-right: 0.5rem;
    color: var(--color-gold);
}

/* ========================================
   STONED STATS SECTION
   ======================================== */

.stoned-stats {
    background: rgba(24, 210, 117, 0.03);
    border-top: 1px solid rgba(24, 210, 117, 0.2);
}

.stats-note {
    text-align: center;
    color: var(--color-smoke);
    font-size: 0.875rem;
    margin-bottom: var(--spacing-lg);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

.stat-card {
    background: rgba(24, 210, 117, 0.1);
    border: 1px solid rgba(24, 210, 117, 0.2);
    padding: var(--spacing-lg);
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s var(--ease-out);
    animation: fadeInUp 0.8s var(--ease-out);
}

.stat-card:hover {
    background: rgba(24, 210, 117, 0.15);
    border-color: rgba(24, 210, 117, 0.4);
    transform: translateY(-5px);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--color-smoke);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--spacing-sm);
}

.stat-value {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--color-emerald-bright);
    font-weight: 700;
}

/* ========================================
   CHART SECTION
   ======================================== */

.chart-section {
    background: rgba(24, 210, 117, 0.03);
    border-top: 1px solid rgba(24, 210, 117, 0.2);
}

.chart-placeholder {
    background: rgba(10, 10, 10, 0.5);
    border: 2px dashed rgba(24, 210, 117, 0.3);
    padding: var(--spacing-2xl);
    border-radius: 12px;
    text-align: center;
    color: var(--color-smoke);
}

.chart-placeholder p {
    margin-bottom: var(--spacing-sm);
}

.chart-note {
    font-size: 0.875rem;
    color: var(--color-smoke);
}

/* ========================================
   PERMANENTLY RICH SECTION
   ======================================== */

.permanently-rich {
    background: linear-gradient(135deg, rgba(157, 78, 221, 0.05) 0%, rgba(10, 10, 10, 0.5) 100%);
    border-top: 1px solid rgba(24, 210, 117, 0.2);
}

.rich-tagline {
    text-align: center;
    font-size: 1.5rem;
    color: var(--color-gold);
    margin-bottom: var(--spacing-xl);
    font-weight: 600;
}

.wealth-calculator {
    background: rgba(24, 210, 117, 0.1);
    border: 1px solid rgba(24, 210, 117, 0.2);
    padding: var(--spacing-xl);
    border-radius: 12px;
    max-width: 500px;
    margin: 0 auto;
}

.wealth-calculator label {
    display: block;
    margin-bottom: var(--spacing-md);
    font-weight: 600;
    color: var(--color-white);
}

.wealth-calculator input[type="range"] {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: rgba(24, 210, 117, 0.2);
    outline: none;
    -webkit-appearance: none;
    margin-bottom: var(--spacing-lg);
}

.wealth-calculator input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--color-gold);
    cursor: pointer;
    transition: all 0.2s var(--ease-out);
}

.wealth-calculator input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(255, 209, 102, 0.6);
}

.wealth-calculator input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--color-gold);
    cursor: pointer;
    border: none;
    transition: all 0.2s var(--ease-out);
}

.calculator-output {
    text-align: center;
    background: rgba(24, 210, 117, 0.05);
    padding: var(--spacing-lg);
    border-radius: 8px;
}

.calculator-output p {
    margin: 0.5rem 0;
    color: var(--color-smoke);
}

.output-value {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--color-emerald-bright);
    font-weight: 700;
}

/* ========================================
   HOW TO APE SECTION
   ======================================== */

.how-to-ape {
    background: rgba(24, 210, 117, 0.03);
    border-top: 1px solid rgba(24, 210, 117, 0.2);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

.step-card {
    background: rgba(24, 210, 117, 0.1);
    border: 1px solid rgba(24, 210, 117, 0.2);
    padding: var(--spacing-lg);
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s var(--ease-out);
    animation: fadeInUp 0.8s var(--ease-out);
}

.step-card:hover {
    background: rgba(24, 210, 117, 0.15);
    border-color: rgba(24, 210, 117, 0.4);
    transform: translateY(-5px);
}

.step-number {
    font-family: var(--font-display);
    font-size: 3rem;
    color: var(--color-gold);
    margin-bottom: var(--spacing-md);
}

.step-card h3 {
    color: var(--color-emerald-bright);
    margin-bottom: var(--spacing-sm);
    font-size: 1.25rem;
}

.step-card p {
    color: var(--color-smoke);
    font-size: 0.95rem;
}

/* ========================================
   TOKENOMICS SECTION
   ======================================== */

#tokenomics {
    background: linear-gradient(135deg, rgba(11, 179, 90, 0.05) 0%, rgba(10, 10, 10, 0.5) 100%);
    border-top: 1px solid rgba(24, 210, 117, 0.2);
}

.tokenomics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
}

.tokenomics-card {
    background: rgba(24, 210, 117, 0.1);
    border: 1px solid rgba(24, 210, 117, 0.2);
    padding: var(--spacing-lg);
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s var(--ease-out);
    animation: fadeInUp 0.8s var(--ease-out);
}

.tokenomics-card:hover {
    background: rgba(24, 210, 117, 0.15);
    border-color: rgba(24, 210, 117, 0.4);
}

.tokenomics-card h3 {
    color: var(--color-smoke);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--spacing-sm);
}

.tokenomics-card p {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--color-emerald-bright);
    font-weight: 700;
}

/* ========================================
   ROADMAP SECTION
   ======================================== */

.roadmap {
    background: rgba(24, 210, 117, 0.03);
    border-top: 1px solid rgba(24, 210, 117, 0.2);
}

.roadmap-phases {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

.phase {
    background: rgba(24, 210, 117, 0.1);
    border-left: 4px solid var(--color-gold);
    padding: var(--spacing-lg);
    border-radius: 8px;
    transition: all 0.3s var(--ease-out);
    animation: fadeInUp 0.8s var(--ease-out);
}

.phase:hover {
    background: rgba(24, 210, 117, 0.15);
    transform: translateX(5px);
}

.phase h3 {
    color: var(--color-emerald-bright);
    margin-bottom: var(--spacing-sm);
}

.phase p {
    color: var(--color-smoke);
    font-size: 0.95rem;
}

/* ========================================
   EASTER EGGS HINT SECTION
   ======================================== */

.easter-eggs-hint {
    background: rgba(157, 78, 221, 0.05);
    border-top: 1px solid rgba(24, 210, 117, 0.2);
    text-align: center;
}

.easter-eggs-hint h2 {
    color: var(--color-purple);
}

.easter-eggs-hint p {
    color: var(--color-smoke);
    font-size: 1.125rem;
}

/* ========================================
   COMMUNITY SECTION
   ======================================== */

.community {
    background: rgba(24, 210, 117, 0.03);
    border-top: 1px solid rgba(24, 210, 117, 0.2);
    text-align: center;
}

.community-note {
    color: var(--color-smoke);
    font-size: 0.875rem;
    margin-bottom: var(--spacing-lg);
}

.social-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

.social-btn {
    padding: 0.75rem 1.5rem;
    background: rgba(24, 210, 117, 0.1);
    border: 1px solid rgba(24, 210, 117, 0.3);
    color: var(--color-emerald-bright);
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s var(--ease-out);
    font-family: var(--font-body);
}

.social-btn:hover {
    background: rgba(24, 210, 117, 0.2);
    border-color: var(--color-gold);
    color: var(--color-gold);
}

/* ========================================
   FAQ SECTION
   ======================================== */

#faq {
    background: linear-gradient(135deg, rgba(11, 179, 90, 0.05) 0%, rgba(10, 10, 10, 0.5) 100%);
    border-top: 1px solid rgba(24, 210, 117, 0.2);
}

.faq-items {
    display: grid;
    gap: var(--spacing-lg);
}

.faq-item {
    background: rgba(24, 210, 117, 0.1);
    border-left: 4px solid var(--color-emerald-bright);
    padding: var(--spacing-lg);
    border-radius: 8px;
    transition: all 0.3s var(--ease-out);
    animation: fadeInUp 0.8s var(--ease-out);
}

.faq-item:hover {
    background: rgba(24, 210, 117, 0.15);
    transform: translateX(5px);
}

.faq-item h3 {
    color: var(--color-emerald-bright);
    margin-bottom: var(--spacing-sm);
}

.faq-item p {
    color: var(--color-smoke);
    font-size: 0.95rem;
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    background: rgba(10, 10, 10, 0.8);
    border-top: 1px solid rgba(24, 210, 117, 0.2);
    padding: var(--spacing-2xl) 0;
    text-align: center;
    position: relative;
}

.footer p {
    color: var(--color-smoke);
    font-size: 0.875rem;
    margin-bottom: var(--spacing-sm);
}

.footer-credit {
    margin-top: var(--spacing-lg);
    color: var(--color-emerald);
    font-weight: 600;
}

/* Hidden Easter Egg Buttons */
.hidden-rabbit {
    position: fixed;
    bottom: var(--spacing-md);
    left: var(--spacing-md);
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0.3;
    transition: opacity 0.3s var(--ease-out);
    z-index: 50;
}

.hidden-rabbit:hover {
    opacity: 0.7;
}

.hidden-janitor {
    position: fixed;
    bottom: var(--spacing-md);
    right: var(--spacing-md);
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0.3;
    transition: opacity 0.3s var(--ease-out);
    z-index: 50;
}

.hidden-janitor:hover {
    opacity: 0.7;
}

/* Janitor Mode (Night Theme) */
body.janitor-mode {
    --color-black: #1a1a1a;
    --color-gray-dark: #2a2a2a;
    --color-emerald: #0a8a4a;
    --color-emerald-bright: #0d6a3a;
    --color-gold: #8a7a3a;
    --color-white: #d0d0d0;
    --color-gray-light: #b0b0b0;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 768px) {
    :root {
        --spacing-xl: 2rem;
        --spacing-2xl: 3rem;
    }

    section h2 {
        font-size: 2rem;
    }

    .hero-tagline {
        font-size: 1.125rem;
    }

    .lore-content {
        font-size: 1rem;
    }

    .drop-cap {
        font-size: 2.5rem;
    }

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

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

    .social-buttons {
        flex-direction: column;
        align-items: center;
    }

    .social-btn {
        width: 100%;
        max-width: 300px;
    }

    .hidden-rabbit,
    .hidden-janitor {
        font-size: 1.25rem;
    }

    .vibe-meter {
        width: 50px;
    }
}

@media (max-width: 480px) {
    section h2 {
        font-size: 1.5rem;
    }

    .wordmark-svg {
        max-width: 300px;
    }

    .hero-tagline {
        font-size: 1rem;
    }

    .ca-pill {
        flex-direction: column;
        gap: 0.5rem;
    }

    .ca-pill span {
        font-size: 0.75rem;
    }

    .hero-ctas {
        gap: var(--spacing-sm);
    }

    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
    }

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

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

    .rich-tagline {
        font-size: 1.25rem;
    }

    .step-number {
        font-size: 2rem;
    }

    .step-card h3 {
        font-size: 1rem;
    }

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

    .tokenomics-card p {
        font-size: 1.25rem;
    }

    .roadmap-phases {
        grid-template-columns: 1fr;
    }

    .faq-items {
        gap: var(--spacing-md);
    }

    .faq-item {
        padding: var(--spacing-md);
    }

    .faq-item h3 {
        font-size: 1rem;
    }

    .faq-item p {
        font-size: 0.875rem;
    }
}

/* Disable smoke canvas on small viewports */
@media (max-width: 768px) {
    .smoke-canvas {
        display: none;
    }
}
