﻿
html {
    scrollbar-gutter: stable;
}

/*.navbar-expand-md .navbar-collapse {
    background-color: #d6336c !important;
}
.navbar-expand-md .navbar {
    background-color: #d6336c !important;
}
    .navbar-expand-md .navbar .nav-link {
        color: rgba(255, 255, 255, 0.85) !important;
    }

        .navbar-expand-md .navbar .nav-link:hover,
        .navbar-expand-md .navbar .nav-link.active {
            color: white !important;
            border-bottom-color: white !important;
        }

        .navbar-expand-md .navbar .nav-link.dropdown-toggle {
            color: rgba(255, 255, 255, 0.85) !important;
        }*/


/*:root {
    --header-height: 56px;
}

header.navbar {
    position: sticky;
    top: 0;
    z-index: 1030;
}

.navbar-expand-md {
    position: sticky;
    top: var(--header-height);
    z-index: 1029;
}*/


:root {
    --header-height: 80px; /* top navbar */
    --menu-height: 0px; /* second nav menu bar */
    --navbars-height: calc(var(--header-height) + var(--menu-height)); /* 106px */
    --tblr-primary: #c42935;
    --tblr-primary-rgb: 196, 41, 53;
}

[data-bs-theme="dark"] {
    --tblr-primary: #e63946; /* slightly brighter for dark mode contrast */
    --tblr-primary-rgb: 230, 57, 70;
}

header.navbar {
    position: sticky;
    top: 0;
    z-index: 1030;
}

.navbar-expand-md {
    position: sticky;
    top: var(--header-height);
    z-index: 1029;
}

.navbar-nav .nav-link.active {
    border-bottom: 2px solid currentColor;
}

.footer-heading {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--tblr-secondary);
    margin-bottom: 1rem;
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .footer-list li {
        margin-bottom: 0.5rem;
    }

    .footer-list a {
        color: var(--tblr-body-color);
        text-decoration: none;
        transition: color 0.15s ease-out;
    }

        .footer-list a:hover {
            color: var(--tblr-primary);
        }

.footer-brand-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--tblr-body-color);
}

.footer-theme-toggle {
    display: inline-flex;
    gap: 0.25rem;
    background: var(--tblr-bg-surface-secondary);
    border-radius: 9999px;
    padding: 0.25rem;
}

.footer-theme-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: var(--tblr-secondary);
    text-decoration: none;
    transition: background 0.15s ease-out, color 0.15s ease-out;
}

    .footer-theme-btn:hover {
        background: var(--tblr-bg-surface);
        color: var(--tblr-body-color);
    }

.footer-social {
    display: flex;
    gap: 0.75rem;
}

    .footer-social a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: 8px;
        color: var(--tblr-secondary);
        background: var(--tblr-bg-surface-secondary);
        text-decoration: none;
        transition: color 0.15s ease-out, background 0.15s ease-out;
    }

        .footer-social a:hover {
            color: var(--tblr-primary);
            background: var(--tblr-bg-surface);
        }


.trusted-section {
    background:
        radial-gradient(ellipse at top, rgba(230, 33, 84, 0.06), transparent 60%),
        var(--tblr-bg-surface-secondary);
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--tblr-border-color);
    border-bottom: 1px solid var(--tblr-border-color);
}

.trusted-heading {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--tblr-body-color);
    max-width: 900px;
    margin: 0 auto;
}

.trusted-stat {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--tblr-bg-surface);
    border-radius: 16px;
    border: 1px solid var(--tblr-border-color);
    height: 100%;
    transition: transform 0.2s ease-out, box-shadow 0.2s ease-out, border-color 0.2s ease-out;
}

    .trusted-stat:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
        border-color: var(--tblr-primary);
    }

.trusted-stat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    margin-bottom: 1.5rem;
}

.trusted-stat-icon-1 {
    background: rgba(13, 110, 253, 0.1);
    color: var(--tblr-blue);
}

.trusted-stat-icon-2 {
    background: rgba(25, 135, 84, 0.1);
    color: var(--tblr-green);
}

.trusted-stat-icon-3 {
    background: rgba(255, 193, 7, 0.1);
    color: var(--tblr-yellow);
}

.trusted-stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    color: var(--tblr-body-color);
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--tblr-primary) 0%, var(--tblr-blue) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.trusted-stat-label {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--tblr-body-color);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.trusted-stat-desc {
    font-size: 0.9375rem;
    color: var(--tblr-secondary);
    line-height: 1.5;
}

@media (max-width: 768px) {
    .trusted-heading {
        font-size: 1.875rem;
    }

    .trusted-stat-number {
        font-size: 2.75rem;
    }
}

/* Show light logo by default, hide dark */
.logo-dark {
    display: none;
}

/* In dark mode, flip them */
[data-bs-theme="dark"] .logo-light {
    display: none;
}

[data-bs-theme="dark"] .logo-dark {
    display: inline-block;
}

.buzzers-section {
    background: linear-gradient(180deg, var(--tblr-bg-surface-secondary) 0%, var(--tblr-bg-surface) 100%);
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--tblr-border-color);
    border-bottom: 1px solid var(--tblr-border-color);
}

