﻿

/* Site shell: announcement, header, hero, footer */

/* Announcement */
.announcement {
    position: relative;
    z-index: 110;
    color: #14100a;
    background: linear-gradient(90deg, #f3a52c, #ffd876 48%, #f3a52c);
    font-size: 0.82rem;
}

.announcement__inner {
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.announcement p {
    margin: 0;
}

.announcement a {
    padding-left: 20px;
    border-left: 1px solid rgba(20, 16, 10, 0.22);
    font-weight: 800;
}

.announcement a:hover {
    text-decoration: underline;
}

.live-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 8px;
    background: #1b9d66;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(27, 157, 102, 0.17);
}

/* Navigation */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(8, 10, 14, 0.78);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.navbar {
    position: relative;
    min-height: clamp(76px, calc(4vw + 28px), 88px);
    display: flex;
    align-items: center;
    gap: clamp(24px, 3vw, 42px);
}

.brand {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.brand img {
    width: clamp(44px, 3vw, 52px);
    height: clamp(44px, 3vw, 52px);
    object-fit: cover;
    border: 1px solid rgba(255, 202, 88, 0.5);
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(134, 43, 200, 0.25);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: clamp(20px, 2vw, 30px);
    margin-right: auto;
}

.main-nav a {
    position: relative;
    color: #c5cad4;
    font-size: clamp(0.92rem, calc(0.78rem + 0.28vw), 1.05rem);
    font-weight: 650;
    transition: color 180ms ease;
}

.main-nav a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -9px;
    left: 0;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transition: transform 180ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.main-nav a.is-current {
    color: #fff;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after,
.main-nav a.is-current::after {
    transform: scaleX(1);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: clamp(8px, 0.8vw, 12px);
}

.nav-actions .button {
    min-height: clamp(46px, 3.5vw, 52px);
    padding-inline: clamp(17px, 1.6vw, 24px);
    font-size: clamp(0.9rem, calc(0.8rem + 0.22vw), 1rem);
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    color: #fff;
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: 11px;
    cursor: pointer;
}

.menu-toggle span:not(.sr-only) {
    width: 19px;
    height: 2px;
    background: currentColor;
    border-radius: 999px;
    transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Hero */
.hero {
    position: relative;
    min-height: 690px;
    display: grid;
    align-items: center;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.24;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 70px 70px;
    mask-image: linear-gradient(to bottom, black, transparent 88%);
    pointer-events: none;
}

.hero__grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 70px;
    padding-block: 84px 90px;
}

.hero__content {
    max-width: 650px;
}

.hero h1 {
    max-width: 670px;
    margin-bottom: 20px;
    font-size: clamp(2rem, 3.6vw, 2.85rem);
    font-weight: 880;
    letter-spacing: -0.04em;
    line-height: 1.15;
}

.hero h1 em {
    display: block;
    color: transparent;
    background: linear-gradient(90deg, #ffe099, var(--gold) 52%, #f19d2a);
    -webkit-background-clip: text;
    background-clip: text;
    font-style: normal;
}

.hero__content > p {
    max-width: 600px;
    margin-bottom: 32px;
    color: #aab1bf;
    font-size: 1.08rem;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
}

.hero__proof {
    display: flex;
    gap: 0;
}

.hero__proof div {
    min-width: 112px;
    display: flex;
    flex-direction: column;
    padding-right: 30px;
    margin-right: 30px;
    border-right: 1px solid var(--line-strong);
}

.hero__proof div:last-child {
    padding-right: 0;
    margin-right: 0;
    border: 0;
}

.hero__proof strong {
    color: #fff;
    font-size: 1.25rem;
    line-height: 1.2;
}

.hero__proof span {
    color: var(--muted-2);
    font-size: 0.76rem;
}

.hero__visual {
    position: relative;
    width: min(100%, 560px);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 12px;
    aspect-ratio: auto;
    justify-self: center;
}

.hero__halo {
    position: absolute;
    inset: 2% 5%;
    background: radial-gradient(circle at 50% 35%, rgba(247, 90, 229, 0.52), rgba(110, 39, 211, 0.18) 47%, transparent 72%);
    border-radius: 50%;
    filter: blur(2px);
    animation: breathe 5s ease-in-out infinite;
}

.hero__image-wrap {
    position: relative;
    inset: auto;
    grid-column: 1 / -1;
    width: 100%;
    padding: 10px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.01));
    border: 1px solid rgba(255, 202, 88, 0.25);
    border-radius: 30px;
    box-shadow: 0 40px 100px rgba(101, 28, 190, 0.34);
}

.hero__image-wrap::before {
    content: "";
    position: absolute;
    inset: -13px;
    z-index: -1;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 36px;
}

.hero__image-wrap img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
    border-radius: 23px;
}

.floating-card {
    position: static;
    z-index: 3;
    width: 100%;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 16px;
    background: rgba(17, 21, 29, 0.87);
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 14px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(12px);
}

.floating-card__icon,
.status-icon {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    color: #171109;
    background: var(--gold);
    border-radius: 10px;
    font-weight: 900;
}

.status-icon {
    color: #06130e;
    background: var(--green);
}

.floating-card span:last-child {
    display: flex;
    flex-direction: column;
}

.floating-card small {
    color: var(--muted);
    font-size: 0.7rem;
}

.floating-card strong {
    font-size: 0.82rem;
}

.hero__glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
}

