:root {
    --bg-color: #050505;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --accent-1: #00f2ff;
    --accent-2: #bd00ff;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --card-hover: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: "Outfit", sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

.background-glow {
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(189, 0, 255, 0.08) 0%, rgba(0, 242, 255, 0.05) 30%, transparent 70%);
    z-index: -1;
    animation: pulse 10s ease-in-out infinite alternate;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }

    100% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.excuse-top {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    justify-content: center;
    padding: 1rem 1rem 0;
}

.excuse-button {
    background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
    border: none;
    border-radius: 999px;
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    padding: 0.85rem 1.5rem;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0, 242, 255, 0.2);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.excuse-button:hover {
    opacity: 0.92;
    transform: translateY(-2px);
}

.excuse-modal {
    position: fixed;
    inset: 0;
    background: rgba(5, 5, 5, 0.7);
    backdrop-filter: blur(6px);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    z-index: 50;
}

.excuse-modal.is-visible {
    display: flex;
}

.excuse-modal-card {
    width: min(680px, 100%);
    border-radius: 24px;
    background: rgba(15, 15, 15, 0.92);
    border: 1px solid var(--glass-border);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
    padding: 2rem;
}

.excuse-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.excuse-text {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
}

.excuse-close {
    margin-top: 1.5rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    border-radius: 999px;
    padding: 0.7rem 1.2rem;
    cursor: pointer;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 6rem;
}

.hero {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
}

.title {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(0, 242, 255, 0.3);
}

.subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    font-weight: 300;
}

.timer-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    width: 100%;
    max-width: 1200px;
}

.timer-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    padding: 1.5rem 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease;
    flex: 1;
    min-width: 100px;
}

.timer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px -10px rgba(0, 242, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.2);
}

.time-value {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 0.5rem;
    background: linear-gradient(to bottom, #fff, #aaa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.time-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
}

.total-days-container {
    text-align: center;
    opacity: 0.8;
}

.total-days-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-1);
}

.total-days-label {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-left: 0.5rem;
}

.facts-section,
.comparison {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.section-heading {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    font-weight: 700;
}

.section-title.small {
    font-size: 1.75rem;
}

.section-copy {
    color: var(--text-secondary);
    font-size: 1rem;
    max-width: 720px;
    margin: 0 auto;
    line-height: 1.6;
}

.carousel-shell {
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.facts-track,
.series-track {
    display: flex;
    align-items: stretch;
    gap: 1.25rem;
    width: max-content;
}

.facts-track {
    animation: marquee 42s linear infinite;
}

.series-track {
    animation: marquee 65s linear infinite;
}

.carousel-shell:hover .facts-track,
.carousel-shell:hover .series-track {
    animation-play-state: paused;
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(calc(-50% - 0.625rem));
    }
}

.fact-card {
    width: min(360px, calc(100vw - 4rem));
    min-height: 150px;
    padding: 1.35rem;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
        rgba(15, 15, 15, 0.8);
    backdrop-filter: blur(12px);
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.fact-kicker {
    color: var(--accent-1);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.72rem;
    font-weight: 700;
}

.fact-text {
    font-size: 1.18rem;
    line-height: 1.45;
}

.series-card {
    width: min(380px, calc(100vw - 4rem));
    min-height: 620px;
    padding: 0 1.5rem 1.5rem;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background:
        radial-gradient(circle at top right, color-mix(in srgb, var(--series-accent) 30%, transparent), transparent 30%),
        linear-gradient(160deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03)),
        rgba(15, 15, 15, 0.88);
    backdrop-filter: blur(14px);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    overflow: hidden;
}

.series-poster-container {
    margin: 0 -1.5rem;
    height: 250px;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.series-poster {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1.02);
}

.series-card::after {
    content: "";
    position: absolute;
    inset: auto -30% -30% auto;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, color-mix(in srgb, var(--series-accent) 42%, transparent), transparent 70%);
    opacity: 0.6;
    pointer-events: none;
}

.series-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.series-origin,
.series-badge {
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.04);
    border-radius: 999px;
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-secondary);
}

.series-name {
    font-size: 2rem;
    font-weight: 900;
    line-height: 1.05;
}

.series-copy {
    color: var(--text-secondary);
    line-height: 1.6;
    min-height: 76px;
}

.series-stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
}

.series-stat {
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    border-radius: 18px;
    padding: 0.95rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.series-stat-label {
    color: var(--text-secondary);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.series-stat-value {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--series-accent);
}

.filming-info {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.rodrigo-counter {
    margin-top: auto;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #f4f4f4;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.store-section {
    padding-bottom: 4rem;
}

.social-launch-section {
    padding-bottom: 5rem;
}

.social-launch-card {
    position: relative;
    overflow: hidden;
    padding: 3rem;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background:
        radial-gradient(circle at top right, rgba(0, 242, 255, 0.16), transparent 30%),
        radial-gradient(circle at bottom left, rgba(189, 0, 255, 0.2), transparent 35%),
        rgba(12, 12, 12, 0.92);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.launch-kicker {
    display: inline-flex;
    margin-bottom: 1rem;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.05);
    color: var(--accent-1);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.74rem;
    font-weight: 700;
}

.launch-bullets {
    margin: 2rem auto 1.5rem;
    max-width: 720px;
    display: grid;
    gap: 0.9rem;
}

.launch-bullets p {
    padding: 1rem 1.1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.launch-note {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

.store-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 242, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.product-image-container {
    width: 100%;
    aspect-ratio: 1;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-image {
    width: 90%;
    height: 90%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-info {
    text-align: center;
    width: 100%;
}

.product-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.product-price {
    font-size: 1.5rem;
    color: var(--accent-1);
    font-weight: 900;
    margin-bottom: 1.5rem;
}

.buy-button {
    background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    color: white;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: opacity 0.3s ease;
    text-decoration: none;
    display: inline-block;
    width: 100%;
}

.buy-button:hover {
    opacity: 0.9;
}

.share-button {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.85rem 2rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: white;
    font-family: "Outfit", sans-serif;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.share-button:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .background-glow {
        animation: none;
    }

    .facts-track,
    .series-track {
        animation: none;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }

    .fact-card,
    .series-card {
        scroll-snap-align: start;
    }
}

@media (max-width: 768px) {
    .title {
        font-size: 2.5rem;
    }

    .container {
        gap: 4rem;
        padding: 2rem 1rem;
    }

    .timer-card {
        flex: 1 1 calc(50% - 1rem);
        max-width: calc(50% - 1rem);
        min-width: 130px;
    }

    .excuse-title {
        font-size: 1.4rem;
    }

    .excuse-text {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .series-stats {
        grid-template-columns: 1fr;
    }

    .fact-card,
    .series-card {
        width: calc(100vw - 2.5rem);
    }

    .social-launch-card {
        padding: 2rem 1.25rem;
    }

    .carousel-shell {
        mask-image: linear-gradient(to right, transparent, black 4%, black 96%, transparent);
        -webkit-mask-image: linear-gradient(to right, transparent, black 4%, black 96%, transparent);
    }
}
