@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Sora:wght@600;700;800&display=swap");
@import url("public-footer.css");

/* Reset e Variáveis */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1e3a8a;
    --secondary-color: #f59e0b;
    --accent-color: #8b5cf6;
    --dark-color: #1e293b;
    --light-color: #f8fafc;
    --text-color: #1e293b;
    --text-light: #64748b;
    --border-color: #e2e8f0;
    --shadow: 0 2px 10px rgba(30, 58, 138, 0.1);
    --shadow-hover: 0 4px 20px rgba(30, 58, 138, 0.15);
    --gold-light: #fef3c7;
    --purple-light: #ede9fe;
    --header-content-gap: clamp(1.25rem, 2.5vw, 2rem);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: #f8fafc;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img,
video,
canvas,
iframe {
    max-width: 100%;
}

/* Top Bar */
.top-bar {
    background: #5ab9a2;
    height: 20px;
    width: 100%;
}

/* Header */
.header {
    background: white;
    color: var(--text-color);
    padding: 1rem 0;
    margin-bottom: var(--header-content-gap);
    box-shadow: var(--shadow);
    border-bottom: 1px solid var(--border-color);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .header .logo {
        width: 100%;
        justify-content: center;
    }
    
    .header .nav {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: bold;
    margin: 0;
    display: none;
}

.nav {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    min-width: 0;
}

.nav a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav a:hover {
    color: var(--primary-color);
}

.nav span {
    color: var(--text-color);
    overflow-wrap: anywhere;
}

.btn-link {
    padding: 0.5rem 1rem;
    background: #5ab9a2;
    color: white;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

.btn-link:hover {
    background: #4a9d8a;
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Hero Carousel Section */
.hero-carousel {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    background: linear-gradient(135deg, #5ab9a2, #4a9d8a);
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    align-items: center;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 1;
}

.carousel-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.carousel-image picture,
.carousel-image img {
    width: 100%;
    height: 100%;
    display: block;
}

.carousel-image img {
    object-fit: cover;
    object-position: center;
}

.carousel-content {
    position: relative;
    z-index: 2;
    width: 100%;
    color: white;
    text-align: center;
    padding: 2rem 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.6) 100%);
}

.carousel-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: bold;
}

.carousel-content p {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.carousel-content .subtitle {
    font-size: 1rem;
    opacity: 0.95;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Carousel Navigation Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 2rem;
    color: #5ab9a2;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.carousel-btn:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.carousel-prev {
    left: 20px;
}

.carousel-next {
    right: 20px;
}

.carousel-btn span {
    line-height: 1;
    font-weight: bold;
}

/* Carousel Indicators */
.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 10px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid white;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.indicator.active {
    background: white;
    width: 30px;
    border-radius: 6px;
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: scale(1.2);
}

/* Responsive Hero */
@media (max-width: 768px) {
    .hero-carousel {
        height: 400px;
    }

    .carousel-content h2 {
        font-size: 1.8rem;
    }

    .carousel-content p {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .carousel-content .subtitle {
        font-size: 0.9rem;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .carousel-prev {
        left: 10px;
    }

    .carousel-next {
        right: 10px;
    }

    .carousel-indicators {
        bottom: 15px;
    }
}

/* Subtitle (mantido para compatibilidade) */
.subtitle {
    font-size: 1rem;
    opacity: 0.9;
}

/* Sections */
.section {
    padding: 3rem 0;
}

.section.bg-light {
    background-color: var(--light-color);
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--dark-color);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-light);
}

/* Popular Games Section (Homepage) */
.popular-games-scroll {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding: 1rem 0 1.5rem;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
}

.popular-games-scroll::-webkit-scrollbar {
    height: 8px;
}

.popular-games-scroll::-webkit-scrollbar-track {
    background: var(--border-color);
    border-radius: 4px;
}

.popular-games-scroll::-webkit-scrollbar-thumb {
    background: #5ab9a2;
    border-radius: 4px;
}

.popular-games-scroll::-webkit-scrollbar-thumb:hover {
    background: #4a9d8a;
}

.popular-game-card {
    flex: 0 0 280px;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    scroll-snap-align: start;
}

.popular-game-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.popular-game-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: var(--light-color);
    position: relative;
}

.game-preview-surface {
    position: relative;
    overflow: hidden;
}

.game-preview-surface.has-video {
    cursor: pointer;
}

.game-preview-surface:focus-visible {
    outline: 3px solid rgba(90, 185, 162, 0.72);
    outline-offset: -3px;
}

.game-preview-surface img,
.game-preview-surface .popular-game-placeholder,
.game-preview-surface .jogo-placeholder {
    transition: opacity 0.22s ease, transform 0.32s ease;
}

.game-preview-video,
.game-preview-embed {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.32s ease;
    transform: scale(1.02);
    border: 0;
}

.game-preview-surface.is-preview-active .game-preview-video,
.game-preview-surface.is-preview-active .game-preview-embed {
    opacity: 1;
    transform: scale(1);
}

.game-preview-surface.is-preview-active img,
.game-preview-surface.is-preview-active .popular-game-placeholder,
.game-preview-surface.is-preview-active .jogo-placeholder {
    opacity: 0;
    transform: scale(1.04);
}

.game-preview-badge {
    position: absolute;
    top: 0.85rem;
    left: 0.85rem;
    z-index: 2;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.82);
    color: #f8fafc;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.24);
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    pointer-events: none;
}

.game-preview-surface.has-video:hover .game-preview-badge,
.game-preview-surface.has-video:focus-visible .game-preview-badge,
.game-preview-surface.has-video:focus-within .game-preview-badge,
.game-preview-surface.is-preview-active .game-preview-badge {
    opacity: 1;
    transform: translateY(0);
}

/* About page */
.about-page {
    --about-bg: #050b2c;
    --about-panel: #0d1744;
    --about-ink: #f7f9ff;
    --about-muted: #b9c3df;
    --about-border: rgba(164, 183, 238, 0.2);
    --about-accent: #8ee85b;
    --about-gold: #ffc968;
    background: var(--about-bg);
    color: var(--about-ink);
    overflow-x: hidden;
}

.about-page main {
    background:
        radial-gradient(circle at 10% 32%, rgba(47, 79, 190, 0.2), transparent 28rem),
        radial-gradient(circle at 95% 67%, rgba(71, 188, 121, 0.12), transparent 26rem),
        var(--about-bg);
}

.about-page .header {
    margin-bottom: 0;
}

.about-page .nav a[aria-current="page"] {
    color: var(--about-accent);
}

.about-page .nav a:focus-visible,
.about-page .about-text-link:focus-visible,
.about-page .home-btn:focus-visible,
.about-page .home-footer a:focus-visible {
    outline: 3px solid var(--about-gold);
    outline-offset: 4px;
}

.about-hero {
    position: relative;
    isolation: isolate;
    min-height: min(680px, calc(100vh - 86px));
    display: grid;
    align-items: center;
    padding: clamp(4.5rem, 8vw, 7rem) 0;
    background:
        linear-gradient(110deg, rgba(5, 11, 44, 0.98) 0%, rgba(5, 11, 44, 0.86) 55%, rgba(10, 27, 80, 0.72) 100%),
        url("../images/home-about-bg-2026.webp") center / cover;
    overflow: hidden;
}

.about-hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: auto 0 0;
    height: 28%;
    background: linear-gradient(transparent, var(--about-bg));
}

.about-orbit {
    position: absolute;
    z-index: -1;
    border: 1px solid rgba(142, 232, 91, 0.22);
    border-radius: 50%;
    pointer-events: none;
}

.about-orbit-one {
    width: 25rem;
    height: 25rem;
    right: -8rem;
    top: 4rem;
}

.about-orbit-two {
    width: 12rem;
    height: 12rem;
    left: 42%;
    bottom: -5rem;
}

.about-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(18rem, 0.78fr);
    align-items: end;
    gap: clamp(2.5rem, 6vw, 6rem);
}

.about-eyebrow,
.about-kicker {
    color: var(--about-accent);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.about-page .about-hero h1 {
    max-width: 12ch;
    margin: 1rem 0 1.5rem;
    color: var(--about-ink);
    font: 800 clamp(2.9rem, 5.8vw, 5.5rem) / 1 "Sora", sans-serif;
    letter-spacing: -0.055em;
}

.about-page .about-hero h1 span {
    color: var(--about-accent);
}

.about-lead {
    max-width: 61ch;
    color: #d7def1;
    font-size: clamp(1rem, 1.35vw, 1.18rem);
    line-height: 1.7;
}

.about-text-link {
    display: inline-flex;
    gap: 0.65rem;
    align-items: center;
    margin-top: 2rem;
    color: var(--about-ink);
    font-weight: 800;
    text-decoration: none;
}

.about-text-link span {
    color: var(--about-accent);
    font-size: 1.2rem;
}

.about-question {
    position: relative;
    margin: 0;
    padding: clamp(1.5rem, 2.5vw, 2rem);
    border: 1px solid var(--about-border);
    border-radius: 1.5rem;
    background: rgba(9, 18, 58, 0.78);
    box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.26);
    backdrop-filter: blur(12px);
}

.about-question-mark {
    display: grid;
    width: 3rem;
    height: 3rem;
    margin-bottom: 1.25rem;
    place-items: center;
    border-radius: 50%;
    background: var(--about-accent);
    color: #071128;
    font: 800 1.5rem "Sora", sans-serif;
}

.about-question p {
    margin: 0;
    color: var(--about-ink);
    font: 600 clamp(1rem, 1.35vw, 1.2rem) / 1.6 "Sora", sans-serif;
}

.about-section {
    padding: clamp(4.25rem, 7vw, 7rem) 0;
}

.about-section-heading {
    display: grid;
    grid-template-columns: minmax(20rem, 1.05fr) minmax(20rem, 0.95fr);
    column-gap: clamp(2.5rem, 6vw, 6rem);
    row-gap: 0.85rem;
    align-items: start;
    margin-bottom: clamp(2.25rem, 4vw, 3.5rem);
}

.about-section-heading .about-kicker {
    grid-column: 1 / -1;
}

.about-page .about-section h2 {
    margin: 0;
    color: var(--about-ink);
    font: 800 clamp(1.75rem, 2.7vw, 2.75rem) / 1.14 "Sora", sans-serif;
    letter-spacing: -0.035em;
}

.about-section p {
    color: var(--about-muted);
    font-size: clamp(0.98rem, 1.05vw, 1.06rem);
    line-height: 1.72;
}

.about-section-heading > p:last-child {
    max-width: 54ch;
    margin: 0;
}

.about-media-frame,
.about-figure {
    position: relative;
    overflow: hidden;
    margin: 0;
    border: 1px solid var(--about-border);
    border-radius: clamp(1.25rem, 3vw, 2.25rem);
    background: var(--about-panel);
    box-shadow: 0 2rem 6rem rgba(0, 0, 0, 0.3);
}

.about-media-frame::after,
.about-figure::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.about-media-frame img,
.about-figure img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 25 / 16;
    object-fit: cover;
}

.about-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin: clamp(3rem, 5vw, 4.5rem) 0 2rem;
    padding: 0;
    list-style: none;
}

.about-timeline li {
    position: relative;
    min-height: 10rem;
    padding: 2rem clamp(1rem, 2vw, 1.5rem) 0 0;
    border-top: 1px solid var(--about-border);
}

.about-timeline li::before {
    content: "";
    position: absolute;
    top: -0.42rem;
    left: 0;
    width: 0.8rem;
    height: 0.8rem;
    border: 3px solid var(--about-bg);
    border-radius: 50%;
    background: var(--about-accent);
    box-shadow: 0 0 0 1px var(--about-accent), 0 0 1.5rem rgba(142, 232, 91, 0.45);
}

.about-timeline time {
    color: var(--about-gold);
    font: 800 clamp(1.35rem, 2.2vw, 1.9rem) "Sora", sans-serif;
}

.about-timeline p {
    max-width: 28ch;
    margin: 0.75rem 0 0;
    font-size: 0.94rem;
    line-height: 1.62;
}

.about-transition {
    max-width: 64ch;
    margin: clamp(2.5rem, 5vw, 4rem) auto 0;
    color: var(--about-ink) !important;
    font: 600 clamp(1.2rem, 2vw, 1.65rem) / 1.55 "Sora", sans-serif;
    text-align: center;
}

.about-founder {
    border-block: 1px solid rgba(164, 183, 238, 0.12);
    background: linear-gradient(145deg, rgba(12, 25, 70, 0.92), rgba(7, 15, 48, 0.92));
}

.about-split,
.about-founder-grid,
.about-mission-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.94fr) minmax(0, 1.06fr);
    gap: clamp(2.75rem, 5vw, 5.5rem);
    align-items: center;
}

.about-split-copy h2,
.about-founder-copy h2,
.about-mission-copy h2 {
    margin: 0.7rem 0 1.4rem;
}

.about-split-copy p:not(.about-kicker),
.about-founder-copy p:not(.about-kicker),
.about-mission-copy p:not(.about-kicker) {
    max-width: 58ch;
}

.about-mission-copy strong {
    color: var(--about-ink);
}

.about-figure figcaption {
    position: absolute;
    z-index: 1;
    inset: auto 1rem 1rem;
    padding: 0.8rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 0.9rem;
    background: rgba(5, 11, 44, 0.84);
    color: #e9edfa;
    font-size: 0.86rem;
    backdrop-filter: blur(10px);
}

.about-founder-photo {
    width: min(100%, 24rem);
    justify-self: center;
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--about-border);
    border-radius: clamp(1.25rem, 3vw, 2.25rem);
    background: radial-gradient(ellipse at 50% 25%, rgba(51, 201, 145, 0.14), transparent 60%), var(--about-panel);
    box-shadow: 0 2rem 6rem rgba(0, 0, 0, 0.3);
}

.about-founder-photo img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    transform: scaleX(-1);
}

.about-mission-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.about-audience {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin: 2rem 0 0;
    padding: 0;
    list-style: none;
}

.about-audience li {
    padding: 0.65rem 1rem;
    border: 1px solid rgba(142, 232, 91, 0.3);
    border-radius: 999px;
    background: rgba(142, 232, 91, 0.08);
    color: #eaffdf;
    font-size: 0.9rem;
    font-weight: 700;
}

.about-games-note {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    max-width: 58rem;
    margin-top: clamp(2.75rem, 5vw, 4.5rem);
    padding: 1.4rem 1.6rem;
    border: 1px solid var(--about-border);
    border-radius: 1.25rem;
    background: rgba(13, 23, 68, 0.74);
}

.about-games-note > span {
    flex: 0 0 auto;
    color: var(--about-accent);
    font-size: 1.4rem;
}

.about-games-note p {
    margin: 0;
}

.about-games-note strong {
    color: var(--about-ink);
}

@media (max-width: 900px) {
    .about-hero-grid,
    .about-split,
    .about-founder-grid,
    .about-mission-grid,
    .about-section-heading {
        grid-template-columns: 1fr;
    }

    .about-hero {
        min-height: auto;
    }

    .about-hero-grid {
        gap: 2.75rem;
    }

    .about-question {
        max-width: 38rem;
    }

    .about-section-heading {
        gap: 0.75rem;
    }

    .about-section-heading h2 {
        max-width: 20ch;
    }

    .about-section-heading > p:last-child {
        max-width: 62ch;
    }

    .about-split,
    .about-founder-grid,
    .about-mission-grid {
        gap: 2.75rem;
    }

    .about-split-copy,
    .about-founder-copy,
    .about-mission-copy {
        max-width: 44rem;
    }

    .about-timeline {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem 0;
    }

    .about-mission-copy {
        order: 1;
    }

    .about-mission-figure {
        order: 0;
    }
}