.hero__glow--one {
    width: 400px;
    height: 400px;
    top: 14%;
    right: -12%;
    background: rgba(128, 53, 232, 0.17);
}

.hero__glow--two {
    width: 280px;
    height: 280px;
    bottom: -12%;
    left: 16%;
    background: rgba(255, 190, 68, 0.08);
}

@keyframes breathe {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.06); opacity: 1; }
}

/* Footer */
.site-footer {
    padding-block: 70px 24px;
    background: #06070a;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.65fr repeat(3, 0.78fr);
    gap: 60px;
    padding-bottom: 48px;
}

.footer-brand > p {
    max-width: 310px;
    margin: 20px 0;
    color: var(--muted);
    font-size: 0.82rem;
}

.age-pill {
    display: inline-flex;
    padding: 7px 10px;
    color: #c0c5cf;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--line);
    border-radius: 8px;
    font-size: 0.68rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.footer-links h2 {
    margin-bottom: 8px;
    font-size: 0.82rem;
    letter-spacing: 0.02em;
}

.footer-links a {
    color: var(--muted);
    font-size: 0.76rem;
    transition: color 180ms ease;
}

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

.payment-strip {
    min-height: 62px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 18px;
    border-block: 1px solid var(--line);
}

.payment-strip > span {
    margin-right: auto;
    color: var(--muted-2);
    font-size: 0.69rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.payment-strip b {
    padding: 7px 12px;
    color: #b6bcc8;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--line);
    border-radius: 7px;
    font-size: 0.68rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    padding-top: 22px;
    color: #5e6572;
    font-size: 0.68rem;
}

.footer-bottom p {
    margin: 0;
}

@media (max-width: 1050px) {
    .navbar {
        gap: 22px;
    }

    .main-nav {
        gap: 18px;
    }

    .hero__grid {
        gap: 30px;
    }
}

@media (max-width: 860px) {
    .menu-toggle {
        display: flex;
        order: 3;
        margin-left: auto;
    }

    .main-nav {
        position: absolute;
        top: calc(100% + 10px);
        right: 0;
        bottom: auto;
        left: 0;
        z-index: 99;
        display: flex;
        align-items: stretch;
        flex-direction: column;
        gap: 4px;
        margin: 0;
        padding: 8px;
        background: rgba(15, 18, 25, 0.98);
        border: 1px solid var(--line-strong);
        border-radius: 16px;
        box-shadow: 0 24px 70px rgba(0, 0, 0, 0.48);
        backdrop-filter: blur(18px);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px) scale(0.985);
        transform-origin: top center;
        transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
        pointer-events: none;
    }

    .main-nav.is-open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0) scale(1);
        pointer-events: auto;
    }

    .main-nav a {
        min-height: 50px;
        display: flex;
        align-items: center;
        padding: clamp(15px, 2.2vw, 18px) clamp(16px, 2.5vw, 20px);
        border: 0;
        border-radius: 10px;
        font-size: clamp(1rem, 2.2vw, 1.12rem);
    }

    .main-nav a:hover,
    .main-nav a:focus-visible {
        background: rgba(255, 255, 255, 0.05);
    }

    .main-nav a.is-current {
        color: var(--gold);
        background: var(--gold-soft);
    }

    .main-nav a::after {
        display: none;
    }

    .nav-actions {
        margin-left: auto;
    }

    .hero {
        min-height: auto;
    }

    .hero__grid {
        grid-template-columns: 1fr;
        padding-block: 70px 85px;
    }

    .hero__content {
        max-width: 760px;
        text-align: center;
    }

    .hero h1,
    .hero__content > p {
        margin-right: auto;
        margin-left: auto;
    }

    .hero__actions,
    .hero__proof {
        justify-content: center;
    }

    .hero__visual {
        width: min(90%, 480px);
    }

    .footer-main {
        grid-template-columns: 1.3fr repeat(3, 1fr);
        gap: 30px;
    }
}

