/* ========================================
   LUNA IS CAR — Pomkori-Style Landing Page
   ======================================== */

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    width: 100%;
    scroll-behavior: smooth;
}

/* ---- Design Tokens ---- */
:root {
    --pink: #F8C9FF;
    --green: #CFFFD7;
    --purple: #937ECB;
    --deep-purple: #5B4A8A;
    --magenta: #EF80FF;
    --white: #FFFFFF;
    --shadow-purple: #C77DFF;
    --shadow-green: #6BCB77;
    --shadow-pink: #FF6FB7;
    --dark-card: rgba(60, 40, 100, 0.85);
    --font-heading: 'Lilita One', sans-serif;
    --font-body: 'Outfit', sans-serif;
}

body {
    font-family: var(--font-body);
    color: var(--white);
    overflow-x: hidden;
    line-height: 1.4;
}

/* ---- Scroll Animations ---- */
.animate-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-up.in-view {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 {
    transition-delay: 100ms;
}

.delay-200 {
    transition-delay: 200ms;
}

.delay-300 {
    transition-delay: 300ms;
}

/* ---- Fixed Navigation ---- */
.nav-btn {
    position: fixed;
    top: 30px;
    z-index: 1000;
    background: var(--white);
    border: 3px solid var(--magenta);
    padding: 12px 28px;
    font-family: var(--font-heading);
    font-size: 1.6rem;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    letter-spacing: 1px;
}

.nav-btn:hover {
    transform: scale(1.05);
    box-shadow: 4px 4px 0px var(--magenta);
}

.nav-menu {
    left: 30px;
    color: var(--magenta);
    border-radius: 8px;
}

.nav-buy {
    right: 30px;
    color: var(--magenta);
    border-radius: 8px;
}

/* ---- Full Screen Menu Overlay ---- */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--deep-purple);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.menu-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.menu-overlay a {
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 3.5rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 3px;
    transition: color 0.2s, transform 0.2s;
}

.menu-overlay a:hover {
    color: var(--magenta);
    transform: scale(1.1);
}

.menu-close {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 3rem;
    color: var(--white);
    cursor: pointer;
    font-family: var(--font-heading);
    background: none;
    border: none;
    transition: color 0.2s;
}

.menu-close:hover {
    color: var(--magenta);
}

/* ---- Sections ---- */
.section {
    width: 100%;
    padding: 100px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* ---- Hero Section ---- */
.section-hero {
    background: var(--pink);
    min-height: 100vh;
    padding-top: 120px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 11vw, 9rem);
    color: var(--white);
    text-transform: uppercase;
    text-shadow: 8px 8px 0px var(--shadow-purple);
    line-height: 0.95;
    letter-spacing: -2px;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: clamp(1rem, 2.5vw, 1.6rem);
    color: var(--purple);
    font-weight: 600;
    margin-bottom: 30px;
}

.hero-subtitle em {
    font-style: italic;
    font-weight: 800;
    text-transform: uppercase;
}

.hero-image {
    max-width: 400px;
    width: 80%;
    margin: 30px auto;
    filter: drop-shadow(8px 8px 0px var(--shadow-purple));
    transition: transform 0.3s;
}

.hero-image:hover {
    transform: scale(1.05) rotate(-2deg);
}

.ca-pill {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--white);
    border: 3px solid var(--shadow-purple);
    padding: 14px 28px;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    margin-top: 20px;
}

.ca-pill:hover {
    transform: translateY(-3px);
    box-shadow: 4px 4px 0px var(--shadow-purple);
}

.ca-pill code {
    font-family: var(--font-body);
    font-size: clamp(0.7rem, 1.5vw, 1.1rem);
    color: var(--purple);
    font-weight: 700;
    letter-spacing: 0.5px;
    word-break: break-all;
}

.ca-pill .copy-icon {
    font-size: 1.4rem;
    color: var(--purple);
}

.copy-toast {
    color: var(--shadow-green);
    font-weight: 700;
    font-size: 1rem;
    margin-top: 10px;
    opacity: 0;
    transition: opacity 0.3s;
}

/* ---- Viral Section ---- */
.section-viral {
    background: var(--green);
    padding-bottom: 80px;
}

.section-viral .section-title {
    text-shadow: 8px 8px 0px #11a68d;
    margin-bottom: 10px;
}

.viral-subtitle {
    font-family: var(--font-heading);
    font-size: clamp(1.2rem, 3.5vw, 2.2rem);
    color: #11a68d;
    text-transform: uppercase;
    margin-bottom: 40px;
    letter-spacing: 1px;
}

.viral-subtitle em {
    font-size: 1.1em;
    font-style: italic;
}

.video-cards {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    width: 100%;
}

.video-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    width: 280px;
    height: 400px;
    background: #000;
    transition: transform 0.3s;
    border: 3px solid #1a1a1a;
}

.video-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.85;
}

.video-card.highlighted {
    width: 320px;
    height: 450px;
    box-shadow: 0 0 20px rgba(252, 226, 62, 0.8), 0 0 40px rgba(252, 226, 62, 0.4);
    z-index: 2;
    border-color: #fce23e;
}

.video-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--white);
    padding: 6px 14px;
    border-radius: 8px;
    text-transform: uppercase;
    text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.3);
}

.video-badge.cyan {
    background: #00d6b4;
}

.video-badge.yellow {
    background: #fce23e;
    color: #000;
    text-shadow: none;
}

