/* ---------- original CSS (preserved) ---------- */
body {
  background-color: black; /* or #000000 */
}
    .scroll {
        padding: 8px 0;
        margin: 0;
        font-size: small;
        background: linear-gradient(90deg, 
            #1a0f0f 0%, 
            #2a1a1a 20%, 
            #1a0f0f 50%, 
            #2a1a1a 80%, 
            #1a0f0f 100%);
        border: 2px solid #d36305;
        border-radius: 8px;
        box-shadow: 
            0 0 15px rgba(211, 99, 5, 0.4),
            inset 0 0 10px rgba(0, 0, 0, 0.5);
        position: relative;
        overflow: hidden;
    }
/* NEW MODERN MARQUEE SYSTEM */
.scroll {
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.scroll-track {
    display: inline-flex;
    align-items: center;
    gap: 25px;
    padding-left: 100%;
    animation: scrollMarquee 18s linear infinite;
    will-change: transform;
    color: #ffb05b;
    font-weight: 600;
    font-size: 18px;
    letter-spacing: 0.5px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-shadow:
        0 0 5px rgba(211, 99, 5, 0.8),
        0 0 10px rgba(255, 138, 42, 0.4);
}

/* SMOOTH GPU-POWERED SCROLL */
@keyframes scrollMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* BULLET SEPARATORS */
.scroll-track span {
    position: relative;
}

.scroll-track span::after {
    content: '•';
    position: absolute;
    right: -18px;
    top: 50%;
    transform: translateY(-50%);
    color: #d36305;
    font-size: 16px;
    text-shadow: 0 0 5px rgba(211, 99, 5, 0.8);
}

.scroll-track span:last-child::after {
    content: '';
}

/* MOBILE FIX */
@media (max-width: 480px) {
    .scroll-track {
        font-size: 16px;
        gap: 15px;
    }
}

    .scroll::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(90deg, 
            transparent 0%, 
            rgba(211, 99, 5, 0.1) 50%, 
            transparent 100%);
        animation: shine 3s linear infinite;
    }

    @keyframes shine {
        0% { transform: translateX(-100%); }
        100% { transform: translateX(100%); }
    }

    .scroll marquee {
        color: #ffb05b;
        font-weight: 600;
        letter-spacing: 0.5px;
        text-shadow: 
            0 0 5px rgba(211, 99, 5, 0.8),
            0 0 10px rgba(255, 138, 42, 0.4);
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }

    .scroll marquee span {
        margin: 0 15px;
        position: relative;
    }

    .scroll marquee span::after {
        content: '•';
        position: absolute;
        right: -18px;
        top: 50%;
        transform: translateY(-50%);
        color: #d36305;
        font-size: 16px;
        text-shadow: 0 0 5px rgba(211, 99, 5, 0.8);
    }

    .scroll marquee span:last-child::after {
        content: '';
    }

    /* Mobile Responsive */
    @media (max-width: 480px) {
        .scroll {
           padding: 10px;
            border-width: 1px;
        }
        
        .scroll marquee {
            font-size: 17px;
            letter-spacing: 0.3px;
        }
        
        .scroll marquee span {
            margin: 0 10px;
        }
        
        .scroll marquee span::after {
            right: -12px;
            font-size: 14px;
        }
    }
    
#logo {
    display: flex;
    justify-content: center;
    margin-top: 10px;
}
#logo-img {
    width: 100px;
    height: auto;
    cursor: pointer;
    /* Main glow matching your orange (#d36305) */
    filter: drop-shadow(0 0 12px #d36305)
            drop-shadow(0 0 28px #000)
            drop-shadow(0 6px 12px rgba(0,0,0,0.6));
}

/* ---------------- SITENAME TEXT ---------------- */

.result353 {
    text-align: center;
    margin-top: 5px;
    font-size: 26px;
    font-weight: 900;
    letter-spacing: 1px;
    color: #ffb05b;
    text-transform: uppercase;
  font-family: "Times New Roman", Times, serif;
    position: relative;
    /* Enhanced neon glowing effect */
    text-shadow:
        0 0 5px #d36305,
        0 0 12px #d36305,
        0 0 20px #ff8a2a,
        0 0 35px rgba(211, 99, 5, 0.5),
        0 0 40px rgba(255, 138, 42, 0.3),
        0 2px 4px rgba(0,0,0,0.6);
}

/* ---------------- MOBILE FIX ---------------- */
@media (max-width: 480px) {
    #logo-img {
        width: 100px;
    }
    .result353 {
        font-size: 22px;
    }
}

    /* Result Board Styles - Simple */
    .result-section {
        position: relative;
        background: #0a0202;
        border-radius: 8px;
        padding: 20px;
        margin: 20px auto;
        max-width: 95%;
        box-shadow: 0 0 20px rgba(255, 140, 0, 0.3);
        border: 1px solid #3a2a1a;
    }
    
    /* Outer metallic frame */
    .result-section::before {
        content: '';
        position: absolute;
        top: -8px;
        left: -8px;
        right: -8px;
        bottom: -8px;
        border-radius: 12px;
        z-index: -1;
    }
    
    /* Glowing bulbs container */
    .bulbs-container {
        position: absolute;
        top: -4px;
        left: -4px;
        right: -4px;
        bottom: -4px;
        pointer-events: none;
        z-index: 1;
    }
    
    /* Individual bulb styling */
    .bulb {
        position: absolute;
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background: #ff8c00;
        box-shadow: 
            0 0 10px #ff8c00,
            0 0 20px #ff8c00;
        animation: bulbBlink 2s infinite;
    }
    
    /* Simple blinking animation */
    @keyframes bulbBlink {
        0%, 100% { opacity: 1; }
        50% { opacity: 0.3; }
    }
    
    /* Different animation delays */
    .bulb:nth-child(4n+1) { animation-delay: 0s; }
    .bulb:nth-child(4n+2) { animation-delay: 0.5s; }
    .bulb:nth-child(4n+3) { animation-delay: 1s; }
    .bulb:nth-child(4n+4) { animation-delay: 1.5s; }
    
    /* Content styling - Simple */
    .result-content {
        position: relative;
        z-index: 2;
        text-align: center;
    }
    
    .announcement {
        color: yellow;
        padding: 10px;
        font-weight: bold;
        font-size: 17px;
        margin: 10px 0;
    }
    
    .resultboard1 {
        font-family: "Times New Roman", Times, serif;
        color: #ffd700;
        text-align: center;
        font-size: 35px;
        margin: 15px 0 5px;
        font-weight: bold;
         animation: resultGlow 3s infinite alternate;
        text-shadow: 
          0 0 8px rgba(255, 215, 0, 0.8),
            0 0 16px rgba(255, 215, 0, 0.4);
        
    }
    
    .resultboard {
        color: #fff;
        text-align: center;
        font-size: 40px;
        font-weight: bold;
        margin: 10px 0 20px;
        padding: 15px;
        border-radius: 8px;
        text-shadow: 
            0 0 15px rgba(255, 255, 255, 0.9),
            0 0 30px rgba(255, 255, 255, 0.6);
        font-family: "Times New Roman", Times, serif;
        letter-spacing: 2px;
        position: relative;
        overflow: hidden;
    
    }
     .results-date-minimal {
        text-align: center;
        margin: 20px auto;
        padding: 15px;
        max-width: 600px;
    }
    
    .date-timeline {
        background: linear-gradient(90deg, #1a0f0f, #2a1a1a, #1a0f0f);
        color: #ffd700;
        padding: 15px 30px;
        border-radius: 10px;
        font-size: 16px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        border: 1px solid #3a2a1a;
        box-shadow: 
            0 4px 12px rgba(0, 0, 0, 0.4),
            inset 0 0 0 1px rgba(255, 140, 0, 0.2);
        position: relative;
        display: inline-block;
    }
    
    .date-timeline::before,
    .date-timeline::after {
        content: '✦';
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        color: #ff8c00;
        font-size: 14px;
    }
    
    .date-timeline::before {
        left: 10px;
    }
    
    .date-timeline::after {
        right: 10px;
    }
    
    .date-highlight {
        color: #ff8c00;
        font-weight: 700;
        text-shadow: 0 0 10px rgba(255, 140, 0, 0.3);
    }
    
    .date-divider {
        color: #ffd700;
        margin: 0 10px;
        opacity: 0.7;
    }
/* GRID ALWAYS 2 COLUMNS */
.games-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px;
    padding: 10px;
    max-width: 1200px;
    margin: 0 auto;
}

