:root {
    --font-heading: 'Sora', ui-sans-serif, system-ui, sans-serif;
    --font-sans: 'Manrope', ui-sans-serif, system-ui, sans-serif;
    --base-0: #f8fafc;
    --base-100: #d9e1f2;
    --base-200: #aab7d0;
    --base-300: #7f8aa4;
    --base-800: #111b33;
    --base-900: #070d1d;
    --brand-200: #d6e7ff;
    --brand-300: #8eb8ff;
    --brand-400: #5f99ff;
    --brand-500: #3278ff;
    --brand-600: #1d57cd;
    --brand-700: #143d8f;
    --brand-900: #0b2050;
    --accent-300: #ffe9b1;
    --accent-400: #ffd57a;
    --accent-500: #ffbe40;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background: radial-gradient(circle at 15% 20%, rgba(50, 120, 255, 0.2), transparent 30%),
        radial-gradient(circle at 85% 35%, rgba(255, 190, 64, 0.16), transparent 35%),
        linear-gradient(180deg, #0a1229 0%, #070d1d 60%, #050814 100%);
    min-height: 100vh;
}

.text-gradient {
    background-image: linear-gradient(120deg, var(--brand-300), var(--accent-500), var(--brand-300));
    background-size: 250% 250%;
    animation: gradient-pan 7s linear infinite;
    color: transparent;
    background-clip: text;
    -webkit-background-clip: text;
}

.hero-grid {
    background-image: linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 46px 46px;
    mask-image: radial-gradient(circle at center, black 35%, transparent 92%);
}

.glass-card {
    border: 1px solid rgba(255, 255, 255, 0.11);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(12px);
    transition: transform 280ms ease, border-color 280ms ease;
}

.glass-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.22);
}

.btn-glow {
    box-shadow: 0 0 0 rgba(50, 120, 255, 0.4);
    animation: pulse-glow 2.4s ease-in-out infinite;
}

.btn-glow:hover {
    animation-play-state: paused;
}

.offer-card,
.category-card,
.faq-item {
    transition: transform 240ms ease, border-color 240ms ease, background-color 240ms ease;
}

.offer-card:hover,
.category-card:hover,
.faq-item:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.24);
    background-color: rgba(255, 255, 255, 0.09);
}

.category-card {
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1.25rem;
    padding: 1.25rem;
}

.category-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.45rem;
    font-family: var(--font-heading);
}

.category-card p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--base-200);
}

.faq-item {
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.11);
    background: rgba(255, 255, 255, 0.04);
    padding: 1rem 1.1rem;
}

.faq-item summary {
    cursor: pointer;
    font-weight: 700;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item p {
    margin-top: 0.7rem;
    color: var(--base-200);
    font-size: 0.95rem;
    line-height: 1.5;
}

.marquee {
    position: relative;
    overflow: hidden;
    min-height: 1.25rem;
}

.marquee-track {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    gap: 2.75rem;
    padding-right: 2.75rem;
    white-space: nowrap;
    width: max-content;
    animation: marquee-primary 120s linear infinite;
}

.marquee-track-clone {
    animation-name: marquee-secondary;
}

.streak {
    position: absolute;
    width: 10rem;
    height: 2px;
    opacity: 0.35;
    background: linear-gradient(90deg, transparent, var(--brand-300), transparent);
    animation: streak 7s linear infinite;
}

.streak.s2 {
    animation-delay: 2.1s;
}

.streak.s3 {
    animation-delay: 4.2s;
}

.twinkle-dot {
    position: absolute;
    width: 0.35rem;
    height: 0.35rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.8);
    animation: twinkle 3s ease-in-out infinite;
}

.animate-in {
    animation: rise-in 800ms cubic-bezier(0.21, 0.76, 0.18, 1) both;
}

.stagger-item {
    animation: rise-in 800ms cubic-bezier(0.21, 0.76, 0.18, 1) both;
}

.stagger-item:nth-child(2) {
    animation-delay: 110ms;
}

.stagger-item:nth-child(3) {
    animation-delay: 180ms;
}

.stagger-item:nth-child(4) {
    animation-delay: 250ms;
}

.animate-float-slow {
    animation: float-y 9s ease-in-out infinite;
}

.animate-float-medium {
    animation: float-y 7s ease-in-out infinite;
}

.animate-float-fast {
    animation: float-y 5.5s ease-in-out infinite;
}

.animate-spin-slow {
    animation: spin 20s linear infinite;
}

.orbit-ring {
    border: 1px dashed rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    animation: spin 22s linear infinite;
}

.shimmer {
    position: relative;
    overflow: hidden;
}

.shimmer::after {
    content: '';
    position: absolute;
    inset: 0;
    transform: translateX(-100%);
    background: linear-gradient(100deg, transparent 10%, rgba(255, 255, 255, 0.3) 45%, transparent 80%);
    animation: shimmer 2.8s ease-in-out infinite;
}

.media-frame {
    overflow: hidden;
    border-radius: 1.35rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.04);
}

.media-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 420ms ease, filter 420ms ease;
    filter: saturate(1.04);
}

.media-frame:hover img {
    transform: scale(1.06);
    filter: saturate(1.15);
}

.animate-drift {
    animation: drift-x 11s ease-in-out infinite;
}

.animate-wiggle-slow {
    animation: float-rotate 8.5s ease-in-out infinite;
}

[data-reveal] {
    opacity: 0;
    transform: translateY(24px) scale(0.98);
    transition: opacity 820ms cubic-bezier(0.2, 0.75, 0.25, 1), transform 820ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

[data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

[data-parallax] {
    transition: transform 180ms linear;
    will-change: transform;
}

@keyframes float-y {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-14px);
    }
}

@keyframes rise-in {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes marquee-primary {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-100%);
    }
}

@keyframes marquee-secondary {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}

@keyframes pulse-glow {
    0%,
    100% {
        box-shadow: 0 0 0 rgba(50, 120, 255, 0.15);
    }
    50% {
        box-shadow: 0 0 28px rgba(50, 120, 255, 0.52);
    }
}

@keyframes gradient-pan {
    0% {
        background-position: 0 50%;
    }
    100% {
        background-position: 100% 50%;
    }
}

@keyframes shimmer {
    100% {
        transform: translateX(100%);
    }
}

@keyframes streak {
    0% {
        transform: translateX(-20vw) translateY(0);
        opacity: 0;
    }
    20% {
        opacity: 0.4;
    }
    80% {
        opacity: 0.4;
    }
    100% {
        transform: translateX(110vw) translateY(120px);
        opacity: 0;
    }
}

@keyframes twinkle {
    0%,
    100% {
        transform: scale(0.7);
        opacity: 0.35;
    }
    50% {
        transform: scale(1.35);
        opacity: 1;
    }
}

@keyframes drift-x {
    0%,
    100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(14px);
    }
}

@keyframes float-rotate {
    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-10px) rotate(2deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .marquee-track {
        animation-name: marquee-primary !important;
        animation-duration: 120s !important;
        animation-timing-function: linear !important;
        animation-iteration-count: infinite !important;
    }

    .marquee-track-clone {
        animation-name: marquee-secondary !important;
    }
}