.buzzers-heading {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--tblr-body-color);
    max-width: 900px;
    margin: 0 auto;
}

.video-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    background: var(--tblr-bg-surface);
    border: 1px solid var(--tblr-border-color);
    transition: transform 0.2s ease-out, box-shadow 0.2s ease-out, border-color 0.2s ease-out;
}

    .video-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
        border-color: var(--tblr-primary);
    }

.video-card-thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}

.video-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.25);
    transition: background 0.2s ease-out;
}

.video-card:hover .video-card-overlay {
    background: rgba(0, 0, 0, 0.45);
}

.video-card-play {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--tblr-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    transition: transform 0.2s ease-out, background 0.2s ease-out;
}

    .video-card-play svg {
        margin-left: 4px; /* visually centre the play triangle */
    }

.video-card:hover .video-card-play {
    transform: scale(1.1);
}

.video-card-info {
    padding: 1rem 1.25rem;
}

.video-card-title {
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--tblr-body-color);
    margin-bottom: 0.25rem;
}

.video-card-meta {
    font-size: 0.875rem;
    color: var(--tblr-secondary);
}

@media (max-width: 768px) {
    .buzzers-heading {
        font-size: 1.875rem;
    }
}

.features-section {
    background: linear-gradient(180deg, var(--tblr-bg-surface-secondary) 0%, var(--tblr-bg-surface) 100%);
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--tblr-border-color);
    border-bottom: 1px solid var(--tblr-border-color);
}

.features-heading {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--tblr-body-color);
    max-width: 900px;
    margin: 0 auto;
}

.feature-card {
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    background: var(--tblr-bg-surface);
    border: 1px solid var(--tblr-border-color);
    transition: transform 0.2s ease-out, box-shadow 0.2s ease-out, border-color 0.2s ease-out;
    height: 100%;
    display: flex;
    flex-direction: column;
}

    .feature-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
        border-color: var(--tblr-primary);
    }

.feature-card-image-wrap {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.feature-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease-out;
}

.feature-card:hover .feature-card-image {
    transform: scale(1.05);
}

.feature-card-zoom {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease-out, transform 0.2s ease-out;
    backdrop-filter: blur(8px);
}

.feature-card:hover .feature-card-zoom {
    opacity: 1;
    transform: scale(1.05);
}

.feature-card-body {
    padding: 1.5rem;
    flex: 1 1 auto;
}

.feature-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--tblr-body-color);
    margin-bottom: 0.5rem;
}

.feature-card-desc {
    font-size: 0.9375rem;
    color: var(--tblr-secondary);
    line-height: 1.5;
}

@media (max-width: 768px) {
    .features-heading {
        font-size: 1.875rem;
    }
}

.venue-section {
    background: linear-gradient(180deg, var(--tblr-bg-surface-secondary) 0%, var(--tblr-bg-surface) 100%);
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--tblr-border-color);
    border-bottom: 1px solid var(--tblr-border-color);
}

.venue-hero-heading {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.15;
    color: var(--tblr-body-color);
    max-width: 900px;
    margin: 0 auto;
}

/* ── Feature row alternating layout ─────────────────────────── */
.venue-feature-row {
    padding: 1rem 0;
}

.venue-feature-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--tblr-primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.venue-feature-eyebrow-center {
    display: inline-flex;
    margin-left: auto;
    margin-right: auto;
}

.venue-feature-heading {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.25;
    color: var(--tblr-body-color);
    margin-bottom: 1.25rem;
}

.venue-feature-text {
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--tblr-secondary);
    margin-bottom: 1.25rem;
}

    .venue-feature-text:last-child {
        margin-bottom: 0;
    }

.venue-feature-image-wrap {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.venue-feature-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 24px;
}

/* Floating stat badge on first feature image */
.venue-feature-badge {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    background: var(--tblr-bg-surface);
    border-radius: 16px;
    padding: 1rem 1.5rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--tblr-border-color);
}

.venue-feature-badge-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--tblr-primary);
    line-height: 1;
}

.venue-feature-badge-label {
    font-size: 0.8125rem;
    color: var(--tblr-secondary);
    margin-top: 0.25rem;
}

/* ── Quiz type pills ─────────────────────────────────────────── */
.quiz-type-pill {
    background: var(--tblr-bg-surface);
    border: 1px solid var(--tblr-border-color);
    border-radius: 16px;
    padding: 1.5rem 1rem;
    text-align: center;
    transition: transform 0.2s ease-out, border-color 0.2s ease-out;
    height: 100%;
}

    .quiz-type-pill:hover {
        transform: translateY(-2px);
        border-color: var(--tblr-primary);
    }

.quiz-type-pill-icon {
    font-size: 2.5rem;
    line-height: 1;
    margin-bottom: 0.75rem;
}

.quiz-type-pill-name {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--tblr-body-color);
}