@media (max-width: 680px) {
    .announcement__inner {
        min-height: 42px;
        justify-content: space-between;
        gap: 8px;
    }

    .announcement p {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .announcement p strong,
    .live-dot {
        display: none;
    }

    .announcement a {
        flex-shrink: 0;
        padding-left: 10px;
        font-size: 0.72rem;
    }

    .navbar {
        min-height: clamp(76px, 15vw, 86px);
        gap: clamp(5px, 1.8vw, 10px);
    }

    .main-nav {
        top: calc(100% + 8px);
    }

    .brand img {
        width: clamp(46px, 12vw, 54px);
        height: clamp(46px, 12vw, 54px);
    }

    .menu-toggle {
        width: clamp(48px, 12vw, 54px);
        height: clamp(48px, 12vw, 54px);
        margin-left: 0;
    }

    .menu-toggle span:not(.sr-only) {
        width: 22px;
    }

    .nav-actions {
        gap: clamp(4px, 1.6vw, 9px);
        margin-left: auto;
    }

    .nav-actions .button--ghost,
    .nav-actions .button--small {
        min-height: clamp(46px, 12vw, 54px);
        padding-inline: clamp(10px, 3.2vw, 18px);
        border-radius: clamp(11px, 2.8vw, 14px);
        font-size: clamp(0.76rem, 3.5vw, 1rem);
        white-space: nowrap;
    }

    .hero__grid {
        padding-block: 58px 68px;
    }

    .hero h1 {
        font-size: clamp(1.55rem, 5.6vw, 1.95rem);
        line-height: 1.28;
        letter-spacing: -0.02em;
        margin-bottom: 14px;
    }

    .hero h1 em {
        display: inline;
    }

    .hero__content > p {
        font-size: 1.02rem;
        line-height: 1.65;
        margin-bottom: 24px;
    }

    .hero__actions {
        flex-direction: column;
    }

    .hero__actions .button {
        width: 100%;
    }

    .hero__proof div {
        min-width: 0;
        flex: 1;
        padding-right: 14px;
        margin-right: 14px;
    }

    .hero__proof strong {
        font-size: 1.05rem;
        line-height: 1.25;
    }

    .hero__proof span {
        font-size: 0.8rem;
        line-height: 1.4;
    }

    .hero__visual {
        width: 100%;
        grid-template-columns: 1fr;
    }

    .floating-card {
        min-width: 0;
        padding: 10px 12px;
    }

    .hero__image-wrap {
        grid-column: 1;
    }

    .footer-main {
        grid-template-columns: repeat(2, 1fr);
        gap: 38px 24px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .payment-strip {
        align-items: flex-start;
        flex-wrap: wrap;
        padding-block: 18px;
    }

    .payment-strip > span {
        width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 7px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero__halo {
        animation: none;
    }
}