/* CARD DESIGN */
.game-card {
    background: linear-gradient(135deg, #1a0f0f 0%, #2a1a1a 100%);
    border-radius: 12px;
    padding: 14px 15px;        /* Reduced padding */
    border: 1px solid #3a2a1a;
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* TOP BORDER LIGHT */
.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ff8c00, #ffd700, #ff8c00);
}

/* GAME NAME BIGGER */
.game-name {
    color: #ffd700;
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 4px;
    text-transform: uppercase;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* TIME BIGGER + LESS SPACE */
.game-time {
    color: #ffd700;
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 6px;
}

/* RESULTS (MORE COMPACT) */
.game-results-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}

/* BIGGER RESULT BOXES */
.result-box {
    padding: 8px 14px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 20px;     /* Bigger */
    min-width: 58px;
    text-align: center;
}

/* OLD RESULT */
.old-result {
    background: linear-gradient(135deg, #8B0000, #B22222);
    color: white;
    border: 1px solid #ff6b6b;
}

/* NEW RESULT */
.new-result {
    background: linear-gradient(135deg, #006400, #228B22);
    color: white;
    border: 1px solid #90EE90;
    animation: subtlePulse 2s infinite;
}

@keyframes subtlePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.9; }
}

/* LIVE GIF SIZE PERFECT */
.live-indicator img {
    width: 35px;
    height: 20px;
    filter: brightness(1.2);
}

/* MOBILE FIXES — KEEP 2 COLUMNS */
@media (max-width: 768px) {
    .games-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 6px;
    }

    .game-card {
        padding: 12px;
    }

    .game-name {
        font-size: 18px;
    }

    .result-box {
        font-size: 18px;
        min-width: 52px;
    }
}

