/* ============================================
   PRISM — Prismatic Rainbow Theme
   Dark base (#111122) + vibrant rainbow gradients
   Floating header, rainbow-bordered cards, marquee
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--bg-base);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body.menu-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Keyframes --- */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes rainbowUnderline {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes prismFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.06; }
    50% { transform: translateY(-30px) rotate(5deg); opacity: 0.12; }
}

@keyframes borderGlow {
    0% { opacity: 0.5; }
    50% { opacity: 1; }
    100% { opacity: 0.5; }
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(255, 107, 107, 0.2), 0 0 40px rgba(66, 165, 245, 0.1); }
    33% { box-shadow: 0 0 20px rgba(255, 167, 38, 0.2), 0 0 40px rgba(171, 71, 188, 0.1); }
    66% { box-shadow: 0 0 20px rgba(102, 187, 106, 0.2), 0 0 40px rgba(255, 238, 88, 0.1); }
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
    font-size: 15px;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    padding: 10px 24px;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn--rainbow {
    background: #ab47bc;
    color: #fff;
    font-weight: 700;
    letter-spacing: 0.3px;
}

.btn--rainbow:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(255, 107, 107, 0.3), 0 6px 28px rgba(66, 165, 245, 0.2);
    filter: brightness(1.1);
}

.btn--rainbow:active {
    transform: translateY(0);
}

.btn--outline {
    background: transparent;
    border: 2px solid var(--border-dim);
    color: var(--text-primary);
}

.btn--outline:hover {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.btn--sm {
    padding: 8px 18px;
    font-size: 13px;
}

.btn--lg {
    padding: 16px 40px;
    font-size: 17px;
    border-radius: var(--radius);
    letter-spacing: 0.5px;
}

/* --- Header: Floating Bar --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 20px 0;
    pointer-events: none;
    transition: padding var(--transition);
}

.header--scrolled {
    padding-top: 8px;
}

.header__bar {
    position: relative;
    max-width: var(--container-width);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 0 24px;
    border-radius: 16px;
    background: rgba(25, 25, 48, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(171, 71, 188, 0.15);
    padding-top: 8px;
    padding-bottom: 8px;
    pointer-events: auto;
    transition: all var(--transition);
}

/* Solid border on the floating bar */
.header__bar::before {
    display: none;
}

.header--scrolled .header__bar::before {
    display: none;
}

.header--scrolled .header__bar {
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
}

.header__logo {
    flex-shrink: 0;
}

.header__logo img {
    height: 34px;
    width: auto;
}

.header__nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.header__nav a {
    padding: 6px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: 20px;
    transition: all var(--transition);
}

.header__nav a:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.08);
}

.header__actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* --- Hamburger --- */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    z-index: 1100;
}

.hamburger span {
    display: block;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, #ff6b6b, #ffa726, #ffee58, #66bb6a, #42a5f5, #ab47bc);
    background-size: 300% 100%;
    animation: gradientShift 4s ease infinite;
    transition: all var(--transition);
}

.hamburger.is-active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.is-active span:nth-child(2) {
    opacity: 0;
}

.hamburger.is-active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* --- Mobile Menu --- */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1001;
    background: rgba(17, 17, 34, 0.97);
    backdrop-filter: blur(24px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 36px;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s ease;
}

.mobile-menu.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.mobile-menu__nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.mobile-menu__link {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-secondary);
    transition: color var(--transition);
    position: relative;
}

.mobile-menu__link:hover {
    background: var(--gradient-rainbow);
    background-size: 300% 300%;
    animation: gradientShift 4s ease infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mobile-menu__actions {
    display: flex;
    gap: 12px;
}

.mobile-menu__lang {
    margin-top: 12px;
}

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: calc(var(--header-height) + 80px) 20px 100px;
    overflow: hidden;
}

