html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}



.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}


/* Hero Section */
.hero-section {
    background: url('/images/cricket-bg.jpg') center/cover no-repeat;
    color: white;
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

    .hero-content h1,
    .hero-content p {
        text-shadow: 1px 1px 8px rgba(0,0,0,0.6);
    }

/* Buttons */
.btn-cricbuzz {
    background-color: #00a651;
    color: white;
    border: none;
    transition: 0.3s ease;
    font-weight: 600;
}

    .btn-cricbuzz:hover {
        background-color: #007e3e;
        color: white;
    }

/* Cricket Ball Animations */
.cricket-ball {
    width: 50px;
    height: 50px;
    background: url('/images/cricket-ball.png') no-repeat center/cover;
    position: absolute;
    bottom: 20px;
    z-index: 1;
}

.ball1 {
    animation: ball-move1 6s linear infinite;
}

.ball2 {
    animation: ball-move2 8s linear infinite;
}

.ball3 {
    animation: ball-move3 10s linear infinite;
}

@keyframes ball-move1 {
    0% {
        left: -60px;
        transform: rotate(0deg);
        bottom: 20px;
    }

    50% {
        left: 50%;
        transform: rotate(360deg);
        bottom: 100px;
    }

    100% {
        left: 100%;
        transform: rotate(720deg);
        bottom: 20px;
    }
}

@keyframes ball-move2 {
    0% {
        left: -80px;
        transform: rotate(0deg);
        bottom: 40px;
    }

    50% {
        left: 50%;
        transform: rotate(360deg);
        bottom: 140px;
    }

    100% {
        left: 100%;
        transform: rotate(720deg);
        bottom: 40px;
    }
}

@keyframes ball-move3 {
    0% {
        left: -100px;
        transform: rotate(0deg);
        bottom: 10px;
    }

    50% {
        left: 50%;
        transform: rotate(360deg);
        bottom: 80px;
    }

    100% {
        left: 100%;
        transform: rotate(720deg);
        bottom: 10px;
    }
}

/* Feature Cards Section */
.feature-card {
    border-radius: 15px;
    overflow: hidden;
    background: #ffffff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

    .feature-card::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, #e8f5e9, #ffffff);
        opacity: 0.3;
        z-index: 1;
    }

    .feature-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    }

    .feature-card .card-body {
        position: relative;
        z-index: 2;
    }

.feature-icon {
    font-size: 50px;
    color: #00a651;
}

.feature-card h4 {
    font-weight: 700;
    margin-top: 15px;
    color: #333;
}

.feature-card p {
    color: #555;
    margin-bottom: 15px;
}

/* Section Titles */
.section-title {
    color: #00a651;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 40px;
    font-size: 2rem;
}

/* Footer */
footer {
    background-color: #f8f9fa;
    color: #555;
    font-size: 0.9rem;
}

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

    .hero-content h1 {
        font-size: 2rem;
    }

    .feature-icon {
        font-size: 40px;
    }

    .cricket-ball {
        width: 35px;
        height: 35px;
    }
}


.selectable {
    cursor: pointer;
}

    .selectable.table-active {
        background-color: rgba(13,110,253,.08);
    }



/* Desktop checkbox subtle UX */
.table tbody tr .row-checkbox {
    opacity: 0.4;
}

.table tbody tr:hover .row-checkbox,
.table tbody tr.table-active .row-checkbox {
    opacity: 1;
}


.offcanvas-bottom {
    height: auto !important;
}

    .offcanvas-bottom .offcanvas-body {
        overflow: hidden;
    }


/* ===========================
   MOBILE FORMAT TABS (CRICBUZZ STYLE)
   =========================== */

.mobile-format-tabs {
    display: flex;
    gap: 8px;
    padding: 6px;
    background: #f1f3f5;
    border-radius: 999px;
}

    .mobile-format-tabs .nav-link {
        width: 100%;
        border-radius: 999px;
        font-weight: 600;
        text-align: center;
        /* INACTIVE STATE (VERY IMPORTANT) */
        background-color: #ffffff;
        color: #212529;
        border: 1px solid #ced4da;
        transition: all 0.2s ease;
    }

        /* ACTIVE TAB */
        .mobile-format-tabs .nav-link.active {
            background-color: #0d6efd;
            color: #ffffff;
            border-color: #0d6efd;
            box-shadow: 0 3px 8px rgba(13, 110, 253, 0.35);
        }

        /* TAP FEEDBACK */
        .mobile-format-tabs .nav-link:active {
            transform: scale(0.97);
        }