/* ── Format card (final band) ────────────────────────────────── */
.venue-format-card {
    background: linear-gradient(135deg, var(--tblr-primary) 0%, #8b0033 100%);
    border-radius: 24px;
    padding: 3rem;
    color: white;
    box-shadow: 0 16px 48px rgba(230, 33, 84, 0.2);
}

.venue-format-eyebrow {
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.75rem;
}

.venue-format-heading {
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1rem;
    color: white;
}

.venue-format-text {
    font-size: 1.0625rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
}

.venue-format-stat-number {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    color: white;
    margin-bottom: 0.5rem;
}

.venue-format-stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ── Mobile sizing ────────────────────────────────────────────── */
@media (max-width: 768px) {
    .venue-hero-heading {
        font-size: 2rem;
    }

    .venue-feature-heading {
        font-size: 1.5rem;
    }

    .venue-format-card {
        padding: 2rem 1.5rem;
    }

    .venue-format-heading {
        font-size: 1.75rem;
    }

    .venue-format-stat-number {
        font-size: 2.25rem;
    }
}

.story-section {
    background: linear-gradient(180deg, var(--tblr-bg-surface) 0%, var(--tblr-bg-surface-secondary) 100%);
    border-top: 1px solid var(--tblr-border-color);
    border-bottom: 1px solid var(--tblr-border-color);
}

.story-image-wrap {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.story-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 24px;
}

.story-heading {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    color: var(--tblr-body-color);
    margin-bottom: 1.5rem;
}

.story-text {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--tblr-secondary);
    margin-bottom: 1.25rem;
}

.story-stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--tblr-border-color);
}

.story-stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--tblr-primary);
    line-height: 1;
}

.story-stat-label {
    font-size: 0.875rem;
    color: var(--tblr-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 0.25rem;
}

@media (max-width: 768px) {
    .story-heading {
        font-size: 1.875rem;
    }

    .story-stats {
        gap: 1.5rem;
    }
}

.hardware-section {
    background: linear-gradient(180deg, var(--tblr-bg-surface-secondary) 0%, var(--tblr-bg-surface) 100%);
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--tblr-border-color);
    border-bottom: 1px solid var(--tblr-border-color);
}

.hardware-heading {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--tblr-body-color);
    max-width: 900px;
    margin: 0 auto;
}

.hardware-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--tblr-border-color);
}

.hardware-spec {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: var(--tblr-bg-surface);
    border: 1px solid var(--tblr-border-color);
    border-radius: 12px;
    flex: 1 1 240px;
}

.hardware-spec-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(13, 110, 253, 0.1);
    color: var(--tblr-blue);
    flex-shrink: 0;
}

.hardware-spec-icon-alt {
    background: rgba(25, 135, 84, 0.1);
    color: var(--tblr-green);
}

.hardware-spec-label {
    font-size: 0.8125rem;
    color: var(--tblr-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hardware-spec-value {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--tblr-body-color);
}

@media (max-width: 768px) {
    .hardware-heading {
        font-size: 1.875rem;
    }
}

.bulk-assign-bar {
    border-left: 4px solid var(--tblr-primary);
    animation: slideDown 0.2s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.table .badge {
    font-size: 0.9rem;
    padding: 0.5rem 0.75rem;
}

/* Dark mode — white text */
[data-bs-theme="dark"] .table .badge {
    color: #fff !important;
}

/* Light mode — black text */
[data-bs-theme="light"] .table .badge {
    color: #000 !important;
}


/* Modern Tabler (Bootstrap 5.3+) — most likely yours */
[data-bs-theme="light"] {
    --tblr-gray-50: #efeff5;
}

/* Older Tabler / Bootstrap-vanilla approach */
:root {
    --tblr-gray-50: #efeff5;
}
:not([data-bs-theme="dark"]) .card-header-light {
    background-color: #c42935 !important;
    color: #fff !important;
    border-bottom-color: #a42029 !important;
}

    :not([data-bs-theme="dark"]) .card-header-light .card-title,
    :not([data-bs-theme="dark"]) .card-header-light h3,
    :not([data-bs-theme="dark"]) .card-header-light .text-secondary,
    :not([data-bs-theme="dark"]) .card-header-light a {
        color: #fff !important;
    }

.navbar {
    min-height: 80px;
    margin-left: calc(50% - 50vw);
}

    .navbar .nav-link {
        color: #fff !important;
        font-size: 1rem !important;
    }

        .navbar .nav-link:hover,
        .navbar .nav-link:focus {
            color: rgba(255, 255, 255, 0.85) !important;
        }

/* Mobile expanded menu background */
.navbar-collapse {
    background: var(--tblr-navbar-bg, #182433);
}

.navbar .offcanvas {
    background: var(--tblr-navbar-bg, #182433);
}

@media (max-width: 991.98px) {
    /* Keep the top bar as a single row — toggler / brand / avatar */
    .navbar > .container-fluid {
        position: relative;
        min-height: 80px;
        align-items: center;
    }

    /* The menu panel drops over the content below the navbar */
    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: calc(50% - 50vw);
        right: calc(50% - 50vw);
        padding: 1rem;
        z-index: 1000;
    }
}