/* Zephyory.xyz - Zephyr Breeze Theme */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@300;400;600;700;800&family=Poppins:wght@400;500;600;700&display=swap');

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

:root {
    --zeph-dark: #1a0a14;
    --zeph-surface: #2d1525;
    --zeph-magenta: #e91e8c;
    --zeph-pink: #ff6eb4;
    --zeph-light: #ffeef7;
    --zeph-soft: #ffb6d9;
    --zeph-muted: #c49aae;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito', sans-serif;
    background: var(--zeph-dark);
    color: var(--zeph-light);
    line-height: 1.7;
}

/* Navigation */
.topnav {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(26, 10, 20, 0.95);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(233, 30, 140, 0.15);
    padding: 1rem 0;
}

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

.logo-text {
    font-family: 'Poppins', sans-serif;
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--zeph-pink);
    text-decoration: none;
    letter-spacing: 1px;
}

.burger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: none;
    border: none;
    padding: 6px;
}

.burger span {
    width: 28px;
    height: 3px;
    background: var(--zeph-magenta);
    margin: 4px 0;
    border-radius: 3px;
    transition: 0.3s;
}

.burger.toggled span:first-child {
    transform: rotate(45deg) translate(5px, 7px);
}

.burger.toggled span:nth-child(2) {
    opacity: 0;
}

.burger.toggled span:last-child {
    transform: rotate(-45deg) translate(5px, -7px);
}

.navlist {
    display: flex;
    list-style: none;
    gap: 0.5rem;
}

.navlist a {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    color: var(--zeph-muted);
    text-decoration: none;
    padding: 0.6rem 1.3rem;
    border-radius: 25px;
    transition: all 0.3s;
    font-size: 0.95rem;
}

.navlist a:hover {
    color: var(--zeph-light);
    background: linear-gradient(135deg, var(--zeph-magenta), var(--zeph-pink));
}

/* Landing */
.landing {
    min-height: 100vh;
    padding: 8rem 2rem 5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: 
        radial-gradient(ellipse at 30% 20%, rgba(233, 30, 140, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(255, 110, 180, 0.08) 0%, transparent 40%),
        var(--zeph-dark);
}

.landing h1 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4.2rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--zeph-light) 0%, var(--zeph-pink) 50%, var(--zeph-magenta) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.landing-intro {
    font-size: 1.2rem;
    color: var(--zeph-muted);
    max-width: 700px;
    margin-bottom: 2.5rem;
    line-height: 1.9;
}

.callouts {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.callout {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(233, 30, 140, 0.15);
    border: 1px solid rgba(233, 30, 140, 0.4);
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    font-weight: 700;
    color: var(--zeph-pink);
    font-size: 0.9rem;
}

/* Gameplay Area */
.gameplay {
    padding: 5rem 2rem;
    background: linear-gradient(180deg, var(--zeph-surface) 0%, var(--zeph-dark) 100%);
}

.gameplay-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2.2rem;
    text-align: center;
    color: var(--zeph-pink);
    margin-bottom: 2rem;
}

.gameplay-frame {
    max-width: 1250px;
    margin: 0 auto;
    background: var(--zeph-dark);
    border: 2px solid rgba(233, 30, 140, 0.3);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 0 50px rgba(233, 30, 140, 0.15);
}

.game-canvas {
    width: 100%;
    height: 630px;
    border: none;
    border-radius: 12px;
    background: #000;
}

/* Perks */
.perks {
    padding: 6rem 2rem;
    max-width: 1350px;
    margin: 0 auto;
}

.perks-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    text-align: center;
    color: var(--zeph-pink);
    margin-bottom: 3rem;
}

.perks-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.perk {
    background: linear-gradient(145deg, var(--zeph-surface), rgba(45, 21, 37, 0.5));
    border: 1px solid rgba(233, 30, 140, 0.2);
    border-radius: 16px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.4s;
}

.perk:hover {
    border-color: var(--zeph-magenta);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(233, 30, 140, 0.2);
}

.perk-icon {
    font-size: 3rem;
    margin-bottom: 1.2rem;
}

.perk h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.25rem;
    color: var(--zeph-pink);
    margin-bottom: 0.8rem;
}

