@media (max-width: 767px) {
    .team-title {
        margin-top: -2px !important;
        padding-top: 2px !important;
    }
}
/* Match subjects page background gradient */
.page-background {
    background: linear-gradient(135deg, #87ceeb 0%, #8f5be8 100%) !important; /* sky blue to purple */
    background-position: center top !important;
}
@media (min-width: 768px) {
    .team-title a,
    .team-desig,
    .featured-tutors-section .team-title a,
    .featured-tutors-section .team-desig {
        text-align: center !important;
        display: block !important;
        margin-left: auto !important;
        margin-right: auto !important;
        width: 100%;
    }
}
/* General styles for the section */
.team-section {
    padding: 60px 0 80px; /* Match subjects page padding */
    position: relative;
}

body.dark-mode .team-section {
    /* The background image remains, but the overlay will adapt */
}

/* Make container wider on the tutors page */
.team-section .container {
    padding-left: 30px; /* Add some padding on the sides */
    padding-right: 30px;
}

@media (min-width: 1400px) {
    .team-section .container { max-width: 1400px; }
}
@media (max-width: 767px) {
    .team-section .container {
        padding-left: 0;
        padding-right: 0;
    }
    /* Center grid items on mobile */
    .team-section .row {
        justify-content: center;
    }
}

/* Ensure reduced marquee padding on tablets/phablets too */
@media (max-width: 991px) {
    .stats-marquee-container {
        padding: 0 !important;
    }
}

/* Hero Section Styles - Match About Page */
.page-header {
    padding: 60px 0 40px 0 !important;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: visible;
}

.page-header .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

    .page-header .page-header-title {
        font-size: 3rem;
        margin-bottom: 0rem;
            margin-top: 0 !important;
        /* Animation */
        opacity: 0;
        animation: slide-fade-in 1s ease-out 0.5s forwards;
        font-weight: 700;
        color: #fff;
        font-family: 'Baloo 2', cursive;
        text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
    }

    @media (min-width: 768px) {
        .page-header .page-header-title {
            margin-top: -10px !important;
        }
        .stats-marquee-container {
            margin-top: -84px !important;
        }
    }
    @media (max-width: 767px) {
        .page-header .page-header-title {
            font-size: 2rem !important;
            margin-top: 30px !important;
            margin-bottom: 1rem !important;
            transform: none !important;
        }
        .search-container {
            margin-top: 0px !important;
            margin-bottom: 0 !important;
            width: 60% !important;
            max-width: 60% !important;
            margin-left: auto !important;
            margin-right: auto !important;
        }
        .stats-marquee-container {
            margin-top: -2px !important;
            margin-bottom: 20px !important;
        }
        .header-content-wrapper {
            width: 100%;
            padding: 0 15px;
        }
        .row.tutor-grid {
            margin-top: 0 !important;
        }
    }

.page-header .page-header-subtitle {
    font-size: 1.3rem;
    font-weight: 400;
    /* Animation */
    opacity: 0;
    animation: slide-fade-in 1s ease-out 0.8s forwards;
    color: var(--text-primary);
    font-family: 'Baloo 2', cursive;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.3);
}

@keyframes slide-fade-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 767px) {
    .page-header {
        padding: 55px 0 30px 0 !important;
        min-height: 200px;
    }

    .page-header .page-header-title {
        font-size: 32px !important;
        color: #fff !important;
        margin-top: -15px !important; /* move title up by 10px on mobile */
        text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8) !important;
    }

    /* Nudge header controls (search) upward */
    .page-header .header-controls-wrapper {
        margin-top: -60px !important; /* stronger lift for small phones */
    }


/* Tablet + large phones: ensure the search bar lifts as well */
@media (max-width: 991px) {
    .page-header .header-controls-wrapper {
        margin-top: -60px !important;
    }
    .page-header .search-container {
        transform: translateY(-10px) !important; /* extra nudge up */
    }
}
    .page-header .page-header-subtitle {
        font-size: 18px !important;
    }
}

/* Title Area */
.title-area {
    margin-bottom: 40px; /* Reduced margin */
    text-align: center;
}