.hero__prisms {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 20%, rgba(255, 107, 107, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(255, 167, 38, 0.10) 0%, transparent 45%),
        radial-gradient(ellipse at 50% 60%, rgba(66, 165, 245, 0.10) 0%, transparent 50%),
        radial-gradient(ellipse at 30% 80%, rgba(102, 187, 106, 0.08) 0%, transparent 45%),
        radial-gradient(ellipse at 70% 70%, rgba(171, 71, 188, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 30%, rgba(255, 238, 88, 0.06) 0%, transparent 40%);
    z-index: 0;
    animation: prismFloat 12s ease-in-out infinite;
}

.hero__content {
    position: relative;
    z-index: 1;
    max-width: 720px;
    animation: fadeInUp 0.8s ease;
}

.hero__title {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.12;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #ff6b6b, #ffa726, #ffee58, #66bb6a, #42a5f5, #ab47bc, #ff6b6b);
    background-size: 400% 400%;
    animation: gradientShift 8s ease infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.hero__underline {
    width: 100px;
    height: 4px;
    margin: 20px auto 28px;
    border-radius: 4px;
    background: linear-gradient(90deg, #ff6b6b, #ffa726, #ffee58, #66bb6a, #42a5f5, #ab47bc, #ff6b6b);
    background-size: 300% 100%;
    animation: rainbowUnderline 4s linear infinite;
}

.hero__desc {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.7;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Section Titles with Rainbow Underline --- */
.section-title {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 44px;
    position: relative;
    padding-bottom: 18px;
    color: var(--text-primary);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, #ff6b6b, #ffa726, #ffee58, #66bb6a, #42a5f5, #ab47bc, #ff6b6b);
    background-size: 300% 100%;
    animation: rainbowUnderline 3s linear infinite;
}

/* --- Slots Sections --- */
.slots {
    padding: 80px 0;
}

.slots + .slots {
    padding-top: 0;
}

/* --- Slots Grid: Rainbow-Bordered Cards --- */
.slots__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.slot-card {
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: var(--radius);
    overflow: visible;
    transition: transform var(--transition), box-shadow var(--transition);
    text-decoration: none;
    padding: 2px;
    background: var(--gradient-rainbow);
    background-size: 300% 300%;
}

/* Each card variant gets a unique gradient for its border */
.slot-card--g1 { background: linear-gradient(135deg, #ff6b6b, #ffa726, #ffee58); background-size: 300% 300%; }
.slot-card--g2 { background: linear-gradient(225deg, #66bb6a, #42a5f5, #ab47bc); background-size: 300% 300%; }
.slot-card--g3 { background: linear-gradient(45deg, #ff6b6b, #ab47bc, #42a5f5); background-size: 300% 300%; }
.slot-card--g4 { background: linear-gradient(315deg, #ffee58, #66bb6a, #42a5f5); background-size: 300% 300%; }
.slot-card--g5 { background: linear-gradient(180deg, #ff6b6b, #ffa726, #ab47bc); background-size: 300% 300%; }
.slot-card--g6 { background: linear-gradient(0deg, #42a5f5, #66bb6a, #ffee58); background-size: 300% 300%; }

.slot-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4);
    animation: gradientShift 3s ease infinite;
}

.slot-card__img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--bg-base);
    border-radius: calc(var(--radius) - 2px) calc(var(--radius) - 2px) 0 0;
}

.slot-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.slot-card:hover .slot-card__img img {
    transform: scale(1.08);
}

.slot-card__name {
    display: block;
    padding: 12px 14px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    background: var(--bg-card);
    border-radius: 0 0 calc(var(--radius) - 2px) calc(var(--radius) - 2px);
    text-align: center;
}

/* --- Providers: Marquee --- */
.providers {
    padding: 60px 0 80px;
    overflow: hidden;
}

.providers-marquee {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 20px 0 30px;
    max-width: var(--container-width);
    margin: 0 auto;
    -webkit-mask-image: linear-gradient(to right, transparent, black 40px, black calc(100% - 40px), transparent);
    mask-image: linear-gradient(to right, transparent, black 40px, black calc(100% - 40px), transparent);
}

.providers-marquee::after {
    display: none;
}

.providers-track {
    display: flex;
    gap: 16px;
    align-items: center;
    width: max-content;
    animation: marqueeScroll 80s linear infinite;
}

.providers-track:hover {
    animation-play-state: paused;
}

.provider-item {
    flex-shrink: 0;
    width: 110px;
    height: 70px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border-dim);
    transition: all var(--transition);
    cursor: default;
}

.provider-item:hover {
    border-color: rgba(255, 255, 255, 0.25);
    background: var(--bg-card-alt);
}

.provider-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 4px;
    filter: grayscale(0.3);
    transition: filter var(--transition);
}

.provider-item:hover img {
    filter: grayscale(0) brightness(1.1);
}

/* --- Content Sections (BCR) --- */
.content-sections {
    padding: 60px 0;
}

.bcr-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 32px;
    justify-content: center;
}

.bcr-nav a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    background: var(--bg-card);
    border-radius: 24px;
    transition: all var(--transition);
    border: 1px solid transparent;
}

.bcr-nav a:hover,
.bcr-nav a.active {
    color: var(--text-primary);
    background: var(--bg-card-alt);
    border-color: rgba(255, 255, 255, 0.1);
}

/* Content blocks */
.content-block {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 32px;
    margin-bottom: 24px;
    position: relative;
    border: 1px solid var(--border-dim);
    border-image: none;
    transition: border-color var(--transition);
}

.content-block h2,
.content-block h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.content-block p {
    color: var(--text-secondary);
    margin-bottom: 14px;
    line-height: 1.7;
}

.content-block ul,
.content-block ol {
    color: var(--text-secondary);
    margin-bottom: 14px;
    padding-left: 24px;
}

.content-block li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.content-block strong {
    color: var(--text-primary);
}

/* Content-body (alternate name) */
.content-body {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 32px;
    margin-bottom: 24px;
    border: 1px solid var(--border-dim);
    border-image: none;
}

.content-body h2,
.content-body h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.content-body p {
    color: var(--text-secondary);
    margin-bottom: 14px;
    line-height: 1.7;
}

.content-body ul,
.content-body ol {
    color: var(--text-secondary);
    margin-bottom: 14px;
    padding-left: 24px;
}

.content-body li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.content-body strong {
    color: var(--text-primary);
}

/* BCR block fallback class */
.bcr-block {
    background: var(--bg-card);
    border-radius: var(--radius);
    padding: 32px;
    margin-bottom: 24px;
    border: 1px solid var(--border-dim);
    border-image: none;
}

.bcr-block h2,
.bcr-block h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.bcr-block p {
    color: var(--text-secondary);
    margin-bottom: 14px;
    line-height: 1.7;
}

.bcr-block ul,
.bcr-block ol {
    color: var(--text-secondary);
    margin-bottom: 14px;
    padding-left: 24px;
}

.bcr-block li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.bcr-block strong {
    color: var(--text-primary);
}

/* --- Tables --- */
.content-block table,
.content-body table,
.bcr-block table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 14px;
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.content-block th,
.content-body th,
.bcr-block th {
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    color: var(--text-primary);
    background: rgba(171, 71, 188, 0.1);
    border-bottom: 2px solid rgba(171, 71, 188, 0.2);
    white-space: nowrap;
}

.content-block td,
.content-body td,
.bcr-block td {
    padding: 10px 16px;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.content-block tr:hover td,
.content-body tr:hover td,
.bcr-block tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

/* --- FAQ Section --- */
.faq-section {
    padding: 60px 0 80px;
}

.faq-item {
    background: var(--bg-card);
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
    overflow: hidden;
    transition: all var(--transition);
    border: 1px solid transparent;
}

.faq-item:hover {
    background: var(--bg-card-alt);
    border-color: rgba(255, 255, 255, 0.06);
}

.faq-q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    gap: 16px;
    font-family: inherit;
}

.faq-q::after {
    content: '';
    flex-shrink: 0;
    width: 10px;
    height: 10px;
    border-right: 2px solid #ab47bc;
    border-bottom: 2px solid #42a5f5;
    transform: rotate(45deg);
    transition: transform var(--transition);
}

.faq-item.faq-open .faq-q::after {
    transform: rotate(-135deg);
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.faq-open .faq-a {
    max-height: 500px;
}

.faq-a__inner {
    padding: 0 24px 20px;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.7;
}

/* --- Links in content & FAQ --- */
.content-block a,
.content-body a,
.bcr-block a,
.faq-a__inner a {
    color: #ce93d8;
    text-decoration: underline;
    text-decoration-color: rgba(206, 147, 216, 0.4);
    text-underline-offset: 2px;
    transition: color var(--transition), text-decoration-color var(--transition);
}

.content-block a:hover,
.content-body a:hover,
.bcr-block a:hover,
.faq-a__inner a:hover {
    color: #e1bee7;
    text-decoration-color: #e1bee7;
}

/* --- Footer --- */
.footer {
    padding: 40px 0;
    position: relative;
    background: rgba(17, 17, 34, 0.6);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #ff6b6b, #ffa726, #ffee58, #66bb6a, #42a5f5, #ab47bc, #ff6b6b);
    background-size: 300% 100%;
    animation: rainbowUnderline 5s linear infinite;
}

.footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer__brand {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer__logo img {
    height: 30px;
    width: auto;
}

.footer__copy {
    font-size: 13px;
    color: var(--text-muted);
}

.footer__lang {
    display: flex;
    align-items: center;
}

/* --- Popup Overrides --- */
.sg-popup {
    background: var(--bg-card) !important;
    border-radius: var(--radius) !important;
    border: 2px solid transparent !important;
    position: relative !important;
    overflow: hidden !important;
}

.sg-popup::before {
    content: '' !important;
    position: absolute !important;
    inset: -2px !important;
    border-radius: calc(var(--radius) + 2px) !important;
    background: linear-gradient(135deg, #ff6b6b, #ffa726, #ffee58, #66bb6a, #42a5f5, #ab47bc) !important;
    background-size: 400% 400% !important;
    animation: gradientShift 5s ease infinite !important;
    z-index: -1 !important;
}

.sg-popup__text {
    background: var(--gradient-rainbow) !important;
    background-size: 300% 300% !important;
    animation: gradientShift 6s ease infinite !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    font-weight: 700 !important;
}

.sg-popup__btn {
    background: linear-gradient(135deg, #ff6b6b, #ffa726, #ffee58, #66bb6a, #42a5f5, #ab47bc) !important;
    background-size: 400% 400% !important;
    animation: gradientShift 5s ease infinite !important;
    color: #fff !important;
    border: none !important;
    border-radius: var(--radius-sm) !important;
    font-weight: 700 !important;
}

/* --- Responsive: 768px --- */
@media (max-width: 768px) {
    :root {
        --header-height: 56px;
    }

    .header {
        padding: 8px 0 0;
    }

    .header--scrolled {
        padding-top: 0;
    }

    .header__bar {
        border-radius: 0;
        padding: 0 16px;
        gap: 10px;
    }

    .header__bar::before {
        border-radius: 0;
        inset: -2px -2px auto -2px;
        height: calc(100% + 4px);
    }

    .header__logo {
        margin-right: auto;
    }

    .header__nav {
        display: none;
    }

    .header__actions .btn {
        display: none;
    }

    .header__actions [data-lang-switcher] {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero {
        min-height: 440px;
        padding: calc(var(--header-height) + 50px) 20px 70px;
    }

    .hero__title {
        font-size: 34px;
    }

    .hero__desc {
        font-size: 16px;
        margin-bottom: 32px;
    }

    .hero__underline {
        width: 70px;
        margin: 16px auto 22px;
    }

    .section-title {
        font-size: 26px;
        margin-bottom: 32px;
    }

    .slots {
        padding: 60px 0;
    }

    .slots + .slots {
        padding-top: 0;
    }

    .slots__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 14px;
    }

    .slot-card__name {
        padding: 10px 10px;
        font-size: 13px;
    }

    .providers {
        padding: 40px 0 60px;
    }

    .provider-item {
        width: 90px;
        height: 60px;
        padding: 10px;
    }

    .bcr-nav {
        gap: 6px;
    }

    .bcr-nav a {
        padding: 6px 14px;
        font-size: 12px;
    }

    .content-block,
    .content-body,
    .bcr-block {
        padding: 24px 20px;
    }

    .content-block h2,
    .content-block h3,
    .content-body h2,
    .content-body h3,
    .bcr-block h2,
    .bcr-block h3 {
        font-size: 19px;
    }

    .content-block table,
    .content-body table,
    .bcr-block table {
        font-size: 13px;
    }

    .content-block th,
    .content-block td,
    .content-body th,
    .content-body td,
    .bcr-block th,
    .bcr-block td {
        padding: 8px 12px;
    }

    .faq-q {
        padding: 16px 20px;
        font-size: 14px;
    }

    .faq-a__inner {
        padding: 0 20px 16px;
    }

    .footer__inner {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .footer__brand {
        flex-direction: column;
        gap: 10px;
    }

    .content-sections {
        padding: 40px 0;
    }

    .faq-section {
        padding: 40px 0 60px;
    }
}

/* --- Responsive: 480px --- */
@media (max-width: 480px) {
    .hero {
        min-height: 380px;
        padding: calc(var(--header-height) + 36px) 16px 50px;
    }

    .hero__title {
        font-size: 28px;
    }

    .hero__desc {
        font-size: 14px;
        margin-bottom: 28px;
    }

    .btn--lg {
        padding: 13px 32px;
        font-size: 15px;
    }

    .slots__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .slot-card__name {
        padding: 8px 8px;
        font-size: 12px;
    }

    .section-title {
        font-size: 22px;
        margin-bottom: 24px;
    }

    .section-title::after {
        width: 60px;
    }

    .provider-item {
        width: 80px;
        height: 50px;
        padding: 8px;
    }

    .bcr-nav a {
        padding: 5px 12px;
        font-size: 11px;
    }

    .content-block,
    .content-body,
    .bcr-block {
        padding: 20px 16px;
    }

    .content-block h2,
    .content-block h3,
    .content-body h2,
    .content-body h3,
    .bcr-block h2,
    .bcr-block h3 {
        font-size: 17px;
    }

    .content-block p,
    .content-block li,
    .content-body p,
    .content-body li,
    .bcr-block p,
    .bcr-block li {
        font-size: 13px;
    }

    .content-block table,
    .content-body table,
    .bcr-block table {
        font-size: 12px;
    }

    .faq-q {
        padding: 14px 16px;
        font-size: 13px;
    }

    .faq-a__inner {
        padding: 0 16px 14px;
        font-size: 13px;
    }

    .mobile-menu__link {
        font-size: 18px;
    }

    .mobile-menu__actions {
        flex-direction: column;
        width: 100%;
        padding: 0 32px;
    }

    .mobile-menu__actions .btn {
        width: 100%;
    }

    .footer {
        padding: 30px 0;
    }

    .footer__copy {
        font-size: 12px;
    }
}

/* --- Wide screens: 5 slots per row --- */
@media (min-width: 1400px) {
    .slots__grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* --- Lang Switcher Overrides --- */
[data-lang-switcher] {
    font-size: 13px;
}

/* --- Selection Color --- */
::selection {
    background: rgba(171, 71, 188, 0.35);
    color: #fff;
}

/* --- Scrollbar --- */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-base);
}

::-webkit-scrollbar-thumb {
    background: rgba(171, 71, 188, 0.4);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(171, 71, 188, 0.6);
}

/* Slot image type: vertical */
[data-slot-type="vertical"] .slot-card__img { aspect-ratio: 3/4; }
[data-slot-type="vertical"] .slot-card__img img { object-fit: cover; }

/* Slot image type: horizontal */
[data-slot-type="horizontal"] .slot-card__img { aspect-ratio: 16/9; }
[data-slot-type="horizontal"] .slot-card__img img { object-fit: cover; }
