:root {
    --bg: #0b1020;
    --bg-2: #181c2f;
    --panel: rgba(15, 23, 42, 0.7);
    --panel-strong: rgba(18, 24, 36, 0.9);
    --card: rgba(255, 255, 255, 0.08);
    --card-border: rgba(255, 255, 255, 0.12);
    --text: #edf2ff;
    --muted: #b9c3d8;
    --pink: #ff5e8a;
    --pink-2: #ff8aa5;
    --purple: #8a7dff;
    --shadow: rgba(17, 24, 39, 0.55);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background:
        radial-gradient(circle at top left, rgba(138, 125, 255, 0.25), transparent 30%),
        radial-gradient(circle at top right, rgba(255, 94, 138, 0.18), transparent 32%),
        linear-gradient(180deg, var(--bg) 0%, #101827 100%);
    color: var(--text);
    overflow-x: hidden;
}

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

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

button {
    font: inherit;
}

/* PARTICLES */
.particles {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.particles span {
    position: absolute;
    width: 5px;
    height: 5px;
    background: rgba(255, 94, 138, 0.45);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(255, 94, 138, 0.6);
    animation: float 14s linear infinite;
}

/* HERO */
.hero {
    position: relative;
    min-height: 88vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 24px clamp(20px, 4vw, 56px) 32px;
    background:
        linear-gradient(120deg, rgba(8, 11, 22, 0.8), rgba(15, 23, 42, 0.3)),
        url("../nani.jpg") center/cover no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 11, 22, 0.38), rgba(10, 12, 24, 0.85));
    z-index: 0;
}

.topbar,
.hero-grid,
.scroll-down {
    position: relative;
    z-index: 2;
}

.topbar {
    width: min(1200px, 100%);
    margin: 0 auto 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
}

.ghost-btn {
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
    padding: 10px 18px;
    border-radius: 999px;
    backdrop-filter: blur(8px);
}

.hero-grid {
    width: min(1200px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: clamp(28px, 4vw, 48px);
}

.hero-copy {
    max-width: 620px;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.72rem;
}

.hero-copy h1 {
    margin: 0;
    font-size: clamp(3rem, 5vw, 5.2rem);
    line-height: 0.96;
    letter-spacing: -0.05em;
}

.highlight {
    color: var(--pink);
    text-shadow: 0 0 24px rgba(255, 94, 138, 0.6);
    animation: pulse 2s ease-in-out infinite;
}

.heart {
    display: inline-block;
    animation: floatHeart 2.5s ease-in-out infinite;
}

.subtitle {
    max-width: 560px;
    margin: 16px 0 0;
    color: rgba(237, 242, 255, 0.8);
    font-size: clamp(1rem, 1.4vw, 1.25rem);
    line-height: 1.7;
}

.hero-actions {
    margin-top: 26px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.primary-btn,
.secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 14px 24px;
    font-weight: 700;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.primary-btn {
    border: none;
    background: linear-gradient(135deg, var(--pink), var(--pink-2));
    color: white;
    box-shadow: 0 14px 32px rgba(255, 94, 138, 0.38);
    cursor: pointer;
}

.secondary-btn {
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.06);
    color: var(--text);
}

.primary-btn:hover,
.secondary-btn:hover,
.ghost-btn:hover {
    transform: translateY(-2px);
}

.glass {
    background: rgba(15, 23, 42, 0.55);
    border: 1px solid var(--card-border);
    box-shadow: 0 20px 50px var(--shadow);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.hero-card {
    width: min(100%, 440px);
    margin-left: auto;
    padding: 28px;
    border-radius: 28px;
}

.card-label {
    margin: 0 0 18px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.72rem;
}

.card-message {
    margin: 0;
    font-size: clamp(1.2rem, 1.7vw, 1.7rem);
    line-height: 1.5;
    color: var(--text);
}

.mini-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 22px;
}

.stat-box {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 16px 14px;
}

.stat-box span {
    display: block;
    color: var(--muted);
    font-size: 0.72rem;
    margin-bottom: 8px;
}

.stat-box strong {
    font-size: 1.1rem;
    color: var(--text);
}

.scroll-down {
    text-align: center;
    margin-top: 18px;
    font-size: 2rem;
    animation: bounce 2s infinite;
}

/* CONTAINER */
.container {
    width: min(1200px, calc(100% - 32px));
    margin: 0 auto;
    padding: 48px 0 72px;
}

.section {
    margin: 26px 0 0;
}

.section-head {
    text-align: center;
    margin-bottom: 28px;
}

.section-head h2,
.cta-panel h2 {
    margin: 0;
    font-size: clamp(2rem, 3vw, 3rem);
    letter-spacing: -0.04em;
}

/* FLIP CARDS */
.flip-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 22px;
}

.flip-card {
    width: min(100%, 280px);
    height: 200px;
    perspective: 1200px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.flip-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 36px rgba(255, 94, 138, 0.18);
}

.flip-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.75s ease;
    transform-style: preserve-3d;
}

.flip-card:hover .flip-inner,
.flip-card.active .flip-inner {
    transform: rotateY(180deg);
}

.flip-front,
.flip-back {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border-radius: 20px;
    backface-visibility: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.flip-front {
    background: linear-gradient(135deg, rgba(17, 24, 39, 0.96), rgba(22, 30, 51, 0.8));
    color: var(--text);
    font-weight: 700;
    text-align: center;
    line-height: 1.5;
}

.flip-back {
    background: linear-gradient(135deg, var(--pink), var(--purple));
    color: white;
    transform: rotateY(180deg);
    font-weight: 600;
    text-align: center;
    line-height: 1.6;
}

.action-section {
    margin-top: 48px;
}

.cta-panel {
    max-width: 760px;
    margin: 0 auto;
    padding: clamp(28px, 5vw, 48px);
    border-radius: 28px;
    text-align: center;
}

.cta-panel p {
    color: var(--muted);
    margin: 16px auto 24px;
    max-width: 520px;
    line-height: 1.7;
}

/* SECRET MESSAGE */
.fade-hidden {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.7s ease, transform 0.7s ease;
    margin-top: 18px;
}

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

#secret p {
    margin: 0;
    font-size: 1.2rem;
    color: var(--pink-2);
    font-weight: 700;
}

/* CURSOR GLOW */
.cursor-glow {
    position: fixed;
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, rgba(255, 94, 138, 0.22), transparent 60%);
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 0;
}

/* SCROLL REVEAL */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: 1s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ANIMATIONS */
@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.08);
    }
}

@keyframes floatHeart {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(10px);
    }
}

@keyframes float {
    from {
        transform: translateY(110vh) scale(0.8);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    to {
        transform: translateY(-15vh) scale(1.2);
        opacity: 0;
    }
}

/* MOBILE */
@media (max-width: 820px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-card {
        margin-left: 0;
        width: 100%;
    }

    .topbar {
        margin-bottom: 20px;
    }
}

@media (max-width: 560px) {
    .hero {
        min-height: 78vh;
    }

    .topbar {
        gap: 12px;
    }

    .brand {
        font-size: 0.9rem;
    }

    .ghost-btn,
    .primary-btn,
    .secondary-btn {
        width: 100%;
    }

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

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

    .flip-card {
        width: 100%;
        max-width: 340px;
    }
}