/* Add vertical spacing and slight upward lift (desktop/tablet) */
.tutor-grid-item {
    margin-top: -40px;
    margin-bottom: 3.625rem;
    padding-bottom: 1rem;
}
.tutor-grid-item {
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.tutor-grid-item.is-hidden {
    opacity: 0;
    transform: scale(0.95);
}

.team-box {
    background-color: rgba(var(--bg-primary-rgb), 0.95); /* Match footer in light mode */
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    transition: all 0.3s ease-in-out;
    /* For Tilt.js - this preserves the 3D effect */
    transform-style: preserve-3d;
    transform: perspective(1000px);
    display: flex;
    flex-direction: column;
    height: 100%;
}

body.dark-mode .team-box {
    background-color: rgba(var(--bg-secondary-rgb), 0.95); /* Match footer in dark mode */
    box-shadow: 0 4px 15px var(--shadow-color);
}


.team-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.team-img {
    position: relative;
    border-radius: 10px 10px 0 0; /* Match parent border-radius */

}

.team-img::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
    pointer-events: none; /* Allows clicks to pass through */
    transition: opacity 0.4s ease;
}

.team-box:hover .team-img::after {
    opacity: 0;
}


.team-bio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(26, 32, 44, 0.9); /* Dark, semi-transparent overlay for readability */
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    text-align: center;
    opacity: 0; /* Hidden by default */
    transition: opacity 0.5s ease; /* Smoother fade-in for the overlay */
    font-family: 'Baloo 2', cursive;
    font-size: 15px; /* Reduced font size for better fit */
    line-height: 1.3; /* Reduced line height for more compact text */
}


.team-bio-overlay p {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.4s ease 0.2s, transform 0.4s ease 0.2s; /* Delayed transition for the text */
}

.team-box:hover .team-bio-overlay {

    opacity: 1;
}

.team-box:hover .team-bio-overlay p {
    opacity: 1;
    transform: translateY(0);
}


.team-click-prompt {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-family: 'Baloo 2', cursive;
    font-size: 14px;
    font-weight: 500;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
    pointer-events: none;
    opacity: 0; /* Initially hidden */


}

.team-box:hover .team-click-prompt {
    opacity: 1; /* Visible on hover */
}


.team-box:hover .team-img img {
    transform: scale(1.05); /* Keep the zoom effect */
}

.team-img img {
    width: 100%; /* Make image smaller by reducing its height */
    border-radius: 10px 10px 0 0;    
    aspect-ratio: 1 / 1; /* Revert to a square aspect ratio to make it taller */
    object-fit: cover;

    object-position: top; /* Ensures the top of the image is not cut off */
}

.team-box {
    background-color: rgba(var(--bg-primary-rgb), 0.6); /* Frosty glass effect */
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    transition: all 0.3s ease-in-out;
    /* For Tilt.js - this preserves the 3D effect */
    transform-style: preserve-3d;
    transform: perspective(1000px);
    display: flex;
    flex-direction: column;
    height: 100%;
    font-family: 'Baloo 2', cursive;
    transition: color 0.3s;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3); /* Add a subtle shadow */
}

body.dark-mode .team-title a {
    color: var(--text-primary);
}


.team-title a:hover {
    color: var(--secondary);
}

.team-desig {
    display: block;
    color: var(--accent); /* Use theme's yellow accent color */
    font-size: 16px; /* Make designation smaller */
    margin: -2px 0 10px 0; /* Reduced margins to bring it closer to the name */
    font-weight: 600;
    font-family: 'Baloo 2', cursive;

    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

    .team-stats {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px; /* tighter spacing on mobile */
        margin-top: 6px;
        padding-top: 6px;
        border-top: 1px solid var(--border-color);
        font-family: 'Baloo 2', cursive;
        font-size: 12px;
        color: var(--text-primary);
        font-weight: 600;
    }

body.dark-mode .team-stats {
    color: var(--text-primary); /* Use light text color in dark mode */
}

.tutor-bio, .tutor-specialties {
    font-size: 14px;
    color: #555;
    line-height: 1.4;
    font-family: 'Baloo 2', cursive;
}

.team-stats i {
    color: var(--primary);
    font-size: 16px;
}
/* --- Fading/Flashing Specialties Display --- */
.specialty-fader {
    height: 20px; /* Reduce height */
    position: relative;
    margin: 5px 0;
    color: var(--primary); /* Use the theme's secondary pink color */
    font-size: 16px; /* Reduce font size */
    font-weight: 500;
    font-family: 'Baloo 2', cursive;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5); /* Increased shadow for readability */
    overflow: hidden; /* Hide specialties that are outside the container */
}

