:root{
            --bg-page:#f4f7fb;
            --white:#ffffff;
            --dark:#0f172a;
            --muted:#64748b;
            --line:#e2e8f0;
            --shadow:0 14px 34px rgba(15,23,42,0.08);
        }

        *{box-sizing:border-box}

        html{scroll-behavior:smooth}

        body{
            margin:0;
            font-family:'Poppins',sans-serif;
            color:var(--dark);
            background:
                radial-gradient(circle at top left, rgba(37,99,235,0.08), transparent 30%),
                radial-gradient(circle at top right, rgba(14,165,233,0.08), transparent 28%),
                var(--bg-page);
        }

        .page-shell{
            max-width:1320px;
            margin:0 auto;
            padding:22px 16px 50px;
        }

        .topbar{
            position:sticky;
            top:0;
            z-index:100;
            background:rgba(255,255,255,0.86);
            backdrop-filter:blur(16px);
            border:1px solid rgba(255,255,255,0.7);
            box-shadow:0 10px 30px rgba(15,23,42,0.08);
            border-radius:28px;
            padding:22px 20px;
            margin-bottom:24px;
        }

        .topbar-row{
            display:flex;
            align-items:center;
            justify-content:space-between;
            gap:14px;
            flex-wrap:wrap;
            margin-bottom:16px;
        }

        .brand h1{
            margin:0 0 6px;
            font-size:30px;
            font-weight:800;
            color:#0f172a;
        }

        .brand p{
            margin:0;
            color:var(--muted);
            font-size:14px;
            font-weight:500;
        }

        .nav-links{
            display:flex;
            gap:10px;
            flex-wrap:wrap;
        }

        .nav-links a{
            text-decoration:none;
            padding:12px 18px;
            border-radius:999px;
            border:1px solid var(--line);
            background:#fff;
            color:#0f172a;
            font-size:14px;
            font-weight:700;
            transition:.25s ease;
        }

        .nav-links a.primary{
            background:linear-gradient(135deg,#2563eb,#0ea5e9);
            color:#fff;
            border:none;
        }

        .nav-links a:hover{
            transform:translateY(-2px);
        }

        .search-container{
            max-width:540px;
        }

        #studentSearch{
            width:100%;
            padding:15px 20px;
            border-radius:999px;
            border:2px solid #dbe3ef;
            background:#fff;
            font-family:'Poppins',sans-serif;
            font-size:15px;
            outline:none;
            transition:.3s ease;
        }

        #studentSearch:focus{
            border-color:#2563eb;
            box-shadow:0 0 0 5px rgba(37,99,235,0.08);
        }

        .section-box{
            background:rgba(255,255,255,0.92);
            border:1px solid rgba(255,255,255,0.7);
            border-radius:28px;
            box-shadow:var(--shadow);
            padding:16px;
            margin-bottom:10px;
        }

        .section-head{
            margin-bottom:18px;
        }
        
        .section-head h1{
            margin:0 0 6px;
            font-size:24px;
            font-weight:800;
            color:#0f172a;
            text-align:center;
        }

        .section-head h2{
            margin:0 0 6px;
            font-size:24px;
            font-weight:800;
            color:#0f172a;
        }

        .section-head p{
            margin:0;
            color:var(--muted);
            font-size:14px;
            font-weight:500;
        }

        .badge{
            display:inline-block;
            margin-bottom:10px;
            padding:7px 14px;
            border-radius:999px;
            background:linear-gradient(135deg,#dbeafe,#e0f2fe);
            color:#1d4ed8;
            font-size:12px;
            font-weight:800;
            letter-spacing:.8px;
            text-align:center;
        }

        .container{
            display:grid;
            grid-template-columns:repeat(auto-fill,minmax(300px,1fr));
            gap:24px;
        }

        .card{
            border-radius:30px;
            padding:26px 20px 20px;
            text-align:center;
            transition:transform .3s ease, box-shadow .3s ease;
            border:1px solid rgba(255,255,255,0.65);
            display:flex;
            flex-direction:column;
            justify-content:space-between;
            min-height:300px;
            position:relative;
            overflow:hidden;
            box-shadow:var(--shadow);
        }

        .card::before{
            content:"";
            position:absolute;
            inset:0;
            background:linear-gradient(145deg, rgba(255,255,255,0.34), rgba(255,255,255,0.06));
            pointer-events:none;
        }

        .card > *{
            position:relative;
            z-index:1;
        }

        .card:hover{
            transform:translateY(-8px);
            box-shadow:0 20px 40px rgba(15,23,42,0.12);
        }

        .name{
            font-size:23px;
            font-weight:800;
            margin-bottom:18px;
            line-height:1.3;
            word-break:break-word;
        }

        .result-box{
            display:flex;
            justify-content:center;
            align-items:center;
            gap:14px;
            margin-bottom:22px;
        }

        .circle{
            width:88px;
            height:88px;
            border-radius:50%;
            background:rgba(255,255,255,0.30);
            display:flex;
            align-items:center;
            justify-content:center;
            flex-direction:column;
            border:1px solid rgba(255,255,255,0.5);
            box-shadow:inset 0 1px 0 rgba(255,255,255,0.35);
        }

        .circle span{
            font-size:24px;
            font-weight:800;
            line-height:1;
        }

        .circle label{
            font-size:10px;
            text-transform:uppercase;
            font-weight:700;
            opacity:0.75;
            margin-bottom:6px;
            letter-spacing:1px;
        }

        .circle.new{
            background:#ffffff;
            color:#1e293b;
            box-shadow:0 8px 20px rgba(15,23,42,0.08);
        }

        .blink{
            animation:pulse-glow 1.5s infinite;
            border:2px solid #ffffff;
        }

        @keyframes pulse-glow{
            0%{transform:scale(1);box-shadow:0 0 0 0 rgba(255,255,255,0.85)}
            50%{transform:scale(1.05);box-shadow:0 0 0 16px rgba(255,255,255,0)}
            100%{transform:scale(1);box-shadow:0 0 0 0 rgba(255,255,255,0)}
        }

        .arrow{
            font-size:22px;
            opacity:.35;
            font-weight:800;
        }

        .time{
            font-size:14px;
            margin:0 auto 20px;
            font-weight:600;
            opacity:.92;
            background:rgba(15,23,42,0.06);
            padding:7px 14px;
            border-radius:999px;
            display:inline-block;
            width:fit-content;
        }

        .btn{
            display:block;
            padding:13px 14px;
            border-radius:18px;
            font-size:14px;
            font-weight:700;
            text-decoration:none;
            color:#ffffff;
            transition:.25s ease;
            box-shadow:0 10px 22px rgba(15,23,42,0.10);
        }

        .btn:hover{
            opacity:.95;
            transform:translateY(-2px);
        }

        #noResults{
            text-align:center;
            grid-column:1 / -1;
            padding:34px 14px;
            display:none;
            color:#64748b;
            font-weight:600;
            background:rgba(255,255,255,0.75);
            border-radius:22px;
            border:1px dashed #cbd5e1;
        }

        .month-heading-box{
            text-align:center;
            padding:20px;
            border-radius:22px;
            background:linear-gradient(135deg,#eff6ff,#dbeafe,#e0f2fe);
            border:1px solid #bfdbfe;
            box-shadow:0 8px 22px rgba(37,99,235,0.10);
            margin-bottom:16px;
        }

        .month-heading-badge{
            display:inline-block;
            margin-bottom:8px;
            padding:6px 14px;
            border-radius:999px;
            background:#0d6efd;
            color:#fff;
            font-size:12px;
            font-weight:800;
            letter-spacing:.8px;
        }

        .month-heading-title{
            font-size:26px;
            font-weight:800;
            color:#0f172a;
            text-transform:uppercase;
            letter-spacing:.5px;
            margin:0;
        }

        .scroll-note{
            font-size:14px;
            color:#64748b;
            margin-bottom:12px;
            font-weight:600;
            text-align:center;
        }

        .table-shell{
            border-radius:20px;
            overflow:hidden;
            border:1px solid #e5edf6;
            background:#fff;
        }

        .table-responsive{
            overflow-x:auto;
            position:relative;
        }

        .table{
            width:100%;
            min-width:max-content;
            margin-bottom:0;
            border-collapse:collapse;
        }

        .table thead th{
            background:linear-gradient(135deg,#0f172a,#334155);
            color:#fff;
            text-align:center;
            vertical-align:middle;
            white-space:nowrap;
            font-size:13px;
            padding:14px 12px;
            border:1px solid #334155;
        }

        .table tbody td{
            text-align:center;
            vertical-align:middle;
            white-space:nowrap;
            font-size:14px;
            padding:13px 12px;
            border:1px solid #edf2f7;
        }

        .table tbody tr:nth-child(even){
            background:#f8fbff;
        }

        .table tbody tr:hover{
            background:#eef6ff;
        }

        .sticky-date{
            position:sticky;
            left:0;
            z-index:2;
            min-width:72px;
            max-width:72px;
            font-weight:800;
            color:#fff !important;
            background:linear-gradient(135deg,#0ea5e9,#2563eb) !important;
            border-color:#1d4ed8 !important;
            box-shadow:2px 0 10px rgba(37,99,235,0.18);
        }

        .table thead .sticky-date{
            background:linear-gradient(135deg,#111827,#374151) !important;
            color:#fff !important;
            z-index:5;
            border-color:#111827 !important;
        }

        .result-text{
            font-weight:800;
            color:#111827;
        }

        .result-danger{
            color:#dc2626 !important;
        }

        .empty-box{
            text-align:center;
            padding:34px 16px;
            color:#64748b;
        }

        .empty-box h5{
            margin:0 0 8px;
            font-size:20px;
            color:#0f172a;
        }

        @media (max-width:767px){
            .page-shell{padding:14px 12px 36px}
            .topbar,.section-box{padding:16px;border-radius:22px}
            .brand h1{font-size:22px}
            .section-head h2{font-size:20px}
            .name{font-size:20px}
            .circle{width:78px;height:78px}
            .circle span{font-size:21px}
            .month-heading-title{font-size:20px}
            .sticky-date{min-width:62px;max-width:62px}
        }
        

/* =========================================
   FAQ / Accordion Area (Theme Matched)
========================================= */

.faq {
    display: flex;
    flex-direction: column;
    gap: 16px; /* FAQs ke beech ka space */
    margin-top: 20px;
}

/* FAQ Box ka Premium Look */
.makes {
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(15,23,42,0.03);
    overflow: hidden;
    transition: 0.3s ease;
}

.makes:hover {
    border-color: #cbd5e1;
    box-shadow: 0 8px 25px rgba(15,23,42,0.06);
}

/* Checkbox ko hide karna (Kyunki click label par hoga) */
.my-checkbox {
    display: none;
}

/* FAQ Question (Label) */
.makes label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    font-weight: 700;
    font-size: 15px;
    color: var(--dark);
    cursor: pointer;
    transition: 0.3s ease;
    margin: 0;
    user-select: none;
}

/* Label ke aage '+' icon lagana */
.makes label::after {
    content: '+';
    font-size: 22px;
    font-weight: 400;
    color: #2563eb;
    transition: transform 0.3s ease, color 0.3s ease;
}

/* FAQ Answer (Content Box) - Initially Hidden */
.makes .card-body {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    padding: 0 20px;
    background: rgba(37, 99, 235, 0.03); /* Halka blue tint */
    color: var(--muted);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.6;
    transition: all 0.4s ease;
}

.makes .card-body p {
    margin: 0;
}

/* =========================================
   ACTION: Jab Checkbox Tick (Open) ho jaye
========================================= */

/* Open hone par Question ka color blue ho jaye */
.my-checkbox:checked + label {
    color: #2563eb;
    border-bottom: 1px dashed var(--line);
}

/* '+' icon ghoom kar 'x' ban jaye */
.my-checkbox:checked + label::after {
    transform: rotate(45deg);
    color: #ef4444; /* Close icon red ho jayega */
}

/* Answer show ho jaye */
.my-checkbox:checked ~ .card-body {
    max-height: 300px; /* Agar content lamba hai to isko bada sakte hain */
    opacity: 1;
    padding: 16px 20px 20px;
}

/* =========================================
   Top Hero Boards (Premium Design)
========================================= */

/* 2 Boards ka Grid Layout */
.hero-grid {
    display: grid;
    /* Pehla board thoda bada (1.6x) aur dusra normal (1x) hoga */
    grid-template-columns: 1.6fr 1fr; 
    gap: 10px;
    padding: 10px 10px;
    margin-bottom: 10px;
}

/* Common Board Styling (Matching your theme) */
.hero-board {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 30px;
    padding: 36px 32px;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
    position: relative;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.hero-board:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.1);
}

/* --- Board 1 (Primary) Styling --- */
.primary-board {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Halka blue glow effect board ke piche */
.board-glow {
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(37,99,235,0.15) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.board-content {
    position: relative;
    z-index: 0;
}

.hero-badge {
    display: inline-block;
    padding: 6px 14px;
    background: #f1f5f9;
    color: #475569;
    font-size: 13px;
    font-weight: 700;
    border-radius: 999px;
    margin-bottom: 16px;
    border: 1px solid #e2e8f0;
}

/* Domain Name H1 Text (Shandar Gradient Look) */
.gradient-text {
    margin: 0 0 12px;
    font-size: 25px;
    font-weight: 800;
    line-height: 1.1;
    /* Text par gradient color lagana */
    background: linear-gradient(135deg, #0f172a 0%, #2563eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
}

.primary-board p {
    font-size: 15px;
    color: var(--muted);
    line-height: 1.6;
    margin: 0 0 24px;
    max-width: 90%;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* --- Board 2 (Secondary) Styling --- */
.secondary-board {
    background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(244,248,255,0.8));
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.board-icon {
    font-size: 34px;
    margin-bottom: 16px;
    background: #fff;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(37,99,235,0.1);
    border: 1px solid #e2e8f0;
}

.secondary-board h3 {
    margin: 0 0 10px;
    font-size: 20px;
    font-weight: 800;
    color: var(--dark);
}

.secondary-board p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.5;
    margin: 0 0 24px;
}

/* Live Status Indicator Styling */
.status-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    padding: 10px 16px;
    border-radius: 999px;
    width: fit-content;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 10px rgba(0,0,0,0.02);
}

.status-text {
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
}

/* Green Blinking Dot */
.dot-ring {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dot {
    width: 10px;
    height: 10px;
    background-color: #10b981; /* Green color */
    border-radius: 50%;
}

.blink-fast {
    animation: blinker 1.5s linear infinite;
    box-shadow: 0 0 8px #10b981;
}

@keyframes blinker {
    50% { opacity: 0.3; transform: scale(0.8); }
}

/* Mobile Responsiveness */
@media (max-width: 991px) {
    .hero-grid {
        grid-template-columns: 1fr; /* Tab aur Mobile me dono upar neeche aayenge */
        gap: 16px;
    }
    
    .primary-board, .secondary-board {
        padding: 24px;
        border-radius: 24px;
    }
    
    .gradient-text {
        font-size: 25px;
    }
    
    .primary-board p {
        max-width: 100%;
    }
    
    /* =========================================
   Down Footers (Theme Matched Tables)
========================================= */

/* Table ko modern floating boxes me badalne ka trick */
.down-footer, .down-footer1 {
    width: 100%;
    border-collapse: separate; /* Cells ko ek dusre se alag karne ke liye */
    border-spacing: 12px; /* Dabbo (cells) ke beech ka gap */
    table-layout: fixed; /* Sabhi columns ko ekdum equal width dene ke liye */
    margin: 20px 0;
}

/* Dono tables ke cells ki basic styling */
.down-footer td, .down-footer1 td {
    padding: 14px 10px;
    text-align: center;
    font-weight: 700;
    font-size: 14px;
    border-radius: 16px; /* Gol kinare (Curved edges) */
    cursor: pointer;
    transition: all 0.3s ease; /* Hover animation ke liye smooth effect */
    text-decoration: none;
}

/* -----------------------------------------
   .down-footer (Pehle RED tha)
   Naya Look: Glassy White Card with Blue Text
----------------------------------------- */
.down-footer td {
    background: #ffffff;
    color: var(--dark, #0f172a);
    border: 1px solid var(--line, #e2e8f0);
    box-shadow: 0 4px 15px rgba(15,23,42,0.03);
}

.down-footer td:hover {
    border-color: #2563eb;
    color: #2563eb;
    transform: translateY(-4px); /* Hover par dabba upar uthega */
    box-shadow: 0 8px 25px rgba(37,99,235,0.1);
}

/* -----------------------------------------
   .down-footer1 (Pehle BLUE/LIME tha)
   Naya Look: Premium Blue Gradient with White Text
----------------------------------------- */
.down-footer1 td {
    background: linear-gradient(135deg, #0ea5e9, #2563eb);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 6px 20px rgba(37,99,235,0.15);
}

.down-footer1 td:hover {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(37,99,235,0.25);
    border-color: rgba(255, 255, 255, 0.4);
}

/* -----------------------------------------
   Mobile Responsive Setup
----------------------------------------- */
@media (max-width: 767px) {
    .down-footer, .down-footer1 {
        border-spacing: 6px; /* Mobile par gap thoda kam hoga */
    }
    
    .down-footer td, .down-footer1 td {
        font-size: 12px; /* Font size chota */
        padding: 10px 5px;
        border-radius: 12px;
    }
}

/* =========================================
   Simple Premium Footer (Fixed Side Gaps)
========================================= */

.footer-simple {
    /* Glassy look with better visibility */
    background: rgba(255, 255, 255, 0.95); /* Thoda solid kiya taaki dikhe */
    backdrop-filter: blur(12px);
    color: var(--muted, #64748b);
    font-size: 22px; /* 25px bahut bada tha, ise 18px kiya professional look ke liye */
    font-weight: 600;
    text-align: center;
    padding: 20px;
    
    /* LEFT & RIGHT GAP ADDED HERE */
    margin: 25px 15px; 
    
    /* Board visibility ke liye border aur shadow update */
    border: 1px solid rgba(15, 23, 42, 0.1); /* Halka dark border taaki edges dikhein */
    border-radius: 18px; /* Purane 10px se thoda zyada curved VIP look ke liye */
    
    /* Stronger Shadow taaki board "utha hua" dikhe */
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
}

/* Domain Name Gradient */
.footer-simple .site-name {
    display: inline-block;
    color: #0f172a;
    font-weight: 800;
    margin-right: 4px;
    background: linear-gradient(135deg, #0ea5e9, #2563eb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Mobile Responsiveness */
@media (max-width: 767px) {
    .footer-simple {
        /* Mobile par side gap 10px rakha hai taaki space bache */
        margin: 20px 10px; 
        font-size: 20px; /* Mobile par font size adjust kiya */
        padding: 15px;
        border-radius: 14px;
    }
}

/* =========================================
   Admin Help & Support Board
========================================= */

.support-board {
    /* Premium Glassy Background */
    background: linear-gradient(135deg, rgba(255,255,255,0.95), rgba(248,250,252,0.9));
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
    padding: 34px 30px;
    text-align: center;
    
    /* LEFT & RIGHT SIDE GAP (Aapki request ke hisaab se) */
    margin: 30px 15px 40px 15px; 
}

.support-board h2 {
    font-size: 24px;
    font-weight: 800;
    color: #0f172a;
    margin: 12px 0 8px;
}

.support-board p {
    font-size: 15px;
    color: #64748b;
    margin-bottom: 26px;
    font-weight: 500;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons Container */
.contact-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap; /* Taki choti screen par button niche aa jayein */
}

/* -----------------------------------------
   WhatsApp Button (Official Green Theme)
----------------------------------------- */
.btn-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: #fff;
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 700;
    transition: 0.3s ease;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.25);
    flex: 1;
    min-width: 220px;
    max-width: 260px;
}

.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(37, 211, 102, 0.35);
}

/* -----------------------------------------
   Call Button (Premium Blue Theme)
----------------------------------------- */
.btn-call {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #0ea5e9, #2563eb);
    color: #fff;
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 700;
    transition: 0.3s ease;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.25);
    flex: 1;
    min-width: 220px;
    max-width: 260px;
}

.btn-call:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(37, 99, 235, 0.35);
}

/* Mobile Screen Par Adjustments (Ek Line Me Buttons) */
@media (max-width: 576px) {
    .support-board {
        padding: 24px 15px;
        margin: 25px 10px; 
    }
    
    .contact-actions {
        /* Ise row karne se dono buttons ek line me aa jayenge */
        flex-direction: row; 
        flex-wrap: nowrap; /* Ek dusre ke niche girne se rokega */
        gap: 10px; /* Buttons ke beech ka thoda gap kam kiya */
    }
    
    .btn-whatsapp, .btn-call {
        flex: 1; /* Dono buttons ko 50-50 space dega */
        min-width: unset; /* Pehli wali badi width hata di */
        max-width: 50%;
        padding: 12px 5px; /* Padding thodi kam ki hai */
        font-size: 12px; /* Text chota kiya hai taaki mobile me na kate */
        gap: 5px; /* Icon aur text ke beech ka gap kam kiya */
    }
}

/* =========================================
   Daily Rank Highlight Board (Premium)
========================================= */

.daily-rank-board {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
    padding: 24px 30px;
    /* Desktop ke liye side gap */
    margin: 20px 15px; 
    text-align: center;
}

/* Header & Date Badge */
.rank-header {
    margin-bottom: 24px;
}

.date-badge {
    display: inline-block;
    background: rgba(239, 68, 68, 0.1); 
    color: #ef4444; 
    font-size: 13px;
    font-weight: 800;
    padding: 6px 16px;
    border-radius: 999px;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.rank-title {
    margin: 0;
    font-size: 22px;
    font-weight: 900;
    color: #0f172a;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* 2 Column Grid Setup (Humesha ek line me) */
.rank-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Dono cards ko 50-50 space dega */
    gap: 20px;
}

/* Common Card Styling */
.rank-card {
    border-radius: 18px;
    padding: 20px;
    transition: 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.rank-card:hover {
    transform: translateY(-4px);
}

.rank-card h3 {
    margin: 0 0 8px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

.rank-value {
    margin: 0;
    font-size: 34px;
    font-weight: 900;
    line-height: 1;
}

/* Highlighted Card (Top Rank) */
.highlight-card {
    background: linear-gradient(135deg, #0ea5e9, #2563eb);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.2);
}

/* Standard Card (Yesterday) */
.standard-card {
    background: #f8fafc;
    color: #0f172a;
    border: 1px solid #e2e8f0;
    box-shadow: inset 0 2px 10px rgba(0,0,0,0.02);
}

/* =========================================
   Mobile Responsiveness (Aapki Requirements)
========================================= */
@media (max-width: 576px) {
    .daily-rank-board {
        padding: 20px 15px;
        /* Mobile me left aur right side se perfect gap (15px) */
        margin: 15px 15px; 
    }
    
    .rank-grid {
        /* Ise 1fr 1fr hi rakha hai taaki mobile par bhi ek line me aamne-saamne aayein */
        grid-template-columns: 1fr 1fr; 
        gap: 12px; /* Dono ke beech ka gap thoda kam kiya taaki fit ho jaye */
    }
    
    .rank-card {
        padding: 16px 10px; /* Mobile par andar ka space kam kiya */
    }

    .rank-card h3 {
        font-size: 11px; /* Title thoda chota kiya */
    }
    
    .rank-value {
        font-size: 24px; /* Number chota kiya taaki dono box screen me fit aa jayein */
    }
}