@media (max-width: 600px) {
    .about-hero {
        padding-block: 3.75rem 4.75rem;
        background-position: 62% center;
    }

    .about-page .about-hero h1 {
        max-width: 11ch;
        margin-block: 0.8rem 1.2rem;
        font-size: clamp(2.55rem, 12.5vw, 3.45rem);
        line-height: 1.02;
    }

    .about-question {
        padding: 1.35rem;
        border-radius: 1.2rem;
    }

    .about-question-mark {
        width: 2.6rem;
        height: 2.6rem;
        margin-bottom: 1rem;
    }

    .about-section {
        padding-block: 3.75rem;
    }

    .about-page .about-section h2 {
        font-size: clamp(1.65rem, 7.5vw, 2rem);
        line-height: 1.16;
    }

    .about-section-heading {
        margin-bottom: 2rem;
    }

    .about-media-frame,
    .about-figure {
        margin-inline: -0.35rem;
        border-radius: 1.2rem;
    }

    .about-media-frame img,
    .about-figure img {
        aspect-ratio: 4 / 3;
    }

    .about-timeline {
        grid-template-columns: 1fr;
        gap: 0;
        margin-top: 2.5rem;
    }

    .about-timeline li {
        min-height: auto;
        padding: 0 0 2rem 2rem;
        border-top: 0;
        border-left: 1px solid var(--about-border);
    }

    .about-timeline li::before {
        top: 0.3rem;
        left: -0.42rem;
    }

    .about-founder-photo {
        width: min(100%, 18rem);
    }

    .about-games-note {
        align-items: flex-start;
        gap: 0.9rem;
        margin-top: 2.5rem;
        padding: 1.15rem;
    }

    .about-audience {
        gap: 0.55rem;
        margin-top: 1.5rem;
    }

    .about-audience li {
        padding: 0.55rem 0.85rem;
        font-size: 0.84rem;
    }

    .about-figure figcaption {
        position: relative;
        inset: auto;
        margin: 0;
        border: 0;
        border-top: 1px solid var(--about-border);
        border-radius: 0;
        background: var(--about-panel);
        font-size: 0.8rem;
        line-height: 1.5;
        backdrop-filter: none;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .about-orbit-one {
        animation: about-float 8s ease-in-out infinite;
    }

    .about-orbit-two {
        animation: about-float 10s ease-in-out -3s infinite reverse;
    }

    .about-text-link span {
        animation: about-arrow 1.8s ease-in-out infinite;
    }
}

@keyframes about-float {
    50% { transform: translate3d(0, -1rem, 0) rotate(4deg); }
}

@keyframes about-arrow {
    50% { transform: translateY(0.35rem); }
}

/* Help Center page */
.help-page {
    --help-bg: var(--about-bg, #050b2c);
    --help-panel: var(--about-panel, #0d1744);
    --help-panel-deep: #071331;
    --help-ink: var(--about-ink, #f7f9ff);
    --help-muted: var(--about-muted, #b9c3df);
    --help-border: var(--about-border, rgba(164, 183, 238, 0.2));
    --help-accent: var(--about-accent, #8ee85b);
    --help-gold: var(--about-gold, #ffc968);
    background: var(--help-bg);
    color: var(--help-ink);
    overflow-x: hidden;
}

.help-page main {
    background:
        radial-gradient(circle at 8% 30%, rgba(47, 79, 190, 0.22), transparent 28rem),
        radial-gradient(circle at 96% 72%, rgba(71, 188, 121, 0.12), transparent 28rem),
        var(--help-bg);
}

.help-page .header {
    margin-bottom: 0;
}

.help-page .home-footer a[aria-current="page"] {
    color: var(--help-accent);
}

.help-page .nav a:focus-visible,
.help-page .about-text-link:focus-visible,
.help-page .home-btn:focus-visible,
.help-page .home-footer a:focus-visible,
.help-page .help-faq-answer a:focus-visible,
.help-page .help-faq-item > summary:focus-visible,
.help-page .help-form-card input:focus-visible,
.help-page .help-form-card select:focus-visible,
.help-page .help-form-card textarea:focus-visible {
    outline: 3px solid var(--help-gold);
    outline-offset: 4px;
}

body.help-page .header .nav a:focus-visible {
    outline-color: #10204f;
}

.help-hero {
    position: relative;
    isolation: isolate;
    min-height: min(650px, calc(100vh - 86px));
    display: grid;
    align-items: center;
    padding: clamp(4.5rem, 8vw, 7rem) 0;
    background:
        linear-gradient(108deg, rgba(5, 11, 44, 0.99) 0%, rgba(5, 11, 44, 0.9) 52%, rgba(10, 27, 80, 0.68) 100%),
        url("../images/home-about-bg-2026.webp") center / cover;
    overflow: hidden;
}

.help-hero::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    background:
        linear-gradient(rgba(142, 232, 91, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(142, 232, 91, 0.035) 1px, transparent 1px);
    background-size: 4.5rem 4.5rem;
    mask-image: linear-gradient(to right, #000, transparent 82%);
    pointer-events: none;
}

.help-hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: auto 0 0;
    height: 28%;
    background: linear-gradient(transparent, var(--help-bg));
    pointer-events: none;
}

.help-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(18rem, 0.75fr);
    gap: clamp(2.5rem, 6vw, 6rem);
    align-items: end;
}

.help-page .help-hero h1 {
    max-width: 12ch;
    margin: 1rem 0 1.5rem;
    color: var(--help-ink);
    font: 800 clamp(2.9rem, 5.8vw, 5.35rem) / 1 "Sora", sans-serif;
    letter-spacing: -0.055em;
}

.help-page .help-hero h1 span {
    color: var(--help-accent);
}

.help-hero-copy > p:not(.about-eyebrow) {
    max-width: 61ch;
    color: #d7def1;
    font-size: clamp(1rem, 1.35vw, 1.18rem);
    line-height: 1.7;
}

.help-hero-card {
    --component-bg: rgba(9, 18, 58, 0.82);
    --component-ink: var(--help-ink);
    --component-muted: #cbd4eb;
    --component-border: var(--help-border);
    min-width: 0;
    padding: clamp(1.5rem, 2.8vw, 2.15rem);
    border: 1px solid var(--component-border);
    border-radius: 1.5rem;
    background: var(--component-bg);
    color: var(--component-ink);
    box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(12px);
}

.help-hero-card h2,
.help-hero-card h3 {
    margin: 0;
    color: var(--component-ink);
    font: 700 clamp(1.15rem, 1.8vw, 1.45rem) / 1.35 "Sora", sans-serif;
}

.help-hero-card > p,
.help-hero-card > div > p {
    margin: 0.85rem 0 0;
    color: var(--component-muted);
    line-height: 1.65;
}

.help-hero-tips,
.help-contact-tips {
    display: grid;
    gap: 0.8rem;
    margin: 1.4rem 0 0;
    padding: 1.25rem 0 0;
    border-top: 1px solid var(--component-border, var(--help-border));
    list-style: none;
}

.help-hero-tips li,
.help-contact-tips li {
    position: relative;
    min-height: 1.5rem;
    padding-left: 1.8rem;
    color: var(--component-muted, var(--help-muted));
    font-size: 0.92rem;
    line-height: 1.55;
}

.help-hero-tips li::before,
.help-contact-tips li::before {
    content: "";
    position: absolute;
    top: 0.36rem;
    left: 0.1rem;
    width: 0.72rem;
    height: 0.72rem;
    border: 2px solid var(--help-bg);
    border-radius: 50%;
    background: var(--help-accent);
    box-shadow: 0 0 0 1px var(--help-accent);
}

.help-section {
    padding: clamp(4.25rem, 7vw, 7rem) 0;
}

.help-section-heading {
    display: grid;
    grid-template-columns: minmax(20rem, 1.05fr) minmax(20rem, 0.95fr);
    column-gap: clamp(2.5rem, 6vw, 6rem);
    row-gap: 0.85rem;
    align-items: start;
    margin-bottom: clamp(2.25rem, 4vw, 3.5rem);
}

.help-section-heading .about-kicker {
    grid-column: 1 / -1;
}

.help-page .help-section-heading h2 {
    margin: 0;
    color: var(--help-ink);
    font: 800 clamp(1.75rem, 2.7vw, 2.75rem) / 1.14 "Sora", sans-serif;
    letter-spacing: -0.035em;
}

.help-section-heading > p:last-child {
    max-width: 55ch;
    margin: 0;
    color: var(--help-muted);
    font-size: clamp(0.98rem, 1.05vw, 1.06rem);
    line-height: 1.72;
}

.help-faq-list {
    display: grid;
    gap: 0.9rem;
    max-width: 68rem;
    margin: 0 auto;
}

.help-faq-item {
    --component-bg: rgba(13, 23, 68, 0.88);
    --component-panel: rgba(8, 17, 52, 0.94);
    --component-ink: var(--help-ink);
    --component-muted: var(--help-muted);
    --component-border: var(--help-border);
    border: 1px solid var(--component-border);
    border-radius: 1.1rem;
    background: var(--component-bg);
    color: var(--component-ink);
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.13);
    overflow: hidden;
}

.help-faq-item[open] {
    border-color: rgba(142, 232, 91, 0.38);
    background: var(--component-panel);
}

.help-faq-item > summary {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: clamp(0.8rem, 2vw, 1.25rem);
    align-items: center;
    min-height: 76px;
    padding: 1rem clamp(1rem, 2.5vw, 1.5rem);
    color: var(--component-ink);
    cursor: pointer;
    list-style: none;
}

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

.help-faq-item > summary::marker {
    content: "";
}

.help-faq-item > summary:hover {
    background: rgba(142, 232, 91, 0.055);
}

.help-faq-number,
.help-faq-icon {
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
}

.help-faq-number {
    width: 2.65rem;
    height: 2.65rem;
    border: 1px solid rgba(142, 232, 91, 0.3);
    border-radius: 50%;
    background: rgba(142, 232, 91, 0.09);
    color: #ddffd0;
    font: 800 0.78rem "Sora", sans-serif;
}

.help-faq-question {
    min-width: 0;
    color: var(--component-ink);
    font: 700 clamp(1rem, 1.45vw, 1.13rem) / 1.45 "Sora", sans-serif;
}

.help-faq-icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    background: var(--help-accent);
    color: #071128;
    font: 800 1.35rem / 1 "Sora", sans-serif;
}

.help-faq-item[open] .help-faq-icon {
    transform: rotate(45deg);
}

.help-faq-answer {
    margin: 0;
    padding: 0 clamp(1rem, 2.5vw, 1.5rem) 1.5rem calc(clamp(1rem, 2.5vw, 1.5rem) + 2.65rem + clamp(0.8rem, 2vw, 1.25rem));
    color: var(--component-muted);
    font-size: clamp(0.94rem, 1.05vw, 1.02rem);
    line-height: 1.75;
}

.help-faq-answer a {
    color: var(--help-accent);
    font-weight: 800;
    text-underline-offset: 0.2em;
}

.help-contact-section {
    border-top: 1px solid rgba(164, 183, 238, 0.12);
    background: linear-gradient(145deg, rgba(12, 25, 70, 0.95), rgba(7, 15, 48, 0.97));
}

.help-contact-grid {
    display: grid;
    grid-template-columns: minmax(15rem, 0.7fr) minmax(0, 1.3fr);
    gap: clamp(2.5rem, 6vw, 6rem);
    align-items: start;
}

.help-contact-copy {
    --component-ink: var(--help-ink);
    --component-muted: var(--help-muted);
    --component-border: var(--help-border);
    min-width: 0;
    color: var(--component-ink);
}

.help-contact-copy h2 {
    margin: 0.75rem 0 1.2rem;
    color: var(--component-ink);
    font: 800 clamp(1.75rem, 2.7vw, 2.75rem) / 1.14 "Sora", sans-serif;
    letter-spacing: -0.035em;
}

.help-contact-copy > p:not(.about-kicker) {
    margin: 0;
    color: var(--component-muted);
    line-height: 1.72;
}

.help-contact-tips {
    margin-top: 2rem;
}

.help-contact-tips h3 {
    margin: 0;
    color: var(--component-ink);
    font: 700 1rem / 1.45 "Sora", sans-serif;
}

.help-contact-tips ul {
    display: grid;
    gap: 0.8rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.help-form-card {
    --component-bg: rgba(13, 23, 68, 0.97);
    --component-panel: var(--help-panel-deep);
    --component-ink: #f7f9ff;
    --component-muted: #c0cae3;
    --component-border: rgba(190, 205, 255, 0.58);
    min-width: 0;
    padding: clamp(1.25rem, 3vw, 2.15rem);
    border: 1px solid var(--component-border);
    border-radius: 1.35rem;
    background: var(--component-bg);
    color: var(--component-ink);
    box-shadow: 0 1.75rem 5rem rgba(0, 0, 0, 0.25);
    color-scheme: dark;
}

.help-form-card h2,
.help-form-card h3 {
    margin: 0 0 0.8rem;
    color: var(--component-ink);
    font: 700 clamp(1.2rem, 1.8vw, 1.5rem) / 1.35 "Sora", sans-serif;
}

.help-form-card > p,
.help-form-required {
    margin: 0 0 1.25rem;
    color: var(--component-muted);
    font-size: 0.82rem;
}

.help-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.help-form-field {
    display: grid;
    min-width: 0;
    align-content: start;
    gap: 0.45rem;
}

.help-form-field--wide {
    grid-column: 1 / -1;
}

.help-form label {
    color: var(--component-ink);
    font-size: 0.88rem;
    font-weight: 800;
    line-height: 1.45;
}

.help-form label > span[aria-hidden="true"] {
    color: var(--help-gold);
}

body.help-page .help-form input:not([type="checkbox"]),
body.help-page .help-form select,
body.help-page .help-form textarea {
    width: 100%;
    min-width: 0;
    min-height: 48px;
    padding: 0.72rem 0.85rem;
    border: 1px solid var(--component-border);
    border-radius: 0.78rem;
    background: var(--component-panel);
    color: var(--component-ink);
    font: 600 0.94rem / 1.45 "Inter", "Segoe UI", sans-serif;
    box-shadow: none;
}

body.help-page .help-form textarea {
    min-height: 10.5rem;
    resize: vertical;
}

body.help-page .help-form input::placeholder,
body.help-page .help-form textarea::placeholder {
    color: #8f9bbb;
    opacity: 1;
}

body.help-page .help-form select option {
    background: var(--component-panel);
    color: var(--component-ink);
}

body.help-page .help-form input:focus-visible,
body.help-page .help-form select:focus-visible,
body.help-page .help-form textarea:focus-visible {
    border-color: var(--help-gold);
}

body.help-page .help-form [aria-invalid="true"] {
    border-color: #ff9b9b;
    box-shadow: 0 0 0 2px rgba(255, 126, 126, 0.16);
}

.help-form-help,
.help-form-error {
    display: block;
    font-size: 0.78rem;
    line-height: 1.5;
}

.help-form-help {
    color: var(--component-muted);
}

.help-form label .help-form-help {
    display: inline;
    margin-left: 0.2rem;
    font-weight: 600;
}

.help-form-error {
    color: #ffc1c1;
    font-weight: 700;
}

.help-form-message {
    margin: 0 0 1.25rem;
    padding: 0.9rem 1rem;
    border: 1px solid var(--component-border);
    border-radius: 0.8rem;
    color: var(--component-ink);
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.55;
}

.help-form-message--success {
    border-color: rgba(142, 232, 91, 0.46);
    background: rgba(142, 232, 91, 0.11);
    color: #eaffdf;
}

.help-form-message--error {
    border-color: rgba(255, 155, 155, 0.5);
    background: rgba(255, 111, 111, 0.1);
    color: #ffe1e1;
}

.help-form-warning {
    margin: 1.15rem 0 0;
    padding: 0.85rem 1rem;
    border-left: 3px solid var(--help-gold);
    border-radius: 0 0.65rem 0.65rem 0;
    background: rgba(255, 201, 104, 0.08);
    color: #f5e6c7;
    font-size: 0.82rem;
    line-height: 1.6;
}

.help-form-submit {
    min-height: 48px;
    margin-top: 1.35rem;
    border: 0;
    cursor: pointer;
}

.help-form-submit:disabled {
    cursor: not-allowed;
    opacity: 0.68;
}

body.help-page .help-form-submit {
    min-height: 48px;
    background: var(--help-accent);
    color: #071128;
    box-shadow: 0 12px 28px rgba(142, 232, 91, 0.28);
}

body.help-page .help-form-submit:hover,
body.help-page .help-form-submit:focus-visible {
    background: #a6f47d;
    color: #071128;
    box-shadow: 0 14px 32px rgba(142, 232, 91, 0.36);
}

.help-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

@media (max-width: 900px) {
    .help-hero-grid,
    .help-section-heading,
    .help-contact-grid {
        grid-template-columns: 1fr;
    }

    .help-hero {
        min-height: auto;
    }

    .help-hero-grid {
        gap: 2.75rem;
    }

    .help-hero-card {
        max-width: 40rem;
    }

    .help-section-heading {
        gap: 0.75rem;
    }

    .help-section-heading h2 {
        max-width: 22ch;
    }

    .help-section-heading > p:last-child {
        max-width: 62ch;
    }

    .help-contact-grid {
        gap: 2.75rem;
    }

    .help-contact-copy {
        max-width: 44rem;
    }

    .help-form-card {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .help-hero {
        padding-block: 3.75rem 4.75rem;
        background-position: 62% center;
    }

    .help-hero::before {
        background-size: 3rem 3rem;
    }

    .help-page .help-hero h1 {
        max-width: 11ch;
        margin-block: 0.8rem 1.2rem;
        font-size: clamp(2.5rem, 12.5vw, 3.4rem);
        line-height: 1.02;
    }

    .help-hero-card {
        padding: 1.35rem;
        border-radius: 1.2rem;
    }

    .help-section {
        padding-block: 3.75rem;
    }

    .help-page .help-section-heading h2,
    .help-contact-copy h2 {
        font-size: clamp(1.65rem, 7.5vw, 2rem);
        line-height: 1.16;
    }

    .help-section-heading {
        margin-bottom: 2rem;
    }

    .help-faq-list {
        gap: 0.75rem;
    }

    .help-faq-item {
        border-radius: 0.95rem;
    }

    .help-faq-item > summary {
        grid-template-columns: auto minmax(0, 1fr) auto;
        gap: 0.7rem;
        min-height: 72px;
        padding: 0.85rem;
    }

    .help-faq-number {
        width: 2.25rem;
        height: 2.25rem;
        font-size: 0.7rem;
    }

    .help-faq-icon {
        width: 2.5rem;
        height: 2.5rem;
    }

    .help-faq-answer {
        padding: 0 0.85rem 1.25rem;
    }

    .help-form-card {
        padding: 1rem;
        border-radius: 1rem;
    }

    .help-form-grid {
        grid-template-columns: 1fr;
    }

    .help-form-field--wide {
        grid-column: auto;
    }

    .help-form-submit {
        width: 100%;
        justify-content: center;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .help-faq-item,
    .help-faq-item > summary,
    .help-faq-icon,
    .help-form-card input,
    .help-form-card select,
    .help-form-card textarea {
        transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
    }
}

@media (prefers-reduced-motion: reduce) {
    .help-faq-item,
    .help-faq-item > summary,
    .help-faq-icon,
    .help-form-card input,
    .help-form-card select,
    .help-form-card textarea {
        scroll-behavior: auto;
        transition: none;
    }
}

/* Careers page */
.careers-page main {
    background:
        radial-gradient(circle at 8% 29%, rgba(47, 79, 190, 0.22), transparent 27rem),
        radial-gradient(circle at 94% 58%, rgba(142, 232, 91, 0.11), transparent 30rem),
        var(--about-bg);
}

.careers-hero {
    background:
        linear-gradient(105deg, rgba(5, 11, 44, 0.99) 0%, rgba(5, 11, 44, 0.91) 50%, rgba(8, 21, 65, 0.5) 100%),
        url("../images/home-about-bg-2026.webp") 68% center / cover;
}

.careers-hero::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    background:
        linear-gradient(rgba(142, 232, 91, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(142, 232, 91, 0.035) 1px, transparent 1px);
    background-size: 4.5rem 4.5rem;
    mask-image: linear-gradient(to right, #000, transparent 76%);
    pointer-events: none;
}

.careers-hero-card {
    align-self: end;
}

.careers-hero-card > p {
    font-size: clamp(1rem, 1.2vw, 1.12rem);
}

.careers-hero-disciplines {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin: 1.5rem 0 0;
    padding: 1.25rem 0 0;
    border-top: 1px solid var(--about-border);
    list-style: none;
}

.careers-hero-disciplines li {
    padding: 0.48rem 0.75rem;
    border: 1px solid rgba(255, 201, 104, 0.26);
    border-radius: 999px;
    background: rgba(255, 201, 104, 0.08);
    color: #fff0cf;
    font-size: 0.8rem;
    font-weight: 800;
}

.careers-areas-section {
    padding-bottom: clamp(2.5rem, 5vw, 4.75rem);
}

html body.about-page.careers-page .header .home-brand-mark {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
    overflow: hidden;
}

html body.about-page.careers-page .header .home-brand-mark img {
    width: auto;
    height: 34px;
    max-width: none;
}

.careers-section-heading {
    margin-bottom: clamp(3rem, 6vw, 5.5rem);
}

.careers-area-list {
    border-top: 1px solid var(--about-border);
}

.careers-area {
    display: grid;
    grid-template-columns: minmax(0, 1.06fr) minmax(19rem, 0.94fr);
    gap: clamp(2.5rem, 6vw, 6rem);
    align-items: center;
    padding-block: clamp(3.25rem, 7vw, 6.5rem);
    border-bottom: 1px solid var(--about-border);
}

.careers-area:last-child {
    border-bottom: 0;
}

.careers-area-media {
    --career-light-x: 50%;
    --career-light-y: 50%;
    --career-reveal-x: -4.5rem;
    --career-reveal-y: 2.75rem;
    order: 0;
    isolation: isolate;
    border-color: rgba(164, 183, 238, 0.24);
    transition: border-color 320ms ease, box-shadow 420ms ease;
}

.careers-area-media img {
    position: relative;
    z-index: 0;
    transition: transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1), filter 500ms ease;
}

.careers-area-media::before {
    content: "";
    position: absolute;
    z-index: 2;
    inset: -55%;
    pointer-events: none;
    opacity: 0;
    background: linear-gradient(
        112deg,
        transparent 39%,
        rgba(21, 199, 255, 0.05) 44%,
        rgba(174, 246, 255, 0.82) 49%,
        rgba(255, 255, 255, 0.96) 50%,
        rgba(167, 245, 12, 0.5) 53%,
        transparent 60%
    );
    mix-blend-mode: screen;
    transform: translate3d(-58%, 0, 0) rotate(-9deg);
}

.careers-area-media::after {
    z-index: 1;
    background:
        radial-gradient(circle at var(--career-light-x) var(--career-light-y), rgba(21, 199, 255, 0.48), transparent 24%),
        radial-gradient(circle at calc(var(--career-light-x) + 12%) calc(var(--career-light-y) - 10%), rgba(227, 56, 255, 0.32), transparent 31%),
        linear-gradient(135deg, rgba(123, 66, 255, 0.12), transparent 45%, rgba(167, 245, 12, 0.1));
    opacity: 0;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    transition: opacity 320ms ease;
}

.careers-area-media figcaption {
    z-index: 3;
    transition: transform 420ms ease, border-color 320ms ease, box-shadow 420ms ease;
}

.careers-area-media.careers-media-motion {
    will-change: opacity, transform, filter;
    transition:
        opacity 620ms ease,
        transform 760ms cubic-bezier(0.2, 0.82, 0.2, 1),
        filter 620ms ease,
        border-color 320ms ease,
        box-shadow 420ms ease;
}

.careers-area-media.careers-media-motion:not(.is-in-view) {
    opacity: 0;
    transform: translate3d(var(--career-reveal-x), var(--career-reveal-y), 0) scale(0.93);
    filter: saturate(0.62) blur(2px);
}

.careers-area-media.careers-media-motion.is-above:not(.is-in-view) {
    --career-reveal-y: -2.75rem;
}

.careers-area-media.careers-media-motion.is-in-view {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    filter: saturate(1) blur(0);
}

.careers-area-copy {
    order: 1;
}

.careers-area.is-reversed .careers-area-media {
    --career-reveal-x: 4.5rem;
    order: 1;
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
    .careers-area-media:hover {
        border-color: rgba(92, 224, 255, 0.66);
        box-shadow:
            0 2rem 6rem rgba(0, 0, 0, 0.34),
            0 0 0 1px rgba(21, 199, 255, 0.18),
            0 0 2.8rem rgba(123, 66, 255, 0.3),
            0 0 5rem rgba(21, 199, 255, 0.13);
    }

    .careers-area-media:hover img {
        transform: scale(1.055);
        filter: brightness(1.09) saturate(1.16) contrast(1.03);
    }

    .careers-area-media:hover::before {
        animation: careers-light-sweep 1.35s cubic-bezier(0.22, 0.72, 0.18, 1);
    }

    .careers-area-media:hover::after {
        opacity: 0.88;
    }

    .careers-area-media:hover figcaption {
        transform: translateY(-0.25rem);
        border-color: rgba(173, 235, 255, 0.32);
        box-shadow: 0 0.85rem 2rem rgba(3, 8, 24, 0.34), 0 0 1.6rem rgba(21, 199, 255, 0.12);
    }
}

@keyframes careers-light-sweep {
    0% {
        opacity: 0;
        transform: translate3d(-58%, 0, 0) rotate(-9deg);
    }
    22% {
        opacity: 0.9;
    }
    72% {
        opacity: 0.72;
    }
    100% {
        opacity: 0;
        transform: translate3d(58%, 0, 0) rotate(-9deg);
    }
}

.careers-area.is-reversed .careers-area-copy {
    order: 0;
}

.careers-area-label {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.careers-area-label .about-kicker {
    margin: 0;
}

.careers-area-number {
    color: var(--about-gold);
    font: 800 0.78rem / 1 "Sora", sans-serif;
    letter-spacing: 0.14em;
}

.careers-area-number::after {
    content: "";
    display: inline-block;
    width: 2.5rem;
    height: 1px;
    margin-left: 0.75rem;
    background: rgba(255, 201, 104, 0.48);
    vertical-align: middle;
}

.about-page .careers-area h2 {
    margin: 0 0 1.3rem;
    font-size: clamp(1.9rem, 3.2vw, 3rem);
}

.careers-area-description {
    max-width: 58ch;
    margin: 0;
    color: #c7d0e8 !important;
    font-size: clamp(1rem, 1.15vw, 1.1rem) !important;
}

.careers-area-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin: 1.8rem 0 0;
    padding: 0;
    list-style: none;
}

.careers-area-skills li {
    padding: 0.58rem 0.85rem;
    border: 1px solid rgba(142, 232, 91, 0.25);
    border-radius: 0.7rem;
    background: rgba(142, 232, 91, 0.065);
    color: #e9ffe0;
    font-size: 0.84rem;
    font-weight: 700;
}

.careers-culture {
    border-top: 1px solid rgba(164, 183, 238, 0.12);
    background: linear-gradient(145deg, rgba(12, 25, 70, 0.94), rgba(7, 15, 48, 0.96));
}

.careers-values {
    --component-bg: rgba(15, 29, 77, 0.82);
    --component-ink: var(--about-ink);
    --component-muted: var(--about-muted);
    --component-border: var(--about-border);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.careers-value-card {
    min-height: 17rem;
    padding: clamp(1.4rem, 2.5vw, 2rem);
    border: 1px solid var(--component-border);
    border-radius: 1.35rem;
    background: var(--component-bg);
    color: var(--component-ink);
    box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.18);
}

.careers-value-card > span {
    display: inline-grid;
    min-width: 2.75rem;
    height: 2.75rem;
    place-items: center;
    border-radius: 50%;
    background: var(--about-accent);
    color: #071128;
    font: 800 0.78rem "Sora", sans-serif;
}

.careers-value-card h3 {
    margin: 2.4rem 0 0.8rem;
    color: var(--component-ink);
    font: 700 clamp(1.15rem, 1.7vw, 1.4rem) / 1.3 "Sora", sans-serif;
}

.careers-value-card p {
    margin: 0;
    color: var(--component-muted);
    font-size: 0.95rem;
    line-height: 1.68;
}

.careers-callout {
    --component-bg: rgba(6, 14, 48, 0.82);
    --component-ink: var(--about-ink);
    --component-muted: var(--about-muted);
    --component-border: rgba(142, 232, 91, 0.28);
    display: grid;
    grid-template-columns: minmax(15rem, 0.72fr) minmax(0, 1.28fr);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: start;
    margin-top: clamp(3rem, 6vw, 5.5rem);
    padding: clamp(1.5rem, 4vw, 3rem);
    border: 1px solid var(--component-border);
    border-radius: clamp(1.25rem, 3vw, 2rem);
    background:
        radial-gradient(circle at 88% 20%, rgba(142, 232, 91, 0.14), transparent 18rem),
        var(--component-bg);
    color: var(--component-ink);
}

.careers-callout .about-kicker {
    margin: 0 0 0.8rem;
}

.about-page .careers-callout h2 {
    max-width: 21ch;
    margin: 0;
    color: var(--component-ink);
}

.careers-callout-copy > p:last-child {
    max-width: 62ch;
    margin: 1rem 0 0;
    color: var(--component-muted);
}

.careers-callout .home-btn {
    min-width: 13.5rem;
    justify-content: center;
    text-align: center;
}

.careers-application-form {
    --component-bg: rgba(13, 23, 68, 0.96);
    --component-panel: rgba(5, 11, 44, 0.92);
    --component-ink: #f7f9ff;
    --component-muted: #b9c3df;
    --component-border: rgba(164, 183, 238, 0.28);
    min-width: 0;
    padding: clamp(1.25rem, 3vw, 2rem);
    border: 1px solid var(--component-border);
    border-radius: 1.35rem;
    background: var(--component-bg);
    color: var(--component-ink);
    box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.2);
    color-scheme: dark;
}

.careers-form-required {
    margin: 0 0 1.25rem;
    color: var(--component-muted);
    font-size: 0.82rem;
}

.careers-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.careers-form-field {
    display: grid;
    min-width: 0;
    align-content: start;
    gap: 0.45rem;
}

.careers-form-field--wide {
    grid-column: 1 / -1;
}

.careers-application-form label {
    color: var(--component-ink);
    font-size: 0.88rem;
    font-weight: 800;
    line-height: 1.45;
}

.careers-application-form label > span[aria-hidden="true"] {
    color: var(--about-gold);
}

body.careers-page .careers-application-form input:not([type="checkbox"]),
body.careers-page .careers-application-form select {
    width: 100%;
    min-width: 0;
    min-height: 48px;
    padding: 0.72rem 0.85rem;
    border: 1px solid var(--component-border);
    border-radius: 0.78rem;
    background: var(--component-panel);
    color: var(--component-ink);
    font: 600 0.94rem / 1.35 "Inter", "Segoe UI", sans-serif;
    box-shadow: none;
}

body.careers-page .careers-application-form select option {
    background: #071331;
    color: #ffffff;
}

body.careers-page .careers-application-form input[type="file"] {
    max-width: 100%;
    min-height: 52px;
    overflow: hidden;
    padding: 0.38rem;
}

body.careers-page .careers-application-form input[type="file"]::file-selector-button {
    min-height: 38px;
    margin-right: 0.75rem;
    padding: 0.55rem 0.8rem;
    border: 0;
    border-radius: 0.55rem;
    background: rgba(142, 232, 91, 0.16);
    color: #eaffdf;
    font-weight: 800;
    cursor: pointer;
}

body.careers-page .careers-application-form input:not([type="checkbox"]):focus-visible,
body.careers-page .careers-application-form select:focus-visible,
body.careers-page .careers-application-form input[type="checkbox"]:focus-visible {
    outline: 3px solid var(--about-gold);
    outline-offset: 3px;
    border-color: var(--about-gold);
}

body.careers-page .careers-application-form [aria-invalid="true"] {
    border-color: #ff9b9b;
    box-shadow: 0 0 0 2px rgba(255, 126, 126, 0.16);
}

.careers-form-help,
.careers-form-error {
    display: block;
    font-size: 0.78rem;
    line-height: 1.5;
}

.careers-form-help {
    color: var(--component-muted);
}

.careers-form-error {
    color: #ffc1c1;
    font-weight: 700;
}

.careers-form-message {
    margin: 0 0 1.25rem;
    padding: 0.9rem 1rem;
    border: 1px solid var(--component-border);
    border-radius: 0.8rem;
    color: var(--component-ink);
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.55;
}

.careers-form-message--success {
    border-color: rgba(142, 232, 91, 0.42);
    background: rgba(142, 232, 91, 0.1);
    color: #eaffdf;
}

.careers-form-message--error {
    border-color: rgba(255, 155, 155, 0.46);
    background: rgba(255, 111, 111, 0.09);
    color: #ffe1e1;
}

.careers-form-update-note,
.careers-form-privacy {
    margin: 1.1rem 0 0;
    color: var(--component-muted);
    font-size: 0.8rem;
    line-height: 1.55;
}

.careers-form-update-note {
    padding: 0.85rem 1rem;
    border-left: 3px solid var(--about-gold);
    border-radius: 0 0.65rem 0.65rem 0;
    background: rgba(255, 201, 104, 0.07);
}

.careers-form-consent {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.7rem;
    align-items: start;
    margin-top: 1.2rem;
}

body.careers-page .careers-application-form input[type="checkbox"] {
    width: 1.2rem;
    height: 1.2rem;
    min-height: 0;
    margin-top: 0.12rem;
    padding: 0;
    border: 1px solid var(--component-border);
    accent-color: var(--about-accent);
}

.careers-form-consent label {
    color: var(--component-muted);
    font-size: 0.82rem;
    font-weight: 600;
}

.careers-form-consent a {
    color: var(--about-accent);
    font-weight: 800;
}

.careers-form-error--consent {
    margin: 0.45rem 0 0 1.9rem;
}

.careers-form-submit {
    margin-top: 1.35rem;
    border: 0;
    cursor: pointer;
}

.careers-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

@media (max-width: 900px) {
    .careers-area {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .careers-area .careers-area-media,
    .careers-area.is-reversed .careers-area-media {
        order: 0;
    }

    .careers-area .careers-area-copy,
    .careers-area.is-reversed .careers-area-copy {
        order: 1;
        max-width: 44rem;
    }

    .careers-values {
        grid-template-columns: 1fr;
    }

    .careers-value-card {
        min-height: auto;
    }

    .careers-value-card h3 {
        margin-top: 1.6rem;
    }

    .careers-callout {
        grid-template-columns: 1fr;
    }

    .careers-application-form {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .careers-area-media,
    .careers-area-media img,
    .careers-area-media::before,
    .careers-area-media::after,
    .careers-area-media figcaption,
    .careers-area-media.careers-media-motion,
    .careers-area-media.careers-media-motion:not(.is-in-view) {
        opacity: 1;
        transform: none;
        filter: none;
        animation: none;
        transition: none;
    }

    .careers-area-media::before,
    .careers-area-media::after {
        opacity: 0;
    }
}

@media (max-width: 600px) {
    .careers-hero {
        background-position: 69% center;
    }

    .careers-hero::before {
        background-size: 3rem 3rem;
    }

    .careers-section-heading {
        margin-bottom: 2.5rem;
    }

    .careers-area {
        gap: 2rem;
        padding-block: 3rem;
    }

    .careers-area .careers-area-media,
    .careers-area.is-reversed .careers-area-media {
        --career-reveal-x: 0rem;
        --career-reveal-y: 1.75rem;
    }

    .careers-area-media.careers-media-motion.is-above:not(.is-in-view) {
        --career-reveal-y: -1.75rem;
    }

    .careers-area-label {
        gap: 0.6rem;
    }

    .careers-area-number::after {
        width: 1.35rem;
        margin-left: 0.5rem;
    }

    .about-page .careers-area h2 {
        margin-bottom: 1rem;
        font-size: clamp(1.75rem, 8vw, 2.25rem);
    }

    .careers-area-skills {
        gap: 0.5rem;
        margin-top: 1.4rem;
    }

    .careers-area-skills li {
        padding: 0.52rem 0.7rem;
        font-size: 0.78rem;
    }

    .careers-callout {
        padding: 1.35rem;
    }

    .careers-application-form {
        padding: 1rem;
        border-radius: 1rem;
    }

    .careers-form-grid {
        grid-template-columns: 1fr;
    }

    .careers-form-field--wide {
        grid-column: auto;
    }

    .careers-callout .home-btn {
        width: 100%;
    }
}

@media (max-width: 680px) {
    html body.about-page.careers-page .header .home-brand-mark {
        width: 28px;
        height: 28px;
        flex-basis: 28px;
    }

    html body.about-page.careers-page .header .home-brand-mark img {
        height: 28px;
    }
}

.game-preview-sound-btn {
    position: absolute;
    right: 0.75rem;
    bottom: 0.75rem;
    z-index: 3;
    width: 2.4rem;
    height: 2.4rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(248, 250, 252, 0.36);
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.84);
    color: #ffffff;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.28);
    cursor: pointer;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.2s ease, transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.game-preview-sound-btn:hover,
.game-preview-sound-btn:focus-visible {
    border-color: rgba(255, 255, 255, 0.78);
    background: rgba(15, 23, 42, 0.96);
    outline: none;
}

.game-preview-sound-btn[aria-pressed="true"] {
    border-color: rgba(184, 255, 16, 0.86);
    background: #b8ff10;
    color: #061131;
}

.game-preview-sound-btn svg {
    width: 1.18rem;
    height: 1.18rem;
    display: block;
}

.game-preview-surface.has-video:hover .game-preview-sound-btn,
.game-preview-surface.has-video:focus-within .game-preview-sound-btn,
.game-preview-surface.is-preview-active .game-preview-sound-btn {
    opacity: 1;
    transform: translateY(0);
}

@media (hover: none) {
    .game-preview-surface.has-video .game-preview-sound-btn {
        opacity: 1;
        transform: translateY(0);
    }
}

.popular-game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.popular-game-card:hover .popular-game-image img {
    transform: scale(1.05);
}

.popular-game-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #5ab9a2 0%, #4a9d8a 100%);
    color: rgba(255, 255, 255, 0.8);
}

.popular-game-placeholder svg {
    width: 64px;
    height: 64px;
    opacity: 0.8;
}

.popular-game-info {
    padding: 1.25rem;
}

.popular-game-info h3 {
    font-size: 1.05rem;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.popular-game-info p {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0.75rem;
}

.popular-game-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.game-rating-badge {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin: 0.15rem 0 0.7rem;
    color: #92400e;
    font-size: 0.86rem;
    font-weight: 700;
    line-height: 1.25;
}

.game-rating-badge.is-empty {
    color: var(--text-light);
    font-weight: 650;
}

.game-rating-stars {
    color: #d97706;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.game-rating-badge.is-empty .game-rating-stars {
    color: #cbd5e1;
}

.game-rating-score,
.game-rating-total {
    white-space: nowrap;
}

.popular-game-age,
.popular-game-category {
    padding: 0.2rem 0.65rem;
    background: var(--light-color);
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 500;
}

@media (max-width: 768px) {
    .popular-game-card {
        flex: 0 0 240px;
    }

    .popular-game-image {
        height: 150px;
    }
}

/* Login Section */
.login-container {
    max-width: 500px;
    margin: 2rem auto;
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.login-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.tab-btn {
    flex: 1;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    background: white;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s;
}

.tab-btn.active {
    background: #5ab9a2;
    color: white;
    border-color: #5ab9a2;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--dark-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #5ab9a2;
}

.form-group .field-help {
    display: block;
    margin-top: 0.4rem;
    color: var(--text-light);
    font-size: 0.82rem;
    line-height: 1.4;
}

/* Checkbox Styles */
.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-color);
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    min-width: 20px;
    margin-top: 0.1rem;
    cursor: pointer;
    accent-color: #5ab9a2;
}

.checkbox-label span {
    flex: 1;
}

.checkbox-label a {
    color: #5ab9a2;
    text-decoration: underline;
    font-weight: 500;
}

.checkbox-label a:hover {
    color: #4a9d8a;
}

.checkbox-label input[type="checkbox"]:required:invalid {
    border-color: #dc3545;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    max-width: 100%;
    white-space: normal;
}

/* Loader moderno: botao entra em estado de processamento (ex.: login). */
.btn.is-loading {
    position: relative;
    color: transparent !important;
    pointer-events: none;
    cursor: wait;
}

.btn.is-loading > * {
    visibility: hidden;
}

.btn.is-loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 1.15em;
    height: 1.15em;
    margin: -0.6em 0 0 -0.6em;
    border-radius: 50%;
    border: 2.5px solid rgba(255, 255, 255, 0.4);
    border-top-color: #ffffff;
    animation: ruah-btn-spin 0.6s linear infinite;
}

@keyframes ruah-btn-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .btn.is-loading::after {
        animation-duration: 1.3s;
    }
}

.btn-primary {
    background: #5ab9a2;
    color: white;
}

.btn-primary:hover {
    background: #4a9d8a;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background: #5ab9a2;
    color: white;
}

.btn-secondary:hover {
    background: #4a9d8a;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Alerts */
.alert {
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1rem;
}

.alert-error {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.alert-success {
    background: #f0fdf4;
    color: #16a34a;
    border: 1px solid #bbf7d0;
}

.alert-info {
    background: linear-gradient(160deg, rgba(11, 24, 47, 0.94), rgba(5, 14, 29, 0.94));
    color: var(--primary-color);
    border: 1px solid #bfdbfe;
}

.alert-warning {
    background: #fffbeb;
    color: #d97706;
    border: 1px solid #fde68a;
}

/* Dashboard */
.page-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--dark-color);
    overflow-wrap: anywhere;
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.stat-value {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-light);
    font-size: 0.9rem;
}

.section-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
    min-width: 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.section-card h2 {
    color: var(--dark-color);
    margin-bottom: 1.5rem;
}

.dashboard-page {
    padding-bottom: 2rem;
}

.dashboard-top-panel {
    position: relative;
    overflow: hidden;
}

.dashboard-top-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.24), transparent 32%),
        radial-gradient(circle at bottom left, rgba(255, 255, 255, 0.16), transparent 30%);
    pointer-events: none;
}

.dashboard-top-header {
    position: relative;
    z-index: 1;
    margin-bottom: 0;
    gap: 1.5rem;
}

.dashboard-top-copy {
    max-width: 760px;
}

.dashboard-eyebrow {
    margin-bottom: 0.85rem;
    color: var(--text-light);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.dashboard-title {
    margin-bottom: 0.8rem;
}

.dashboard-intro {
    color: var(--text-light);
    max-width: 720px;
}

.dashboard-plan-badge {
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.dashboard-page .btn-link,
.dashboard-page .btn-secondary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: #fff;
    border-radius: 14px;
}

.dashboard-page .btn-link:hover,
.dashboard-page .btn-secondary:hover {
    background: linear-gradient(135deg, var(--dark-color) 0%, var(--primary-color) 100%);
    color: #fff;
}

.dashboard-page .btn-link-small {
    color: var(--primary-color);
}

.dashboard-page .btn-link-small:hover {
    color: var(--dark-color);
}

.games-page {
    padding-bottom: 2rem;
}

.games-page-title {
    text-align: center;
    margin: 0 auto 2rem;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-light);
}

.games-hero {
    min-height: 440px;
    height: auto;
}

.games-hero .carousel-slide,
.games-hero .carousel-image,
.games-hero .carousel-content {
    min-height: 440px;
}

.games-hero .carousel-content .container {
    min-height: 440px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.games-hero-copy {
    max-width: 780px;
    text-align: center;
}

.games-hero-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.games-hero-title {
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    margin-bottom: 1rem;
    color: #fff;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.35);
}

.games-hero-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.games-hero-actions .btn-secondary {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.28);
}

.games-hero-actions .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.24);
    color: #fff;
}

.games-hero-indicators {
    pointer-events: none;
}

.games-overview-grid {
    margin-top: -4rem;
    position: relative;
    z-index: 2;
}

.games-overview-card {
    text-align: left;
}

.games-overview-label {
    display: block;
    margin-bottom: 0.7rem;
    color: var(--text-light);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.games-overview-value {
    display: block;
    margin-bottom: 0.8rem;
    color: var(--dark-color);
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.1;
}

.games-overview-text {
    color: var(--text-light);
    margin: 0;
}

.games-shell-card {
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.games-list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
}

.games-list-header h2 {
    margin-bottom: 0;
}

.monthly-ranking-card {
    margin-bottom: 1.25rem;
    padding: 1.25rem;
    --ranking-surface: rgba(7, 17, 38, 0.92);
    --ranking-border: rgba(255, 255, 255, 0.16);
    --ranking-ink: #ffffff;
    --ranking-muted: rgba(255, 255, 255, 0.82);
    color: var(--ranking-ink);
}

.monthly-ranking-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.monthly-ranking-header h2 {
    margin: 0;
    color: var(--ranking-ink);
    font-size: clamp(1.15rem, 2vw, 1.45rem);
    line-height: 1.15;
}

.monthly-ranking-month {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    background: rgba(6, 14, 32, 0.95);
    color: var(--ranking-ink);
    font-size: 0.85rem;
    font-weight: 600;
}

.monthly-ranking-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0.6rem;
    margin-bottom: 0.85rem;
}

.monthly-ranking-stat {
    border: 1px solid var(--ranking-border);
    border-radius: 8px;
    padding: 0.65rem 0.8rem;
    background: var(--ranking-surface);
}

.monthly-ranking-stat span {
    display: block;
    color: var(--ranking-muted);
    font-size: 0.8rem;
    margin-bottom: 0.2rem;
}

.monthly-ranking-stat strong {
    font-size: 1.2rem;
    line-height: 1;
    color: var(--ranking-ink);
}

.monthly-ranking-content {
    display: grid;
    gap: 0.6rem;
    min-width: 0;
}

.monthly-ranking-content.has-two-panels {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
}

.monthly-ranking-panel {
    min-width: 0;
}

.monthly-ranking-subtitle {
    margin: 0 0 0.5rem;
    font-size: 0.95rem;
    color: var(--ranking-ink);
}

.monthly-ranking-list {
    list-style: none;
    margin: 0;
    padding-left: 0;
    display: flex;
    flex-direction: column;
    gap: 0.32rem;
    color: var(--ranking-ink);
}

.monthly-ranking-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    border: 1px solid var(--ranking-border);
    border-radius: 8px;
    min-height: 36px;
    padding: 0.42rem 0.65rem;
    background: var(--ranking-surface);
}

.monthly-ranking-item.is-current-child {
    border-color: var(--primary-color);
    background: rgba(90, 185, 162, 0.2);
}

.monthly-ranking-name {
    min-width: 0;
    font-weight: 600;
    color: var(--ranking-ink);
    overflow-wrap: anywhere;
}

.monthly-ranking-points {
    flex: 0 0 auto;
    font-weight: 700;
    color: var(--ranking-ink);
}

.monthly-ranking-history {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.monthly-ranking-history-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    min-height: 36px;
    padding: 0.42rem 0.65rem;
    border-bottom: 1px dashed var(--ranking-border);
    color: var(--ranking-ink);
}

.monthly-ranking-history-item span {
    min-width: 0;
    overflow-wrap: anywhere;
}

.monthly-ranking-history-item strong {
    flex: 0 0 auto;
}

.monthly-ranking-history-item:last-child {
    border-bottom: 0;
}

@media (max-width: 768px) {
    .monthly-ranking-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .monthly-ranking-content.has-two-panels {
        grid-template-columns: 1fr;
    }
}

.games-section-header {
    margin-bottom: 2rem;
}

.games-section-copy {
    margin-top: 0.4rem;
    color: var(--text-light);
    max-width: 760px;
}

.games-header-nav {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.games-header-greeting {
    color: var(--text-light);
    font-weight: 600;
}

.games-inline-alert {
    max-width: 720px;
    margin: 0 auto 1rem;
}

.games-inline-actions {
    text-align: center;
    margin-bottom: 2rem;
}

.games-child-card {
    display: block;
    color: var(--text-color);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.games-child-avatar {
    width: 72px;
    height: 72px;
    margin: 0 auto 1rem;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    font-size: 1.55rem;
    font-weight: 700;
    box-shadow: var(--shadow);
}

.games-child-age {
    display: inline-flex;
    margin-top: 1rem;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    background: var(--light-color);
    color: var(--text-light);
    font-size: 0.85rem;
    font-weight: 600;
}

.games-empty-card {
    text-align: center;
}

.games-stream-page {
    --stream-bg: #111216;
    --stream-panel: #181a20;
    --stream-panel-soft: #22252d;
    --stream-ink: #f8fafc;
    --stream-muted: #a8b3c5;
    --stream-border: rgba(255, 255, 255, 0.13);
    background: var(--stream-bg);
    color: var(--stream-ink);
}

.games-stream-page .top-bar,
.stream-layout-page .top-bar {
    height: 8px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 52%, var(--accent-color) 100%);
}

.games-stream-page .stream-header,
.stream-layout-page .stream-header {
    position: sticky;
    top: 0;
    z-index: 120;
    padding: 0;
    background: rgba(248, 252, 253, 0.95);
    border-bottom: 1px solid rgba(166, 189, 201, 0.52);
    box-shadow: 0 10px 22px rgba(16, 50, 79, 0.08);
    backdrop-filter: blur(8px);
}

.games-stream-page .stream-header-inner,
.stream-layout-page .stream-header-inner {
    min-height: 64px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 1rem;
}

.stream-header-left {
    grid-column: 1;
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    justify-self: start;
    min-width: 0;
}

.stream-header-language {
    grid-column: 2;
    justify-self: center;
    width: auto;
    min-width: 0;
    justify-content: center;
}

.stream-header-right {
    grid-column: 3;
    justify-self: end;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.stream-upgrade-cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 40px;
    padding: 0.55rem 1.15rem;
    border: 1px solid rgba(5, 11, 44, 0.28);
    border-radius: var(--home-radius, 8px);
    background: linear-gradient(160deg, #c3ff3d 0%, #a7f50c 55%, #93df04 100%);
    color: #071331;
    font: inherit;
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    white-space: nowrap;
    text-decoration: none;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(167, 245, 12, 0.32);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.stream-upgrade-cta::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -60%;
    width: 45%;
    background: linear-gradient(105deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.55) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-18deg);
    animation: stream-upgrade-shine 5.5s ease-in-out infinite;
    pointer-events: none;
}

@keyframes stream-upgrade-shine {
    0%, 74% { left: -60%; }
    90%, 100% { left: 130%; }
}

.stream-upgrade-cta:hover,
.stream-upgrade-cta:focus-visible {
    color: #071331;
    transform: translateY(-1px);
    box-shadow: 0 9px 22px rgba(167, 245, 12, 0.45);
    filter: brightness(1.04);
}

.stream-upgrade-cta:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

.stream-upgrade-cta-icon {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
}

.stream-upgrade-cta-label-short {
    display: none;
}

@media (prefers-reduced-motion: reduce) {
    .stream-upgrade-cta::after {
        animation: none;
        display: none;
    }

    .stream-upgrade-cta:hover,
    .stream-upgrade-cta:focus-visible {
        transform: none;
    }
}

.stream-nav-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0.55rem 1rem;
    border: 1px solid #b9ccd6;
    border-radius: 8px;
    background: #ffffff;
    color: var(--dark-color);
    font: inherit;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.stream-nav-button:hover,
.stream-nav-button:focus-visible {
    background: #f0f8fa;
    border-color: #9cb7c5;
    color: var(--primary-color);
    transform: translateY(-1px);
    outline: none;
}

.stream-header-brand {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
}

.stream-header-logo {
    display: block;
    height: 40px;
    width: auto;
    object-fit: contain;
}

.stream-menu {
    position: relative;
}

.stream-menu-panel {
    position: absolute;
    top: calc(100% + 0.6rem);
    left: 0;
    width: min(280px, calc(100vw - 2rem));
    display: none;
    padding: 0.55rem;
    border: 1px solid rgba(15, 23, 42, 0.14);
    border-radius: 8px;
    background: #ffffff;
    color: #0f172a;
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.28);
}