.specialty-placeholder {
    position: absolute;
    width: 100%;
    left: 0;
    opacity: 1; /* Visible by default */
    transition: opacity 0.3s ease-out;
}

.specialty-placeholder .fa-chevron-down {
    font-size: 0.8em; /* Make icon slightly smaller than text */
    margin-left: 8px; /* Add space between text and icon */
    transition: transform 0.3s ease-out;
}

.team-box:hover .specialty-placeholder .fa-chevron-down {
    transform: rotate(180deg); /* Flip icon on hover */
}

body.dark-mode .specialty-fader {
    /* The --primary variable will adapt to dark mode automatically */
}

.team-box:hover .specialty-placeholder {
    opacity: 0; /* Hide placeholder on hover */
}

.team-box:hover .specialty-text-display {
    /* This ensures the cycling specialties can become visible on hover */
    transition-delay: 0.3s; /* Delay transition to allow placeholder to fade out */
}

.specialty-text-carousel {
    position: absolute; /* Allow specialties to be positioned for animation */
    width: 100%;
    height: 100%; /* Match fader height */
    left: 0;
    top: 0;
    overflow: hidden; /* Hide specialties that are outside the container */
    opacity: 0;
    transform: translateY(100%);
    transition: transform 0.4s ease-out, opacity 0.4s ease-out;
    display: flex; /* To center content */
    align-items: center; /* To center content */
    justify-content: center; /* To center content */
}

.team-box:hover .specialty-text-carousel {
    opacity: 1;
    transform: translateY(0);
}

.specialty-item {
    position: absolute;
    width: 100%;
    text-align: center;
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.specialty-item.active {
    opacity: 1;
    transform: translateY(0);
}

.specialty-item.leaving {
    opacity: 0;
    transform: translateY(-100%);
}

body.dark-mode .tutor-specialties {
    color: var(--text-secondary);
}

.tutor-specialties {
    margin-top: 1px;
    /* Allow text to wrap and prevent it from being cut off */
    white-space: normal;
}

/* View Profile Link */
.view-profile-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 10px;
    font-family: 'Baloo 2', cursive;
    font-size: 15px;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.view-profile-link:hover {
    color: var(--secondary);
}

.view-profile-link i {
    font-size: 0.9em;
    transition: transform 0.3s ease;
}

.view-profile-link:hover i {
    transform: translateX(4px);
}

/* Search Bar Styles */
.page-header .header-content-wrapper {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
    text-align: center !important;
}

.page-header .header-controls-wrapper {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    margin: 0 auto !important;
}

.search-container {
    width: 100%;
    max-width: 500px; /* Desktop match to subjects */
    margin: 0 auto 5px;
    position: relative;
}

@media (max-width: 991px) {
    .search-container { width: 70% !important; max-width: 70% !important; margin-bottom: 10px; margin-top: -30px; }
    /* Override base .page-header .search-input (higher specificity) */
    .page-header .search-input {
        padding: 9px 55px 9px 22px !important; /* slightly taller (+5px total) */
        height: 43px !important;
        line-height: 1.3 !important;
        font-size: 15px !important;
    }
}

@media (min-width: 992px) {
    .stats-marquee-container {
        display: block !important;
        overflow: hidden;
        background: var(--bg-secondary);
        padding: 0 !important; /* reduced by 15px on mobile */
        margin: -55px 0 20px 0;
        width: 100vw;
        margin-left: calc(-50vw + 50%);
        border-radius: 0;
        backdrop-filter: blur(10px);
        border-top: 1px solid var(--border-color);
        border-bottom: 1px solid var(--border-color);
        box-shadow: 0 4px 12px var(--shadow-color);
    }
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3); /* Increased shadow for readability */
    transition: all 0.3s ease;
}

/* Style for the placeholder text */
.search-input::placeholder {
    color: var(--text-secondary); /* Use theme variable for placeholder */
    opacity: 1; /* Firefox fix */
}

body.dark-mode .search-input {
    background-color: rgba(var(--bg-secondary-rgb), 0.3);
    border-color: rgba(255, 255, 255, 0.15);
    color: var(--text-primary);
}

