/* ============================================
   Senyuva Media — Landing Page
   ============================================ */

@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

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

:root {
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
    --white: #ffffff;
    --gray-100: #f5f5f7;
    --gray-400: #a1a1a6;
    --gray-500: #86868b;
    --gray-700: #424245;
    --gray-900: #1d1d1f;
    --black: #000000;
    --accent: #0071e3;
}

html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

::selection {
    background: var(--accent);
    color: var(--white);
}

/* --- Canvas Background --- */
#heroCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* --- Hero --- */
.hero {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 2rem;
}

.hero__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    opacity: 0;
    transform: translateY(40px);
    animation: fadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

.hero__badge {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--accent);
    border: 1px solid rgba(0, 113, 227, 0.3);
    padding: 0.4rem 1.25rem;
    border-radius: 980px;
    margin-bottom: 2.5rem;
    background: rgba(0, 113, 227, 0.06);
}

.hero__title {
    font-size: clamp(2rem, 7vw, 4.5rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.03em;
    padding-bottom: 0.05em;
    margin-bottom: 1rem;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 1) 0%,
        rgba(255, 255, 255, 0.5) 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- Countdown Timer --- */
.hero__timer {
    display: flex;
    gap: clamp(1.5rem, 4vw, 3rem);
    margin-bottom: 2.5rem;
}

.timer__block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.375rem;
}

.timer__number {
    font-size: clamp(2rem, 6vw, 4rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.03em;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.9) 0%,
        rgba(255, 255, 255, 0.35) 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-variant-numeric: tabular-nums;
    min-width: 2ch;
    text-align: center;
}

.timer__label {
    font-size: 0.625rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.2);
}

.timer__separator {
    font-size: clamp(1.5rem, 5vw, 3rem);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.1);
    align-self: flex-start;
    line-height: 1;
    padding-top: 0.1em;
}

.hero__subtitle {
    font-size: clamp(1rem, 2.5vw, 1.375rem);
    font-weight: 400;
    color: var(--gray-400);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.hero__text {
    font-size: clamp(0.9375rem, 1.5vw, 1.125rem);
    font-weight: 300;
    color: var(--gray-500);
    max-width: 480px;
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.hero__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--white);
    text-decoration: none;
    padding: 0.9375rem 2.25rem;
    border-radius: 980px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.35s cubic-bezier(0.25, 0.1, 0.25, 1);
    letter-spacing: -0.01em;
}

.hero__cta:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 113, 227, 0.15);
    color: var(--white);
}

/* --- Social Icons (bottom right) --- */
.hero__social {
    position: fixed;
    bottom: 4.5rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    z-index: 10;
}

.hero__social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    color: rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
    border-radius: 50%;
}

.hero__social a:hover {
    color: rgba(255, 255, 255, 0.7);
    transform: translateY(-2px);
}

.hero__social svg {
    width: 18px;
    height: 18px;
}

/* --- Footer --- */
.hero__footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.2);
}

.hero__links {
    display: flex;
    gap: 1.5rem;
}

.hero__links a {
    color: rgba(255, 255, 255, 0.25);
    text-decoration: none;
    font-size: 0.75rem;
    transition: color 0.2s;
}

.hero__links a:hover {
    color: rgba(255, 255, 255, 0.6);
}

/* --- Animation --- */
@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Legal Pages --- */
.legal-page {
    background: var(--black);
    min-height: 100vh;
}

.legal-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 0 2rem;
    height: 48px;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 0.5px solid rgba(255, 255, 255, 0.06);
}

.legal-nav__logo {
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    text-decoration: none;
    letter-spacing: -0.02em;
}

.legal-nav__logo:hover {
    opacity: 0.8;
    color: var(--white);
}

.legal {
    max-width: 680px;
    margin: 0 auto;
    padding: 7rem 2rem 5rem;
}

.legal__back {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--accent);
    text-decoration: none;
    margin-bottom: 3rem;
    transition: gap 0.2s;
}

.legal__back:hover {
    gap: 0.7rem;
    color: var(--accent);
}

.legal h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 3rem;
    color: var(--white);
    line-height: 1.1;
}

.legal h2 {
    font-size: 1.1875rem;
    font-weight: 600;
    margin-top: 3rem;
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
}

.legal h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
}

.legal p,
.legal li {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.75;
    margin-bottom: 0.75rem;
}

.legal strong {
    color: rgba(255, 255, 255, 0.65);
    font-weight: 600;
}

.legal ul {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal a {
    color: var(--accent);
    text-decoration: none;
}

.legal a:hover {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.legal-footer {
    border-top: 0.5px solid rgba(255, 255, 255, 0.06);
    max-width: 680px;
    margin: 0 auto;
    padding: 2rem 2rem 3rem;
    text-align: center;
}

.legal-footer p {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.15);
}

/* --- Responsive --- */
@media (max-width: 640px) {
    .hero__footer {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
        padding: 1.25rem 1.5rem 1.25rem;
    }

    .hero {
        padding: 3rem 1.5rem 5rem;
    }

    .hero__social {
        position: fixed;
        bottom: 4rem;
        right: 1.25rem;
        gap: 0.5rem;
    }

    .hero__social svg {
        width: 16px;
        height: 16px;
    }

    .legal {
        padding: 6rem 1.5rem 4rem;
    }
}