.stream-menu.is-open .stream-menu-panel {
    display: block;
}

.stream-menu-item,
.stream-menu-panel a {
    display: flex;
    align-items: center;
    min-height: 40px;
    padding: 0.65rem 0.75rem;
    border-radius: 7px;
    color: #0f172a;
    text-decoration: none;
    font-weight: 650;
}

.stream-menu-panel a:hover,
.stream-menu-panel a:focus-visible,
.stream-menu-item:not(.is-disabled):hover,
.stream-menu-item:not(.is-disabled):focus-visible {
    background: #edf5f8;
    color: #0f172a;
    outline: none;
}

.stream-menu-item.is-disabled {
    color: #94a3b8;
    background: #f1f5f9;
    cursor: not-allowed;
    pointer-events: none;
}

.stream-menu-profile {
    padding: 0.65rem 0.75rem 0.75rem;
    margin-bottom: 0.35rem;
    border-bottom: 1px solid #e2e8f0;
}

.stream-menu-language {
    display: flex;
    padding: 0.65rem 0.75rem 0.35rem;
    margin-top: 0.35rem;
    border-top: 1px solid #e2e8f0;
}

.stream-menu-language:empty {
    display: none;
}

.stream-menu-profile span,
.stream-menu-profile small {
    display: block;
}

.stream-menu-profile span {
    color: #0f172a;
    font-weight: 800;
}

.stream-menu-profile small {
    color: #64748b;
    font-size: 0.82rem;
    margin-top: 0.2rem;
}

.games-stream-page .stream-header-language .ruah-lang-switcher,
.stream-layout-page .stream-header-language .ruah-lang-switcher {
    background: #ffffff;
    border-color: rgba(15, 23, 42, 0.15);
}

.games-stream-page .stream-header-language .ruah-lang-label,
.games-stream-page .stream-header-language .ruah-lang-select,
.stream-layout-page .stream-header-language .ruah-lang-label,
.stream-layout-page .stream-header-language .ruah-lang-select {
    color: #334155;
}

.games-stream-page .stream-header-language .ruah-lang-select option,
.stream-layout-page .stream-header-language .ruah-lang-select option {
    color: #0f172a;
}

.games-stream-page .stream-main {
    min-height: calc(100vh - 172px);
    min-height: calc(100dvh - 172px);
    padding-top: 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0) 26rem),
        var(--stream-bg);
}

.games-stream-page .games-page > .container > .page-title {
    color: var(--stream-ink);
}

.profile-picker-shell {
    min-height: calc(100vh - 196px);
    min-height: calc(100dvh - 196px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: clamp(2rem, 5vw, 4.5rem) 0;
    text-align: center;
}

.profile-picker-brand {
    margin-bottom: 0.75rem;
    color: #5ab9a2;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.profile-picker-shell h1 {
    margin: 0 0 clamp(1.8rem, 4vw, 3rem);
    color: var(--stream-ink);
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.08;
}

.profile-picker-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 176px));
    justify-content: center;
    align-items: start;
    gap: clamp(1.25rem, 3vw, 2.25rem);
}

.profile-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
    min-width: 0;
    color: var(--stream-ink);
    text-decoration: none;
}

.games-profile-avatar {
    width: 100%;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 3px solid transparent;
    border-radius: 14px;
    background: linear-gradient(135deg, #5ab9a2, #16324f);
    color: #ffffff;
    font-size: clamp(2.6rem, 7vw, 4.2rem);
    font-weight: 850;
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.28);
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.profile-card-main .games-profile-avatar {
    background: linear-gradient(135deg, #f2b63f, #f9735b);
}

.games-profile-avatar.has-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-card:hover .games-profile-avatar,
.profile-card:focus-visible .games-profile-avatar {
    border-color: #ffffff;
    transform: translateY(-6px) scale(1.04);
    box-shadow: 0 26px 46px rgba(0, 0, 0, 0.4);
}

.profile-card:focus-visible {
    outline: none;
}

.profile-card span {
    max-width: 100%;
    color: var(--stream-ink);
    font-size: 1.08rem;
    font-weight: 800;
    line-height: 1.2;
    overflow-wrap: anywhere;
    transition: color 0.2s ease;
}

.profile-card:hover span,
.profile-card:focus-visible span {
    color: #ffffff;
}

.profile-card small {
    color: var(--stream-muted);
    font-size: 0.88rem;
    font-weight: 650;
    margin-top: -0.35rem;
}

.profile-card-add .games-profile-avatar {
    background: rgba(255, 255, 255, 0.04);
    border: 3px dashed rgba(255, 255, 255, 0.32);
    color: #f2b63f;
    box-shadow: none;
}

.profile-card-add:hover .games-profile-avatar,
.profile-card-add:focus-visible .games-profile-avatar {
    border-color: #f2b63f;
    background: rgba(242, 182, 63, 0.08);
}

.profile-card-locked {
    opacity: 0.72;
}

.profile-card-locked .games-profile-avatar {
    border-color: rgba(242, 182, 63, 0.34);
    background: rgba(255, 255, 255, 0.08);
    color: #d7e0ff;
}

.profile-card-locked:hover .games-profile-avatar,
.profile-card-locked:focus-visible .games-profile-avatar {
    border-color: rgba(242, 182, 63, 0.72);
}

.profile-add-symbol {
    font-size: clamp(3rem, 8vw, 4.4rem);
    line-height: 1;
}

.stream-catalog-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1rem;
    margin-bottom: 1.4rem;
}

.stream-catalog-header .page-title {
    margin: 0;
    color: var(--stream-ink);
}

.stream-catalog-kicker {
    margin-bottom: 0.45rem;
    color: #f2b63f;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.stream-warning-card h3,
.stream-warning-card p {
    margin-top: 0;
}

.stream-warning-card p {
    margin-bottom: 0.9rem;
}

.stream-inline-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.games-stream-page .footer:not(.home-footer) {
    background: #0f1014;
    color: var(--stream-muted);
    border-top: 1px solid var(--stream-border);
}

.jogo-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.jogo-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.jogo-desc {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 4.2em;
}

.jogo-conceitos {
    flex: 1;
}

.jogo-content .btn {
    margin-top: auto;
}

.jogo-card.is-unavailable {
    opacity: 0.72;
}

.game-status-badge {
    position: absolute;
    top: 0.9rem;
    right: 0.9rem;
    z-index: 3;
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.82);
    color: #fff;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.22);
}

.game-meta-note {
    display: block;
    margin-top: 0.6rem;
    color: var(--text-light);
    font-size: 0.86rem;
}

.game-details-link-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.7rem;
    width: 100%;
    padding: 0.62rem 0.9rem;
    border: 1px solid #64748b;
    border-radius: 10px;
    color: #0f172a;
    background: #f1f5f9;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
    transition: all 0.2s ease;
}

.game-details-link-btn:hover {
    border-color: #334155;
    color: #0f172a;
    background: #e2e8f0;
}

@media (max-width: 768px) {
    .games-hero,
    .games-hero .carousel-slide,
    .games-hero .carousel-image,
    .games-hero .carousel-content,
    .games-hero .carousel-content .container {
        min-height: 380px;
    }

    .games-overview-grid {
        margin-top: 0;
    }

    .games-hero-actions {
        flex-direction: column;
    }

    .games-hero-actions .btn {
        width: 100%;
    }

    .games-child-avatar {
        width: 64px;
        height: 64px;
        border-radius: 18px;
    }

    .games-stream-page .stream-header-inner,
    .stream-layout-page .stream-header-inner {
        min-height: 58px;
        grid-template-columns: auto minmax(0, 1fr) auto;
        align-items: center;
        gap: 0.75rem;
    }

    .stream-header-language {
        grid-column: 2;
        width: auto;
        justify-self: center;
    }

    .stream-header-right {
        grid-column: 3;
    }

    .stream-nav-button {
        min-height: 38px;
        padding: 0.5rem 0.85rem;
    }

    .stream-header-logo {
        height: 34px;
    }

    .profile-picker-grid {
        grid-template-columns: repeat(auto-fit, minmax(128px, 150px));
        gap: clamp(1rem, 5vw, 1.5rem);
    }

    .stream-catalog-header {
        align-items: flex-start;
    }
}

/* Crianças Grid */
@media (min-width: 769px) and (max-width: 1180px) and (orientation: landscape) {
    .games-page .popular-games-scroll,
    .games-page .jogos-horizontal-scroll {
        gap: 1rem;
        padding-bottom: 1rem;
    }

    .games-page .popular-games-scroll > .popular-game-card,
    .games-page .jogos-horizontal-scroll > .jogo-card {
        flex-basis: 240px !important;
        width: 240px !important;
        min-width: 240px !important;
        max-width: 240px !important;
    }

    .games-page .popular-game-image,
    .games-page .jogo-image {
        height: 150px;
    }

    .games-page .jogo-content {
        padding: 1rem;
    }

    .games-page .jogo-desc {
        -webkit-line-clamp: 2;
        min-height: 2.8em;
    }
}

@media (max-width: 560px) {
    .games-stream-page .stream-header-inner,
    .stream-layout-page .stream-header-inner {
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas:
            "left right"
            "language language";
        row-gap: 0.55rem;
        padding-top: 0.45rem;
        padding-bottom: 0.55rem;
    }

    .stream-header-left {
        grid-area: left;
        gap: 0.55rem;
    }

    .stream-header-language {
        grid-area: language;
    }

    .stream-header-right {
        grid-area: right;
        gap: 0.45rem;
    }

    .stream-nav-button {
        padding-inline: 0.7rem;
    }

    .stream-upgrade-cta {
        min-height: 38px;
        padding: 0.5rem 0.75rem;
        font-size: 0.78rem;
        gap: 0.35rem;
    }

    .stream-upgrade-cta-label-full {
        display: none;
    }

    .stream-upgrade-cta-label-short {
        display: inline;
    }

    .stream-header-logo {
        height: 30px;
    }
}

.criancas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.crianca-card {
    background: var(--light-color);
    padding: 1.5rem;
    border-radius: 10px;
    border: 2px solid var(--border-color);
}

.crianca-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.crianca-identity {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    min-width: 0;
}

.crianca-title-group {
    min-width: 0;
}

.crianca-header h3 {
    color: var(--dark-color);
}

.crianca-card-avatar {
    width: 76px;
    height: 76px;
    flex: 0 0 auto;
    border-radius: 16px;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.72);
    background: #ffffff;
    box-shadow: 0 12px 22px rgba(0, 0, 0, 0.22);
}

.idade {
    color: var(--text-light);
    font-size: 0.9rem;
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--secondary-color);
    color: white;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

.badge-premium {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    font-weight: bold;
}