.perk p {
    color: var(--zeph-muted);
    line-height: 1.8;
}

/* Story */
.story {
    padding: 5rem 2rem;
    background: var(--zeph-surface);
}

.story-content {
    max-width: 950px;
    margin: 0 auto;
    text-align: center;
}

.story h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    color: var(--zeph-pink);
    margin-bottom: 2rem;
}

.story p {
    color: var(--zeph-muted);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.9;
}

/* Footer */
.foot {
    background: var(--zeph-dark);
    border-top: 1px solid rgba(233, 30, 140, 0.15);
    padding: 3rem 2rem;
    text-align: center;
}

.foot-logo {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--zeph-pink);
    margin-bottom: 1.5rem;
}

.foot-links {
    margin-bottom: 1.5rem;
}

.foot-links h4 {
    font-size: 0.9rem;
    color: var(--zeph-soft);
    margin-bottom: 0.8rem;
    font-weight: 400;
}

.foot-links a {
    color: var(--zeph-muted);
    text-decoration: none;
    margin: 0 0.8rem;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.foot-links a:hover {
    color: var(--zeph-pink);
}

.foot-note {
    color: var(--zeph-muted);
    font-size: 0.85rem;
}

/* Age Check */
.age-check {
    position: fixed;
    inset: 0;
    background: rgba(26, 10, 20, 0.98);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 2rem;
}

.age-check.gone {
    display: none;
}

.age-dialog {
    background: linear-gradient(145deg, var(--zeph-surface), var(--zeph-dark));
    border: 2px solid var(--zeph-magenta);
    border-radius: 24px;
    padding: 3rem;
    max-width: 480px;
    text-align: center;
    box-shadow: 0 0 70px rgba(233, 30, 140, 0.3);
}

.age-dialog h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    color: var(--zeph-pink);
    margin-bottom: 1rem;
}

.age-dialog p {
    color: var(--zeph-muted);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.age-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.zeph-btn {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    padding: 0.9rem 2.2rem;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.95rem;
}

.zeph-btn.fill {
    background: linear-gradient(135deg, var(--zeph-magenta), var(--zeph-pink));
    color: white;
}

.zeph-btn.fill:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(233, 30, 140, 0.5);
}

.zeph-btn.line {
    background: transparent;
    color: var(--zeph-muted);
    border: 2px solid var(--zeph-muted);
}

.zeph-btn.line:hover {
    border-color: var(--zeph-pink);
    color: var(--zeph-pink);
}

/* Page Style */
.page-head {
    padding: 10rem 2rem 4rem;
    text-align: center;
    background: 
        radial-gradient(ellipse at center, rgba(233, 30, 140, 0.1) 0%, transparent 50%),
        var(--zeph-dark);
}

.page-head h1 {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--zeph-pink);
}

.page-main {
    max-width: 920px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.page-main h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.4rem;
    color: var(--zeph-pink);
    margin: 2.5rem 0 1rem;
}

.page-main p {
    color: var(--zeph-muted);
    margin-bottom: 1.2rem;
    line-height: 1.9;
}

.page-main ul {
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.page-main li {
    color: var(--zeph-muted);
    margin-bottom: 0.7rem;
    line-height: 1.8;
}

/* Responsive */
@media (max-width: 768px) {
    .burger {
        display: flex;
    }

    .navlist {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--zeph-surface);
        flex-direction: column;
        padding: 5rem 2rem 2rem;
        transition: right 0.4s;
        border-left: 1px solid rgba(233, 30, 140, 0.2);
        gap: 0;
    }

    .navlist.visible {
        right: 0;
    }

    .navlist a {
        display: block;
        padding: 1rem;
        border-radius: 0;
        border-bottom: 1px solid rgba(233, 30, 140, 0.1);
    }

    .game-canvas {
        height: 420px;
    }

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

    .age-btns {
        flex-direction: column;
    }

    .foot-links a {
        display: block;
        margin: 0.4rem 0;
    }
}

@media (max-width: 480px) {
    .logo-text {
        font-size: 1.5rem;
    }

    .landing h1 {
        font-size: 2rem;
    }

    .game-canvas {
        height: 340px;
    }

    .gameplay-frame {
        padding: 1rem;
    }
}