/* VERY SMALL SCREENS */
@media (max-width: 480px) {
    .games-grid {
        gap: 5px;
    }

    .game-card {
        padding: 10px;
    }

    .game-name {
        font-size: 17px;
    }

    .result-box {
        font-size: 17px;
        padding: 7px 12px;
        min-width: 15px;
    }
}
   /* MEDIUM ROUND REFRESH BUTTON - GLOW ONLY (No animation, perfect fit) */
.refresh-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.round-refresh-btn {
    width: 78px;
    height: 78px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff8c00, #e65100);
    border: 3px solid #ff6b00;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 0 20px rgba(255, 140, 0, 0.9),
        0 0 40px rgba(255, 107, 0, 0.7),
        inset 0 0 15px rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    outline: none;
}

.round-refresh-btn:hover {
    background: linear-gradient(135deg, #ff6b00, #ff4500);
    box-shadow: 
        0 0 30px rgba(255, 140, 0, 1),
        0 0 60px rgba(255, 107, 0, 0.9),
        inset 0 0 20px rgba(255, 255, 255, 0.3);
    transform: scale(1.08);
}

.round-refresh-btn svg {
    stroke: white;
    filter: drop-shadow(0 0 8px #fff);
}

/* Perfect size on small phones */
@media (max-width: 480px) {
    .round-refresh-btn {
        width: 54px;
        height: 54px;
    }
    .round-refresh-btn svg {
        width: 24px;
        height: 24px;
    }
}

/* ---------- CWV helpers & moved inline styles (no layout change) ---------- */

/* Reserve space and avoid CLS for dynamic content sections */
.resultboard, .resultboard1, .announcement {
    /* ensure minimum heights so updating numbers don't shift layout */
    min-height: 54px;
}

/* moved inline margin-top:10px -> fetch-data-wrap */
.fetch-data-wrap {
    margin-top: 10px;
}

/* Image helpers to ensure images reserve space and avoid layout shifts */
img[loading="lazy"], img[loading="eager"], img {
    display: inline-block;
    max-width: 100%;
    height: auto;
}

.faq-section {
    max-width: 900px;
    margin: 30px auto;
    padding: 20px;
    /*background: #1a0f0f;*/
    color: #ffd700;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(255, 140, 0, 0.3);
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.faq-section h2 {
    text-align: center;
    font-size: 28px;
    margin-bottom: 20px;
    color: #ffb05b;
    text-shadow: 0 0 10px #d36305;
}

.faq-item {
    margin-bottom: 18px;
    border-bottom: 1px solid #3a2a1a;
    padding-bottom: 12px;
}

.faq-item h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 6px;
    color: #ffd700;
    text-shadow: 0 0 5px rgba(211, 99, 5, 0.8);
}

.faq-item p {
    font-size: 16px;
    line-height: 1.6;
    color: #fff8c0;
}

@media (max-width: 480px) {
    .faq-section {
        padding: 15px;
    }
    .faq-section h2 {
        font-size: 22px;
    }
    .faq-item h3 {
        font-size: 18px;
    }
    .faq-item p {
        font-size: 15px;
    }
}
/* Collapsible SEO Content */
.seo-content-collapsible {
    max-width: 1100px;
    margin: 30px auto;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #ffd700;
}

.collapsible-btn {
    background: linear-gradient(135deg, #ff8c00, #e65100);
    color: #fff;
    cursor: pointer;
    padding: 14px 20px;
    width: 100%;
    border: none;
    outline: none;
    font-size: 18px;
    font-weight: 700;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.collapsible-btn:hover {
    background: linear-gradient(135deg, #ff6b00, #ff4500);
}

.collapsible-content {
    background: #1a0f0f;
    border: 1px solid #3a2a1a;
    border-radius: 8px;
    padding: 15px 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    margin-top: 10px;
    box-shadow: 0 0 15px rgba(255, 140, 0, 0.2);
}

.collapsible-content p, 
.collapsible-content ul, 
.collapsible-content li {
    margin-bottom: 15px;
}

.collapsible-content span.warning {
    color: #ff4c4c;
    font-weight: bold;
}

/* Mobile */
@media (max-width: 480px) {
    .collapsible-btn {
        font-size: 16px;
        padding: 12px 16px;
    }
    .collapsible-content {
        padding: 12px 16px;
    }
}
.live-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px; /* space between dot and text */
  width: 45px; /* increased to fit dot */
  height: 20px;
  background: #000;
  border: 2px solid red;
  border-radius: 4px;
  color: red;
  font-size: 11px;
  font-weight: bold;
  animation: liveBlink 1s infinite alternate;
  position: relative;
}

.live-badge::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: white;
  animation: dotBlink 1s infinite alternate;
}

@keyframes liveBlink {
  0% { opacity: 0.4; }
  100% { opacity: 1; }
}

@keyframes dotBlink {
  0% { opacity: 0.2; }
  100% { opacity: 1; }
}