/* ScoreNow - Premium Sports Scores Platform */

:root {
    /* Primary Colors */
    --primary-dark: #0a1929;
    --primary-blue: #1976d2;
    --primary-light: #42a5f5;

    /* Secondary Colors */
    --secondary-orange: #ff6b35;
    --secondary-green: #4caf50;
    --secondary-red: #f44336;

    /* Backgrounds */
    --bg-dark: #0d1b2a;
    --bg-card: #0c1421;
    --bg-card-hover: #141f2e;
    --bg-light: #f5f7fa;

    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #b0bec5;
    --text-muted: #78909c;
    --text-dark: #212121;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #1976d2 0%, #0d47a1 100%);
    --gradient-secondary: linear-gradient(135deg, #ff6b35 0%, #f44336 100%);
    --gradient-dark: linear-gradient(135deg, #0a1929 0%, #1b2838 100%);
    --gradient-card: linear-gradient(145deg, #1b2838 0%, #253447 100%);

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 20px rgba(25, 118, 210, 0.3);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    /* Bootstrap Table Overrides */
    --bs-table-color: #e1e7ef;
    --bs-table-bg: #303e54;
    --bs-table-border-color: rgba(255, 255, 255, 0.1);
    --bs-table-striped-bg: rgba(255, 255, 255, 0.02);
    --bs-table-striped-color: #e1e7ef;
    --bs-table-active-bg: rgba(255, 255, 255, 0.05);
    --bs-table-active-color: #ffffff;
    --bs-table-hover-bg: rgba(255, 255, 255, 0.03);
    --bs-table-hover-color: #ffffff;

    /* Bootstrap Color Overrides */
    --bs-primary: #1976d2;
    --bs-secondary: #6c757d;
    --bs-success: #4caf50;
    --bs-info: #0dcaf0;
    --bs-warning: #ffc107;
    --bs-danger: #f44336;
    --bs-light: #f8f9fa;
    --bs-dark: #303e54;

    /* Bootstrap Card Overrides */
    --bs-card-bg: #303e54;
    --bs-card-border-color: rgba(255, 255, 255, 0.1);
    --bs-card-border-radius: var(--radius-lg);
    --bs-card-inner-border-radius: calc(var(--radius-lg) - 1px);
    --bs-card-cap-bg: #303e54;
    --bs-card-cap-color: #ffffff;

    /* Bootstrap Modal Overrides */
    --bs-modal-bg: #303e54;
    --bs-modal-border-color: rgba(255, 255, 255, 0.1);
    --bs-modal-border-radius: var(--radius-lg);
    --bs-modal-color: #e1e7ef;
    --bs-modal-header-border-color: rgba(255, 255, 255, 0.1);
    --bs-modal-footer-border-color: rgba(255, 255, 255, 0.1);
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: var(--bg-dark);
    color: var(--text-primary);
    font-family:
        "Inter",
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    animation: pageReveal 0.8s ease-out;
}

@keyframes pageReveal {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Global Animations */
.animate-fade-in {
    animation: fadeIn 0.6s ease forwards;
}

.animate-slide-up {
    animation: slideUp 0.6s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection */
::selection {
    background: var(--primary-blue);
    color: white;
}

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

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

::-webkit-scrollbar-thumb {
    background: var(--primary-blue);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-light);
}

/* Navbar */
.navbar-custom {
    background: rgba(10, 25, 41, 0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

.navbar-custom .navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-custom .nav-link {
    color: var(--text-secondary) !important;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 1rem !important;
}

.navbar-custom .nav-link:hover {
    color: var(--text-primary) !important;
}

.navbar-custom .nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.navbar-custom .nav-link:hover::after,
.navbar-custom .nav-link.active::after {
    width: 80%;
}

/* Hero Section */
.hero-section {
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
    padding: 5rem 0;
    margin-bottom: 3rem;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%231976d2" fill-opacity="0.1" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>')
        no-repeat bottom;
    background-size: cover;
    opacity: 0.5;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

/* Carousel */
.carousel-item {
    height: 400px;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.carousel-item img {
    object-fit: cover;
    height: 100%;
    filter: brightness(0.7);
}

.carousel-caption {
    background: rgba(10, 25, 41, 0.8);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    padding: 2rem;
    bottom: 2rem;
}

/* Buttons */
.btn {
    border-radius: var(--radius-sm);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition:
        width 0.6s,
        height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-secondary-custom {
    background: var(--gradient-secondary);
    color: white;
    box-shadow: var(--shadow-sm);
}

.btn-secondary-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(255, 107, 53, 0.4);
}

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

.btn-outline-custom:hover,
.btn-outline-custom.active {
    background: var(--primary-blue);
    color: white;
    border-color: var(--primary-blue);
    transform: translateY(-2px);
}

/* Enhanced outline custom with white background */
.btn-outline-custom.bg-white {
    background: #ffffff !important;
    color: var(--primary-blue) !important;
    border: 2px solid var(--primary-blue) !important;
    font-weight: 600;
}

.btn-outline-custom.bg-white:hover,
.btn-outline-custom.bg-white.active {
    background: var(--primary-blue) !important;
    color: #ffffff !important;
    border-color: var(--primary-blue) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(25, 118, 210, 0.3);
}

/* Filter Buttons */
.filter-buttons .btn {
    margin: 0.25rem;
    border-radius: var(--radius-xl);
    padding: 0.5rem 1.5rem;
}

/* Cards */
.card {
    background: var(--gradient-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
}

.card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(25, 118, 210, 0.3);
}

.card:hover::before {
    transform: scaleX(1);
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    color: var(--text-primary);
    font-weight: 700;
    margin-bottom: 1rem;
}

.card-text {
    color: var(--text-secondary);
}

/* Card Headers */
.card-header {
    background: #303e54;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #42a5f5;
    font-weight: 600;
    padding: 1rem 1.5rem;
}

.card-header:first-child {
    border-radius: var(--bs-card-inner-border-radius) var(--bs-card-inner-border-radius) 0 0;
}

/* Card Footer */
.card-footer {
    background: rgba(48, 62, 84, 0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
}

/* Modal Styling */
.modal-content {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
    color: var(--bs-modal-color);
    pointer-events: auto;
    background-color: #303e54;
    background-clip: padding-box;
    border: var(--bs-modal-border-width) solid var(--bs-modal-border-color);
    border-radius: var(--bs-modal-border-radius);
    outline: 0;
}

.modal-header {
    background: #303e54;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.modal-body {
    background: #303e54;
    color: #e1e7ef;
}

.modal-footer {
    background: #303e54;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-title {
    color: #ffffff !important;
}

/* Match Cards */
.match-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.match-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(66, 165, 245, 0.4);
    transform: translateY(-8px);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.5);
}

.match-card .team-name {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 1rem;
    margin-bottom: 0;
}

.match-card .score-display {
    padding: 10px 15px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--radius-md);
    min-width: 100px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

.match-card .score {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary-light);
    letter-spacing: 1px;
    white-space: nowrap;
}

.match-card .team-logo-small {
    width: 65px;
    height: 65px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.match-card:hover .team-logo-small {
    transform: scale(1.1);
}

.match-card .match-time {
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Badges */
.badge {
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.85rem;
}

.badge.bg-success {
    background: linear-gradient(135deg, #4caf50 0%, #388e3c 100%) !important;
}

.badge.bg-danger {
    background: linear-gradient(135deg, #f44336 0%, #ffffff 100%) !important;
}

.badge.bg-warning {
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%) !important;
    color: white !important;
}

.badge.bg-secondary {
    background: linear-gradient(135deg, #607d8b 0%, #ffffff 100%) !important;
}

.badge.bg-secondary.bg-opacity-10.text-secondary.border.border-secondary.border-opacity-25.rounded-pill.px-3 {
    background: linear-gradient(135deg, #607d8b 0%, #ffffff 100%) !important;
    color: #ffffff !important;
    border-color: rgba(96, 125, 139, 0.4) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(96, 125, 139, 0.2);
}

/* Live Indicator */
.live-badge {
    background: var(--secondary-red);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 700;
    animation: pulse 2s infinite;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.live-badge::before {
    content: "";
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    animation: blink 1s infinite;
}

/* Skeleton Loading */
.skeleton {
    background: linear-gradient(90deg, #1b2838 25%, #253447 50%, #1b2838 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite linear;
    border-radius: var(--radius-sm);
}

@keyframes shimmer {
    to {
        background-position: -200% 0;
    }
}

.skeleton-badge {
    width: 80px;
    height: 20px;
    border-radius: 20px;
}

.skeleton-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
}

.skeleton-text {
    height: 15px;
    border-radius: 4px;
}

.skeleton-score {
    width: 60px;
    height: 40px;
    border-radius: 8px;
}

.skeleton-card {
    pointer-events: none;
    opacity: 0.7;
}

@keyframes pulse {
    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.8;
    }
}

@keyframes blink {
    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

/* Loading Spinner */
.spinner-border {
    border-color: var(--primary-blue);
    border-right-color: transparent;
}

/* Footer */
.footer {
    background: var(--gradient-dark);
    color: var(--text-secondary);
    padding: 3rem 0 1.5rem;
    margin-top: 5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer h5 {
    color: var(--text-primary);
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer a:hover {
    color: var(--primary-light);
    transform: translateX(5px);
}

.footer .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin: 0 0.25rem;
    transition: all 0.3s ease;
}

.footer .social-links a:hover {
    background: var(--primary-blue);
    transform: translateY(-3px);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scoreFlash {
    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
        color: var(--secondary-orange);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

.slide-in-left {
    animation: slideInLeft 0.6s ease-out;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        padding: 3rem 0;
    }

    .carousel-item {
        height: 250px;
    }

    .card {
        margin-bottom: 1rem;
    }

    .match-card .team-name {
        font-size: 1rem;
    }

    .match-card .score {
        font-size: 1.25rem;
    }
}

/* Utility Classes */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient-primary {
    background: var(--gradient-primary);
}

.bg-gradient-secondary {
    background: var(--gradient-secondary);
}

.shadow-glow {
    box-shadow: var(--shadow-glow);
}

/* Text Alignment with Background */
.text-start {
    text-align: left !important;
    background-color: #303e54;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    color: #ffffff;
}

/* Stat Cards */
.stat-card {
    background: #303e54;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(66, 165, 245, 0.3);
}

/* Dashboard Tables */
.dashboard-table {
    background: #303e54;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Glass Cards */
.glass-card {
    background: #303e54;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s ease;
}

.glass-card:hover {
    border-color: rgba(66, 165, 245, 0.3);
    transform: translateY(-5px);
}

/* Bootstrap Table Variable Overrides */
.table {
    --bs-table-color: #e1e7ef;
    --bs-table-bg: #303e54;
    --bs-table-border-color: rgba(255, 255, 255, 0.1);
    --bs-table-striped-bg: rgba(255, 255, 255, 0.02);
    --bs-table-striped-color: #e1e7ef;
    --bs-table-active-bg: rgba(255, 255, 255, 0.05);
    --bs-table-active-color: #ffffff;
    --bs-table-hover-bg: rgba(255, 255, 255, 0.03);
    --bs-table-hover-color: #ffffff;
}

/* Table Headers */
.table thead th {
    background: rgba(48, 62, 84, 0.8) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #42a5f5 !important;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
    padding: 15px 20px;
}

/* Table Body */
.table tbody td {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
    padding: 15px 20px;
    color: #e1e7ef !important;
}

/* Table Hover Effects */
.table-hover tbody tr:hover {
    background: rgba(255, 255, 255, 0.03) !important;
    color: #ffffff !important;
}

/* Container Improvements */
.container {
    max-width: 1200px;
}

/* Section Spacing */
section {
    padding: 3rem 0;
}

/* Improved Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Links */
a {
    color: var(--primary-light);
    text-decoration: none;
    transition: all 0.3s ease;
}

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

/* Sports Showcase Section */
.sports-showcase {
    position: relative;
}

.sport-showcase-card {
    position: relative;
    height: 220px;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.sport-showcase-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.1);
}

.sport-showcase-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.sport-showcase-card:hover .sport-showcase-bg {
    opacity: 1;
}

.sport-showcase-content {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    z-index: 1;
}

.sport-image-wrapper {
    width: 100%;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
    overflow: hidden;
}

.sport-category-image {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.4));
    transition: all 0.4s ease;
}

.sport-showcase-card:hover .sport-image-wrapper {
    transform: scale(1.1) translateY(-10px);
}

.sport-showcase-card:hover .sport-category-image {
    filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.6));
}

.sport-title {
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1.4rem;
    margin: 0;
    text-align: center;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.sport-showcase-card:hover .sport-title {
    transform: translateY(-5px);
    color: var(--primary-light);
}

.sport-action {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.sport-showcase-card:hover .sport-action {
    opacity: 1;
    transform: scale(1);
}

.sport-action i {
    color: white;
    font-size: 1.1rem;
}

/* Responsive for sports showcase */
@media (max-width: 768px) {
    .sport-showcase-card {
        height: 200px;
    }

    .sport-image-wrapper {
        height: 100px;
    }

    .sport-title {
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .sport-showcase-card {
        height: 180px;
    }

    .sport-image-wrapper {
        height: 80px;
    }

    .sport-title {
        font-size: 1.1rem;
    }

    .sport-action {
        width: 35px;
        height: 35px;
        bottom: 0.8rem;
        right: 0.8rem;
    }
}

.lead.text-muted {
    color: #ffc107 !important;
}

.text-secondary {
    --bs-text-opacity: 1;
    color: rgb(255 255 255) !important;
}

.text-muted {
    --bs-text-opacity: 1;
    color: rgb(13 202 240) !important;
}

.text-dark {
    color: rgb(211 147 26) !important;
}

.text-white {
    --bs-text-opacity: 1;
    color: rgb(219 178 23) !important;
}

/* Arabic RTL Support */
[dir="rtl"] {
    text-align: right;
}

[dir="rtl"] .navbar-nav {
    margin-right: auto !important;
    margin-left: 0 !important;
}

[dir="rtl"] .ms-auto {
    margin-right: auto !important;
    margin-left: 0 !important;
}

[dir="rtl"] .me-2 {
    margin-left: 0.5rem !important;
    margin-right: 0 !important;
}

[dir="rtl"] .ms-lg-3 {
    margin-right: 1rem !important;
    margin-left: 0 !important;
}

[dir="rtl"] .text-center {
    text-align: center !important;
}

[dir="rtl"] .dropdown-menu {
    right: 0;
    left: auto;
}

/* Arabic font improvements */
[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] h3,
[dir="rtl"] h4,
[dir="rtl"] h5,
[dir="rtl"] h6 {
    font-weight: 600;
}

[dir="rtl"] .btn {
    font-weight: 500;
}