.search-input:hover {
    background-color: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.7);
}

body.dark-mode .search-input:hover {
    background-color: rgba(var(--bg-secondary-rgb), 0.4);
    border-color: rgba(255, 255, 255, 0.25);
}

.search-input:focus {
    outline: none;
    border-color: #fff;
    background-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

/* Make selector more specific to avoid conflicts with other buttons */
.search-container .search-btn {
    position: absolute;
    right: 2px;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border: none;
    background-color: rgba(var(--primary-rgb), 0.6); /* Frosty glass effect */
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s ease;
}

.search-btn:hover {
    background-color: rgba(var(--secondary-rgb), 0.8);
}

/* Filter Dropdown Styles (mimicking main nav) */
.filter-dropdown {
    position: relative;
    user-select: none;
    width: 220px;
}

.filter-trigger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    padding: 10px 15px;
    height: 35px;
    text-decoration: none;
    position: relative;
    font-family: 'Baloo 2', cursive;
}

.filter-trigger .fa-chevron-down {
    transition: transform 0.3s ease;
}

/* Hide sub-menu by default */
.filter-dropdown .sub-menu {
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px); /* Increase distance for a clearer animation */
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}

/* Show sub-menu and rotate chevron when dropdown is open */
/* Use a more specific selector to override the hover effect from styles.css */
.filter-dropdown.open > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.filter-dropdown.open .filter-trigger .fa-chevron-down {
    transform: rotate(180deg);
}

/* Use main nav sub-menu styles for the options */
.filter-options {
    min-width: 220px;
}

.filter-option.selected {
    background-color: rgba(var(--secondary-rgb, 208, 3, 193), 0.2);
    color: var(--secondary);
}

/* --- Tutor Stats Infographics --- */
.tutor-stats-grid {
    display: flex;
    gap: 20px; /* Reduced gap between cards */
    margin: 40px 0 0; /* Added top margin for spacing, removed bottom */
}

.stat-card {
    flex: 1;
    text-align: center;
    background-color: rgba(var(--bg-primary-rgb), 0.6);
    backdrop-filter: blur(10px);
    padding: 25px 15px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 20px var(--shadow-color);    
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px var(--shadow-color);
}

body.dark-mode .stat-card {
    background-color: rgba(45, 55, 72, 0.5);
}