.badge-teacher {
    background: linear-gradient(135deg, #8b5cf6, #a78bfa);
    font-weight: bold;
    color: white;
}

.badge-free {
    background: var(--text-light);
}

.plan-badge {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-link-small {
    font-size: 0.9rem;
    color: #5ab9a2;
    text-decoration: none;
    font-weight: bold;
}

.btn-link-small:hover {
    color: #4a9d8a;
    text-decoration: underline;
}

.crianca-actions {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.crianca-actions .btn {
    width: 100%;
    text-align: center;
}

body.site-shell-page .crianca-card {
    border-color: rgba(122, 144, 220, 0.46);
    background: linear-gradient(180deg, rgba(16, 30, 86, 0.96), rgba(7, 19, 49, 0.96));
    color: #ffffff;
    box-shadow: 0 16px 28px rgba(0, 0, 0, 0.24);
}

body.site-shell-page .crianca-header h3 {
    margin: 0 0 0.2rem;
    color: #ffffff;
}

body.site-shell-page .crianca-card-avatar {
    border-color: rgba(167, 245, 12, 0.62);
    box-shadow: 0 0 0 1px rgba(167, 245, 12, 0.14), 0 14px 26px rgba(0, 0, 0, 0.28);
}

body.site-shell-page .idade {
    color: #d7e0ff;
}

body.site-shell-page .crianca-info .badge {
    background: #fbbf24;
    color: #061131;
    font-weight: 800;
}

.criancas-selector {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}

.crianca-select-card {
    background: white;
    padding: clamp(1rem, 4vw, 2rem);
    border-radius: 10px;
    box-shadow: var(--shadow);
    text-align: center;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s;
    border: 2px solid transparent;
}

.crianca-select-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.crianca-select-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Jogos Grid */
.jogos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

/* Jogos Horizontal Scroll - Para seções de Mais Jogados e Novidades */
.jogos-horizontal-scroll {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 2rem;
    overflow-x: auto;
    overflow-y: visible;
    padding: 1rem 0;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    width: 100%;
}

.jogos-horizontal-scroll::-webkit-scrollbar {
    height: 8px;
}

.jogos-horizontal-scroll::-webkit-scrollbar-track {
    background: var(--light-color);
    border-radius: 4px;
}

.jogos-horizontal-scroll::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

.jogos-horizontal-scroll::-webkit-scrollbar-thumb:hover {
    background: #1e40af;
}

.jogo-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

/* Cards em scroll horizontal devem ter largura fixa */
.jogos-horizontal-scroll > .jogo-card {
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
    flex-basis: 300px !important;
    width: 300px !important;
    min-width: 300px !important;
    max-width: 300px !important;
}

.jogo-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.jogo-image {
    width: 100%;
    height: 200px;
    background: var(--light-color);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.jogo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.jogo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #5ab9a2 0%, #4a9d8a 100%);
    color: rgba(255, 255, 255, 0.8);
}

.jogo-placeholder svg {
    width: 80px;
    height: 80px;
    opacity: 0.8;
}

.jogo-content {
    padding: 1.5rem;
}

.jogo-content h3 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.jogo-desc {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.jogo-info {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.jogo-idade,
.jogo-categoria {
    padding: 0.25rem 0.75rem;
    background: var(--light-color);
    border-radius: 20px;
    font-size: 0.85rem;
}

.jogo-conceitos {
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

.btn-play {
    width: 100%;
}

/* Tables */
.table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
    min-width: 600px; /* Largura mínima para forçar scroll em telas pequenas */
}

.table thead {
    background: var(--light-color);
}

.table th,
.table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
    vertical-align: top;
}

.table tbody tr:hover {
    background: var(--light-color);
}

/* Container com scroll horizontal para tabelas */
.table-scroll-container {
    width: 100%;
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch; /* Scroll suave no iOS */
    margin-top: 1rem;
}

.table-scroll-container .table {
    margin-top: 0;
}

.table-scroll-container::-webkit-scrollbar {
    height: 8px;
}

.table-scroll-container::-webkit-scrollbar-track {
    background: var(--light-color);
    border-radius: 4px;
}

.table-scroll-container::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

.table-scroll-container::-webkit-scrollbar-thumb:hover {
    background: #1e40af;
}

/* Conceitos Grid */
.conceitos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.conceito-card {
    background: var(--light-color);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
}

.conceito-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.conceito-card small {
    color: var(--text-light);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 3rem;
    color: var(--text-light);
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 3rem;
}
.footer-links {
    margin-top: 0.75rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.92;
    font-weight: 600;
}
.footer-links a:hover {
    opacity: 1;
    text-decoration: underline;
}

.text-muted {
    color: var(--text-light);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

/* Pricing Section */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-grid-three {
    grid-template-columns: repeat(3, 1fr);
}

@media (min-width: 992px) {
    .pricing-grid-three {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

.pricing-card {
    background: white;
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    border: 2px solid var(--border-color);
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.pricing-card.featured {
    border: 2px solid #5ab9a2;
    transform: scale(1.05);
}

.pricing-card.featured:hover {
    transform: scale(1.08) translateY(-5px);
}

.pricing-card.featured-teacher {
    border: 2px solid #5ab9a2;
    transform: scale(1.05);
}

.pricing-card.featured-teacher:hover {
    transform: scale(1.08) translateY(-5px);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
    box-shadow: 0 2px 10px rgba(30, 58, 138, 0.3);
}

.pricing-badge.teacher-badge {
    background: #5ab9a2;
    box-shadow: 0 2px 10px rgba(90, 185, 162, 0.3);
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-top: 1rem;
}

.pricing-header h3 {
    font-size: 1.5rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
}

.price-amount {
    font-size: 3rem;
    font-weight: bold;
    color: #5ab9a2;
}

.price-amount.price-consult {
    font-size: 2rem;
}

.price-period {
    font-size: 1rem;
    color: var(--text-light);
}

.pricing-features {
    margin-bottom: 2rem;
}

.pricing-features ul {
    list-style: none;
    padding: 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--light-color);
}

.feature-item:last-child {
    border-bottom: none;
}

.feature-item.disabled {
    opacity: 0.5;
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-weight: bold;
    flex-shrink: 0;
}

.feature-item:not(.disabled) .feature-icon {
    background: linear-gradient(135deg, var(--secondary-color), #fbbf24);
    color: white;
}

.feature-item.disabled .feature-icon {
    background: var(--light-color);
    color: var(--text-light);
}

.pricing-footer {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 2px solid var(--light-color);
}

.pricing-footer .btn {
    width: 100%;
    margin-bottom: 0.5rem;
}

.pricing-note {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 0.5rem;
    font-style: italic;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: white;
    margin: auto;
    padding: 2rem;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: modalSlideIn 0.3s ease-out;
}

.child-config-modal-content {
    max-width: 650px;
    width: 92%;
    max-height: 88vh;
    overflow-y: auto;
}

.child-photo-preview-wrap {
    margin-top: 0.75rem;
    display: flex;
    justify-content: flex-start;
}

.child-photo-preview {
    width: 96px;
    height: 96px;
    border-radius: 10px;
    object-fit: cover;
    border: 1px solid var(--border-color);
    background: #f8fafc;
}

body.site-shell-page .child-config-modal-content {
    --component-bg: #071331;
    --component-panel: #101e56;
    --component-panel-soft: #071331;
    --component-ink: #ffffff;
    --component-muted: #d7e0ff;
    --component-border: rgba(122, 144, 220, 0.48);
    max-width: 860px;
    border: 1px solid var(--component-border) !important;
    background: linear-gradient(180deg, #12205c, #071331) !important;
    color: var(--component-ink) !important;
    box-shadow: 0 26px 54px rgba(0, 0, 0, 0.45) !important;
}

body.site-shell-page .child-config-modal-content .modal-title,
body.site-shell-page .child-config-modal-content label,
body.site-shell-page .child-config-modal-content legend {
    color: var(--component-ink) !important;
}

body.site-shell-page .child-config-modal-content .form-group input,
body.site-shell-page .child-config-modal-content .form-group select,
body.site-shell-page .child-config-modal-content .form-group textarea {
    border-color: var(--component-border);
    background: var(--component-panel-soft);
    color: var(--component-ink);
}

body.site-shell-page .child-config-modal-content .form-group input::placeholder,
body.site-shell-page .child-config-modal-content .form-group textarea::placeholder {
    color: rgba(215, 224, 255, 0.64);
}

body.site-shell-page .child-config-modal-content .close {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    line-height: 1;
}

body.site-shell-page .child-config-modal-content .close:hover,
body.site-shell-page .child-config-modal-content .close:focus {
    background: rgba(167, 245, 12, 0.18);
    color: #ffffff;
}

.child-avatar-field {
    margin: 0 0 1rem;
    padding: 1rem;
    border: 1px solid var(--component-border);
    border-radius: 8px;
    background: rgba(7, 19, 49, 0.56);
}

.child-avatar-field legend {
    padding: 0 0.35rem;
    font-weight: 800;
}

.child-avatar-group + .child-avatar-group {
    margin-top: 1rem;
}

.child-avatar-group-title {
    margin: 0 0 0.65rem;
    color: var(--component-muted) !important;
    font-size: 0.9rem;
    font-weight: 800;
}

.child-avatar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(112px, 1fr));
    gap: 0.65rem;
}

.child-avatar-option {
    position: relative;
    display: block;
    min-width: 0;
    cursor: pointer;
}

.child-avatar-input {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    opacity: 0;
    pointer-events: none;
}

.child-avatar-card {
    min-height: 128px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.65rem;
    border: 1px solid rgba(122, 144, 220, 0.46);
    border-radius: 8px;
    background: rgba(16, 30, 86, 0.68);
    color: #e9efff;
    text-align: center;
    transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.child-avatar-card img {
    width: 78px;
    height: 78px;
    border-radius: 8px;
    object-fit: cover;
    background: #071331;
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.22);
}

.child-avatar-card span {
    color: #f8fbff;
    font-size: 0.82rem;
    font-weight: 800;
}

.child-avatar-option:hover .child-avatar-card,
.child-avatar-input:focus-visible + .child-avatar-card {
    border-color: rgba(167, 245, 12, 0.78);
    background: rgba(167, 245, 12, 0.12);
    box-shadow: 0 0 0 2px rgba(167, 245, 12, 0.14);
}

.child-avatar-input:checked + .child-avatar-card {
    border-color: #a7f50c;
    background: rgba(167, 245, 12, 0.18);
    box-shadow: 0 0 0 2px rgba(167, 245, 12, 0.22), 0 16px 28px rgba(0, 0, 0, 0.28);
}

.child-avatar-input:checked + .child-avatar-card img {
    box-shadow: 0 0 0 3px #a7f50c, 0 12px 20px rgba(0, 0, 0, 0.26);
}

@media (max-width: 680px) {
    body.site-shell-page .child-config-modal-content {
        width: 95%;
        padding: 1rem;
    }

    .child-avatar-field {
        padding: 0.85rem;
    }

    .child-avatar-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .child-avatar-card {
        min-height: 118px;
        padding: 0.55rem;
    }

    .child-avatar-card img {
        width: 68px;
        height: 68px;
    }
}

.modal-large .modal-content {
    max-width: 95%;
    width: 95%;
    max-height: 90vh;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.modal-scrollable {
    max-height: 90vh;
    overflow: hidden;
    padding: 0;
    position: relative;
    display: flex;
    flex-direction: column;
}

.modal-scrollable .close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    z-index: 1001;
    background: rgba(255, 255, 255, 0.9);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.modal-scrollable .close:hover {
    background: white;
    transform: scale(1.1);
}

.modal-scrollable iframe {
    flex: 1;
    border: none;
    width: 100%;
    height: 90vh;
}

.modal-scrollable::-webkit-scrollbar {
    width: 8px;
}

.modal-scrollable::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.modal-scrollable::-webkit-scrollbar-thumb {
    background: #5ab9a2;
    border-radius: 10px;
}

.modal-scrollable::-webkit-scrollbar-thumb:hover {
    background: #4a9d8a;
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #5ab9a2;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media (max-width: 768px) {
    .modal-large .modal-content {
        max-width: 98%;
        width: 98%;
    }
    
    .modal-scrollable iframe {
        height: 85vh;
    }
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close {
    color: var(--text-light);
    float: right;
    font-size: 2rem;
    font-weight: bold;
    line-height: 1;
    cursor: pointer;
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    transition: color 0.3s;
}

.close:hover,
.close:focus {
    color: var(--text-color);
}

.modal-title {
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    text-align: center;
}

.modal-content .form {
    display: flex;
    flex-direction: column;
}

.modal-content .form button[type="submit"] {
    align-self: center;
    min-width: 200px;
}

.game-review-return-modal {
    padding: 1rem;
}

.profile-ranking-welcome-modal {
    z-index: 1200;
    padding: 1rem;
    background: rgba(3, 9, 28, 0.82);
    backdrop-filter: blur(10px);
}

.modal-content.profile-ranking-welcome-content {
    --component-bg: #071331;
    --component-panel: #101e56;
    --component-ink: #ffffff;
    --component-muted: #c9d5ff;
    --component-border: rgba(130, 151, 232, 0.44);
    --component-accent: #a7f50c;
    width: min(94vw, 680px);
    max-width: 680px;
    max-height: min(92vh, 820px);
    padding: 0;
    overflow-x: hidden;
    overflow-y: auto;
    border: 1px solid var(--component-border);
    border-radius: 18px;
    background: linear-gradient(180deg, var(--component-panel) 0%, var(--component-bg) 100%);
    color: var(--component-ink);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.58), 0 0 48px rgba(123, 66, 255, 0.2);
    animation: profileRankingWelcomeIn 0.42s cubic-bezier(0.2, 0.85, 0.25, 1.15);
}

.profile-ranking-welcome-modal.is-first-place .profile-ranking-welcome-content {
    border-color: rgba(255, 209, 102, 0.78);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.58), 0 0 58px rgba(255, 209, 102, 0.26);
}

.profile-ranking-welcome-modal.is-ranking-down .profile-ranking-welcome-content {
    --component-accent: #ffb86b;
    border-color: rgba(255, 184, 107, 0.72);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.58), 0 0 52px rgba(255, 126, 87, 0.22);
}

.profile-ranking-welcome-close {
    position: absolute;
    z-index: 7;
    top: 0.8rem;
    right: 0.8rem;
    display: inline-grid;
    width: 2.5rem;
    height: 2.5rem;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 999px;
    background: rgba(7, 19, 49, 0.8);
    color: var(--component-ink);
    font-size: 1.65rem;
    line-height: 1;
    cursor: pointer;
    backdrop-filter: blur(8px);
    transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.profile-ranking-welcome-close:hover,
.profile-ranking-welcome-close:focus-visible {
    outline: 3px solid rgba(167, 245, 12, 0.44);
    outline-offset: 2px;
    background: var(--component-accent);
    color: #071331;
    transform: rotate(4deg) scale(1.04);
}

.profile-ranking-welcome-banner {
    position: relative;
    min-height: 220px;
    height: clamp(220px, 38vw, 330px);
    overflow: hidden;
    border-bottom: 1px solid var(--component-border);
    background: #0b1745;
}

.profile-ranking-welcome-banner::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 45%;
    background: linear-gradient(180deg, transparent, rgba(7, 19, 49, 0.92));
    pointer-events: none;
}

.profile-ranking-welcome-banner img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 42%;
}

.profile-ranking-welcome-modal:not(.is-first-place) .profile-ranking-welcome-banner img {
    object-position: center;
}

.profile-ranking-welcome-position {
    position: absolute;
    z-index: 2;
    left: 50%;
    bottom: 0.9rem;
    min-width: 5.4rem;
    padding: 0.48rem 1rem;
    transform: translateX(-50%);
    border: 1px solid rgba(255, 255, 255, 0.52);
    border-radius: 999px;
    background: rgba(7, 19, 49, 0.9);
    color: var(--component-ink);
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.36);
    font-family: "Sora", "Inter", "Segoe UI", sans-serif;
    font-size: clamp(1.4rem, 4vw, 2rem);
    font-weight: 900;
    line-height: 1;
    text-align: center;
}

.profile-ranking-welcome-modal.is-first-place .profile-ranking-welcome-position {
    border-color: #ffe49b;
    background: linear-gradient(135deg, #f5b828, #ffe689);
    color: #291800;
    box-shadow: 0 8px 28px rgba(245, 184, 40, 0.48);
}

.profile-ranking-welcome-modal.is-ranking-down .profile-ranking-welcome-position {
    border-color: #ffd5a8;
    background: linear-gradient(135deg, #ff9a62, #ffc77d);
    color: #301306;
    box-shadow: 0 8px 28px rgba(255, 154, 98, 0.38);
}

.profile-ranking-welcome-copy {
    position: relative;
    z-index: 3;
    padding: clamp(1.25rem, 4vw, 2rem);
    text-align: center;
}

.profile-ranking-welcome-kicker {
    margin: 0 0 0.42rem;
    color: var(--component-accent);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.profile-ranking-welcome-copy h2 {
    margin: 0;
    color: var(--component-ink);
    font-family: "Sora", "Inter", "Segoe UI", sans-serif;
    font-size: clamp(1.55rem, 5vw, 2.25rem);
    line-height: 1.12;
}

.profile-ranking-welcome-copy > p:not(.profile-ranking-welcome-kicker):not(.profile-ranking-welcome-change) {
    max-width: 570px;
    margin: 0.75rem auto 1.2rem;
    color: var(--component-muted);
    font-size: clamp(0.95rem, 2.5vw, 1.05rem);
    line-height: 1.6;
}

.profile-ranking-welcome-change {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.42rem;
    margin: 0.72rem auto 0;
    padding: 0.4rem 0.72rem;
    border: 1px solid var(--component-border);
    border-radius: 999px;
    background: rgba(7, 19, 49, 0.82);
    color: var(--component-ink);
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1.25;
}

.profile-ranking-welcome-change span {
    font-size: 1.1rem;
    line-height: 1;
}

.profile-ranking-welcome-change.is-up {
    border-color: rgba(167, 245, 12, 0.58);
    color: #e8ffb8;
}

.profile-ranking-welcome-change.is-down {
    border-color: rgba(255, 184, 107, 0.65);
    color: #ffe0bf;
}

.profile-ranking-welcome-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.65rem;
    margin: 0 0 1.25rem;
}

.profile-ranking-welcome-stats > div {
    min-width: 0;
    padding: 0.72rem 0.5rem;
    border: 1px solid var(--component-border);
    border-radius: 10px;
    background: rgba(7, 19, 49, 0.76);
}

.profile-ranking-welcome-stats span,
.profile-ranking-welcome-stats strong {
    display: block;
    color: var(--component-ink);
}

.profile-ranking-welcome-stats span {
    margin-bottom: 0.18rem;
    color: var(--component-muted);
    font-size: 0.72rem;
    font-weight: 700;
}

.profile-ranking-welcome-stats strong {
    overflow-wrap: anywhere;
    font-size: clamp(1rem, 3vw, 1.25rem);
    line-height: 1.2;
}

.profile-ranking-welcome-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.85rem 1.1rem;
    flex-wrap: wrap;
}

.profile-ranking-welcome-actions .btn-primary {
    min-width: 190px;
    border: 0;
    border-radius: 9px;
    background: var(--component-accent);
    color: #071331;
    box-shadow: 0 10px 28px rgba(167, 245, 12, 0.28);
    font-weight: 900;
    text-transform: uppercase;
}

.profile-ranking-welcome-actions .btn-primary:hover,
.profile-ranking-welcome-actions .btn-primary:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.52);
    outline-offset: 2px;
    background: #c7ff3d;
    color: #071331;
    transform: translateY(-2px);
}

.profile-ranking-welcome-link {
    color: var(--component-ink);
    font-weight: 800;
    text-decoration: underline;
    text-decoration-color: rgba(167, 245, 12, 0.7);
    text-underline-offset: 0.24em;
}

.profile-ranking-welcome-link:hover,
.profile-ranking-welcome-link:focus-visible {
    outline: 2px solid var(--component-accent);
    outline-offset: 4px;
    color: var(--component-accent);
    border-radius: 2px;
}

.profile-ranking-confetti {
    position: absolute;
    z-index: 6;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.profile-ranking-confetti span {
    position: absolute;
    top: -8%;
    left: var(--confetti-x);
    width: 9px;
    height: 15px;
    border-radius: 2px;
    background: var(--confetti-color);
    transform: rotate(var(--confetti-rotate));
    animation: profileRankingConfettiFall var(--confetti-duration) linear var(--confetti-delay) 2 both;
}

@keyframes profileRankingWelcomeIn {
    from {
        opacity: 0;
        transform: translateY(28px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes profileRankingConfettiFall {
    0% {
        opacity: 0;
        transform: translate3d(0, -8vh, 0) rotate(var(--confetti-rotate));
    }
    12% {
        opacity: 1;
    }
    100% {
        opacity: 0.9;
        transform: translate3d(38px, 94vh, 0) rotate(720deg);
    }
}

@media (max-width: 560px) {
    .profile-ranking-welcome-modal {
        padding: 0.65rem;
    }

    .profile-ranking-welcome-banner {
        min-height: 190px;
        height: 38vh;
        max-height: 260px;
    }

    .profile-ranking-welcome-stats {
        grid-template-columns: 1fr;
        gap: 0.45rem;
    }

    .profile-ranking-welcome-stats > div {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        padding: 0.58rem 0.7rem;
        text-align: left;
    }

    .profile-ranking-welcome-stats span {
        margin: 0;
    }

    .profile-ranking-welcome-actions,
    .profile-ranking-welcome-actions .btn-primary,
    .profile-ranking-welcome-link {
        width: 100%;
    }

    .profile-ranking-welcome-link {
        padding: 0.45rem;
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .modal-content.profile-ranking-welcome-content,
    .profile-ranking-confetti span {
        animation: none;
    }

    .profile-ranking-welcome-close,
    .profile-ranking-welcome-actions .btn-primary {
        transition: none;
    }
}

.modal-content.game-review-return-modal-content {
    --game-review-modal-bg: #181a20;
    --game-review-modal-panel: #22252d;
    --game-review-modal-ink: #f8fafc;
    --game-review-modal-muted: #c7d2e3;
    --game-review-modal-border: rgba(255, 255, 255, 0.16);
    --game-review-modal-field-bg: #ffffff;
    --game-review-modal-field-ink: #0f172a;
    width: min(92vw, 560px);
    max-width: 560px;
    max-height: min(88vh, 720px);
    overflow-y: auto;
    background: var(--game-review-modal-bg);
    border: 1px solid var(--game-review-modal-border);
    color: var(--game-review-modal-ink);
    border-radius: 8px;
}

.game-review-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.9rem;
}

.game-review-modal-header h2 {
    margin: 0;
    color: var(--game-review-modal-ink, currentColor);
    font-size: 1.45rem;
    line-height: 1.2;
}

.game-review-modal-close {
    flex: 0 0 auto;
    width: 2.25rem;
    height: 2.25rem;
    border: 0;
    border-radius: 999px;
    background: #f1f5f9;
    color: #334155;
    cursor: pointer;
    font-size: 1.45rem;
    line-height: 1;
    display: inline-grid;
    place-items: center;
}

.game-review-modal-close:hover,
.game-review-modal-close:focus-visible {
    background: #e2e8f0;
    color: #0f172a;
    outline: 2px solid #0f766e;
    outline-offset: 2px;
}

.game-review-modal-game {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 0.85rem;
    align-items: center;
    padding: 0.75rem;
    margin-bottom: 0.95rem;
    border: 1px solid var(--game-review-modal-border, #dbe5ef);
    border-radius: 8px;
    background: var(--game-review-modal-panel, #f8fafc);
}

.game-review-modal-cover {
    width: 92px;
    aspect-ratio: 16 / 10;
    border-radius: 8px;
    overflow: hidden;
    background: linear-gradient(135deg, #5ab9a2, #f59e0b);
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 900;
    letter-spacing: 0;
}

.game-review-modal-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.game-review-modal-game-copy {
    min-width: 0;
}

.game-review-modal-game-copy span {
    display: block;
    margin-bottom: 0.15rem;
    color: var(--game-review-modal-muted, #64748b);
    font-size: 0.84rem;
    font-weight: 700;
}

.game-review-modal-game-copy strong {
    display: block;
    color: var(--game-review-modal-ink, currentColor);
    font-size: 1rem;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.game-review-modal-lead {
    margin: 0 0 1rem;
    color: var(--game-review-modal-muted, #475569);
}

.game-review-modal-form,
.game-review-modal-field {
    display: grid;
    gap: 0.65rem;
}

.game-review-modal-form {
    gap: 0.85rem;
}

.game-review-modal-field label {
    color: var(--game-review-modal-ink, currentColor);
    font-weight: 700;
}

.game-review-star-picker {
    position: relative;
    display: inline-flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: flex-end;
    gap: 0.25rem;
    width: max-content;
    max-width: 100%;
}

.game-review-star-picker input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.game-review-star-picker label {
    cursor: pointer;
    color: #cbd5e1;
    font-size: 1.6rem;
    line-height: 1;
}

.game-review-star-picker input:focus-visible + label {
    outline: 2px solid #0f766e;
    outline-offset: 4px;
    border-radius: 4px;
}

.game-review-star-picker input:checked ~ label,
.game-review-star-picker label:hover,
.game-review-star-picker label:hover ~ label {
    color: #d97706;
}

.game-review-modal-field textarea {
    width: 100%;
    min-height: 118px;
    padding: 0.8rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: var(--game-review-modal-field-bg, #fff);
    color: var(--game-review-modal-field-ink, #0f172a);
    font: inherit;
    resize: vertical;
}

.game-review-modal-field textarea:focus {
    outline: 2px solid #0f766e;
    outline-offset: 2px;
    border-color: #0f766e;
}

.game-review-modal-field textarea::placeholder {
    color: #64748b;
}

.game-review-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.6rem;
    flex-wrap: wrap;
}

@media (max-width: 520px) {
    .game-review-return-modal-content {
        padding: 1.25rem;
    }

    .game-review-modal-game {
        grid-template-columns: 76px minmax(0, 1fr);
    }

    .game-review-modal-cover {
        width: 76px;
    }

    .game-review-modal-actions .btn {
        width: 100%;
    }
}

.about-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    color: var(--text-light);
    line-height: 1.8;
}

.about-content p {
    margin-bottom: 1.5rem;
}

/* Legal Content Styles */
.legal-content {
    text-align: left;
    line-height: 1.8;
    color: var(--text-color);
}

.legal-content section {
    margin-bottom: 2.5rem;
}

.legal-content h2 {
    color: var(--dark-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    margin-top: 2rem;
    border-bottom: 2px solid #5ab9a2;
    padding-bottom: 0.5rem;
}

.legal-content h3 {
    color: var(--dark-color);
    font-size: 1.2rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.legal-content p {
    margin-bottom: 1rem;
    color: var(--text-color);
}

.legal-content ul, .legal-content ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.legal-content a {
    color: #5ab9a2;
    text-decoration: underline;
}

.legal-content a:hover {
    color: #4a9d8a;
}

.legal-content strong {
    color: var(--dark-color);
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    .features-grid,
    .jogos-grid,
    .criancas-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    /* Manter scroll horizontal mesmo em telas pequenas */
    .jogos-horizontal-scroll {
        gap: 1.5rem;
    }

    .jogos-horizontal-scroll > .jogo-card {
        width: 280px;
        min-width: 280px;
        max-width: 280px;
    }

    .pricing-card.featured,
    .pricing-card.featured-teacher {
        transform: scale(1);
    }

    .pricing-card.featured:hover,
    .pricing-card.featured-teacher:hover {
        transform: translateY(-5px);
    }

    .pricing-grid-three {
        grid-template-columns: 1fr !important;
    }
    
    .pricing-card.featured,
    .pricing-card.featured-teacher {
        transform: scale(1) !important;
    }

    .pricing-card.featured:hover,
    .pricing-card.featured-teacher:hover {
        transform: translateY(-5px) !important;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .page-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .page-title {
        font-size: 1.65rem;
        margin-bottom: 1.25rem;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .section-card,
    .stat-card,
    .login-container {
        padding: 1.25rem;
    }

    .form-actions {
        justify-content: stretch;
    }

    .form-actions .btn,
    .page-header > .btn,
    .page-header > .btn-link,
    .section-header > .btn,
    .section-header > .btn-link {
        width: 100%;
    }

    .dashboard-plan-badge > *,
    .section-header > .btn {
        margin-left: 0 !important;
    }
}

@media (max-width: 560px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .section-card,
    .stat-card,
    .login-container {
        padding: 1rem;
    }

    .table th,
    .table td {
        padding: 0.75rem;
    }
}

/* Home Pattern 2026 */
.home-page {
    --primary-color: #0f8b8d;
    --secondary-color: #f2b63f;
    --accent-color: #f9735b;
    --dark-color: #16324f;
    --light-color: #eef5f8;
    --text-color: #16324f;
    --text-light: #5f778d;
    --border-color: #d4e2e9;
    --shadow: 0 14px 28px rgba(16, 50, 79, 0.11);
    --shadow-hover: 0 20px 34px rgba(16, 50, 79, 0.16);
    font-family: "Inter", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background-color: #edf5f8;
    background-image:
        repeating-linear-gradient(135deg, rgba(22, 50, 79, 0.03) 0 1px, transparent 1px 10px),
        linear-gradient(180deg, #f8fcfd 0%, #edf5f8 100%);
}

.home-page h1,
.home-page h2,
.home-page h3,
.home-page h4,
.home-page .pricing-header h3,
.home-page .section-title,
.home-page .carousel-content h2,
.home-page .modal-title {
    font-family: "Sora", "Inter", "Segoe UI", sans-serif;
}

.home-page .skip-link {
    position: absolute;
    left: 1rem;
    top: -100px;
    z-index: 999;
    padding: 0.55rem 0.8rem;
    border-radius: 8px;
    background: #ffffff;
    color: var(--dark-color);
    border: 1px solid var(--border-color);
    text-decoration: none;
    font-weight: 700;
    transition: top 0.2s ease;
}

.home-page .skip-link:focus {
    top: 1rem;
    outline: none;
}

.home-page .top-bar {
    height: 8px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 52%, var(--accent-color) 100%);
}

.home-page .header {
    position: sticky;
    top: 0;
    z-index: 120;
    background: rgba(248, 252, 253, 0.95);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(166, 189, 201, 0.52);
    box-shadow: 0 10px 22px rgba(16, 50, 79, 0.08);
}

.home-page .nav a {
    font-weight: 600;
    color: var(--dark-color);
}

.home-page .nav a:hover {
    color: var(--primary-color);
}

.home-page .btn,
.home-page .btn-link,
.home-page .tab-btn,
.home-page .modal-content,
.home-page .feature-card,
.home-page .popular-game-card,
.home-page .pricing-card,
.home-page .pricing-badge,
.home-page .popular-game-age,
.home-page .popular-game-category,
.home-page .feature-item .feature-icon,
.home-page .carousel-btn,
.home-page .login-container {
    border-radius: 8px !important;
}

.home-page .btn {
    border: 1px solid transparent;
    font-weight: 600;
    letter-spacing: 0;
}

.home-page .btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, #0f7577 100%);
    border-color: #0f7577;
    color: #ffffff;
}

.home-page .btn-primary:hover {
    background: linear-gradient(135deg, #0f7577 0%, #0d6365 100%);
    box-shadow: 0 12px 24px rgba(15, 139, 141, 0.28);
}

.home-page .btn-secondary,
.home-page .btn-link {
    background: #ffffff;
    color: var(--dark-color);
    border: 1px solid #b9ccd6;
}

.home-page .btn-secondary:hover,
.home-page .btn-link:hover {
    background: #f0f8fa;
    color: var(--primary-color);
    box-shadow: 0 12px 22px rgba(16, 50, 79, 0.14);
}

.home-page .hero-carousel {
    height: min(64vh, 620px);
    min-height: 380px;
    border-bottom: 1px solid rgba(168, 190, 202, 0.38);
}

.home-page .carousel-content {
    min-height: inherit;
    display: flex;
    align-items: center;
    padding: 2.2rem 0;
    background: linear-gradient(110deg, rgba(8, 23, 32, 0.78) 0%, rgba(8, 23, 32, 0.48) 55%, rgba(12, 29, 41, 0.28) 100%);
}

.home-page .carousel-content .container {
    max-width: 980px;
}

.home-page .carousel-content h2 {
    font-size: clamp(2rem, 3.8vw, 3.3rem);
    line-height: 1.1;
    margin-bottom: 1rem;
    text-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.home-page .carousel-content p {
    font-size: clamp(1.02rem, 1.4vw, 1.25rem);
    line-height: 1.55;
}

.home-page .carousel-content .subtitle {
    font-size: 1rem;
    opacity: 0.9;
}

.home-page .carousel-btn {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.56);
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.home-page .carousel-btn:hover {
    background: #ffffff;
    color: var(--primary-color);
    transform: translateY(-50%) translateX(0);
}

.home-page .indicator {
    border-radius: 8px;
}

.home-page .section {
    padding: clamp(3rem, 7vw, 5rem) 0;
}

.home-page .section.bg-light {
    background: linear-gradient(180deg, #f8fcfd 0%, #eef5f8 100%);
    border-top: 1px solid rgba(179, 199, 209, 0.38);
    border-bottom: 1px solid rgba(179, 199, 209, 0.38);
}

.home-page .section-title {
    font-size: clamp(1.7rem, 2.6vw, 2.5rem);
    margin-bottom: 1.1rem;
    color: var(--dark-color);
}

.home-page .section-subtitle {
    max-width: 760px;
    margin: 0 auto 2.4rem;
    color: var(--text-light);
    font-size: 1.02rem;
    line-height: 1.6;
}

.home-page .section-cta {
    margin-top: 2.2rem;
    text-align: center;
}

.home-page .features-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.15rem;
    margin-top: 1.3rem;
}

.home-page .feature-card {
    padding: 1.35rem 1.2rem;
    border: 1px solid var(--border-color);
    background: #ffffff;
    text-align: left;
}

.home-page .feature-card:hover {
    transform: translateY(-4px);
}

.home-page .features-grid > .feature-card .feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 8px;
    margin-bottom: 0.8rem;
    background: linear-gradient(135deg, rgba(15, 139, 141, 0.16) 0%, rgba(242, 182, 63, 0.2) 100%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.62rem;
}

.home-page .feature-card h3 {
    font-size: 1.05rem;
    margin-bottom: 0.6rem;
}

.home-page .feature-card p {
    font-size: 0.95rem;
    line-height: 1.5;
}

.home-page .popular-games-scroll {
    gap: 1rem;
    padding: 0.8rem 0 1.35rem;
}

.home-page .popular-game-card {
    border: 1px solid var(--border-color);
}

.home-page .popular-game-info {
    padding: 1rem;
}

.home-page .popular-game-age,
.home-page .popular-game-category {
    border: 1px solid var(--border-color);
    font-weight: 600;
}

.home-page .pricing-grid {
    gap: 1.2rem;
}

.home-page .pricing-card {
    border-width: 1px;
    padding: 2rem 1.6rem;
}

.home-page .pricing-card.featured,
.home-page .pricing-card.featured-teacher {
    transform: none;
    border-width: 2px;
    box-shadow: 0 20px 32px rgba(16, 50, 79, 0.18);
}

.home-page .pricing-card:hover,
.home-page .pricing-card.featured:hover,
.home-page .pricing-card.featured-teacher:hover {
    transform: translateY(-4px);
}

.home-page .pricing-badge {
    top: -12px;
    padding: 0.42rem 1rem;
    font-size: 0.8rem;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.26);
}

.home-page .price-amount {
    color: var(--primary-color);
}

.home-page .pricing-features .feature-item {
    border-bottom: 1px solid #e4edf2;
}

.home-page .pricing-footer {
    border-top: 1px solid #e1ebf0;
}

.home-page .about-content {
    max-width: 840px;
    font-size: 1.03rem;
}

.home-page .modal-content {
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 36px rgba(16, 50, 79, 0.22);
}

.home-page .footer:not(.home-footer) {
    background: linear-gradient(150deg, #12293d 0%, #16324f 58%, #0f8b8d 100%);
    margin-top: 0;
}

.home-page .footer-links a {
    font-weight: 500;
}

@media (max-width: 900px) {
    .home-page .header {
        position: static;
    }

    .home-page .hero-carousel {
        height: min(60vh, 520px);
        min-height: 360px;
    }

    .home-page .carousel-content h2 {
        font-size: clamp(1.72rem, 5.2vw, 2.5rem);
    }

    .home-page .pricing-grid-three {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 768px) {
    .home-page .top-bar {
        height: 6px;
    }

    .home-page .hero-carousel {
        height: min(56vh, 460px);
        min-height: 340px;
    }

    .home-page .carousel-content {
        padding: 1.7rem 0 1.45rem;
    }

    .home-page .carousel-content p {
        padding: 0;
    }

    .home-page .carousel-btn {
        width: 40px;
        height: 40px;
    }

    .home-page .features-grid {
        grid-template-columns: 1fr;
    }

    .home-page .popular-game-card {
        flex: 0 0 250px;
    }

    .home-page .pricing-card {
        padding: 1.5rem 1.2rem;
    }

    .home-page .pricing-footer .btn {
        margin-bottom: 0.7rem;
    }
}

/* Home Reference Layout 2026 */
.home-page {
    --home-bg: var(--ruah-home-bg);
    --home-bg-2: var(--ruah-home-bg-2);
    --home-panel: var(--ruah-home-panel);
    --home-panel-strong: var(--ruah-home-panel-strong);
    --home-line: var(--ruah-home-line);
    --home-line-soft: var(--ruah-home-line-soft);
    --home-ink: var(--ruah-home-ink);
    --home-muted: var(--ruah-home-muted);
    --home-lime: var(--ruah-home-lime);
    --home-cyan: var(--ruah-home-cyan);
    --home-purple: var(--ruah-home-purple);
    --home-pink: var(--ruah-home-pink);
    --home-gold: var(--ruah-home-gold);
    --home-orange: var(--ruah-home-orange);
    --home-radius: var(--ruah-home-radius);
    color: var(--home-ink);
    background: var(--home-bg);
    font-family: var(--ruah-home-font-body);
}

.home-page main {
    background: var(--home-bg);
}

.home-page h1,
.home-page h2,
.home-page h3,
.home-page .home-brand-name {
    font-family: var(--ruah-home-font-heading);
    letter-spacing: 0;
}

.home-page .top-bar,
.home-page .hero-carousel,
.home-page #legacy-vantagens,
.home-page #legacy-jogos-populares,
.home-page #legacy-precos,
.home-page #legacy-sobre {
    display: none !important;
}

.home-page .container {
    max-width: 1180px;
}

.home-page .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.home-page .skip-link {
    background: #ffffff;
    color: #061131;
    border-color: rgba(82, 120, 255, 0.5);
}

.home-page .header {
    position: sticky;
    top: 0;
    z-index: 120;
    margin: 0;
    padding: 0;
    background: #071331;
    border-bottom: 1px solid rgba(124, 80, 255, 0.42);
    box-shadow: none;
    backdrop-filter: none;
}

.home-page .header .container {
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
    gap: clamp(1rem, 3vw, 2.4rem);
    min-height: 66px;
}

.home-page .nav {
    flex: 1;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: nowrap;
    gap: clamp(1rem, 2.1vw, 2.1rem);
    padding-left: clamp(5rem, 12vw, 10rem);
    min-width: 0;
    white-space: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
}

.home-page .nav::-webkit-scrollbar {
    display: none;
}

.home-page .nav a {
    color: #ffffff;
    font-size: 0.86rem;
    font-weight: 800;
    text-decoration: none;
    line-height: 1;
}

.home-page .nav a:hover,
.home-page .nav a:focus-visible {
    color: var(--home-lime);
}

.home-page .home-hero {
    position: relative;
    min-height: 548px;
    overflow: hidden;
    border-bottom: 1px solid rgba(135, 76, 255, 0.72);
    background: #04091e;
}

.home-page .home-hero-bg,
.home-page .home-games-bg,
.home-page .home-about-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.home-page .home-hero-bg {
    background-image:
        linear-gradient(90deg, rgba(3, 8, 24, 0.56) 0%, rgba(4, 10, 30, 0.26) 39%, rgba(4, 10, 30, 0.04) 70%),
        linear-gradient(180deg, rgba(3, 8, 24, 0.05) 0%, rgba(3, 8, 24, 0.16) 74%, rgba(3, 8, 24, 0.86) 100%),
        url("../images/home-hero-inclusive-2026.webp");
    background-size: cover;
    background-position: center top;
}

.home-page .home-hero-inner {
    position: relative;
    z-index: 1;
    min-height: 492px;
    display: flex;
    align-items: center;
    padding-top: 2.25rem;
    padding-bottom: 7rem;
}

.home-page .home-hero-copy {
    width: min(720px, 100%);
}

.home-page .home-hero h1 {
    margin: 0 0 1.1rem;
    color: #ffffff;
    font-size: clamp(2.35rem, 4.15vw, 3.45rem);
    line-height: 1.05;
    font-weight: 900;
    text-transform: uppercase;
    text-shadow: 0 10px 34px rgba(0, 0, 0, 0.42);
}

.home-page .home-hero h1 span {
    display: block;
    color: var(--home-lime);
}

.home-page .home-hero h1 .home-title-line {
    color: #ffffff;
}

.home-page .home-hero-copy p {
    max-width: 540px;
    margin: 0;
    color: #eef3ff;
    font-size: 1.06rem;
    line-height: 1.7;
    text-shadow: 0 5px 18px rgba(0, 0, 0, 0.45);
}

.home-page .home-hero-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 1.35rem;
    margin-top: 1.65rem;
}

.home-page .home-hero-chips span {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 800;
}

.home-page .home-hero-chips i {
    width: 24px;
    height: 24px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(167, 245, 12, 0.12);
    color: var(--home-lime);
    font-style: normal;
    box-shadow: 0 0 18px rgba(167, 245, 12, 0.36);
}

.home-page .home-hero-actions,
.home-page .home-section-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.home-page .home-hero-actions {
    margin-top: 2rem;
}

.home-page .home-stats-wrap {
    position: absolute;
    z-index: 2;
    left: 0;
    right: 0;
    bottom: -1px;
}

.home-page .home-stats {
    width: min(860px, calc(100% - 40px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    overflow: hidden;
    border: 1px solid rgba(73, 144, 255, 0.44);
    border-radius: 10px 10px 0 0;
    background: rgba(8, 20, 66, 0.86);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.32);
    backdrop-filter: blur(14px);
}

.home-page .home-stat {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 0.65rem;
    align-items: center;
    min-height: 72px;
    padding: 0.85rem 1.25rem;
}

.home-page .home-stat-icon {
    grid-row: span 2;
    width: 30px;
    height: 30px;
    display: inline-grid;
    place-items: center;
    font-size: 1.25rem;
}

.home-page .home-stat-icon.is-blue { color: #18c7ff; }
.home-page .home-stat-icon.is-gold { color: #ffbf1d; }
.home-page .home-stat-icon.is-rose { color: #ff3e83; }
.home-page .home-stat-icon.is-lime { color: #7dff45; }

.home-page .home-stat strong {
    color: #ffffff;
    font-size: clamp(0.92rem, 1.6vw, 1.15rem);
    line-height: 1.2;
}

.home-page .home-stat span:last-child {
    color: var(--home-muted);
    font-size: 0.78rem;
    font-weight: 700;
}

.home-page .home-section {
    position: relative;
    overflow: hidden;
}

.home-page .home-benefits {
    padding: 2.1rem 0 2rem;
    background:
        radial-gradient(circle at 9% 12%, rgba(24, 199, 255, 0.13), transparent 28%),
        radial-gradient(circle at 91% 20%, rgba(129, 58, 255, 0.14), transparent 30%),
        #031027;
    border-bottom: 1px solid rgba(65, 129, 255, 0.42);
}

.home-page .home-section-head {
    position: relative;
    z-index: 1;
    max-width: 780px;
    margin: 0 auto 1.7rem;
    text-align: center;
}

.home-page .home-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.65rem;
    padding: 0.28rem 0.72rem;
    border-radius: 6px;
    background: var(--home-lime);
    color: #061131;
    font-size: 0.68rem;
    font-weight: 1000;
    line-height: 1;
    text-transform: uppercase;
}

.home-page .home-kicker.is-purple {
    background: linear-gradient(135deg, #4f7dff, #9b45ff);
    color: #ffffff;
}

.home-page .home-kicker.is-blue {
    background: linear-gradient(135deg, #4f7dff, #7366ff);
    color: #ffffff;
}

.home-page .home-section-head h2 {
    margin: 0 0 0.35rem;
    color: #ffffff;
    font-size: clamp(1.8rem, 3.4vw, 2.55rem);
    line-height: 1.08;
    font-weight: 900;
}

.home-page .home-section-head p {
    margin: 0;
    color: var(--home-muted);
    font-size: 0.98rem;
}

.home-page .home-benefits-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 1rem;
}

.home-page .home-benefit-icon {
    width: 52px;
    height: 52px;
    display: inline-grid;
    place-items: center;
    margin-bottom: 0.75rem;
    font-size: 2rem;
    line-height: 1;
    filter: drop-shadow(0 8px 10px rgba(0, 0, 0, 0.25));
}

.home-page .home-section-actions {
    position: relative;
    z-index: 1;
    justify-content: center;
    margin-top: 1.45rem;
}

.home-page .home-games-showcase {
    padding: 2rem 0 2rem;
    min-height: 646px;
    background: #071534;
    border-bottom: 1px solid rgba(48, 119, 255, 0.48);
}

.home-page .home-games-bg {
    background-image:
        linear-gradient(180deg, rgba(6, 19, 44, 0.02) 0%, rgba(5, 15, 36, 0.42) 36%, rgba(5, 12, 31, 0.92) 100%),
        linear-gradient(90deg, rgba(5, 12, 31, 0.6), rgba(5, 12, 31, 0.12) 50%, rgba(5, 12, 31, 0.6)),
        url("../images/home-games-bg-2026.webp");
    background-size: cover;
    background-position: center top;
}

.home-page .home-games-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
}

.home-page .home-game-media {
    position: relative;
    z-index: 2;
    height: 154px;
    overflow: hidden;
    background: #101a43;
}

.home-page .home-game-media img,
.home-page .home-game-media .popular-game-placeholder,
.home-page .home-game-media video,
.home-page .home-game-media iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.home-page .home-game-badge {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    padding: 0.25rem 0.55rem;
    border-radius: 5px;
    background: #b8ff10;
    color: #061131;
    font-size: 0.68rem;
    font-weight: 1000;
}

.home-page .home-game-body {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    padding: 0.9rem 0.9rem 1rem;
}

.home-page .home-game-body h3 {
    margin: 0 0 0.35rem;
    color: #ffffff;
    font-size: 1.13rem;
    line-height: 1.15;
}

.home-page .home-game-body p {
    min-height: 58px;
    margin: 0 0 0.7rem;
    color: #d6e0ff;
    font-size: 0.86rem;
    line-height: 1.42;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-page .home-game-card .game-rating-badge {
    margin: 0 0 0.48rem;
    color: #c9d6ff;
    font-size: 0.78rem;
    font-weight: 800;
}

.home-page .home-game-card .game-rating-stars {
    color: #ffcb28;
}

.home-page .home-game-card .game-rating-badge.is-empty .game-rating-stars {
    color: #ffcb28;
}

.home-page .home-game-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    min-height: 28px;
    margin-bottom: 0.85rem;
}

.home-page .home-game-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0.22rem 0.55rem;
    border: 1px solid rgba(143, 163, 255, 0.28);
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.08);
    color: #e8edff;
    font-size: 0.72rem;
    font-weight: 800;
}

.home-page .home-game-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    width: 100%;
    /* Empurra o botao para a base do card, alinhando todos na mesma linha. */
    margin-top: auto;
    min-height: 46px;
    border-radius: 6px;
    background: linear-gradient(135deg, #763bff 0%, #14b9ff 100%);
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 1000;
    text-decoration: none;
    box-shadow: 0 12px 24px rgba(20, 185, 255, 0.28);
}

/* Card inteiro clicavel abrindo os detalhes do jogo (stretched link).
   A midia fica acima (z-index:2) para preservar o preview em hover. */
.home-page .home-game-btn::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
}

/* Nao usar filter/transform aqui: criaria bloco de contencao e encolheria o
   ::after do stretched link, quebrando o clique no card durante o hover. */
.home-page .home-game-btn:hover {
    box-shadow: 0 16px 30px rgba(20, 185, 255, 0.45);
}

.home-page .home-pricing {
    padding: 2rem 0 2.2rem;
    background:
        radial-gradient(circle at 12% 20%, rgba(33, 196, 255, 0.12), transparent 30%),
        radial-gradient(circle at 88% 10%, rgba(144, 54, 255, 0.16), transparent 28%),
        #061331;
    border-bottom: 1px solid rgba(78, 132, 255, 0.5);
}

.home-page .home-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
}

[data-billing-cycle-picker] {
    --component-bg: #ffffff;
    --component-panel: #eef2ff;
    --component-ink: #17203a;
    --component-muted: #52607a;
    --component-border: #c8d0e2;
    --component-accent: #5a48e8;
}

.home-page .home-plan-card[data-billing-cycle-picker] {
    --component-bg: #071537;
    --component-panel: rgba(7, 18, 53, 0.9);
    --component-ink: #f7f9ff;
    --component-muted: #cbd5ff;
    --component-border: rgba(185, 183, 255, 0.62);
    --component-accent: #b7f52a;
}

.billing-cycle-selector {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.3rem;
    max-width: 270px;
    margin: 0 auto 1rem;
    padding: 0.3rem;
    border: 1px solid var(--component-border);
    border-radius: 999px;
    background: var(--component-panel);
}

.billing-cycle-option {
    min-height: 38px;
    padding: 0.45rem 0.8rem;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--component-muted);
    font: inherit;
    font-size: 0.82rem;
    font-weight: 800;
    cursor: pointer;
}

.billing-cycle-option.is-active {
    background: var(--component-accent);
    color: var(--component-bg);
    box-shadow: 0 4px 14px rgba(32, 28, 94, 0.22);
}

.billing-cycle-option:focus-visible {
    outline: 3px solid #ffd84d;
    outline-offset: 2px;
}

.billing-cycle-panel[hidden] {
    display: none !important;
}

.billing-cycle-equivalent,
.billing-cycle-savings {
    margin: -0.55rem 0 0.85rem;
    color: var(--component-muted);
    text-align: center;
    font-size: 0.78rem;
    line-height: 1.4;
}

.billing-cycle-savings {
    display: table;
    margin: -0.35rem auto 0.9rem;
    padding: 0.25rem 0.6rem;
    border: 1px solid var(--component-accent);
    border-radius: 999px;
    color: var(--component-ink);
    font-weight: 800;
}

.registration-plan-summary {
    --component-bg: #eefbf6;
    --component-ink: #14543d;
    --component-border: #83d5b6;
    margin-bottom: 1rem;
    padding: 0.75rem 0.9rem;
    border: 1px solid var(--component-border);
    border-radius: 10px;
    background: var(--component-bg);
    color: var(--component-ink);
    font-weight: 700;
    text-align: center;
}

.registration-coupon-price {
    --component-bg: #eefbf6;
    --component-ink: #14543d;
    --component-border: #83d5b6;
    margin: 0 0 0.85rem;
    padding: 0.7rem 0.85rem;
    border: 1px solid var(--component-border);
    border-radius: 10px;
    background: var(--component-bg);
    color: var(--component-ink);
    font-size: 0.9rem;
    font-weight: 800;
    line-height: 1.45;
    text-align: center;
}

.registration-coupon-feedback {
    color: #a61b1b;
    font-weight: 700;
}

.parent-upgrade-handoff-content {
    --component-bg: #071331;
    --component-panel: #10205b;
    --component-ink: #f8fbff;
    --component-muted: #c0cef3;
    --component-border: rgba(124, 80, 255, 0.55);
    width: min(92vw, 520px);
    border: 1px solid var(--component-border);
    background: var(--component-bg);
    color: var(--component-ink);
}

.parent-upgrade-handoff-content > p:not(.parent-upgrade-eyebrow),
.parent-upgrade-handoff-content label {
    color: var(--component-muted);
}

.parent-upgrade-eyebrow {
    margin: 0 0 0.45rem;
    color: #a7f50c;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.parent-upgrade-feedback {
    min-height: 1.4rem;
    color: #ffd0d8 !important;
    font-weight: 700;
}

.jogo-card.is-conversion-highlight {
    outline: 3px solid #c7ff3d;
    outline-offset: 5px;
    box-shadow: 0 0 34px rgba(167, 245, 12, 0.35);
}

.home-page .home-about {
    position: relative;
    min-height: 314px;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 83, 190, 0.5);
    background: #061331;
}

.home-page .home-about-bg {
    background-image:
        linear-gradient(90deg, rgba(6, 19, 49, 0.94) 0%, rgba(6, 19, 49, 0.76) 42%, rgba(6, 19, 49, 0.08) 70%),
        url("../images/home-about-bg-2026.webp");
    background-size: cover;
    background-position: center center;
}

.home-page .home-about-inner {
    position: relative;
    z-index: 1;
    min-height: 314px;
    display: flex;
    align-items: center;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.home-page .home-about-copy {
    width: min(610px, 100%);
}

.home-page .home-about-copy h2 {
    margin: 0 0 1rem;
    color: #ffffff;
    font-size: clamp(2rem, 3.8vw, 3.2rem);
    line-height: 1.04;
}

.home-page .home-about-copy p {
    margin: 0 0 0.85rem;
    color: #edf3ff;
    font-size: 0.96rem;
    line-height: 1.68;
}

.home-page .home-about-copy .home-btn {
    margin-top: 0.75rem;
}

@media (max-width: 1120px) {
    .home-page .home-benefits-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .home-page .home-games-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-page .home-games-showcase {
        min-height: auto;
    }

}

@media (max-width: 920px) {
    .home-page .header {
        position: relative;
    }

    .home-page .header .container {
        flex-direction: row;
        align-items: center;
        gap: 0.8rem;
        min-height: 58px;
    }

    .home-page .home-brand {
        justify-content: flex-start;
    }

    .home-page .nav {
        justify-content: flex-start;
        gap: 0.72rem;
        padding-left: 0;
    }

    .home-page .home-hero-bg {
        background-position: 62% top;
    }

    .home-page .home-hero-inner {
        align-items: flex-start;
        padding-top: 3rem;
    }

    .home-page .home-hero-copy {
        max-width: 520px;
    }

    .home-page .home-pricing-grid {
        grid-template-columns: 1fr;
        max-width: 520px;
        margin: 0 auto;
    }

    .home-page .home-about-bg {
        background-position: 64% center;
    }
}

@media (max-width: 680px) {
    .home-page .container {
        padding: 0 0.75rem;
    }

    .home-page .nav {
        gap: 0.48rem;
    }

    .home-page .nav a {
        font-size: 0.72rem;
    }

    .home-page .home-brand-name {
        font-size: 1rem;
    }

    .home-page .home-brand-mark {
        width: 28px;
        height: 28px;
        flex-basis: 28px;
    }

    .home-page .home-brand-mark img {
        height: 28px;
    }

    .home-page .home-login-link {
        min-width: 58px;
        margin-left: 0;
        padding: 0.42rem 0.72rem;
    }

    .home-page .home-hero {
        min-height: 676px;
    }

    .home-page .home-hero-bg {
        background-image:
            linear-gradient(90deg, rgba(3, 8, 24, 0.76) 0%, rgba(4, 10, 30, 0.4) 64%, rgba(4, 10, 30, 0.08) 100%),
            linear-gradient(180deg, rgba(3, 8, 24, 0.08) 0%, rgba(3, 8, 24, 0.36) 60%, rgba(3, 8, 24, 0.92) 100%),
            url("../images/home-hero-inclusive-2026.webp");
        background-position: 66% top;
    }

    .home-page .home-hero-inner {
        min-height: 570px;
        padding-bottom: 10rem;
    }

    .home-page .home-hero h1 {
        font-size: clamp(1.72rem, 8vw, 2.25rem);
        line-height: 1.08;
    }

    .home-page .home-hero h1 .home-title-line {
        display: inline;
    }

    .home-page .home-hero h1 span:not(.home-title-line) {
        display: block;
    }

    .home-page .home-hero-actions .home-btn {
        width: 100%;
    }

    .home-page .home-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: calc(100% - 24px);
    }

    .home-page .home-stat {
        min-height: 64px;
        padding: 0.75rem;
    }

    .home-page .home-benefits-grid,
    .home-page .home-games-grid {
        grid-template-columns: 1fr;
    }

    .home-page .home-games-showcase,
    .home-page .home-pricing {
        padding-top: 2.6rem;
        padding-bottom: 2.6rem;
    }

    .home-page .home-game-media {
        height: 190px;
    }

    .home-page .home-about {
        min-height: 520px;
    }

    .home-page .home-about-bg {
        background-image:
            linear-gradient(180deg, rgba(6, 19, 49, 0.96) 0%, rgba(6, 19, 49, 0.8) 52%, rgba(6, 19, 49, 0.28) 100%),
            url("../images/home-about-bg-2026.webp");
        background-position: 70% center;
    }

    .home-page .home-about-inner {
        min-height: 520px;
        align-items: flex-start;
        padding-top: 2.4rem;
    }

    .home-page .home-news-form {
        flex-direction: column;
    }

    .home-page .home-news-form button {
        width: 100%;
    }

}

/* Home header foundation. */
html body.home-page .header {
    position: sticky;
    top: 0;
    z-index: 120;
    margin: 0;
    padding: 0;
    background: #071331 !important;
    border-bottom: 1px solid rgba(124, 80, 255, 0.42);
    box-shadow: none;
    backdrop-filter: none;
}

html body.home-page .header .container {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
    gap: clamp(1rem, 3vw, 2.4rem);
    min-height: 66px;
}

html body.home-page .home-brand {
    flex: 0 0 auto;
}

html body.home-page .home-brand a {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: #ffffff;
    text-decoration: none;
    font-family: "Sora", "Inter", "Segoe UI", sans-serif;
    font-weight: 800;
}

html body.home-page .home-brand-name {
    color: #ffffff;
    font-family: "Sora", "Inter", "Segoe UI", sans-serif;
    font-size: 1.23rem;
    line-height: 1;
    letter-spacing: 0;
    text-transform: none;
}

html body.home-page .nav {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: clamp(1rem, 2.1vw, 2.1rem);
    min-width: 0;
    padding-left: clamp(5rem, 12vw, 10rem);
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
}

html body.home-page .nav::-webkit-scrollbar {
    display: none;
}

/* O seletor de idioma fica fixo no fim da navbar e nunca e cortado, mesmo
   quando os links da navegacao transbordam e rolam por baixo dele. */
html body.home-page .header .nav .ruah-lang-switcher,
body.site-shell-page .header .nav .ruah-lang-switcher,
body.admin-template-page .header .nav .ruah-lang-switcher {
    position: sticky;
    right: 0;
    flex: 0 0 auto;
    margin-left: auto;
    z-index: 3;
    background: rgba(9, 20, 52, 0.96);
    border-color: rgba(150, 175, 240, 0.3);
    box-shadow: -14px 0 16px rgba(4, 10, 34, 0.9);
}

html body.home-page .nav a {
    flex: 0 0 auto;
    color: #ffffff;
    font-family: "Inter", "Segoe UI", sans-serif;
    font-size: 0.86rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0;
    text-decoration: none;
    text-transform: none;
}

html body.home-page .nav a:hover,
html body.home-page .nav a:focus-visible {
    color: var(--home-lime);
}

html body.home-page .home-login-link {
    min-width: 82px;
    margin-left: auto;
    padding: 0.52rem 1.25rem;
    border: 1px solid #8d43ff;
    border-radius: var(--home-radius);
    background: rgba(81, 43, 193, 0.18);
    color: #ffffff !important;
    text-align: center;
    box-shadow: inset 0 0 16px rgba(119, 67, 255, 0.26);
}

html body.home-page .header .ruah-lang-switcher {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    min-width: 176px;
    max-width: 210px;
    padding: 0;
    border: 1px solid rgba(122, 144, 220, 0.42);
    border-radius: var(--home-radius);
    background: rgba(27, 42, 87, 0.92);
    box-shadow: none;
}

html body.home-page .header .ruah-lang-label {
    display: none;
}

html body.home-page .header .ruah-lang-select {
    width: 100%;
    min-width: 0;
    height: 38px;
    padding: 0 0.95rem;
    border: 0;
    background: transparent;
    color: #e9efff;
    font-family: "Inter", "Segoe UI", sans-serif;
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0;
    text-transform: none;
    outline: none;
    cursor: pointer;
}

html body.home-page .header .ruah-lang-select option {
    background: #071331;
    color: #ffffff;
}

@media (max-width: 920px) {
    html body.home-page .header .container {
        min-height: 58px;
        gap: 0.8rem;
        flex-direction: row;
        justify-content: flex-start;
    }

    html body.home-page .header .logo {
        width: auto;
        justify-content: flex-start;
    }

    html body.home-page .nav {
        gap: 0.72rem;
        padding-left: 0;
        width: auto;
        justify-content: flex-start;
        flex-wrap: nowrap;
    }
}

@media (max-width: 680px) {
    html body.home-page .header .container {
        padding-right: 0.75rem;
        padding-left: 0.75rem;
        flex-direction: row;
        justify-content: flex-start;
    }

    html body.home-page .home-brand-name {
        font-size: 1rem;
    }

    html body.home-page .home-brand-mark {
        width: 28px;
        height: 28px;
        flex-basis: 28px;
    }

    html body.home-page .home-brand-mark img {
        height: 28px;
    }

    html body.home-page .nav {
        gap: 0.48rem;
    }

    html body.home-page .nav a {
        font-size: 0.72rem;
    }

    html body.home-page .home-login-link {
        min-width: 58px;
        margin-left: 0;
        padding: 0.42rem 0.72rem;
    }

    html body.home-page .header .ruah-lang-switcher {
        min-height: 30px;
        min-width: 132px;
        max-width: 150px;
    }

    html body.home-page .header .ruah-lang-select {
        height: 30px;
        padding: 0 0.6rem;
        font-size: 0.72rem;
    }
}

/* Shared 2026 shell: home visual applied across public, dashboard and admin pages. */
body.site-shell-page,
body.stream-layout-page,
body.games-stream-page,
body.admin-template-page {
    --home-bg: #030818;
    --home-bg-2: #07143a;
    --home-panel: rgba(16, 30, 86, 0.82);
    --home-panel-strong: rgba(9, 20, 64, 0.94);
    --home-line: rgba(110, 111, 255, 0.46);
    --home-line-soft: rgba(84, 211, 255, 0.24);
    --home-ink: #ffffff;
    --home-muted: #c7d5ff;
    --home-lime: #a7f50c;
    --home-cyan: #15c7ff;
    --home-purple: #7b42ff;
    --home-pink: #e338ff;
    --home-gold: #ffba1a;
    --home-orange: #f28a12;
    --home-radius: 8px;
    color: var(--home-ink);
    background:
        radial-gradient(circle at 12% 8%, rgba(21, 199, 255, 0.13), transparent 28%),
        radial-gradient(circle at 88% 12%, rgba(123, 66, 255, 0.22), transparent 30%),
        linear-gradient(180deg, #040a22 0%, #061331 42%, #030818 100%);
    font-family: "Inter", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body.site-shell-page .top-bar,
body.stream-layout-page .top-bar,
body.games-stream-page .top-bar,
body.admin-template-page .top-bar {
    display: none;
}

body.site-shell-page main,
body.stream-layout-page main,
body.games-stream-page main,
body.admin-template-page main {
    min-height: calc(100vh - 150px);
    min-height: calc(100dvh - 150px);
    background:
        radial-gradient(circle at 8% 4%, rgba(24, 199, 255, 0.1), transparent 26rem),
        radial-gradient(circle at 92% 12%, rgba(129, 58, 255, 0.16), transparent 24rem),
        linear-gradient(180deg, rgba(4, 12, 36, 0.92) 0%, rgba(3, 8, 24, 0.98) 100%);
}

body.site-shell-page .header,
body.stream-layout-page .header,
body.games-stream-page .header,
body.admin-template-page .header {
    position: sticky;
    top: 0;
    z-index: 120;
    margin: 0;
    padding: 0;
    background: #071331 !important;
    border-bottom: 1px solid rgba(124, 80, 255, 0.42);
    box-shadow: none;
    backdrop-filter: none;
}

body.site-shell-page .header .container,
body.stream-layout-page .header .container,
body.games-stream-page .header .container,
body.admin-template-page .header .container,
body.stream-layout-page .stream-header-inner,
body.games-stream-page .stream-header-inner {
    max-width: 1180px;
    min-height: 66px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: clamp(1rem, 3vw, 2.4rem);
}

/* Header logado (padrao Xbox Game Pass): marca ancorada a esquerda e acoes
   (upgrade/sair) na borda direita. Especificidade acima das regras de shell
   e de html body.home-page .header .container, que herdam flex-start. */
html body.stream-layout-page .header .stream-header-inner,
html body.games-stream-page .header .stream-header-inner {
    justify-content: space-between;
}

body.site-shell-page .logo,
body.site-shell-page .stream-header-left,
body.stream-layout-page .stream-header-left,
body.games-stream-page .stream-header-left,
body.admin-template-page .stream-header-left {
    flex: 0 0 auto;
}

body.site-shell-page .logo a,
body.site-shell-page .stream-header-brand,
body.stream-layout-page .stream-header-brand,
body.games-stream-page .stream-header-brand,
body.admin-template-page .stream-header-brand {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: #ffffff;
    font-family: "Sora", "Inter", "Segoe UI", sans-serif;
    font-size: 1.23rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0;
    text-decoration: none;
}

body.site-shell-page .logo a::after,
body.site-shell-page .stream-header-brand::after,
body.stream-layout-page .stream-header-brand::after,
body.games-stream-page .stream-header-brand::after,
body.admin-template-page .stream-header-brand::after {
    content: "RuahPlay";
}

body.site-shell-page .logo-img,
body.site-shell-page .stream-header-logo,
body.stream-layout-page .stream-header-logo,
body.games-stream-page .stream-header-logo,
body.admin-template-page .stream-header-logo {
    width: 34px;
    height: 34px;
    max-width: none;
    display: block;
    object-fit: cover;
    object-position: left center;
}

body.site-shell-page .nav,
body.games-stream-page .nav,
body.stream-layout-page .nav {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: clamp(0.9rem, 1.8vw, 1.8rem);
    min-width: 0;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
}

/* Seletor de idioma alinhado a direita, encostando no botao Sair.
   Especificidade alta de proposito para vencer 'html body.home-page .nav'. */
html body.stream-layout-page .stream-header .stream-header-language,
html body.games-stream-page .stream-header .stream-header-language,
html body.site-shell-page .stream-header .stream-header-language {
    flex: 1 1 auto;
    justify-content: flex-end;
    overflow: visible;
}

body.site-shell-page .nav::-webkit-scrollbar,
body.games-stream-page .nav::-webkit-scrollbar,
body.stream-layout-page .nav::-webkit-scrollbar {
    display: none;
}

body.site-shell-page .nav a,
body.games-stream-page .nav a,
body.stream-layout-page .nav a,
body.site-shell-page .nav span,
body.games-stream-page .nav span,
body.stream-layout-page .nav span {
    flex: 0 0 auto;
    color: #ffffff;
    font-family: "Inter", "Segoe UI", sans-serif;
    font-size: 0.86rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0;
    text-decoration: none;
    text-transform: none;
}

body.site-shell-page .nav a:hover,
body.site-shell-page .nav a:focus-visible,
body.games-stream-page .nav a:hover,
body.games-stream-page .nav a:focus-visible,
body.stream-layout-page .nav a:hover,
body.stream-layout-page .nav a:focus-visible {
    color: var(--home-lime);
}

body.site-shell-page .btn-link,
body.site-shell-page .home-login-link,
body.site-shell-page .stream-nav-button,
body.stream-layout-page .stream-nav-button,
body.games-stream-page .stream-nav-button,
body.admin-template-page .stream-nav-button {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.52rem 1.25rem;
    border: 1px solid #8d43ff;
    border-radius: var(--home-radius);
    background: rgba(81, 43, 193, 0.18);
    color: #ffffff !important;
    font-size: 0.84rem;
    font-weight: 800;
    text-decoration: none;
    box-shadow: inset 0 0 16px rgba(119, 67, 255, 0.26);
}

body.site-shell-page .stream-menu-panel,
body.stream-layout-page .stream-menu-panel,
body.games-stream-page .stream-menu-panel,
body.admin-template-page .stream-menu-panel {
    background: #071331;
    border: 1px solid rgba(122, 144, 220, 0.42);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.36);
}

body.site-shell-page .stream-menu-profile,
body.stream-layout-page .stream-menu-profile,
body.games-stream-page .stream-menu-profile,
body.admin-template-page .stream-menu-profile {
    border-bottom-color: rgba(122, 144, 220, 0.28);
}

body.site-shell-page .stream-menu-language,
body.stream-layout-page .stream-menu-language,
body.games-stream-page .stream-menu-language,
body.admin-template-page .stream-menu-language {
    border-top-color: rgba(122, 144, 220, 0.28);
}

body.site-shell-page .stream-menu-profile span,
body.stream-layout-page .stream-menu-profile span,
body.games-stream-page .stream-menu-profile span,
body.admin-template-page .stream-menu-profile span {
    color: #ffffff;
}

body.site-shell-page .stream-menu-item,
body.site-shell-page .stream-menu-panel a,
body.stream-layout-page .stream-menu-item,
body.stream-layout-page .stream-menu-panel a,
body.games-stream-page .stream-menu-item,
body.games-stream-page .stream-menu-panel a,
body.admin-template-page .stream-menu-item,
body.admin-template-page .stream-menu-panel a {
    color: #e9efff;
}

body.site-shell-page .stream-menu-panel a:hover,
body.site-shell-page .stream-menu-panel a:focus-visible,
body.stream-layout-page .stream-menu-panel a:hover,
body.stream-layout-page .stream-menu-panel a:focus-visible,
body.games-stream-page .stream-menu-panel a:hover,
body.games-stream-page .stream-menu-panel a:focus-visible,
body.admin-template-page .stream-menu-panel a:hover,
body.admin-template-page .stream-menu-panel a:focus-visible {
    background: rgba(255, 255, 255, 0.08);
    color: var(--home-lime);
}

body.site-shell-page .header .ruah-lang-switcher,
body.stream-layout-page .header .ruah-lang-switcher,
body.games-stream-page .header .ruah-lang-switcher,
body.admin-template-page .header .ruah-lang-switcher {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    min-width: 176px;
    max-width: 210px;
    padding: 0;
    border: 1px solid rgba(122, 144, 220, 0.42);
    border-radius: var(--home-radius);
    background: rgba(27, 42, 87, 0.92);
    box-shadow: none;
}

body.site-shell-page .header .ruah-lang-label,
body.stream-layout-page .header .ruah-lang-label,
body.games-stream-page .header .ruah-lang-label,
body.admin-template-page .header .ruah-lang-label {
    display: none;
}

body.site-shell-page .header .ruah-lang-select,
body.stream-layout-page .header .ruah-lang-select,
body.games-stream-page .header .ruah-lang-select,
body.admin-template-page .header .ruah-lang-select {
    width: 100%;
    height: 38px;
    padding: 0 0.95rem;
    border: 0;
    background: transparent;
    color: #e9efff;
    font-family: "Inter", "Segoe UI", sans-serif;
    font-size: 0.82rem;
    font-weight: 800;
    outline: none;
    cursor: pointer;
}

body.home-page .header .nav > select,
body.site-shell-page .header .nav > select,
body.stream-layout-page .header .nav > select,
body.games-stream-page .header .nav > select,
body.admin-template-page .header .nav > select {
    flex: 0 0 auto;
    min-width: 176px;
    height: 38px;
    padding: 0 0.95rem;
    border: 1px solid rgba(122, 144, 220, 0.42);
    border-radius: var(--home-radius);
    background: rgba(27, 42, 87, 0.92);
    color: #e9efff;
    font-family: "Inter", "Segoe UI", sans-serif;
    font-size: 0.82rem;
    font-weight: 800;
    outline: none;
    cursor: pointer;
}

body.site-shell-page .header .ruah-lang-select option,
body.stream-layout-page .header .ruah-lang-select option,
body.games-stream-page .header .ruah-lang-select option,
body.admin-template-page .header .ruah-lang-select option {
    background: #071331;
    color: #ffffff;
}

body.site-shell-page .section,
body.stream-layout-page .section,
body.games-stream-page .section,
body.admin-template-page .section {
    background: transparent;
}

body.site-shell-page .page-title,
body.stream-layout-page .page-title,
body.games-stream-page .page-title,
body.admin-template-page .page-title,
body.site-shell-page .section-title,
body.stream-layout-page .section-title,
body.games-stream-page .section-title,
body.admin-template-page .section-title,
body.site-shell-page h1,
body.stream-layout-page h1,
body.games-stream-page h1,
body.admin-template-page h1,
body.site-shell-page h2,
body.stream-layout-page h2,
body.games-stream-page h2,
body.admin-template-page h2 {
    color: #ffffff;
    font-family: "Sora", "Inter", "Segoe UI", sans-serif;
    letter-spacing: 0;
}

body.site-shell-page p,
body.stream-layout-page p,
body.games-stream-page p,
body.admin-template-page p,
body.site-shell-page .section-subtitle,
body.stream-layout-page .section-subtitle,
body.games-stream-page .section-subtitle,
body.admin-template-page .section-subtitle {
    color: var(--home-muted);
}

body.site-shell-page .section-card,
body.site-shell-page .blog-card,
body.site-shell-page .blog-detail,
body.site-shell-page .legal-page-card,
body.site-shell-page .pricing-card,
body.site-shell-page .popular-game-card,
body.site-shell-page .stat-card,
body.site-shell-page .child-card,
body.site-shell-page .top-games-list,
body.site-shell-page .payment-gateway-card,
body.stream-layout-page .section-card,
body.stream-layout-page .pricing-card,
body.stream-layout-page .popular-game-card,
body.stream-layout-page .stat-card,
body.stream-layout-page .child-card,
body.stream-layout-page .top-games-list,
body.stream-layout-page .payment-gateway-card,
body.games-stream-page .section-card,
body.games-stream-page .popular-game-card,
body.admin-template-page .section-card,
body.admin-template-page .stat-card,
body.admin-template-page .top-games-list,
body.admin-template-page .payment-gateway-card {
    border: 1px solid rgba(100, 124, 255, 0.36) !important;
    border-radius: var(--home-radius) !important;
    background: linear-gradient(180deg, rgba(39, 55, 137, 0.92), rgba(15, 27, 77, 0.96)) !important;
    color: #ffffff !important;
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.07) !important;
}

body.site-shell-page .section-card h2,
body.site-shell-page .section-card h3,
body.site-shell-page .blog-card h2,
body.site-shell-page .blog-card h3,
body.site-shell-page .legal-page-card h1,
body.site-shell-page .legal-page-card h2,
body.site-shell-page .legal-page-card h3,
body.stream-layout-page .section-card h2,
body.stream-layout-page .section-card h3,
body.games-stream-page .popular-game-card h3,
body.admin-template-page .section-card h2,
body.admin-template-page .section-card h3 {
    color: #ffffff !important;
}

body.site-shell-page .section-card p,
body.site-shell-page .blog-card p,
body.site-shell-page .legal-page-card p,
body.site-shell-page .legal-page-card li,
body.site-shell-page .legal-page-card td,
body.stream-layout-page .section-card p,
body.games-stream-page .popular-game-card p,
body.admin-template-page .section-card p {
    color: #d7e0ff !important;
}

body.site-shell-page .btn,
body.stream-layout-page .btn,
body.games-stream-page .btn,
body.admin-template-page .btn {
    border-radius: var(--home-radius) !important;
    font-family: "Inter", "Segoe UI", sans-serif;
    font-weight: 900;
    letter-spacing: 0;
}

body.site-shell-page .btn-primary,
body.stream-layout-page .btn-primary,
body.games-stream-page .btn-primary,
body.admin-template-page .btn-primary {
    border-color: transparent !important;
    background: linear-gradient(135deg, #9df40e 0%, #d7ff15 100%) !important;
    color: #061131 !important;
    box-shadow: 0 12px 28px rgba(167, 245, 12, 0.24);
}

body.site-shell-page .btn-secondary,
body.stream-layout-page .btn-secondary,
body.games-stream-page .btn-secondary,
body.admin-template-page .btn-secondary {
    border: 1px solid rgba(255, 255, 255, 0.32) !important;
    background: rgba(255, 255, 255, 0.09) !important;
    color: #ffffff !important;
}

body.site-shell-page input,
body.site-shell-page select,
body.site-shell-page textarea,
body.stream-layout-page input,
body.stream-layout-page select,
body.stream-layout-page textarea,
body.games-stream-page input,
body.games-stream-page select,
body.games-stream-page textarea,
body.admin-template-page input,
body.admin-template-page select,
body.admin-template-page textarea {
    border-color: rgba(122, 144, 220, 0.42);
    background: rgba(7, 19, 49, 0.82);
    color: #ffffff;
    min-height: 38px;
    padding: 0.55rem 0.7rem;
}

body.site-shell-page input::placeholder,
body.site-shell-page textarea::placeholder,
body.stream-layout-page input::placeholder,
body.stream-layout-page textarea::placeholder,
body.games-stream-page input::placeholder,
body.games-stream-page textarea::placeholder,
body.admin-template-page input::placeholder,
body.admin-template-page textarea::placeholder {
    color: rgba(215, 224, 255, 0.58);
}

body.site-shell-page label,
body.stream-layout-page label,
body.games-stream-page label,
body.admin-template-page label {
    color: #eef3ff;
}

body.site-shell-page .empty-state,
body.stream-layout-page .empty-state,
body.games-stream-page .empty-state,
body.admin-template-page .empty-state {
    color: #d7e0ff !important;
}

body.site-shell-page .alert,
body.stream-layout-page .alert,
body.games-stream-page .alert,
body.admin-template-page .alert {
    border-color: rgba(122, 144, 220, 0.38) !important;
    background: rgba(7, 19, 49, 0.88) !important;
    color: #ffffff !important;
}

body.site-shell-page .alert p,
body.stream-layout-page .alert p,
body.games-stream-page .alert p,
body.admin-template-page .alert p {
    color: #ffffff !important;
}

body.site-shell-page .alert-success,
body.stream-layout-page .alert-success,
body.games-stream-page .alert-success,
body.admin-template-page .alert-success {
    border-color: rgba(167, 245, 12, 0.42) !important;
}

body.site-shell-page .alert-error,
body.stream-layout-page .alert-error,
body.games-stream-page .alert-error,
body.admin-template-page .alert-error {
    border-color: rgba(255, 97, 126, 0.5) !important;
}

body.site-shell-page .table th,
body.site-shell-page .table td,
body.stream-layout-page .table th,
body.stream-layout-page .table td,
body.games-stream-page .table th,
body.games-stream-page .table td,
body.admin-template-page .table th,
body.admin-template-page .table td {
    color: #e9efff;
}

body.site-shell-page .table thead,
body.stream-layout-page .table thead,
body.games-stream-page .table thead,
body.admin-template-page .table thead {
    background: rgba(255, 255, 255, 0.08);
}

body.site-shell-page .footer:not(.home-footer),
body.stream-layout-page .footer:not(.home-footer),
body.games-stream-page .footer:not(.home-footer),
body.admin-template-page .footer:not(.home-footer) {
    margin-top: 0;
    background: #061027;
    border-top: 1px solid rgba(124, 80, 255, 0.42);
}

body.site-shell-page .footer:not(.home-footer) p,
body.stream-layout-page .footer:not(.home-footer) p,
body.games-stream-page .footer:not(.home-footer) p,
body.admin-template-page .footer:not(.home-footer) p {
    color: #c7d5ff;
}

body.site-shell-page .footer:not(.home-footer) a,
body.stream-layout-page .footer:not(.home-footer) a,
body.games-stream-page .footer:not(.home-footer) a,
body.admin-template-page .footer:not(.home-footer) a {
    color: #e9efff;
}

html body.about-page .header .home-brand a::after {
    content: none;
}

html body.about-page .header .home-brand-mark {
    width: auto;
    height: 34px;
    flex-basis: auto;
    overflow: visible;
}

html body.about-page .header .home-brand-mark img {
    width: auto;
    height: 34px;
    max-width: none;
}

@media (max-width: 920px) {
    body.site-shell-page .header .container,
    body.stream-layout-page .header .container,
    body.games-stream-page .header .container,
    body.admin-template-page .header .container {
        min-height: 58px;
        gap: 0.8rem;
        flex-direction: row;
        justify-content: flex-start;
    }

    body.site-shell-page .header .logo,
    body.stream-layout-page .header .logo,
    body.games-stream-page .header .logo,
    body.admin-template-page .header .logo {
        width: auto;
        justify-content: flex-start;
    }

    body.site-shell-page .nav,
    body.stream-layout-page .nav,
    body.games-stream-page .nav {
        gap: 0.72rem;
        width: auto;
        justify-content: flex-start;
        flex-wrap: nowrap;
    }
}

@media (max-width: 680px) {
    body.site-shell-page .header .container,
    body.stream-layout-page .header .container,
    body.games-stream-page .header .container,
    body.admin-template-page .header .container {
        padding-right: 0.75rem;
        padding-left: 0.75rem;
        flex-direction: row;
        justify-content: flex-start;
    }

    body.site-shell-page .logo a,
    body.site-shell-page .stream-header-brand,
    body.stream-layout-page .stream-header-brand,
    body.games-stream-page .stream-header-brand,
    body.admin-template-page .stream-header-brand {
        font-size: 1rem;
    }

    body.site-shell-page .logo-img,
    body.site-shell-page .stream-header-logo,
    body.stream-layout-page .stream-header-logo,
    body.games-stream-page .stream-header-logo,
    body.admin-template-page .stream-header-logo {
        width: 28px;
        height: 28px;
    }

    html body.about-page .header .home-brand-mark,
    html body.about-page .header .home-brand-mark img {
        height: 28px;
    }

    body.site-shell-page .nav a,
    body.stream-layout-page .nav a,
    body.games-stream-page .nav a {
        font-size: 0.72rem;
    }

    body.site-shell-page .header .ruah-lang-switcher,
    body.stream-layout-page .header .ruah-lang-switcher,
    body.games-stream-page .header .ruah-lang-switcher,
    body.admin-template-page .header .ruah-lang-switcher {
        min-height: 30px;
        min-width: 132px;
        max-width: 150px;
    }

    body.home-page .header .nav > select,
    body.site-shell-page .header .nav > select,
    body.stream-layout-page .header .nav > select,
    body.games-stream-page .header .nav > select,
    body.admin-template-page .header .nav > select {
        min-width: 132px;
        height: 30px;
        padding: 0 0.6rem;
        font-size: 0.72rem;
    }

    body.site-shell-page .header .ruah-lang-select,
    body.stream-layout-page .header .ruah-lang-select,
    body.games-stream-page .header .ruah-lang-select,
    body.admin-template-page .header .ruah-lang-select {
        height: 30px;
        padding: 0 0.6rem;
        font-size: 0.72rem;
    }
}

/* Catalog reference layout */
html.games-stream-document {
    /* The full-bleed hero uses viewport units; clip their scrollbar-width overrun. */
    overflow-x: clip;
}

body.games-stream-page .stream-main,
body.games-stream-page .games-page,
body.games-stream-page main.games-page {
    background:
        radial-gradient(circle at 18% 0%, rgba(21, 199, 255, 0.13), transparent 34rem),
        radial-gradient(circle at 90% 8%, rgba(123, 66, 255, 0.2), transparent 30rem),
        linear-gradient(180deg, #061331 0%, #041029 40%, #030818 100%) !important;
}

body.games-stream-page .catalog-hero {
    position: relative;
    overflow: hidden;
    min-height: 420px;
    display: flex;
    align-items: center;
    margin: 0 calc(50% - 50vw) 1.6rem;
    padding: clamp(2rem, 5vw, 4.5rem) calc(50vw - 590px + 1rem) 2rem;
    border-bottom: 1px solid rgba(124, 80, 255, 0.42);
    background: #061331;
}

body.games-stream-page .catalog-hero-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(90deg, rgba(4, 10, 30, 0.92) 0%, rgba(4, 10, 30, 0.76) 33%, rgba(4, 10, 30, 0.22) 68%, rgba(4, 10, 30, 0.52) 100%),
        linear-gradient(180deg, rgba(4, 10, 30, 0.16) 0%, rgba(4, 10, 30, 0.72) 100%),
        url("../images/home-hero-inclusive-2026.webp");
    background-size: cover;
    background-position: center top;
}

body.games-stream-page .catalog-hero-content {
    position: relative;
    z-index: 1;
    width: min(1060px, 100%);
}

body.games-stream-page .catalog-kicker {
    margin: 0 0 0.75rem;
    color: var(--home-lime);
    font-size: 0.82rem;
    font-weight: 1000;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

body.games-stream-page .catalog-title {
    max-width: 650px;
    margin: 0 0 1rem;
    color: #ffffff !important;
    font-size: clamp(2.35rem, 5vw, 4.25rem);
    line-height: 1.04;
    font-weight: 900;
    text-shadow: 0 12px 34px rgba(0, 0, 0, 0.42);
}

body.games-stream-page .catalog-title span {
    color: var(--home-lime);
}

body.games-stream-page .catalog-title em {
    color: #9c5cff;
    font-style: normal;
}

body.games-stream-page .catalog-lead {
    max-width: 590px;
    margin: 0 0 1.55rem;
    color: #eef3ff !important;
    font-size: 1.02rem;
    line-height: 1.75;
}

body.games-stream-page .catalog-search {
    width: min(500px, 100%);
    min-height: 58px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1.35rem;
    padding: 0 1.05rem;
    border: 1px solid rgba(21, 199, 255, 0.64);
    border-radius: 999px;
    background: rgba(3, 12, 33, 0.74);
    box-shadow: inset 0 0 20px rgba(21, 199, 255, 0.08), 0 14px 34px rgba(0, 0, 0, 0.26);
    backdrop-filter: blur(10px);
}

body.games-stream-page .catalog-search input {
    flex: 1;
    min-width: 0;
    height: 54px;
    padding: 0;
    border: 0;
    background: transparent !important;
    color: #ffffff;
    font-size: 0.95rem;
    outline: none;
}

body.games-stream-page .catalog-search input::placeholder {
    color: #b8c8f8;
}

body.games-stream-page .catalog-search button {
    width: 36px;
    height: 36px;
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #ffffff;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
}

body.games-stream-page .catalog-search button:hover,
body.games-stream-page .catalog-search button:focus-visible {
    background: rgba(255, 255, 255, 0.1);
    outline: none;
}

body.games-stream-page .catalog-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

body.games-stream-page .catalog-pill,
body.games-stream-page .catalog-select select {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0 1.25rem;
    border: 1px solid rgba(100, 124, 255, 0.46);
    border-radius: 8px;
    background: rgba(10, 25, 70, 0.86);
    color: #ffffff;
    font-size: 0.84rem;
    font-weight: 900;
    text-decoration: none;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

body.games-stream-page .catalog-pill.is-hot {
    border-color: rgba(167, 245, 12, 0.72);
    background: linear-gradient(135deg, #9df40e 0%, #d7ff15 100%);
    color: #061131;
    box-shadow: 0 12px 28px rgba(167, 245, 12, 0.28);
}

body.games-stream-page .catalog-pill strong {
    padding: 0.24rem 0.45rem;
    border-radius: 5px;
    background: #8952ff;
    color: #ffffff;
    font-size: 0.7rem;
    line-height: 1;
}

body.games-stream-page .catalog-select {
    display: inline-flex;
}

body.games-stream-page .catalog-select select {
    min-width: 170px;
    appearance: auto;
    cursor: pointer;
}

body.games-stream-page .catalog-section {
    margin-bottom: 1.35rem;
    padding: clamp(1rem, 2.4vw, 1.8rem) !important;
    border-color: rgba(21, 199, 255, 0.32) !important;
    background:
        linear-gradient(180deg, rgba(4, 17, 48, 0.92), rgba(3, 12, 33, 0.96)) !important;
}

body.games-stream-page .games-list-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.2rem;
}

body.games-stream-page .games-list-header h2 {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    margin: 0;
    color: #ffffff !important;
    font-size: clamp(1.35rem, 2.4vw, 1.9rem);
    line-height: 1.1;
}

body.games-stream-page .games-list-header .btn {
    min-height: 38px;
    padding: 0.55rem 1rem;
    border-color: rgba(21, 145, 255, 0.48) !important;
    background: rgba(12, 37, 91, 0.86) !important;
    color: #ffffff !important;
    font-size: 0.78rem;
}

body.games-stream-page .popular-games-scroll,
body.games-stream-page .jogos-horizontal-scroll {
    gap: 1.55rem;
    padding: 0.25rem 0 0.25rem;
    scrollbar-color: #15c7ff rgba(7, 19, 49, 0.9);
}

body.games-stream-page .jogos-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

body.games-stream-page .jogo-card {
    overflow: hidden;
    min-height: 100%;
    border: 1px solid rgba(21, 199, 255, 0.42) !important;
    border-radius: 8px !important;
    background: linear-gradient(180deg, rgba(9, 30, 78, 0.96), rgba(4, 13, 42, 0.98)) !important;
    color: #ffffff !important;
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.34), inset 0 0 18px rgba(21, 199, 255, 0.08) !important;
}

body.games-stream-page .jogos-horizontal-scroll > .jogo-card {
    flex-basis: 320px !important;
    width: 320px !important;
    min-width: 320px !important;
    max-width: 320px !important;
}

body.games-stream-page .jogo-image,
body.games-stream-page .popular-game-image {
    height: 178px;
    background: #071331;
}

body.games-stream-page .jogo-image img,
body.games-stream-page .popular-game-image img {
    filter: saturate(1.08) contrast(1.02);
}

body.games-stream-page .jogo-content,
body.games-stream-page .popular-game-info {
    padding: 1rem !important;
    background: transparent !important;
    color: #ffffff !important;
}

body.games-stream-page .jogo-content h3,
body.games-stream-page .popular-game-info h3 {
    min-height: 2.3em;
    margin: 0 0 0.45rem;
    color: #ffffff !important;
    font-size: 1.08rem;
    line-height: 1.16;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.22);
}

body.games-stream-page .jogo-desc,
body.games-stream-page .popular-game-info p {
    min-height: 4.35em;
    color: #d7e0ff !important;
    font-size: 0.86rem;
    line-height: 1.45;
}

body.games-stream-page .game-rating-badge {
    color: #cbd8ff !important;
    font-size: 0.78rem;
    font-weight: 800;
}

body.games-stream-page .game-rating-stars {
    color: #ffbf1d !important;
}

body.games-stream-page .game-rating-score,
body.games-stream-page .game-rating-total {
    color: #cbd8ff !important;
}

body.games-stream-page .jogo-info {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin: 0.85rem 0;
}

body.games-stream-page .jogo-idade,
body.games-stream-page .jogo-categoria,
body.games-stream-page .popular-game-age,
body.games-stream-page .popular-game-category {
    min-height: 24px;
    display: inline-flex;
    align-items: center;
    padding: 0.22rem 0.55rem;
    border: 1px solid rgba(21, 199, 255, 0.34);
    border-radius: 999px;
    background: rgba(5, 24, 70, 0.78);
    color: #dce7ff !important;
    font-size: 0.72rem;
    font-weight: 800;
}

body.games-stream-page .btn-play {
    width: 100%;
    min-height: 44px;
    margin-top: auto;
    border-radius: 7px !important;
    background: linear-gradient(135deg, #9df40e 0%, #d7ff15 100%) !important;
    color: #061131 !important;
    font-size: 0.8rem;
    font-weight: 1000;
}

body.games-stream-page #novidades .btn-play,
body.games-stream-page .catalog-all-section .btn-play:nth-child(n) {
    background: linear-gradient(135deg, #763bff 0%, #14b9ff 100%) !important;
    color: #ffffff !important;
}

body.games-stream-page #mais-jogados .btn-play {
    background: linear-gradient(135deg, #9df40e 0%, #d7ff15 100%) !important;
    color: #061131 !important;
}

body.games-stream-page .game-details-link-btn {
    min-height: 38px;
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.07);
    color: #e9efff !important;
    font-size: 0.78rem;
    font-weight: 900;
}

body.games-stream-page .game-details-link-btn::after {
    content: "ⓘ";
    margin-left: 0.45rem;
    font-weight: 700;
}

body.games-stream-page .game-meta-note,
body.games-stream-page small {
    color: #c7d5ff !important;
}

body.games-stream-page .catalog-empty-message {
    margin: 1rem 0 1.35rem;
    padding: 1rem;
    border: 1px solid rgba(21, 199, 255, 0.32);
    border-radius: 8px;
    background: rgba(5, 24, 70, 0.78);
    color: #ffffff !important;
    text-align: center;
    font-weight: 800;
}

body.games-stream-page .catalog-newsletter {
    min-height: 144px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) minmax(280px, 520px);
    align-items: center;
    gap: 1.2rem;
    margin: 1.4rem 0 1.8rem;
    padding: 1.2rem 1.5rem;
    border: 1px solid rgba(126, 74, 255, 0.58);
    border-radius: 10px;
    background:
        radial-gradient(circle at 4% 50%, rgba(156, 64, 255, 0.36), transparent 18rem),
        linear-gradient(135deg, rgba(50, 28, 123, 0.96), rgba(8, 42, 112, 0.96));
    overflow: hidden;
}

body.games-stream-page .catalog-newsletter-art {
    width: 96px;
    height: 96px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(21, 199, 255, 0.12);
    color: #ffffff;
    font-size: 3rem;
    box-shadow: 0 0 34px rgba(156, 64, 255, 0.46);
}

body.games-stream-page .catalog-newsletter h2 {
    margin: 0 0 0.3rem;
    color: #ffffff !important;
    font-size: clamp(1.4rem, 2.6vw, 2rem);
    line-height: 1.05;
}

body.games-stream-page .catalog-newsletter h2 span {
    display: block;
    color: var(--home-lime);
}

body.games-stream-page .catalog-newsletter p {
    margin: 0;
    color: #d7e0ff !important;
}

body.games-stream-page .catalog-newsletter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

body.games-stream-page .catalog-newsletter-form input {
    flex: 1;
    min-width: 0;
    height: 52px;
    border: 1px solid rgba(122, 144, 220, 0.38);
    border-radius: 8px;
    background: rgba(7, 19, 49, 0.74);
    color: #ffffff;
}

body.games-stream-page .catalog-newsletter-form button {
    min-height: 52px;
    padding: 0 1.2rem;
    border: 0;
    border-radius: 8px;
    background: linear-gradient(135deg, #9df40e 0%, #d7ff15 100%);
    color: #061131;
    font-size: 0.78rem;
    font-weight: 1000;
    text-transform: uppercase;
    cursor: pointer;
}

body.games-stream-page .catalog-form-message {
    flex: 0 0 100%;
    min-height: 1.25rem;
    margin: 0;
    color: #d7e0ff !important;
    font-size: 0.82rem;
    font-weight: 800;
}

body.games-stream-page .catalog-form-message.is-success {
    color: #b7ff4d !important;
}

body.games-stream-page .catalog-form-message.is-error {
    color: #ffb4c2 !important;
}

body.games-stream-page .catalog-newsletter-form button span {
    display: none;
}

body.games-stream-page .catalog-newsletter-form button::after {
    content: "\2192";
    margin-left: 0.55rem;
}

body.games-stream-page [hidden] {
    display: none !important;
}

@media (max-width: 1120px) {
    body.games-stream-page .catalog-hero {
        padding-right: 1.25rem;
        padding-left: 1.25rem;
    }

    body.games-stream-page .jogos-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    body.games-stream-page .catalog-newsletter {
        grid-template-columns: auto 1fr;
    }

    body.games-stream-page .catalog-newsletter-form {
        grid-column: 1 / -1;
    }
}

@media (max-width: 760px) {
    body.games-stream-page .catalog-hero {
        min-height: 560px;
        padding-top: 2rem;
        align-items: flex-start;
    }

    body.games-stream-page .catalog-hero-bg {
        background-position: 64% top;
    }

    body.games-stream-page .catalog-title {
        font-size: clamp(2rem, 11vw, 3rem);
    }

    body.games-stream-page .catalog-toolbar {
        gap: 0.55rem;
    }

    body.games-stream-page .catalog-pill,
    body.games-stream-page .catalog-select,
    body.games-stream-page .catalog-select select {
        width: 100%;
    }

    body.games-stream-page .jogos-grid {
        grid-template-columns: 1fr;
    }

    body.games-stream-page .jogos-horizontal-scroll > .jogo-card {
        flex-basis: 82vw !important;
        width: 82vw !important;
        min-width: 82vw !important;
        max-width: 82vw !important;
    }

    body.games-stream-page .games-list-header {
        align-items: flex-start;
        flex-direction: column;
    }

    body.games-stream-page .catalog-newsletter {
        grid-template-columns: 1fr;
        text-align: center;
    }

    body.games-stream-page .catalog-newsletter-art {
        margin: 0 auto;
    }

    body.games-stream-page .catalog-newsletter-form {
        flex-direction: column;
    }

    body.games-stream-page .catalog-newsletter-form input,
    body.games-stream-page .catalog-newsletter-form button {
        width: 100%;
    }
}

/* ===== Mobile navbar sidebar (off-canvas menu) ===== */
.ruah-sidebar-toggle,
body.site-shell-page .ruah-sidebar-toggle,
body.stream-layout-page .ruah-sidebar-toggle,
body.games-stream-page .ruah-sidebar-toggle,
body.admin-template-page .ruah-sidebar-toggle {
    display: none;
    padding: 0.55rem 0.7rem;
}

.ruah-sidebar-toggle-icon {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 20px;
}

.ruah-sidebar-toggle-icon span {
    display: block;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
}

.ruah-sidebar-backdrop {
    position: fixed;
    inset: 0;
    z-index: 190;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(2px);
}

.ruah-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 200;
    display: flex;
    flex-direction: column;
    width: min(320px, 86vw);
    background: #ffffff;
    color: #0f172a;
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.28);
    transform: translateX(-102%);
    transition: transform 0.28s ease;
    visibility: hidden;
}

.ruah-sidebar.is-open {
    transform: translateX(0);
    visibility: visible;
}

body.ruah-sidebar-locked {
    overflow: hidden;
}

.ruah-sidebar-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    background: linear-gradient(135deg, #f0f8fa 0%, #ffffff 100%);
}

.ruah-sidebar-profile {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}

.ruah-sidebar-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: #ffffff;
    font-size: 1.35rem;
    font-weight: 800;
}

.ruah-sidebar-avatar.has-photo {
    background: #e2e8f0;
}

.ruah-sidebar-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ruah-sidebar-profile-info {
    min-width: 0;
}

.ruah-sidebar-profile-info span,
.ruah-sidebar-profile-info small {
    display: block;
}

.ruah-sidebar-profile-info span {
    font-weight: 800;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ruah-sidebar-profile-info small {
    color: var(--text-light);
    font-size: 0.8rem;
    margin-top: 0.15rem;
}

.ruah-sidebar-close {
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    border: 1px solid #b9ccd6;
    border-radius: 8px;
    background: #ffffff;
    color: var(--dark-color);
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
}

.ruah-sidebar-close:hover,
.ruah-sidebar-close:focus-visible {
    background: #f0f8fa;
    color: var(--primary-color);
    outline: none;
}

.ruah-sidebar-nav {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: 0.75rem;
    overflow-y: auto;
}

.ruah-sidebar-link {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 0.65rem 0.75rem;
    border-radius: 8px;
    color: #0f172a;
    text-decoration: none;
    font-weight: 650;
}

.ruah-sidebar-link:hover,
.ruah-sidebar-link:focus-visible {
    background: #edf5f8;
    color: var(--primary-color);
    outline: none;
}

.ruah-sidebar-link.is-current {
    color: #94a3b8;
    background: #f1f5f9;
    cursor: default;
}

.ruah-sidebar-footer {
    padding: 0.75rem;
    border-top: 1px solid var(--border-color);
}

.ruah-sidebar-language {
    display: none;
    margin-bottom: 0.6rem;
}

.ruah-sidebar-language .ruah-lang-switcher {
    width: 100%;
    justify-content: space-between;
}

.ruah-sidebar-language .ruah-lang-select {
    flex: 1 1 auto;
    width: 100%;
    text-align: center;
}

.ruah-sidebar-logout {
    justify-content: center;
    border: 1px solid #b9ccd6;
    font-weight: 700;
}

/* Dark stream shell theme */
body.site-shell-page .ruah-sidebar,
body.stream-layout-page .ruah-sidebar,
body.games-stream-page .ruah-sidebar,
body.admin-template-page .ruah-sidebar {
    background: #071331;
    color: #e9efff;
    border-right: 1px solid rgba(122, 144, 220, 0.42);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.36);
}

body.site-shell-page .ruah-sidebar-header,
body.stream-layout-page .ruah-sidebar-header,
body.games-stream-page .ruah-sidebar-header,
body.admin-template-page .ruah-sidebar-header {
    background: linear-gradient(135deg, rgba(119, 67, 255, 0.18) 0%, rgba(7, 19, 49, 0) 100%);
    border-bottom-color: rgba(122, 144, 220, 0.28);
}

body.site-shell-page .ruah-sidebar-profile-info span,
body.stream-layout-page .ruah-sidebar-profile-info span,
body.games-stream-page .ruah-sidebar-profile-info span,
body.admin-template-page .ruah-sidebar-profile-info span {
    color: #ffffff;
}

body.site-shell-page .ruah-sidebar-profile-info small,
body.stream-layout-page .ruah-sidebar-profile-info small,
body.games-stream-page .ruah-sidebar-profile-info small,
body.admin-template-page .ruah-sidebar-profile-info small {
    color: #9fb0d8;
}

body.site-shell-page .ruah-sidebar-avatar,
body.stream-layout-page .ruah-sidebar-avatar,
body.games-stream-page .ruah-sidebar-avatar,
body.admin-template-page .ruah-sidebar-avatar {
    background: linear-gradient(135deg, #512bc1 0%, #8d43ff 100%);
    box-shadow: inset 0 0 16px rgba(119, 67, 255, 0.26);
}

body.site-shell-page .ruah-sidebar-close,
body.stream-layout-page .ruah-sidebar-close,
body.games-stream-page .ruah-sidebar-close,
body.admin-template-page .ruah-sidebar-close {
    background: rgba(81, 43, 193, 0.18);
    border-color: #8d43ff;
    color: #ffffff;
}

body.site-shell-page .ruah-sidebar-link,
body.stream-layout-page .ruah-sidebar-link,
body.games-stream-page .ruah-sidebar-link,
body.admin-template-page .ruah-sidebar-link {
    color: #e9efff;
}

body.site-shell-page .ruah-sidebar-link:hover,
body.site-shell-page .ruah-sidebar-link:focus-visible,
body.stream-layout-page .ruah-sidebar-link:hover,
body.stream-layout-page .ruah-sidebar-link:focus-visible,
body.games-stream-page .ruah-sidebar-link:hover,
body.games-stream-page .ruah-sidebar-link:focus-visible,
body.admin-template-page .ruah-sidebar-link:hover,
body.admin-template-page .ruah-sidebar-link:focus-visible {
    background: rgba(255, 255, 255, 0.08);
    color: var(--home-lime);
}

body.site-shell-page .ruah-sidebar-link.is-current,
body.stream-layout-page .ruah-sidebar-link.is-current,
body.games-stream-page .ruah-sidebar-link.is-current,
body.admin-template-page .ruah-sidebar-link.is-current {
    background: rgba(255, 255, 255, 0.06);
    color: #8ea2cf;
}

body.site-shell-page .ruah-sidebar-footer,
body.stream-layout-page .ruah-sidebar-footer,
body.games-stream-page .ruah-sidebar-footer,
body.admin-template-page .ruah-sidebar-footer {
    border-top-color: rgba(122, 144, 220, 0.28);
}

body.site-shell-page .ruah-sidebar-logout,
body.stream-layout-page .ruah-sidebar-logout,
body.games-stream-page .ruah-sidebar-logout,
body.admin-template-page .ruah-sidebar-logout {
    border: 1px solid #8d43ff;
    background: rgba(81, 43, 193, 0.18);
    box-shadow: inset 0 0 16px rgba(119, 67, 255, 0.26);
    color: #ffffff;
}

body.site-shell-page .ruah-sidebar .ruah-lang-switcher,
body.stream-layout-page .ruah-sidebar .ruah-lang-switcher,
body.games-stream-page .ruah-sidebar .ruah-lang-switcher,
body.admin-template-page .ruah-sidebar .ruah-lang-switcher {
    background: rgba(81, 43, 193, 0.18);
    border: 1px solid #8d43ff;
    border-radius: 8px;
    padding: 0.45rem 0.6rem;
    box-shadow: inset 0 0 16px rgba(119, 67, 255, 0.26);
}

body.site-shell-page .ruah-sidebar .ruah-lang-label,
body.stream-layout-page .ruah-sidebar .ruah-lang-label,
body.games-stream-page .ruah-sidebar .ruah-lang-label,
body.admin-template-page .ruah-sidebar .ruah-lang-label {
    color: #9fb0d8;
}

body.site-shell-page .ruah-sidebar .ruah-lang-select,
body.stream-layout-page .ruah-sidebar .ruah-lang-select,
body.games-stream-page .ruah-sidebar .ruah-lang-select,
body.admin-template-page .ruah-sidebar .ruah-lang-select {
    color: #ffffff;
}

body.site-shell-page .ruah-sidebar .ruah-lang-select option,
body.stream-layout-page .ruah-sidebar .ruah-lang-select option,
body.games-stream-page .ruah-sidebar .ruah-lang-select option,
body.admin-template-page .ruah-sidebar .ruah-lang-select option {
    color: #0f172a;
}

@media (max-width: 768px) {
    .ruah-sidebar-toggle,
    body.site-shell-page .ruah-sidebar-toggle,
    body.stream-layout-page .ruah-sidebar-toggle,
    body.games-stream-page .ruah-sidebar-toggle,
    body.admin-template-page .ruah-sidebar-toggle {
        display: inline-flex;
        padding: 0.55rem 0.7rem;
    }

    .stream-menu {
        display: none;
    }

    /* Logout e idioma migram para dentro da sidebar; logo vai para a direita */
    .stream-header.has-mobile-sidebar .stream-header-language,
    .stream-header.has-mobile-sidebar .stream-header-right {
        display: none;
    }

    .games-stream-page .stream-header.has-mobile-sidebar .stream-header-inner,
    .stream-layout-page .stream-header.has-mobile-sidebar .stream-header-inner,
    .site-shell-page .stream-header.has-mobile-sidebar .stream-header-inner,
    .admin-template-page .stream-header.has-mobile-sidebar .stream-header-inner {
        grid-template-columns: 1fr;
    }

    .stream-header.has-mobile-sidebar .stream-header-left {
        width: 100%;
        justify-content: space-between;
    }

    .ruah-sidebar-language {
        display: flex;
    }
}

/* ===== Sidebar brand logo sizing (fixes broken header layout) ===== */
.ruah-sidebar-brand-logo {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    object-fit: contain;
    display: block;
}

.ruah-sidebar-brand .ruah-sidebar-profile-info small {
    white-space: normal;
    line-height: 1.35;
}

/* ===== Home page: hide desktop nav on mobile (hamburger takes over) ===== */
@media (max-width: 768px) {
    html body.home-page .nav {
        display: none !important;
    }

    html body.home-page .header .container {
        justify-content: space-between;
        min-height: 60px;
    }
}

/* ===== Home page: gamer sidebar theme (navy + neon lime) ===== */
body.home-page .ruah-sidebar-toggle {
    border: 1px solid #8d43ff;
    background: rgba(81, 43, 193, 0.18);
    color: #ffffff;
    box-shadow: inset 0 0 16px rgba(119, 67, 255, 0.26);
}

body.home-page .ruah-sidebar-toggle:hover,
body.home-page .ruah-sidebar-toggle:focus-visible {
    background: rgba(119, 67, 255, 0.32);
    border-color: var(--home-lime);
    color: var(--home-lime);
}

body.home-page .ruah-sidebar-backdrop {
    background: rgba(3, 8, 24, 0.74);
    backdrop-filter: blur(4px);
}

body.home-page .ruah-sidebar {
    background: linear-gradient(180deg, #0a1a42 0%, #071331 52%, #050d24 100%);
    color: var(--home-ink, #ffffff);
    border-right: 1px solid rgba(124, 80, 255, 0.42);
    box-shadow: 12px 0 42px rgba(3, 8, 24, 0.6), 0 0 34px rgba(123, 66, 255, 0.22);
}

body.home-page .ruah-sidebar::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(420px 220px at -10% -6%, rgba(123, 66, 255, 0.28) 0%, transparent 66%),
        radial-gradient(300px 200px at 110% 104%, rgba(21, 199, 255, 0.14) 0%, transparent 70%);
}

body.home-page .ruah-sidebar > * {
    position: relative;
}

body.home-page .ruah-sidebar-header {
    align-items: center;
    background: linear-gradient(135deg, rgba(123, 66, 255, 0.2) 0%, rgba(21, 199, 255, 0.06) 62%, transparent 100%);
    border-bottom: 1px solid rgba(124, 80, 255, 0.34);
}

body.home-page .ruah-sidebar-brand-logo {
    width: 38px;
    height: 38px;
    filter: drop-shadow(0 0 10px rgba(167, 245, 12, 0.35));
}

body.home-page .ruah-sidebar-profile-info span {
    color: #ffffff;
    font-family: "Sora", "Inter", "Segoe UI", sans-serif;
    font-weight: 800;
    letter-spacing: 0.01em;
}

body.home-page .ruah-sidebar-profile-info small {
    color: var(--home-muted, #c7d5ff);
}

body.home-page .ruah-sidebar-avatar {
    background: linear-gradient(135deg, #512bc1 0%, #8d43ff 100%);
    box-shadow: inset 0 0 16px rgba(119, 67, 255, 0.26);
}

body.home-page .ruah-sidebar-close {
    border: 1px solid #8d43ff;
    background: rgba(81, 43, 193, 0.18);
    color: #ffffff;
    border-radius: var(--home-radius, 8px);
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

body.home-page .ruah-sidebar-close:hover,
body.home-page .ruah-sidebar-close:focus-visible {
    background: rgba(119, 67, 255, 0.32);
    border-color: var(--home-lime);
    color: var(--home-lime);
    transform: rotate(90deg);
}

body.home-page .ruah-sidebar-nav {
    padding: 0.9rem 0.75rem;
    gap: 0.3rem;
}

body.home-page .ruah-sidebar-link {
    color: #e9efff;
    font-weight: 700;
    font-size: 1rem;
    border-radius: var(--home-radius, 8px);
    transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease, padding-left 0.18s ease;
}

body.home-page .ruah-sidebar-link:hover,
body.home-page .ruah-sidebar-link:focus-visible {
    background: rgba(255, 255, 255, 0.07);
    color: var(--home-lime);
    box-shadow: inset 3px 0 0 var(--home-lime);
    padding-left: 1rem;
}

body.home-page .ruah-sidebar-link.is-current {
    background: rgba(167, 245, 12, 0.1);
    color: var(--home-lime);
    box-shadow: inset 3px 0 0 var(--home-lime);
}

body.home-page .ruah-sidebar-footer {
    border-top: 1px solid rgba(124, 80, 255, 0.34);
}

body.home-page .ruah-sidebar-logout {
    border: none;
    background: var(--home-lime);
    color: #071331;
    font-weight: 800;
    letter-spacing: 0.02em;
    box-shadow: 0 6px 20px rgba(167, 245, 12, 0.32);
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

body.home-page .ruah-sidebar-logout:hover,
body.home-page .ruah-sidebar-logout:focus-visible {
    background: var(--home-lime);
    color: #071331;
    filter: brightness(1.08);
    transform: translateY(-1px);
    box-shadow: 0 10px 26px rgba(167, 245, 12, 0.42);
}

body.home-page .ruah-sidebar .ruah-lang-switcher {
    background: rgba(81, 43, 193, 0.18);
    border: 1px solid #8d43ff;
    border-radius: var(--home-radius, 8px);
    padding: 0.45rem 0.6rem;
    box-shadow: inset 0 0 16px rgba(119, 67, 255, 0.26);
}

body.home-page .ruah-sidebar .ruah-lang-label {
    color: var(--home-muted, #c7d5ff);
}

body.home-page .ruah-sidebar .ruah-lang-select {
    color: #ffffff;
    background: transparent;
}

body.home-page .ruah-sidebar .ruah-lang-select option {
    color: #0f172a;
}

/* Staggered entrance for menu links */
@keyframes ruahSidebarLinkIn {
    from {
        opacity: 0;
        transform: translateX(-14px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

body.home-page .ruah-sidebar.is-open .ruah-sidebar-nav .ruah-sidebar-link {
    animation: ruahSidebarLinkIn 0.32s ease backwards;
}

body.home-page .ruah-sidebar.is-open .ruah-sidebar-nav .ruah-sidebar-link:nth-child(1) { animation-delay: 0.05s; }
body.home-page .ruah-sidebar.is-open .ruah-sidebar-nav .ruah-sidebar-link:nth-child(2) { animation-delay: 0.09s; }
body.home-page .ruah-sidebar.is-open .ruah-sidebar-nav .ruah-sidebar-link:nth-child(3) { animation-delay: 0.13s; }
body.home-page .ruah-sidebar.is-open .ruah-sidebar-nav .ruah-sidebar-link:nth-child(4) { animation-delay: 0.17s; }
body.home-page .ruah-sidebar.is-open .ruah-sidebar-nav .ruah-sidebar-link:nth-child(5) { animation-delay: 0.21s; }
body.home-page .ruah-sidebar.is-open .ruah-sidebar-nav .ruah-sidebar-link:nth-child(6) { animation-delay: 0.25s; }
body.home-page .ruah-sidebar.is-open .ruah-sidebar-nav .ruah-sidebar-link:nth-child(7) { animation-delay: 0.29s; }
body.home-page .ruah-sidebar.is-open .ruah-sidebar-nav .ruah-sidebar-link:nth-child(8) { animation-delay: 0.33s; }

@media (prefers-reduced-motion: reduce) {
    body.home-page .ruah-sidebar.is-open .ruah-sidebar-nav .ruah-sidebar-link {
        animation: none;
    }

    body.home-page .ruah-sidebar-close:hover {
        transform: none;
    }
}

/* ===== Cadastro seguro e onboarding infantil ===== */
body.home-page #registerModal .registration-plan-summary {
    --component-bg: rgba(167, 245, 12, 0.1);
    --component-ink: #efffcf;
    --component-border: rgba(167, 245, 12, 0.48);
}

body.home-page #registerModal .registration-coupon-price {
    --component-bg: rgba(167, 245, 12, 0.1);
    --component-ink: #efffcf;
    --component-border: rgba(167, 245, 12, 0.48);
}

body.home-page #registerModal .registration-coupon-feedback {
    color: #ffd0d8;
}

.home-page .home-plan-btn.is-disabled {
    background: #34415f;
    color: #d7def0;
    box-shadow: none;
    cursor: default;
}

body.home-page #registerModal .modal-content {
    --component-bg: #071331;
    --component-panel: #10205b;
    --component-ink: #f8fbff;
    --component-muted: #b9c8f5;
    --component-border: rgba(124, 80, 255, 0.48);
    width: min(94vw, 660px);
    max-height: min(90vh, 820px);
    overflow-y: auto;
    background: var(--component-bg);
    color: var(--component-ink);
}

.registration-progress {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.45rem;
    margin: 0 0 0.45rem;
    padding: 0;
    list-style: none;
}

.registration-progress li {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    min-height: 38px;
    padding: 0.4rem;
    border: 1px solid var(--component-border);
    border-radius: 8px;
    color: var(--component-muted);
    font-size: 0.75rem;
    font-weight: 800;
}

.registration-progress li span {
    display: inline-grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--component-panel);
}

.registration-progress li.is-active,
.registration-progress li.is-complete {
    border-color: #a7f50c;
    color: #efffcf;
}

.registration-progress li.is-active span,
.registration-progress li.is-complete span {
    background: #a7f50c;
    color: #071331;
}

.registration-step-status {
    margin: 0 0 0.75rem;
    color: var(--component-muted);
    text-align: center;
    font-size: 0.78rem;
    font-weight: 700;
}

.registration-step {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.registration-step + .registration-step {
    margin-top: 1.2rem;
}

.registration-wizard.is-enhanced .registration-step + .registration-step {
    margin-top: 0;
}

#registerModal [hidden] {
    display: none !important;
}

.registration-step legend {
    width: 100%;
    margin-bottom: 0.85rem;
    color: var(--component-ink);
    font-family: "Sora", "Inter", sans-serif;
    font-size: 1.1rem;
    font-weight: 900;
}

.registration-step-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    margin-top: 1rem;
}

.registration-step-actions .btn {
    min-width: 132px;
}

body.home-page #registerModal .registration-step-actions .btn-secondary {
    background: var(--component-panel);
    color: var(--component-ink);
    border: 1px solid var(--component-border);
}

body.home-page #registerModal .registration-step-actions .btn-secondary:hover,
body.home-page #registerModal .registration-step-actions .btn-secondary:focus-visible {
    border-color: var(--component-ink);
}

@media (max-width: 560px) {
    .registration-progress li {
        flex-direction: column;
        font-size: 0.68rem;
    }

    .registration-step-actions {
        flex-direction: column-reverse;
    }

    .registration-step-actions .btn {
        width: 100%;
    }
}

body.home-page .modal button.close {
    padding: 0;
    appearance: none;
    cursor: pointer;
}

body.home-page #registerModal .field-optional,
body.home-page #registerModal .field-help {
    color: #aebeea;
    font-size: 0.76rem;
    font-weight: 500;
}

body.home-page #registerModal .field-help {
    display: block;
    margin-top: 0.35rem;
}

.registration-error-summary ul,
.child-form-errors ul {
    margin: 0.45rem 0 0;
    padding-left: 1.2rem;
}

.registration-error-summary li + li,
.child-form-errors li + li {
    margin-top: 0.2rem;
}

.verification-page,
.child-onboarding-main {
    min-height: calc(100vh - 150px);
    padding: clamp(2rem, 6vw, 4.5rem) 0;
}

.checkout-return-main {
    min-height: calc(100vh - 150px);
    display: grid;
    place-items: center;
    padding: clamp(2rem, 7vw, 5rem) 0;
}

.checkout-return-card {
    --component-bg: #071331;
    --component-panel: #10205b;
    --component-ink: #f8fbff;
    --component-muted: #c0cef3;
    --component-border: rgba(124, 80, 255, 0.52);
    width: min(100%, 640px);
    margin: 0 auto;
    padding: clamp(1.5rem, 5vw, 2.7rem);
    border: 1px solid var(--component-border);
    border-radius: 18px;
    background: var(--component-bg);
    color: var(--component-ink);
    text-align: center;
    box-shadow: 0 26px 56px rgba(0, 0, 0, 0.42);
}

.checkout-return-icon {
    width: 66px;
    height: 66px;
    display: inline-grid;
    place-items: center;
    margin-bottom: 1rem;
    border: 2px solid #53c9ff;
    border-radius: 50%;
    color: #9be7ff;
    font-size: 1.8rem;
}

.checkout-return-icon.is-complete {
    border-color: #a7f50c;
    color: #c7ff3d;
}

.checkout-return-eyebrow {
    margin: 0 0 0.4rem;
    color: #a7f50c;
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.09em;
}

.checkout-return-card h1 {
    margin: 0;
    color: var(--component-ink);
    font-size: clamp(1.65rem, 4vw, 2.35rem);
}

.checkout-return-message,
.checkout-return-help {
    color: var(--component-muted);
    line-height: 1.65;
}

.checkout-return-action {
    margin-top: 1.35rem;
}

.checkout-return-help {
    margin: 1rem 0 0;
    font-size: 0.86rem;
}

.checkout-return-help a {
    color: #c7ff3d;
    font-weight: 800;
}

.verification-card,
.child-onboarding-card {
    --component-bg: #071331;
    --component-panel: rgba(16, 30, 86, 0.74);
    --component-ink: #f8fbff;
    --component-muted: #c0cef3;
    --component-border: rgba(124, 80, 255, 0.46);
    --component-accent: #a7f50c;
    width: min(100%, 760px);
    margin: 0 auto;
    padding: clamp(1.25rem, 4vw, 2.25rem);
    border: 1px solid var(--component-border);
    border-radius: 18px;
    background:
        radial-gradient(circle at 100% 0%, rgba(123, 66, 255, 0.2), transparent 38%),
        linear-gradient(180deg, #10205b 0%, var(--component-bg) 72%);
    color: var(--component-ink);
    box-shadow: 0 26px 56px rgba(0, 0, 0, 0.42);
}

.verification-card {
    width: min(100%, 560px);
}

.verification-card .page-title,
.child-onboarding-card h1,
.child-onboarding-card legend,
.child-onboarding-card label,
.verification-card label {
    color: var(--component-ink);
}

.verification-eyebrow,
.child-onboarding-step {
    margin: 0 0 0.45rem;
    color: var(--component-accent);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.verification-intro,
.child-onboarding-intro,
.child-onboarding-form small,
.verification-form small {
    color: var(--component-muted);
}

.verification-intro,
.child-onboarding-intro {
    margin: 0 0 1.5rem;
    line-height: 1.65;
}

.verification-form input,
.verification-resend input,
.child-onboarding-form input[type="text"] {
    border: 1px solid rgba(131, 151, 255, 0.48);
    background: rgba(3, 11, 35, 0.76);
    color: var(--component-ink);
}

.verification-form input:focus,
.verification-resend input:focus,
.child-onboarding-form input[type="text"]:focus {
    border-color: var(--component-accent);
    box-shadow: 0 0 0 3px rgba(167, 245, 12, 0.18);
}

.verification-form #codigo {
    text-align: center;
    font-size: clamp(1.35rem, 5vw, 1.8rem);
    font-weight: 900;
    letter-spacing: 0.45em;
}

.verification-form .btn,
.verification-resend .btn {
    width: 100%;
}

.verification-resend {
    margin-top: 1.4rem;
    padding-top: 1.2rem;
    border-top: 1px solid var(--component-border);
    text-align: center;
}

.verification-resend p {
    margin: 0 0 0.75rem;
    color: var(--component-muted);
}

.verification-resend input {
    width: 100%;
    margin-bottom: 0.65rem;
}

.child-onboarding-card h1 {
    margin: 0 0 0.45rem;
    font-size: clamp(1.9rem, 6vw, 3rem);
}

.child-onboarding-form {
    display: grid;
    gap: 1.35rem;
}

.child-onboarding-form .form-group {
    margin: 0;
}

.child-onboarding-form .child-name-field input {
    min-height: 50px;
}

.child-choice-field {
    margin: 0;
    padding: 1rem;
    border: 1px solid var(--component-border);
    border-radius: 12px;
    background: var(--component-panel);
}

.child-choice-field legend {
    padding: 0 0.35rem;
    font-weight: 900;
}

.child-age-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(44px, 1fr));
    gap: 0.5rem;
}

.child-age-option,
.child-registration-avatar-option {
    position: relative;
    cursor: pointer;
}

.child-age-option input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.child-age-option span {
    display: grid;
    min-height: 44px;
    place-items: center;
    border: 1px solid rgba(131, 151, 255, 0.5);
    border-radius: 9px;
    background: rgba(7, 19, 49, 0.82);
    color: var(--component-ink);
    font-weight: 900;
    transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.child-age-option:hover span,
.child-age-option input:focus-visible + span {
    border-color: var(--component-accent);
    background: rgba(167, 245, 12, 0.1);
}

.child-age-option input:checked + span {
    border-color: var(--component-accent);
    background: var(--component-accent);
    color: #071331;
    box-shadow: 0 0 0 3px rgba(167, 245, 12, 0.18);
}

.child-registration-avatar-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.7rem;
}

.child-registration-avatar-option[hidden] {
    display: none !important;
}

.child-registration-avatar-option .child-avatar-card {
    min-height: 112px;
    padding: 0.55rem;
}

.child-registration-avatar-option .child-avatar-card img {
    width: 64px;
    height: 64px;
}

.btn-avatar-toggle {
    display: block;
    min-height: 44px;
    margin: 0.9rem auto 0;
    padding: 0.55rem 0.9rem;
    border: 0;
    background: transparent;
    color: var(--component-accent);
    font: inherit;
    font-weight: 800;
    text-decoration: underline;
    cursor: pointer;
}

.btn-avatar-toggle:focus-visible {
    outline: 3px solid rgba(167, 245, 12, 0.42);
    outline-offset: 3px;
    border-radius: 6px;
}

.child-onboarding-actions {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(0, 0.8fr);
    gap: 0.75rem;
}

.child-onboarding-actions .btn {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
}

.profile-created-notice {
    margin-bottom: 1rem;
}

@media (max-width: 620px) {
    .verification-page,
    .child-onboarding-main {
        padding: 1.25rem 0;
    }

    .child-registration-avatar-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .child-onboarding-actions {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .child-age-option span,
    .child-avatar-card {
        transition: none;
    }
}

/* ===== Auth modals (login / cadastro / recuperar senha) — gamer theme ===== */
body.home-page #loginModal,
body.home-page #registerModal,
body.home-page #forgotPasswordModal {
    background-color: rgba(3, 8, 24, 0.78);
    backdrop-filter: blur(6px);
    padding: 1rem;
}

@keyframes ruahAuthModalIn {
    from {
        opacity: 0;
        transform: translateY(14px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

body.home-page #loginModal .modal-content,
body.home-page #registerModal .modal-content,
body.home-page #forgotPasswordModal .modal-content {
    /* Re-map tokens so inline styles inherit the theme */
    --primary-color: var(--home-lime, #a7f50c);
    --text-light: #b9c8f5;
    --text-color: #e9efff;
    --dark-color: #ffffff;
    --border-color: rgba(124, 80, 255, 0.4);

    position: relative;
    width: min(400px, calc(100vw - 2rem));
    max-height: min(90dvh, 92vh);
    overflow-y: auto;
    overflow-x: hidden;
    padding: 1.6rem 1.5rem 1.4rem;
    border: 1px solid rgba(124, 80, 255, 0.42);
    border-radius: 14px;
    background: linear-gradient(180deg, #12205c 0%, #071331 62%, #050d24 100%);
    color: #e9efff;
    box-shadow: 0 26px 54px rgba(0, 0, 0, 0.55), 0 0 34px rgba(123, 66, 255, 0.22);
    animation: ruahAuthModalIn 0.28s ease-out;
    scrollbar-width: thin;
    scrollbar-color: rgba(124, 80, 255, 0.55) transparent;
}

body.home-page #registerModal .modal-content {
    width: min(560px, calc(100vw - 2rem));
    padding: 1.7rem 1.8rem 1.5rem;
}

/* Duas colunas no cadastro (nome+email / telefone+senha) */
body.home-page #registerModal .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 1rem;
}

@media (max-width: 560px) {
    body.home-page #registerModal .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

/* Neon accent line on top */
body.home-page #loginModal .modal-content::before,
body.home-page #registerModal .modal-content::before,
body.home-page #forgotPasswordModal .modal-content::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--home-lime, #a7f50c) 0%, #15c7ff 55%, #7b42ff 100%);
    border-radius: 14px 14px 0 0;
}

body.home-page #loginModal .modal-content::-webkit-scrollbar,
body.home-page #registerModal .modal-content::-webkit-scrollbar,
body.home-page #forgotPasswordModal .modal-content::-webkit-scrollbar {
    width: 6px;
}

body.home-page #loginModal .modal-content::-webkit-scrollbar-thumb,
body.home-page #registerModal .modal-content::-webkit-scrollbar-thumb,
body.home-page #forgotPasswordModal .modal-content::-webkit-scrollbar-thumb {
    background: rgba(124, 80, 255, 0.55);
    border-radius: 3px;
}

/* Title */
body.home-page #loginModal .modal-title,
body.home-page #registerModal .modal-title,
body.home-page #forgotPasswordModal .modal-title {
    color: #ffffff;
    font-family: "Sora", "Inter", "Segoe UI", sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    margin-bottom: 1.15rem;
    padding-bottom: 0.65rem;
    background: linear-gradient(90deg, transparent 0%, transparent 100%);
    border-bottom: 1px solid rgba(124, 80, 255, 0.28);
}

/* Close button */
body.home-page #loginModal .close,
body.home-page #registerModal .close,
body.home-page #forgotPasswordModal .close {
    display: flex;
    align-items: center;
    justify-content: center;
    top: 0.85rem;
    right: 0.85rem;
    width: 32px;
    height: 32px;
    font-size: 1.25rem;
    border: 1px solid #8d43ff;
    border-radius: 8px;
    background: rgba(81, 43, 193, 0.18);
    color: #ffffff;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

body.home-page #loginModal .close:hover,
body.home-page #registerModal .close:hover,
body.home-page #forgotPasswordModal .close:hover,
body.home-page #loginModal .close:focus,
body.home-page #registerModal .close:focus,
body.home-page #forgotPasswordModal .close:focus {
    background: rgba(119, 67, 255, 0.32);
    border-color: var(--home-lime, #a7f50c);
    color: var(--home-lime, #a7f50c);
    transform: rotate(90deg);
}

/* Compact form */
body.home-page #loginModal .form-group,
body.home-page #registerModal .form-group,
body.home-page #forgotPasswordModal .form-group {
    margin-bottom: 0.95rem;
}

body.home-page #loginModal .form-group label,
body.home-page #registerModal .form-group label,
body.home-page #forgotPasswordModal .form-group label {
    color: #c7d5ff;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    margin-bottom: 0.35rem;
}

body.home-page #loginModal .form-group input,
body.home-page #registerModal .form-group input,
body.home-page #forgotPasswordModal .form-group input {
    padding: 0.62rem 0.8rem;
    border: 1px solid rgba(124, 80, 255, 0.4);
    border-radius: 8px;
    background: rgba(7, 19, 49, 0.72);
    color: #ffffff;
    font-size: 0.95rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

body.home-page #loginModal .form-group input::placeholder,
body.home-page #registerModal .form-group input::placeholder,
body.home-page #forgotPasswordModal .form-group input::placeholder {
    color: #7e90c4;
}

body.home-page #loginModal .form-group input:focus,
body.home-page #registerModal .form-group input:focus,
body.home-page #forgotPasswordModal .form-group input:focus {
    border-color: var(--home-lime, #a7f50c);
    box-shadow: 0 0 0 3px rgba(167, 245, 12, 0.18);
}

/* Lime CTA button */
body.home-page #loginModal .btn-primary,
body.home-page #registerModal .btn-primary,
body.home-page #forgotPasswordModal .btn-primary {
    width: 100%;
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 8px;
    background: var(--home-lime, #a7f50c);
    color: #071331;
    font-family: "Sora", "Inter", "Segoe UI", sans-serif;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(167, 245, 12, 0.3);
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

body.home-page #loginModal .btn-primary:hover,
body.home-page #registerModal .btn-primary:hover,
body.home-page #forgotPasswordModal .btn-primary:hover {
    background: var(--home-lime, #a7f50c);
    filter: brightness(1.08);
    transform: translateY(-1px);
    box-shadow: 0 10px 26px rgba(167, 245, 12, 0.42);
}

/* Spinner escuro para os botoes lime dos modais de autenticacao (bom contraste). */
body.home-page #loginModal .btn-primary.is-loading::after,
body.home-page #registerModal .btn-primary.is-loading::after,
body.home-page #forgotPasswordModal .btn-primary.is-loading::after {
    border-color: rgba(7, 19, 49, 0.28);
    border-top-color: #071331;
}

/* Secondary links (recuperar senha, cadastre-se, voltar) */
body.home-page #loginModal .form a,
body.home-page #registerModal .form a,
body.home-page #forgotPasswordModal .form a {
    color: var(--home-lime, #a7f50c) !important;
    font-weight: 700;
    text-decoration: none;
}

body.home-page #loginModal .form a:hover,
body.home-page #registerModal .form a:hover,
body.home-page #forgotPasswordModal .form a:hover {
    text-decoration: underline;
}

/* Legal checkboxes — compact, themed panel */
body.home-page #registerModal .checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    padding: 0.7rem 0.8rem;
    font-size: 0.76rem;
    line-height: 1.5;
    color: #b9c8f5;
    background: rgba(7, 19, 49, 0.55);
    border: 1px solid rgba(124, 80, 255, 0.28);
    border-radius: 8px;
    transition: border-color 0.2s ease, background 0.2s ease;
}

body.home-page #registerModal .checkbox-label:hover {
    border-color: rgba(124, 80, 255, 0.55);
}

body.home-page #registerModal .checkbox-label:has(input:checked) {
    border-color: rgba(167, 245, 12, 0.5);
    background: rgba(167, 245, 12, 0.05);
}

/* Custom checkbox no tema gamer */
body.home-page #registerModal .checkbox-label input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 19px;
    height: 19px;
    min-width: 19px;
    margin-top: 0.1rem;
    border: 2px solid #8d43ff;
    border-radius: 5px;
    background: rgba(7, 19, 49, 0.8);
    cursor: pointer;
    position: relative;
    transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

body.home-page #registerModal .checkbox-label input[type="checkbox"]:hover {
    border-color: var(--home-lime, #a7f50c);
}

body.home-page #registerModal .checkbox-label input[type="checkbox"]:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(167, 245, 12, 0.25);
}

body.home-page #registerModal .checkbox-label input[type="checkbox"]:checked {
    background: var(--home-lime, #a7f50c);
    border-color: var(--home-lime, #a7f50c);
    box-shadow: 0 0 10px rgba(167, 245, 12, 0.45);
}

body.home-page #registerModal .checkbox-label input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    left: 4px;
    top: 0px;
    width: 5px;
    height: 10px;
    border: solid #071331;
    border-width: 0 2.5px 2.5px 0;
    transform: rotate(45deg);
}

body.home-page #registerModal .checkbox-label a {
    color: var(--home-lime, #a7f50c) !important;
}

body.home-page #registerModal .checkbox-label a:hover {
    color: var(--home-lime, #a7f50c);
    filter: brightness(1.1);
}

/* Alerts inside auth modals */
body.home-page #loginModal .alert-error,
body.home-page #registerModal .alert-error,
body.home-page #forgotPasswordModal .alert-error {
    background: rgba(255, 77, 109, 0.14);
    border: 1px solid rgba(255, 77, 109, 0.45);
    color: #ffb4c0;
    border-radius: 8px;
}

/* Helper paragraph (forgot password) */
body.home-page #forgotPasswordModal .modal-content > p {
    color: #b9c8f5 !important;
    font-size: 0.88rem !important;
}

@media (max-width: 480px) {
    body.home-page #loginModal .modal-content,
    body.home-page #registerModal .modal-content,
    body.home-page #forgotPasswordModal .modal-content {
        width: calc(100vw - 1.5rem);
        padding: 1.3rem 1.1rem 1.15rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.home-page #loginModal .modal-content,
    body.home-page #registerModal .modal-content,
    body.home-page #forgotPasswordModal .modal-content {
        animation: none;
    }

    body.home-page #loginModal .close:hover,
    body.home-page #registerModal .close:hover,
    body.home-page #forgotPasswordModal .close:hover {
        transform: none;
    }
}

/* ===== Ajustes da auditoria responsiva ===== */

/* Stats da home: 2 colunas mais cedo (evita cards espremidos entre 680-760px) */
@media (max-width: 760px) {
    .home-page .home-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Header dark shell em telas muito estreitas: botões podem quebrar linha */
@media (max-width: 400px) {
    .stream-header-left,
    .stream-header-right {
        flex-wrap: wrap;
        gap: 0.4rem;
    }

    .stream-nav-button {
        padding-inline: 0.55rem;
        font-size: 0.82rem;
    }
}

/* Interactive contrast hardening for the shared admin/guardian dark shell. */
body.site-shell-page .stream-nav-button:hover,
body.site-shell-page .stream-nav-button:focus-visible,
body.stream-layout-page .stream-nav-button:hover,
body.stream-layout-page .stream-nav-button:focus-visible,
body.games-stream-page .stream-nav-button:hover,
body.games-stream-page .stream-nav-button:focus-visible,
body.admin-template-page .stream-nav-button:hover,
body.admin-template-page .stream-nav-button:focus-visible {
    border-color: #e7ff87 !important;
    background: #c7ff3d !important;
    color: #071331 !important;
    box-shadow: 0 10px 24px rgba(167, 245, 12, 0.28) !important;
}

body.site-shell-page .stream-menu-panel a:hover,
body.site-shell-page .stream-menu-panel a:focus-visible,
body.stream-layout-page .stream-menu-panel a:hover,
body.stream-layout-page .stream-menu-panel a:focus-visible,
body.games-stream-page .stream-menu-panel a:hover,
body.games-stream-page .stream-menu-panel a:focus-visible,
body.admin-template-page .stream-menu-panel a:hover,
body.admin-template-page .stream-menu-panel a:focus-visible,
body.site-shell-page .ruah-sidebar-link:hover,
body.site-shell-page .ruah-sidebar-link:focus-visible,
body.stream-layout-page .ruah-sidebar-link:hover,
body.stream-layout-page .ruah-sidebar-link:focus-visible,
body.games-stream-page .ruah-sidebar-link:hover,
body.games-stream-page .ruah-sidebar-link:focus-visible,
body.admin-template-page .ruah-sidebar-link:hover,
body.admin-template-page .ruah-sidebar-link:focus-visible {
    background: #c7ff3d;
    color: #071331;
}

body.site-shell-page .ruah-sidebar-close:hover,
body.site-shell-page .ruah-sidebar-close:focus-visible,
body.stream-layout-page .ruah-sidebar-close:hover,
body.stream-layout-page .ruah-sidebar-close:focus-visible,
body.games-stream-page .ruah-sidebar-close:hover,
body.games-stream-page .ruah-sidebar-close:focus-visible,
body.admin-template-page .ruah-sidebar-close:hover,
body.admin-template-page .ruah-sidebar-close:focus-visible {
    border-color: #e7ff87;
    background: #c7ff3d;
    color: #071331;
}

body.site-shell-page .dashboard-page .btn-link-small:hover,
body.site-shell-page .dashboard-page .btn-link-small:focus-visible,
body.stream-layout-page .dashboard-page .btn-link-small:hover,
body.stream-layout-page .dashboard-page .btn-link-small:focus-visible {
    color: #c7ff3d;
}

body.site-shell-page .dashboard-page .table tbody tr:hover,
body.stream-layout-page .dashboard-page .table tbody tr:hover,
body.site-shell-page .dashboard-page .table tbody tr:hover td,
body.stream-layout-page .dashboard-page .table tbody tr:hover td {
    background: #14265d;
    color: #ffffff;
}

body.site-shell-page .btn-secondary:hover,
body.site-shell-page .btn-secondary:focus-visible,
body.stream-layout-page .btn-secondary:hover,
body.stream-layout-page .btn-secondary:focus-visible,
body.games-stream-page .btn-secondary:hover,
body.games-stream-page .btn-secondary:focus-visible {
    border-color: #b9c9ff !important;
    background: #243b82 !important;
    color: #ffffff !important;
}

/* Current menu entries must not inherit the light disabled-state surface. */
body.site-shell-page .stream-menu-item.is-disabled,
body.stream-layout-page .stream-menu-item.is-disabled,
body.games-stream-page .stream-menu-item.is-disabled,
body.admin-template-page .stream-menu-item.is-disabled,
body.site-shell-page .ruah-sidebar-link.is-current,
body.stream-layout-page .ruah-sidebar-link.is-current,
body.games-stream-page .ruah-sidebar-link.is-current,
body.admin-template-page .ruah-sidebar-link.is-current {
    border: 1px solid #e7ff87;
    background: #c7ff3d !important;
    color: #071331 !important;
    box-shadow: inset 3px 0 0 #071331;
    opacity: 1;
}

/* Opaque table hover for every admin/guardian table, including mobile cards. */
body.site-shell-page table tbody tr:hover,
body.site-shell-page table tbody tr:hover > td,
body.stream-layout-page table tbody tr:hover,
body.stream-layout-page table tbody tr:hover > td,
body.games-stream-page table tbody tr:hover,
body.games-stream-page table tbody tr:hover > td {
    background: #14265d !important;
    color: #ffffff !important;
}

body.site-shell-page table tbody tr:hover > td a:not(.btn),
body.site-shell-page table tbody tr:hover > td span:not(.badge),
body.site-shell-page table tbody tr:hover > td small,
body.stream-layout-page table tbody tr:hover > td a:not(.btn),
body.stream-layout-page table tbody tr:hover > td span:not(.badge),
body.stream-layout-page table tbody tr:hover > td small,
body.games-stream-page table tbody tr:hover > td a:not(.btn),
body.games-stream-page table tbody tr:hover > td span:not(.badge),
body.games-stream-page table tbody tr:hover > td small {
    color: #ffffff !important;
}

body.site-shell-page table thead tr:hover,
body.site-shell-page table thead tr:hover > th,
body.stream-layout-page table thead tr:hover,
body.stream-layout-page table thead tr:hover > th,
body.games-stream-page table thead tr:hover,
body.games-stream-page table thead tr:hover > th {
    background: #243b82 !important;
    color: #ffffff !important;
}

body.site-shell-page table thead tr:hover > th a,
body.site-shell-page table thead tr:hover > th span,
body.stream-layout-page table thead tr:hover > th a,
body.stream-layout-page table thead tr:hover > th span,
body.games-stream-page table thead tr:hover > th a,
body.games-stream-page table thead tr:hover > th span {
    color: #ffffff !important;
}

body.site-shell-page select option,
body.stream-layout-page select option,
body.games-stream-page select option {
    background: #071331;
    color: #ffffff;
}

body.site-shell-page select option:checked,
body.stream-layout-page select option:checked,
body.games-stream-page select option:checked,
body.games-stream-page .monthly-ranking-item.is-current-child {
    border-color: #e7ff87;
    background: #c7ff3d;
    color: #071331;
}

body.games-stream-page .monthly-ranking-item.is-current-child .monthly-ranking-name,
body.games-stream-page .monthly-ranking-item.is-current-child .monthly-ranking-points {
    color: #071331;
}

/* ===== Gamificacao corporativa ===== */
html body.gamification-page {
    --gam-bg: #050b2c;
    --gam-panel: #0d1744;
    --gam-panel-deep: #071333;
    --gam-ink: #f7f9ff;
    --gam-muted: #bdc8e6;
    --gam-accent: #a7f50c;
    --gam-cyan: #5ce0ff;
    --gam-gold: #ffc968;
    --gam-border: rgba(164, 183, 238, 0.22);
    --about-bg: var(--gam-bg);
    --about-panel: var(--gam-panel);
    --about-ink: var(--gam-ink);
    --about-muted: var(--gam-muted);
    --about-accent: var(--gam-accent);
    --about-gold: var(--gam-gold);
    --about-border: var(--gam-border);
    background: var(--gam-bg);
    color: var(--gam-ink);
}

body.gamification-page main {
    background:
        radial-gradient(circle at 8% 18%, rgba(47, 79, 190, 0.24), transparent 30rem),
        radial-gradient(circle at 92% 54%, rgba(142, 232, 91, 0.12), transparent 30rem),
        var(--gam-bg);
}

body.gamification-page .nav a[aria-current="page"] {
    color: var(--gam-accent);
}

body.gamification-page .nav a:focus-visible,
body.gamification-page .about-text-link:focus-visible,
body.gamification-page .home-btn:focus-visible,
body.gamification-page .home-footer a:focus-visible,
body.gamification-page .home-footer-business-link:focus-visible {
    outline: 3px solid var(--gam-gold);
    outline-offset: 4px;
}

.gamification-hero {
    min-height: clamp(650px, calc(100vh - 66px), 780px);
    background:
        linear-gradient(100deg, rgba(5, 11, 44, 0.99) 0%, rgba(5, 11, 44, 0.94) 36%, rgba(5, 11, 44, 0.64) 63%, rgba(8, 21, 65, 0.22) 100%),
        url("../images/gamification/gamification-hero.webp") center / cover;
}

.gamification-hero::before {
    content: "";
    position: absolute;
    z-index: 0;
    inset: 0;
    background:
        linear-gradient(rgba(167, 245, 12, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(167, 245, 12, 0.035) 1px, transparent 1px);
    background-size: 4.5rem 4.5rem;
    mask-image: linear-gradient(to right, #000, transparent 82%);
    pointer-events: none;
}

.gamification-hero .about-hero-grid {
    position: relative;
    z-index: 1;
    align-items: center;
    gap: clamp(2.5rem, 5vw, 6rem);
}

.gamification-hero-copy {
    padding-block: 1.25rem;
}

body.gamification-page .gamification-hero h1 {
    max-width: 10ch;
    margin-bottom: 1.35rem;
    color: var(--gam-ink);
}

body.gamification-page .gamification-hero .about-lead {
    max-width: 55ch;
    color: #d7def1;
}

.gamification-hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-top: 2rem;
}

.gamification-hero-actions .home-btn-primary {
    min-width: 250px;
}

.gamification-hero-actions .about-text-link {
    margin-top: 0;
}

.gamification-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 1rem;
    margin-top: 2rem;
    padding-top: 1.15rem;
    border-top: 1px solid rgba(164, 183, 238, 0.2);
}

.gamification-hero-meta span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #cbd6f4;
    font-size: 0.78rem;
    font-weight: 700;
}

.gamification-hero-meta span::before {
    content: "";
    width: 0.42rem;
    height: 0.42rem;
    border-radius: 50%;
    background: var(--gam-accent);
    box-shadow: 0 0 0.8rem rgba(167, 245, 12, 0.68);
}

.gamification-hero-console {
    --component-bg: rgba(4, 12, 39, 0.8);
    --component-ink: var(--gam-ink);
    --component-muted: #c6d0eb;
    --component-border: rgba(92, 224, 255, 0.3);
    position: relative;
    max-width: 22rem;
    justify-self: end;
    padding: 1.45rem;
    border: 1px solid var(--component-border);
    border-radius: 1.4rem;
    background:
        radial-gradient(circle at 82% 0%, rgba(92, 224, 255, 0.18), transparent 13rem),
        var(--component-bg);
    color: var(--component-ink);
    box-shadow: 0 2rem 4.5rem rgba(0, 0, 0, 0.34), 0 0 2.5rem rgba(21, 199, 255, 0.08);
    backdrop-filter: blur(14px);
}

.gamification-hero-console::before,
.gamification-hero-console::after {
    content: "";
    position: absolute;
    width: 0.65rem;
    height: 0.65rem;
    border-color: rgba(167, 245, 12, 0.72);
    pointer-events: none;
}

.gamification-hero-console::before {
    top: -1px;
    left: -1px;
    border-top: 2px solid;
    border-left: 2px solid;
    border-radius: 1.4rem 0 0;
}

.gamification-hero-console::after {
    right: -1px;
    bottom: -1px;
    border-right: 2px solid;
    border-bottom: 2px solid;
    border-radius: 0 0 1.4rem;
}

.gamification-console-topline,
.gamification-console-footer {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #b7c4e9;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.gamification-console-code {
    margin-left: auto;
    color: var(--gam-cyan);
}

.gamification-console-dot {
    width: 0.48rem;
    height: 0.48rem;
    border-radius: 50%;
    background: var(--gam-accent);
    box-shadow: 0 0 0.8rem rgba(167, 245, 12, 0.72);
}

.gamification-console-label {
    margin: 2rem 0 0;
    color: var(--component-muted);
    font-size: 0.87rem;
    line-height: 1.55;
}

.gamification-console-path {
    display: flex;
    align-items: center;
    margin: 1.25rem 0 1.1rem;
}

.gamification-console-node {
    display: inline-grid;
    width: 2rem;
    height: 2rem;
    place-items: center;
    border: 1px solid rgba(164, 183, 238, 0.55);
    border-radius: 50%;
    color: #b7c4e9;
    font: 800 0.72rem "Sora", sans-serif;
}

.gamification-console-node.is-complete {
    border-color: var(--gam-accent);
    background: rgba(167, 245, 12, 0.12);
    color: var(--gam-accent);
}

.gamification-console-node.is-active {
    border-color: var(--gam-cyan);
    background: rgba(92, 224, 255, 0.13);
    color: var(--gam-cyan);
    box-shadow: 0 0 1.4rem rgba(92, 224, 255, 0.32);
}

.gamification-console-line {
    height: 1px;
    flex: 1;
    min-width: 1rem;
    background: linear-gradient(90deg, rgba(167, 245, 12, 0.58), rgba(92, 224, 255, 0.42));
}

.gamification-hero-console h2 {
    margin: 0;
    color: var(--component-ink);
    font: 800 clamp(1.45rem, 2.4vw, 2rem) / 1.08 "Sora", sans-serif;
    letter-spacing: -0.04em;
}

.gamification-hero-console > p:not(.gamification-console-label) {
    margin: 0.75rem 0 0;
    color: var(--component-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

.gamification-console-footer {
    justify-content: space-between;
    margin-top: 1.5rem;
    padding-top: 0.9rem;
    border-top: 1px solid rgba(164, 183, 238, 0.18);
    color: var(--gam-accent);
    font-size: 0.64rem;
}

.gamification-console-footer span:last-child {
    color: var(--gam-gold);
}

.gamification-signal {
    border-block: 1px solid rgba(164, 183, 238, 0.18);
    background: #071638;
}

.gamification-signal-grid {
    display: grid;
    grid-template-columns: minmax(15rem, 1.25fr) repeat(3, minmax(0, 0.75fr));
    gap: 1rem;
    align-items: center;
    padding-block: 1.2rem;
}

.gamification-signal-grid p {
    margin: 0;
    color: #b8c6e9;
    font-size: 0.76rem;
    line-height: 1.5;
}

.gamification-signal-grid p:not(.gamification-signal-lead) {
    padding-left: 1rem;
    border-left: 1px solid rgba(164, 183, 238, 0.22);
}

.gamification-signal-grid strong {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--gam-cyan);
    font: 800 0.69rem "Sora", sans-serif;
    letter-spacing: 0.12em;
}

.gamification-signal-lead {
    color: var(--gam-ink) !important;
    font: 700 0.91rem / 1.4 "Sora", sans-serif;
}

.gamification-signal-lead span {
    display: block;
    margin-bottom: 0.2rem;
    color: var(--gam-accent);
    font: 800 0.65rem "Inter", sans-serif;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.gamification-section-heading {
    margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.gamification-section-heading h2 {
    max-width: 20ch;
}

.gamification-principles {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.gamification-principle {
    --component-bg: rgba(13, 23, 68, 0.76);
    --component-ink: var(--gam-ink);
    --component-muted: var(--gam-muted);
    --component-border: var(--gam-border);
    position: relative;
    min-height: 19rem;
    padding: clamp(1.35rem, 2.5vw, 2rem);
    overflow: hidden;
    border: 1px solid var(--component-border);
    border-radius: 1.35rem;
    background:
        linear-gradient(145deg, rgba(92, 224, 255, 0.06), transparent 40%),
        var(--component-bg);
    color: var(--component-ink);
    box-shadow: 0 1.7rem 4rem rgba(0, 0, 0, 0.2);
}

.gamification-principle::after {
    content: "";
    position: absolute;
    right: -2.5rem;
    bottom: -3rem;
    width: 9rem;
    height: 9rem;
    border: 1px solid rgba(167, 245, 12, 0.18);
    border-radius: 50%;
    box-shadow: 0 0 0 1rem rgba(167, 245, 12, 0.025), 0 0 0 2rem rgba(167, 245, 12, 0.018);
    pointer-events: none;
}

.gamification-principle-number {
    display: block;
    color: var(--gam-gold);
    font: 800 0.72rem "Sora", sans-serif;
    letter-spacing: 0.14em;
}

.gamification-principle-icon {
    display: grid;
    width: 2.8rem;
    height: 2.8rem;
    margin-top: 2.3rem;
    place-items: center;
    border: 1px solid rgba(167, 245, 12, 0.35);
    border-radius: 0.9rem;
    background: rgba(167, 245, 12, 0.1);
    color: var(--gam-accent);
    font: 800 1.2rem "Sora", sans-serif;
}

.gamification-principle h3,
.gamification-application-card h3 {
    position: relative;
    z-index: 1;
    margin: 1.35rem 0 0.7rem;
    color: var(--component-ink);
    font: 700 clamp(1.05rem, 1.55vw, 1.3rem) / 1.25 "Sora", sans-serif;
}

.gamification-principle p,
.gamification-application-card p {
    position: relative;
    z-index: 1;
    margin: 0;
    color: var(--component-muted);
    font-size: 0.93rem;
    line-height: 1.66;
}

.gamification-workflow {
    border-block: 1px solid rgba(164, 183, 238, 0.12);
    background: linear-gradient(145deg, rgba(12, 25, 70, 0.95), rgba(7, 15, 48, 0.98));
}

.gamification-process {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid rgba(164, 183, 238, 0.22);
}

.gamification-process-step {
    position: relative;
    min-height: 15rem;
    padding: 1.75rem 1.35rem 1rem 0;
}

.gamification-process-step:not(:last-child) {
    margin-right: 1.35rem;
    border-right: 1px solid rgba(164, 183, 238, 0.14);
}

.gamification-process-step::before {
    content: "";
    position: absolute;
    top: -0.38rem;
    left: 0;
    width: 0.72rem;
    height: 0.72rem;
    border: 2px solid var(--gam-bg);
    border-radius: 50%;
    background: var(--gam-accent);
    box-shadow: 0 0 0 1px var(--gam-accent), 0 0 1.2rem rgba(167, 245, 12, 0.45);
}

.gamification-process-number {
    display: block;
    color: var(--gam-cyan);
    font: 800 0.72rem "Sora", sans-serif;
    letter-spacing: 0.14em;
}

.gamification-process-step h3 {
    margin: 2.5rem 0 0.7rem;
    color: var(--gam-ink);
    font: 700 clamp(1.05rem, 1.45vw, 1.25rem) / 1.28 "Sora", sans-serif;
}

.gamification-process-step p {
    max-width: 25ch;
    margin: 0;
    color: var(--gam-muted);
    font-size: 0.92rem;
    line-height: 1.65;
}

.gamification-case {
    background:
        radial-gradient(circle at 8% 30%, rgba(21, 199, 255, 0.08), transparent 22rem),
        var(--gam-bg);
}

.gamification-case-heading {
    max-width: 46rem;
    margin-bottom: clamp(2.25rem, 5vw, 4rem);
}

.gamification-case-heading h2 {
    max-width: 18ch;
    margin: 0.8rem 0 0;
    color: var(--gam-ink);
    font: 800 clamp(2rem, 4.5vw, 4rem) / 1.06 "Sora", sans-serif;
    letter-spacing: -0.05em;
}

.gamification-case-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(18rem, 0.92fr);
    gap: clamp(2.5rem, 6vw, 6rem);
    align-items: center;
}

body.gamification-page .gamification-case-media {
    border-color: rgba(92, 224, 255, 0.34);
    box-shadow: 0 2.2rem 5rem rgba(0, 0, 0, 0.35), 0 0 2.5rem rgba(21, 199, 255, 0.09);
}

body.gamification-page .gamification-case-media img {
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.gamification-case-hud {
    position: absolute;
    z-index: 2;
    top: 12%;
    right: 5.5%;
    width: 27%;
    padding: 0.8rem;
    border: 1px solid rgba(173, 221, 255, 0.52);
    border-radius: 0.85rem;
    background: rgba(6, 20, 49, 0.78);
    color: #eff6ff;
    box-shadow: 0 0.9rem 2rem rgba(3, 8, 24, 0.28);
    backdrop-filter: blur(9px);
}

.gamification-case-hud-topline {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    color: #a7f50c;
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.gamification-case-hud-topline span:last-child {
    color: #8be8ff;
}

.gamification-case-hud p {
    margin: 0.8rem 0 0.65rem;
    color: #f7f9ff;
    font: 700 0.72rem / 1.3 "Sora", sans-serif;
}

.gamification-case-choice {
    display: block;
    margin-top: 0.4rem;
    padding: 0.42rem 0.5rem;
    border: 1px solid rgba(164, 183, 238, 0.4);
    border-radius: 0.5rem;
    color: #c7d6f3;
    font-size: 0.59rem;
    font-weight: 700;
    line-height: 1.25;
}

.gamification-case-choice.is-correct {
    border-color: rgba(167, 245, 12, 0.65);
    background: rgba(167, 245, 12, 0.13);
    color: #eaffc9;
}

.gamification-case-media figcaption {
    max-width: calc(100% - 2rem);
    color: #e9edfa;
    font-size: 0.78rem;
    line-height: 1.45;
}

.gamification-case-copy {
    max-width: 42rem;
}

.gamification-case-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 1rem;
    color: var(--gam-gold);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.gamification-case-tag::before {
    content: "";
    width: 1.6rem;
    height: 1px;
    background: var(--gam-gold);
}

.gamification-case-copy h3 {
    margin: 0 0 1.25rem;
    color: var(--gam-ink);
    font: 800 clamp(1.55rem, 2.8vw, 2.45rem) / 1.12 "Sora", sans-serif;
    letter-spacing: -0.04em;
}

.gamification-case-copy > p:not(.gamification-case-tag) {
    margin: 0 0 1rem;
    color: #c7d0e8;
    font-size: 1rem;
    line-height: 1.72;
}

.gamification-case-outcome {
    --component-bg: rgba(13, 23, 68, 0.8);
    --component-ink: var(--gam-ink);
    --component-muted: #c7d0e8;
    --component-border: rgba(167, 245, 12, 0.3);
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.9rem;
    align-items: start;
    margin-top: 1.7rem;
    padding: 1.1rem 1.15rem;
    border: 1px solid var(--component-border);
    border-radius: 1rem;
    background: var(--component-bg);
    color: var(--component-ink);
}

.gamification-case-outcome > span {
    display: grid;
    width: 2.15rem;
    height: 2.15rem;
    place-items: center;
    border-radius: 50%;
    background: rgba(167, 245, 12, 0.14);
    color: var(--gam-accent);
    font: 800 1rem "Sora", sans-serif;
}

.gamification-case-outcome p {
    margin: 0;
    color: var(--component-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

.gamification-case-outcome strong {
    color: var(--component-ink);
}

.gamification-application-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.85rem;
}

.gamification-application-card {
    --component-bg: rgba(13, 23, 68, 0.72);
    --component-ink: var(--gam-ink);
    --component-muted: var(--gam-muted);
    --component-border: var(--gam-border);
    min-height: 15rem;
    padding: 1.35rem;
    border: 1px solid var(--component-border);
    border-radius: 1.1rem;
    background: var(--component-bg);
    color: var(--component-ink);
    transition: transform 240ms ease, border-color 240ms ease, background 240ms ease, box-shadow 240ms ease;
}

.gamification-application-icon {
    display: grid;
    width: 2.55rem;
    height: 2.55rem;
    place-items: center;
    border: 1px solid rgba(92, 224, 255, 0.38);
    border-radius: 0.78rem;
    background: rgba(92, 224, 255, 0.1);
    color: var(--gam-cyan);
    font: 800 1.12rem "Sora", sans-serif;
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
    .gamification-application-card:hover {
        transform: translateY(-0.3rem);
        border-color: rgba(92, 224, 255, 0.58);
        background: rgba(19, 37, 94, 0.82);
        box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.2), 0 0 1.5rem rgba(92, 224, 255, 0.08);
    }
}

.gamification-cta {
    border-top: 1px solid rgba(167, 245, 12, 0.36);
    background: linear-gradient(135deg, #b9ff2d 0%, #8ee85b 48%, #75ded0 100%);
}

.gamification-cta-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(17rem, 0.7fr);
    gap: clamp(2rem, 7vw, 7rem);
    align-items: center;
}

.gamification-cta .about-kicker {
    color: #0c5c5b;
}

.gamification-cta h2 {
    max-width: 16ch;
    margin: 0.75rem 0 1rem;
    color: #061131;
    font: 800 clamp(2rem, 4vw, 3.7rem) / 1.06 "Sora", sans-serif;
    letter-spacing: -0.05em;
}

.gamification-cta-copy > p:not(.about-kicker) {
    max-width: 48ch;
    margin: 0;
    color: #173365;
    font-size: 1rem;
    line-height: 1.68;
}

.gamification-cta .home-btn-primary {
    margin-top: 1.7rem;
}

.gamification-cta-board {
    --component-bg: rgba(6, 17, 49, 0.9);
    --component-ink: #f7f9ff;
    --component-muted: #bfcdf0;
    display: grid;
    gap: 0.7rem;
    padding: 1.2rem;
    border: 1px solid rgba(6, 17, 49, 0.24);
    border-radius: 1.35rem;
    background: var(--component-bg);
    box-shadow: 0 1.6rem 3.5rem rgba(22, 61, 51, 0.22);
}

.gamification-cta-board div {
    display: grid;
    grid-template-columns: 2.25rem minmax(0, 1fr);
    gap: 0.8rem;
    align-items: center;
    min-height: 3.1rem;
    padding: 0.55rem 0.7rem;
    border: 1px solid rgba(164, 183, 238, 0.2);
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.04);
}

.gamification-cta-board span {
    display: grid;
    width: 2.25rem;
    height: 2.25rem;
    place-items: center;
    border-radius: 0.65rem;
    background: rgba(167, 245, 12, 0.14);
    color: var(--gam-accent);
    font: 800 0.7rem "Sora", sans-serif;
}

.gamification-cta-board p {
    margin: 0;
    color: var(--component-muted);
    font-size: 0.88rem;
    font-weight: 700;
}

html.gamification-motion .gamification-reveal {
    opacity: 0;
    transform: translateY(1.5rem);
    transition: opacity 620ms ease, transform 700ms cubic-bezier(0.2, 0.82, 0.2, 1);
}

html.gamification-motion .gamification-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

html.gamification-motion .gamification-principle:nth-child(2),
html.gamification-motion .gamification-application-card:nth-child(2),
html.gamification-motion .gamification-process-step:nth-child(2) {
    transition-delay: 80ms;
}

html.gamification-motion .gamification-principle:nth-child(3),
html.gamification-motion .gamification-application-card:nth-child(3),
html.gamification-motion .gamification-process-step:nth-child(3) {
    transition-delay: 160ms;
}

html.gamification-motion .gamification-application-card:nth-child(4) {
    transition-delay: 240ms;
}

html.gamification-motion .gamification-application-card:nth-child(5),
html.gamification-motion .gamification-process-step:nth-child(4) {
    transition-delay: 320ms;
}

@media (max-width: 1080px) {
    .gamification-signal-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding-block: 1.25rem;
    }

    .gamification-signal-grid p:not(.gamification-signal-lead) {
        border-left: 0;
        padding-left: 0;
    }

    .gamification-application-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .gamification-hero {
        min-height: auto;
    }

    .gamification-hero .about-hero-grid,
    .gamification-case-grid,
    .gamification-cta-grid {
        grid-template-columns: 1fr;
    }

    .gamification-hero-console {
        width: min(25rem, 100%);
        justify-self: start;
    }

    .gamification-section-heading {
        grid-template-columns: 1fr;
    }

    .gamification-section-heading h2 {
        max-width: 26ch;
    }

    .gamification-process {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0 1.4rem;
    }

    .gamification-process-step:nth-child(2n) {
        margin-right: 0;
        border-right: 0;
    }

    .gamification-process-step:nth-child(n + 3) {
        border-top: 1px solid rgba(164, 183, 238, 0.14);
    }
}

@media (max-width: 680px) {
    .gamification-hero {
        padding-block: 3.75rem 4.25rem;
        background-position: 68% center;
    }

    body.gamification-page .gamification-hero h1 {
        max-width: 11ch;
        font-size: clamp(2.55rem, 12.5vw, 3.45rem);
    }

    .gamification-hero-actions {
        align-items: stretch;
        flex-direction: column;
        gap: 0.9rem;
    }

    .gamification-hero-actions .home-btn-primary {
        width: 100%;
    }

    .gamification-hero-actions .about-text-link {
        align-self: flex-start;
    }

    .gamification-hero-meta {
        gap: 0.55rem 0.75rem;
    }

    .gamification-hero-meta span {
        font-size: 0.73rem;
    }

    .gamification-hero-console {
        width: 100%;
        margin-top: 0.4rem;
        padding: 1.2rem;
    }

    .gamification-signal-grid,
    .gamification-principles,
    .gamification-process,
    .gamification-application-grid {
        grid-template-columns: 1fr;
    }

    .gamification-signal-grid {
        gap: 0.8rem;
    }

    .gamification-signal-grid p:not(.gamification-signal-lead) {
        padding-top: 0.8rem;
        border-top: 1px solid rgba(164, 183, 238, 0.16);
    }

    .gamification-principle {
        min-height: auto;
    }

    .gamification-principle-icon {
        margin-top: 1.6rem;
    }

    .gamification-process-step,
    .gamification-process-step:not(:last-child),
    .gamification-process-step:nth-child(2n) {
        min-height: auto;
        margin-right: 0;
        padding: 1.35rem 0 1.5rem;
        border-right: 0;
    }

    .gamification-process-step:first-child {
        padding-top: 1.55rem;
    }

    .gamification-process-step h3 {
        margin-top: 1.7rem;
    }

    .gamification-process-step p {
        max-width: 38ch;
    }

    .gamification-case-heading h2 {
        font-size: clamp(2rem, 10vw, 3rem);
    }

    body.gamification-page .gamification-case-media img {
        aspect-ratio: 16 / 10;
    }

    .gamification-case-hud {
        display: none;
    }

    .gamification-case-media figcaption {
        inset: auto 0.75rem 0.75rem;
        max-width: calc(100% - 1.5rem);
        padding: 0.65rem 0.75rem;
        font-size: 0.72rem;
    }

    .gamification-cta h2 {
        max-width: 18ch;
        font-size: clamp(2rem, 10vw, 3rem);
    }

    .gamification-cta .home-btn-primary {
        width: 100%;
    }

}

@media (prefers-reduced-motion: reduce) {
    html.gamification-motion .gamification-reveal,
    html.gamification-motion .gamification-reveal.is-visible,
    .gamification-application-card {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Contraste e formulario de contato da gamificacao corporativa. */
html body.gamification-page .gamification-cta {
    --component-bg: #0a1b4d;
    --component-panel: #102967;
    --component-ink: #f8fbff;
    --component-muted: #d3ddf3;
    --component-accent: #b8ff32;
    --component-border: rgba(151, 188, 255, 0.38);
    border-top-color: rgba(184, 255, 50, 0.42);
    background:
        radial-gradient(circle at 84% 18%, rgba(92, 224, 255, 0.16), transparent 22rem),
        linear-gradient(135deg, #123b7f 0%, var(--component-bg) 58%, #071637 100%);
    color: var(--component-ink);
}

html body.gamification-page .gamification-cta .about-kicker {
    color: var(--component-accent) !important;
}

html body.gamification-page .gamification-cta h2 {
    color: var(--component-ink);
}

html body.gamification-page .gamification-cta-copy > p:not(.about-kicker) {
    color: var(--component-muted);
}

html body.gamification-page .gamification-cta-board {
    --component-bg: rgba(5, 15, 45, 0.78);
    --component-ink: #f8fbff;
    --component-muted: #d3ddf3;
    --component-border: rgba(151, 188, 255, 0.38);
    border-color: var(--component-border);
}

html body.gamification-page .gamification-hero-actions .home-btn,
html body.gamification-page .gamification-cta .home-btn {
    cursor: pointer;
}

body.gamification-page .gamification-contact-modal {
    padding: 1rem;
    background: rgba(2, 7, 25, 0.86);
    backdrop-filter: blur(12px);
}

body.gamification-page .modal-content.gamification-contact-content {
    --component-bg: #081a4a;
    --component-panel: #102967;
    --component-ink: #f8fbff;
    --component-muted: #cbd8f3;
    --component-border: rgba(156, 191, 255, 0.46);
    --component-field-bg: #f7faff;
    --component-field-ink: #091532;
    position: relative;
    width: min(94vw, 760px);
    max-width: 760px;
    max-height: min(92dvh, 860px);
    overflow-y: auto;
    margin: auto;
    padding: clamp(1.35rem, 4vw, 2.65rem);
    border: 1px solid var(--component-border);
    border-radius: 1.35rem !important;
    background:
        radial-gradient(circle at 100% 0%, rgba(92, 224, 255, 0.15), transparent 18rem),
        linear-gradient(155deg, var(--component-panel), var(--component-bg) 62%);
    color: var(--component-ink);
    box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.46), 0 0 2.8rem rgba(57, 156, 255, 0.12);
    color-scheme: dark;
    scrollbar-color: rgba(167, 245, 12, 0.55) transparent;
}

body.gamification-page .gamification-contact-content::before {
    content: "";
    position: absolute;
    top: 0;
    right: 1.35rem;
    left: 1.35rem;
    height: 3px;
    border-radius: 0 0 999px 999px;
    background: linear-gradient(90deg, #a7f50c, #5ce0ff, #8c3dff);
}

body.gamification-page .gamification-contact-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    top: 1rem;
    right: 1rem;
    width: 2.25rem;
    height: 2.25rem;
    padding: 0;
    border: 1px solid rgba(189, 209, 255, 0.44);
    border-radius: 0.7rem;
    background: rgba(255, 255, 255, 0.08);
    color: var(--component-ink);
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

body.gamification-page .gamification-contact-close:hover,
body.gamification-page .gamification-contact-close:focus-visible {
    border-color: var(--gam-accent);
    background: rgba(167, 245, 12, 0.16);
    color: var(--gam-accent);
    transform: rotate(8deg);
}

.gamification-contact-heading {
    max-width: 38rem;
    padding-right: 2.5rem;
}

.gamification-contact-eyebrow {
    margin: 0 0 0.65rem;
    color: var(--gam-accent);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.gamification-contact-heading h2 {
    margin: 0;
    color: var(--component-ink);
    font: 800 clamp(1.7rem, 4vw, 2.65rem) / 1.08 "Sora", sans-serif;
    letter-spacing: -0.045em;
}

.gamification-contact-heading > p:last-child {
    margin: 0.85rem 0 0;
    color: var(--component-muted);
    font-size: 0.96rem;
    line-height: 1.65;
}

.gamification-contact-form {
    margin-top: 1.7rem;
}

.gamification-contact-honeypot {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
}

.gamification-contact-status {
    margin-bottom: 1rem;
    padding: 0.85rem 1rem;
    border: 1px solid rgba(156, 191, 255, 0.42);
    border-radius: 0.8rem;
    background: rgba(3, 12, 36, 0.64);
    color: var(--component-ink);
    font-size: 0.88rem;
    line-height: 1.5;
}

.gamification-contact-status.is-success {
    border-color: rgba(167, 245, 12, 0.58);
    background: rgba(105, 170, 11, 0.16);
    color: #edffca;
}

.gamification-contact-status.is-error {
    border-color: rgba(255, 139, 157, 0.62);
    background: rgba(155, 28, 67, 0.2);
    color: #ffe0e5;
}

.gamification-contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.gamification-contact-field {
    display: grid;
    min-width: 0;
    gap: 0.42rem;
}

.gamification-contact-field--wide {
    grid-column: 1 / -1;
}

.gamification-contact-field label {
    color: var(--component-ink);
    font-size: 0.78rem;
    font-weight: 800;
}

.gamification-contact-field label span {
    color: var(--gam-accent);
}

.gamification-contact-field input,
.gamification-contact-field select,
.gamification-contact-field textarea {
    width: 100%;
    min-height: 2.9rem;
    padding: 0.75rem 0.85rem;
    border: 1px solid rgba(156, 191, 255, 0.58);
    border-radius: 0.72rem;
    background: var(--component-field-bg);
    color: var(--component-field-ink);
    font: inherit;
    font-size: 0.9rem;
    line-height: 1.45;
}

.gamification-contact-field textarea {
    min-height: 8.5rem;
    resize: vertical;
}

.gamification-contact-field input::placeholder,
.gamification-contact-field textarea::placeholder {
    color: #52617d;
    opacity: 1;
}

.gamification-contact-field input:focus-visible,
.gamification-contact-field select:focus-visible,
.gamification-contact-field textarea:focus-visible {
    border-color: #168fd8;
    outline: 3px solid rgba(92, 224, 255, 0.34);
    outline-offset: 2px;
}

.gamification-contact-field input[aria-invalid="true"],
.gamification-contact-field select[aria-invalid="true"],
.gamification-contact-field textarea[aria-invalid="true"] {
    border-color: #d94b67;
    outline-color: rgba(255, 139, 157, 0.34);
}

.gamification-contact-help,
.gamification-contact-error {
    color: var(--component-muted);
    font-size: 0.74rem;
    line-height: 1.45;
}

.gamification-contact-error {
    color: #ffbec8;
}

.gamification-contact-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem 1.25rem;
    margin-top: 1.35rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(156, 191, 255, 0.2);
}

.gamification-contact-actions .home-btn {
    min-width: 12.5rem;
}

.gamification-contact-actions .home-btn[disabled] {
    cursor: wait;
    filter: saturate(0.62);
    opacity: 0.72;
}

.gamification-contact-actions p {
    flex: 1 1 13rem;
    margin: 0;
    color: var(--component-muted);
    font-size: 0.76rem;
    line-height: 1.5;
}

@media (max-width: 680px) {
    body.gamification-page .modal-content.gamification-contact-content {
        width: min(100%, 760px);
        max-height: calc(100dvh - 1rem);
        padding: 1.35rem 1rem 1.1rem;
    }

    .gamification-contact-grid {
        grid-template-columns: 1fr;
    }

    .gamification-contact-field--wide {
        grid-column: auto;
    }

    .gamification-contact-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .gamification-contact-actions .home-btn {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.gamification-page .gamification-contact-close {
        transition: none;
    }
}

/* Adult post-verification offer. Scoped tokens prevent light/dark inheritance. */
.family-welcome {
    --component-bg: #08132c;
    --component-panel: #102344;
    --component-ink: #f8faff;
    --component-muted: #c0cde7;
    --component-border: #35517d;
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(210px, .8fr);
    overflow: hidden;
    background: var(--component-bg);
    color: var(--component-ink);
    border: 1px solid var(--component-border);
    border-radius: 24px;
    margin: 0 auto 28px;
    max-width: 1060px;
    text-align: left;
}
.family-welcome .family-welcome__copy { padding: clamp(22px, 3vw, 36px); min-width: 0; }
.family-welcome .family-welcome__eyebrow { color: #baff55; font-size: .78rem; font-weight: 800; margin: 0 0 12px; letter-spacing: .04em; }
.family-welcome h2 { color: var(--component-ink); font-size: clamp(1.55rem, 2.6vw, 2.2rem); line-height: 1.16; margin: 0 0 14px; }
.family-welcome .family-welcome__intro { color: var(--component-muted); line-height: 1.6; margin: 0 0 16px; max-width: 50ch; }
.family-welcome__benefits { list-style: none; margin: 0 0 20px; padding: 0; }
.family-welcome__benefits li { color: var(--component-ink); margin: 8px 0; padding-left: 24px; position: relative; line-height: 1.45; font-size: .93rem; }
.family-welcome__benefits li::before { content: '✓'; color: #baff55; position: absolute; left: 0; font-weight: 900; }
.family-welcome__price { display: flex; flex-wrap: wrap; gap: 7px; align-items: baseline; margin: 0 0 14px; color: var(--component-muted); }
.family-welcome__price strong { color: var(--component-ink); font-size: 1.7rem; }
.family-welcome__price span { font-size: .86rem; }
.family-welcome__checkout { max-width: 420px; }
.family-welcome .family-welcome__cta { background: #baff55; color: #102000; padding: 15px 20px; border: 2px solid transparent; border-radius: 13px; display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 48px; font: inherit; font-weight: 800; text-decoration: none; line-height: 1.35; cursor: pointer; width: 100%; box-sizing: border-box; }
.family-welcome .family-welcome__cta:hover { background: #d6ff9a; color: #102000; }
.family-welcome__checkout > small { margin-top: 9px; }
.family-welcome__bottom { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.family-welcome .family-welcome__dismiss { margin: 0; }
.family-welcome__dismiss button { color: var(--component-muted); background: transparent; border: 0; min-height: 44px; padding: 8px 0; font: inherit; text-decoration: underline; cursor: pointer; }
.family-welcome__dismiss button:hover { color: var(--component-ink); }
.family-welcome :is(a, button):focus-visible { outline: 3px solid #15c7ff; outline-offset: 4px; }
.family-welcome small { display: block; color: var(--component-muted); font-size: .75rem; line-height: 1.5; }
.family-welcome__art { position: relative; min-height: 100%; background: var(--component-panel); }
.family-welcome__art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 52% center; }
.family-welcome__art::after { content: ''; position: absolute; inset: 40% 0 0; background: linear-gradient(transparent, #08132cf5); }
.family-welcome__art span { position: absolute; z-index: 1; bottom: 28px; left: 24px; right: 20px; color: #fff; font-size: 1.3rem; font-weight: 800; line-height: 1.35; }
.home-page .family-pricing-block {
    max-width: 980px;
    margin: 0 auto 2.2rem;
    padding: 1.35rem 1.4rem 1.6rem;
    border: 1px solid rgba(143, 168, 255, 0.34);
    border-radius: 18px;
    background: rgba(5, 17, 47, 0.58);
}
.home-page .family-pricing-block > h3 {
    margin: .25rem 0 1.25rem;
    color: #fff;
    text-align: center;
    font-size: clamp(1.2rem, 2vw, 1.6rem);
}
.home-page .family-pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 780px;
    margin: 0 auto;
    gap: 1.25rem;
}
.home-page .family-pricing-grid .home-plan-card {
    min-height: 420px;
}
.home-page .family-pricing-grid .home-plan-card.is-monthly.is-featured {
    border-color: rgba(183, 245, 42, .96);
    background: linear-gradient(180deg, rgba(18, 39, 65, .98), rgba(4, 14, 43, .98));
    box-shadow: 0 0 30px rgba(183, 245, 42, .24), 0 18px 38px rgba(0, 0, 0, .36);
}
.home-page .family-pricing-grid .home-plan-card.is-monthly.is-featured .home-plan-ribbon {
    background: linear-gradient(135deg, #a4f113, #d8ff1a);
    color: #061131;
}
.home-page .home-plan-audience {
    margin: 0 0 .45rem;
    color: #d7dcff;
    text-align: center;
    font-size: .68rem;
    font-weight: 900;
    letter-spacing: .1em;
}
.home-page .institutional-pricing {
    max-width: 780px;
    margin: 0 auto 2rem;
    padding: 1.2rem;
    border: 1px solid rgba(255, 193, 28, .26);
    border-radius: 16px;
    background: rgba(6, 18, 46, .36);
}
.home-page .institutional-pricing > .home-kicker {
    display: flex;
    width: fit-content;
    max-width: 100%;
    margin: 0 auto .9rem;
    background: var(--home-lime);
    color: #061131;
    text-align: center;
    line-height: 1.35;
}
.home-page .institutional-pricing .home-plan-card {
    min-height: 0;
    max-width: 560px;
    margin: 0 auto;
    padding: 1.2rem 1.4rem;
    border-width: 1px;
    background: linear-gradient(180deg, rgba(8, 19, 48, .88), rgba(4, 14, 35, .94));
}
.home-page .institutional-pricing .home-plan-card > p {
    color: #e3e9fb;
    line-height: 1.55;
    text-align: center;
}
.guest-family-paywall {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.1rem 1.5rem;
    margin: 1rem 0 1.4rem;
    padding: 1.2rem 1.35rem;
    border: 1px solid rgba(155, 181, 255, .56);
    border-radius: 16px;
    background: linear-gradient(125deg, #07183d, #132452);
    color: #fff;
    box-shadow: 0 12px 30px rgba(3, 9, 25, .2);
}
.guest-family-paywall h2 {
    margin: .25rem 0 .45rem;
    color: #fff;
    font-size: clamp(1.05rem, 2.3vw, 1.45rem);
    line-height: 1.25;
}
.guest-family-paywall p {
    margin: 0;
    max-width: 620px;
    color: #e0e8ff;
    line-height: 1.5;
}
.guest-family-paywall-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: .65rem;
}
.guest-family-paywall .btn {
    min-height: 44px;
    border-radius: 8px;
    font-weight: 800;
    white-space: nowrap;
}
.guest-family-paywall .btn-secondary {
    border: 1px solid #c6d5ff;
    background: #fff;
    color: #172449;
}
.guest-family-paywall :is(a, button):focus-visible {
    outline: 3px solid #ffd84d;
    outline-offset: 3px;
}
.guest-family-paywall.is-legacy-expired {
    border-color: rgba(255, 196, 96, .8);
    background: linear-gradient(125deg, #2b1a18, #3d2b1a);
}
.legacy-free-sunset-banner {
    --component-bg: #091b46;
    --component-panel: #142957;
    --component-ink: #ffffff;
    --component-muted: #dce6ff;
    --component-border: rgba(167, 245, 12, .46);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 1.5rem;
    margin: 1rem 0 1.25rem;
    padding: 1.1rem 1.3rem;
    border: 1px solid var(--component-border);
    border-left: 4px solid var(--home-lime, #a7f50c);
    border-radius: 14px;
    background: linear-gradient(118deg, var(--component-bg), var(--component-panel));
    color: var(--component-ink);
    box-shadow: 0 10px 26px rgba(3, 9, 25, .22);
}
.legacy-free-sunset-banner > div { min-width: 0; }
.legacy-free-sunset-banner strong {
    display: block;
    color: var(--component-ink);
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    line-height: 1.35;
}
.legacy-free-sunset-banner p {
    max-width: 700px;
    margin: .35rem 0 0;
    color: var(--component-muted);
    line-height: 1.5;
}
.legacy-free-sunset-banner a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: .6rem 1rem;
    border: 1px solid rgba(167, 245, 12, .75);
    border-radius: 9px;
    background: var(--home-lime, #a7f50c);
    color: #061131;
    font-weight: 900;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color .18s ease, transform .18s ease;
}
.legacy-free-sunset-banner a:hover {
    background: #bbff36;
    transform: translateY(-1px);
}
.legacy-free-sunset-banner a:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.home-legacy-banner-wrap { padding-top: .7rem; }
.game-details-family-paywall { display: block; width: 100%; }
.game-details-family-paywall .guest-family-paywall-actions { justify-content: flex-start; margin-top: .9rem; }
@media (max-width: 780px) {
    .home-page .family-pricing-grid { grid-template-columns: minmax(0, 1fr); max-width: 520px; }
    .home-page .family-pricing-grid .home-plan-card { min-height: 0; }
    .guest-family-paywall { align-items: stretch; flex-direction: column; }
    .guest-family-paywall-actions { justify-content: flex-start; }
    .legacy-free-sunset-banner { align-items: stretch; flex-direction: column; }
    .legacy-free-sunset-banner a { align-self: flex-start; }
}
@media (max-width: 560px) {
    .guest-family-paywall-actions { display: grid; grid-template-columns: minmax(0, 1fr); }
    .guest-family-paywall-actions .btn { width: 100%; white-space: normal; text-align: center; }
    .legacy-free-sunset-banner a { width: 100%; box-sizing: border-box; }
}
@media (prefers-reduced-motion: reduce) {
    .legacy-free-sunset-banner a { transition: none; }
}
@media (max-width: 640px) {
    .family-welcome { grid-template-columns: minmax(0, 1fr); border-radius: 18px; }
    .family-welcome__art { display: none; }
    .family-welcome .family-welcome__copy { padding: 20px; }
    .family-welcome__benefits { margin-bottom: 14px; }
    .family-welcome__bottom { align-items: stretch; }
    .family-welcome__dismiss { text-align: center; }
}