.video-play {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: var(--white);
    pointer-events: none;
    transition: transform 0.2s;
}

.video-card:not(.highlighted) .video-play {
    background: #00d6b4;
}

.video-card.highlighted .video-play {
    background: #fce23e;
    color: #000;
}

.video-play:hover {
    transform: translateX(-50%) scale(1.1);
}

.viral-footer {
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 4.5vw, 2.5rem);
    color: #11a68d;
    margin-top: 50px;
    text-transform: uppercase;
}

.viral-footer strong {
    color: var(--deep-purple);
}

/* ---- About Section ---- */
.section-about {
    background: var(--green);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 10vw, 9rem);
    color: var(--white);
    text-transform: uppercase;
    line-height: 0.95;
    margin-bottom: 30px;
}

.section-about .section-title {
    text-shadow: 8px 8px 0px var(--shadow-green);
}

.about-text {
    max-width: 700px;
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: var(--deep-purple);
    font-weight: 500;
    line-height: 1.7;
}

.about-text strong {
    font-weight: 800;
    color: var(--purple);
}

/* ---- How to Buy Section ---- */
.section-howtobuy {
    background: linear-gradient(180deg, var(--purple) 0%, var(--deep-purple) 100%);
    padding-bottom: 120px;
}

.section-howtobuy .section-title {
    text-shadow: 8px 8px 0px rgba(0, 0, 0, 0.2);
    margin-bottom: 50px;
}

.buy-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1000px;
    width: 100%;
}

.buy-card {
    background: var(--dark-card);
    border: 3px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    box-shadow: 8px 8px 0px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s, box-shadow 0.3s;
}

.buy-card:hover {
    transform: translateY(-8px);
    box-shadow: 12px 12px 0px rgba(0, 0, 0, 0.3);
}

.buy-card-step {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--magenta);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.buy-card h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--white);
    text-transform: uppercase;
}

.buy-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    line-height: 1.5;
}

.buy-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    padding: 14px 35px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    margin-top: auto;
}

.buy-card-btn:hover {
    background: var(--magenta);
    border-color: var(--magenta);
    box-shadow: 4px 4px 0px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

/* ---- Community Section ---- */
.section-community {
    background: var(--pink);
}

.section-community .section-title {
    text-shadow: 8px 8px 0px var(--shadow-purple);
    margin-bottom: 50px;
}

.community-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 900px;
}

.community-btn {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: var(--white);
    border: 3px solid var(--shadow-purple);
    color: var(--purple);
    padding: 18px 40px;
    border-radius: 12px;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.2s;
    box-shadow: 5px 5px 0px var(--shadow-purple);
}

.community-btn:hover {
    transform: translateY(-4px);
    box-shadow: 8px 8px 0px var(--shadow-purple);
    background: var(--magenta);
    color: var(--white);
    border-color: var(--magenta);
}

.community-btn img {
    width: 35px;
    height: 35px;
    object-fit: contain;
}

.community-btn i {
    font-size: 1.8rem;
}

/* ---- Launched On ---- */
.launched-on {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-top: 50px;
}

.launched-on p {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--purple);
}

.launched-on img {
    max-width: 120px;
    height: auto;
    transition: transform 0.3s;
}

.launched-on img:hover {
    transform: scale(1.1);
}

/* ---- Footer ---- */
.footer {
    background: var(--magenta);
    padding: 60px 40px;
    text-align: center;
}

.footer p {
    font-family: var(--font-heading);
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    color: var(--white);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.5;
    text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.1);
}

.footer-copy {
    margin-top: 20px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    opacity: 0.8;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 900px) {
    .buy-cards {
        grid-template-columns: 1fr;
        max-width: 450px;
    }

    .hero-title {
        font-size: clamp(3.5rem, 14vw, 8rem);
    }

    .section {
        padding: 80px 25px;
    }

    .nav-btn {
        font-size: 1.2rem;
        padding: 10px 20px;
        top: 20px;
    }

    .nav-menu {
        left: 15px;
    }

    .nav-buy {
        right: 15px;
    }
}

@media (max-width: 600px) {
    .section {
        padding: 60px 20px;
    }

    .hero-title {
        font-size: clamp(2.8rem, 16vw, 5rem);
        text-shadow: 5px 5px 0px var(--shadow-purple);
    }

    .section-title {
        font-size: clamp(2.5rem, 12vw, 4rem);
    }

    .section-about .section-title {
        text-shadow: 5px 5px 0px var(--shadow-green);
    }

    .hero-image {
        max-width: 280px;
    }

    .ca-pill {
        padding: 12px 18px;
        flex-direction: column;
        gap: 8px;
    }

    .menu-overlay a {
        font-size: 2.2rem;
    }

    .community-btn {
        width: 100%;
        justify-content: center;
        font-size: 1.2rem;
        padding: 15px 25px;
    }

    .buy-card {
        padding: 30px 20px;
    }

    .nav-btn {
        font-size: 1rem;
        padding: 8px 16px;
        top: 15px;
    }

    .nav-menu {
        left: 10px;
    }

    .nav-buy {
        right: 10px;
    }
}

@media (max-width: 400px) {
    .hero-title {
        font-size: clamp(2.2rem, 18vw, 4rem);
        text-shadow: 4px 4px 0px var(--shadow-purple);
    }

    .section-title {
        font-size: clamp(2rem, 14vw, 3rem);
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .community-btn {
        font-size: 1rem;
    }
}