.stat-icon {
    font-size: 32px;
    color: var(--accent);
    margin-bottom: 10px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.stat-card:hover .stat-icon {
    transform: rotate(15deg) scale(1.1);
}

.stat-title {
    font-family: 'Baloo 2', cursive;
    font-size: 18px;
    font-weight: 600;
    color: var(--primary);
    margin: 5px 0 10px 0;
}

.stat-desc {
    font-size: 15px;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

.stat-number {
    font-family: 'Baloo 2', cursive;
    font-size: 42px;
    font-weight: 800;
        text-decoration: none;
    color: var(--text-primary);
    margin: 0 0 5px 0;
    line-height: 1;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4);
}

@media (max-width: 767px) {
    .tutor-stats-grid {
        flex-direction: column;
        gap: 30px;
        display: none !important;
    }
    .stat-number { font-size: 36px; }

    /* Tutor cards width on mobile */
    .tutor-grid-item {
        flex: 0 0 calc(50% - 12px);
        max-width: calc(50% - 12px);
        margin: -55px 6px 65px 6px; /* add 45px more bottom margin on mobile */
        padding: 0 8px 1rem 8px;
    }
    
    /* Shrink tutor cards on mobile */
    .team-box {
        border-radius: 8px !important;
        max-width: 100% !important;
        width: 100% !important;
    }
    
    .team-img img {
        aspect-ratio: 1 / 1 !important;
        max-height: 170px !important; /* reduce overall card height by ~30px on mobile */
    }
    
    .team-info {
        padding: 8px 10px 10px !important;
    }
    
    .team-title a {
        font-size: 14px !important;
        margin-bottom: 2px !important;
        text-align: center;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
    
    .team-desig {
        font-size: 12px !important;
        line-height: normal !important; /* keep spacing unchanged */
        opacity: 0.92; /* Match page footer opacity */
        margin: 0 0 2px 0 !important;
        display: block !important;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
    
    .specialty-fader {
        height: 14px !important;
        font-size: 12px !important;
    }
    
    .team-bio-overlay {
        padding: 15px !important;
        font-size: 11px !important;
    }
    
    /* Center the grid itself on mobile */
    .row.tutor-grid {
        justify-content: center !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    /* Stats Marquee - Show on mobile */
    .stats-marquee-container {
        display: block !important;
        overflow: hidden;
        background: var(--bg-secondary);
        padding: 0 !important; /* reduced by 15px on mobile */
        margin: -55px 0 20px 0;
        width: 100vw;
        margin-left: calc(-50vw + 50%);
        border-radius: 0;
        backdrop-filter: blur(10px);
        border-top: 1px solid var(--border-color);
        border-bottom: 1px solid var(--border-color);
        box-shadow: 0 4px 12px var(--shadow-color);
    }

    /* Tighter marquee spacing on mobile */
    .stats-marquee-content {
        padding: 0 15px;
        gap: 6px;
    }
    .marquee-stat-item {
        padding: 0 6px;
        font-size: 13px;
    }
    .marquee-icon {
        font-size: 18px;
    }
}

/* Restore featured tutors card sizing on the home page without impacting tutors page mobile tweaks */
@media (max-width: 767px) {
    .featured-tutors-section .team-box {
        border-radius: 12px !important;
    }

    .featured-tutors-section .team-img img {
        max-height: none !important;
    }

    .featured-tutors-section .team-info {
        padding: 5px 15px 15px !important;
    }

    .featured-tutors-section .team-title a {
        font-size: 26px !important;
        margin-bottom: 0 !important;
        text-align: center;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }

    .featured-tutors-section .team-desig {
        font-size: 16px !important;
        line-height: 1.3 !important;
        margin: -2px 0 10px 0 !important;
        text-align: center;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }

    .featured-tutors-section .specialty-fader {
        height: 20px !important;
        font-size: 16px !important;
    }

    .featured-tutors-section .team-stats {
        font-size: 15px !important;
    }

    .featured-tutors-section .team-bio-overlay {
        padding: 20px !important;
        font-size: 15px !important;
    }
}

/* Shared marquee styles (all breakpoints) */
.stats-marquee {
    display: flex;
    width: max-content;
    animation: scroll-marquee 25s linear infinite;
}

.stats-marquee-content {
    display: flex;
    align-items: center;
    white-space: nowrap;
    padding: 0 20px;
    gap: 10px;
}

.marquee-stat-item {
    font-size: 14px;
    color: var(--text-primary);
    padding: 0 10px;
    font-family: 'Baloo 2', cursive;
}

.marquee-icon {
    color: #FFD700;
    font-size: 20px;
    margin-right: 8px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    vertical-align: middle;
}

body.dark-mode .marquee-icon {
    color: #FFD700;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.marquee-stat-item strong {
    color: var(--primary);
    font-size: 18px;
    font-weight: 700;
}

body.dark-mode .marquee-stat-item strong {
    color: var(--secondary);
}

.marquee-separator {
    color: var(--primary);
    font-size: 16px;
    opacity: 0.5;
    padding: 0 5px;
}

@keyframes scroll-marquee {
    from {
        transform: translateX(0%);
    }
    to {
        transform: translateX(-50%);
    }
}

.stats-marquee:hover {
    animation-play-state: paused;
}

/* Hide stat cards on desktop, show marquee instead */
@media (min-width: 768px) {
    .tutor-stats-grid {
        display: none !important;
    }
    .stats-marquee-container {
        display: block !important;
        overflow: hidden;
        background: var(--bg-secondary);
        padding: 4px 0;
        margin: -69px 0 20px 0;
        width: 100vw;
        margin-left: calc(-50vw + 50%);
        border-radius: 0;
        backdrop-filter: blur(10px);
        border-top: 1px solid var(--border-color);
        border-bottom: 1px solid var(--border-color);
        box-shadow: 0 4px 12px var(--shadow-color);
    }
}

/* Stats Marquee - Show on desktop */
.stats-marquee-container {
    display: block !important;
    overflow: hidden;
    background: var(--bg-secondary);
    padding: 4px 0;
    margin: -69px 0 20px 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    border-radius: 0;
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 4px 12px var(--shadow-color);
}
