/* StreamsTV.pro - Professional Styles */

:root {
    --primary-color: #0C0E14;
    --accent-color-1: #00FFA3;
    --accent-color-2: #FFC107;
    --text-color: #F5F5F5;
    --glass-bg: rgba(12, 14, 20, 0.8);
    --glass-border: rgba(0, 255, 163, 0.2);
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--primary-color);
    color: var(--text-color);
    line-height: 1.6;
}

/* Background Gradients */
.gradient-bg {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a1d2e 50%, var(--primary-color) 100%);
    min-height: 100vh;
}

.bg-grid-pattern {
    background-image: radial-gradient(circle at 25% 25%, rgba(0, 255, 163, 0.1) 2px, transparent 2px),
                      radial-gradient(circle at 75% 75%, rgba(255, 193, 7, 0.1) 2px, transparent 2px);
    background-size: 50px 50px;
}

/* Glass Effect Components */
.glass-effect {
    backdrop-filter: blur(10px);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 1rem;
}

/* Team Cards */
.team-card {
    transition: all 0.3s ease;
    background: rgba(12, 14, 20, 0.9);
    border: 1px solid rgba(0, 255, 163, 0.3);
    border-radius: 1rem;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 255, 163, 0.2);
    border-color: var(--accent-color-1);
}

/* Button Styles */
.btn-primary {
    background: linear-gradient(135deg, var(--accent-color-1) 0%, #00cc82 100%);
    color: var(--primary-color);
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 255, 163, 0.3);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--accent-color-2) 0%, #e6ac00 100%);
    color: var(--primary-color);
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 193, 7, 0.3);
}

/* Color Utilities */
.text-accent-1 { color: var(--accent-color-1); }
.text-accent-2 { color: var(--accent-color-2); }
.bg-accent-1 { background-color: var(--accent-color-1); }
.bg-accent-2 { background-color: var(--accent-color-2); }

/* Ad Space Styling - Mobile First Approach */
.ad-space {
    background: rgba(12, 14, 20, 0.6);
    border: 2px dashed rgba(0, 255, 163, 0.3);
    border-radius: 0.5rem;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    position: relative;
}

/* Responsive Ad Containers - Mobile First */
.ad-container {
    width: 100%;
    max-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}

/* Force iframe and ad content to be responsive */
.ad-container iframe,
.ad-container div[style*="width"],
.ad-container script + div,
.ad-container > div {
    max-width: 100% !important;
    width: auto !important;
    height: auto !important;
    transform: scale(1) !important;
    transform-origin: center !important;
}

/* Mobile-first responsive design */
.ad-mobile {
    display: block;
    max-width: 100%;
    overflow: hidden;
}

.ad-large {
    display: none;
}

/* Tablet and up */
@media (min-width: 640px) {
    .ad-space {
        min-height: 80px;
    }
    
    .ad-large {
        display: block;
    }
    
    .ad-mobile {
        display: none;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .ad-space {
        min-height: 100px;
    }
}

/* Ultra small mobile screens - force scaling */
@media (max-width: 360px) {
    .ad-container {
        transform: scale(0.8);
        transform-origin: center;
    }
    
    .ad-space {
        min-height: 50px;
        padding: 5px;
    }
}

/* Very small mobile - aggressive scaling */
@media (max-width: 320px) {
    .ad-container {
        transform: scale(0.7);
        transform-origin: center;
    }
    
    .ad-space {
        min-height: 40px;
        padding: 3px;
    }
}

/* Modal Styling */
.modal-content {
    background: var(--primary-color);
    color: var(--text-color);
    border: 2px solid var(--accent-color-1);
}

/* Video Player Styles - Fixed for proper display */
.video-player-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    border-radius: 0.75rem;
}

#newVideoPlayer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    border-radius: 0.75rem;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid #374151;
    transition: all 0.3s ease;
}

#newVideoPlayer:hover {
    border-color: var(--accent-color-1);
    animation: glow 2s ease-in-out infinite;
}

/* Player content positioning */
#playerContent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

/* Initial play screen */
#initialPlayScreen {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    opacity: 1;
    transition: opacity 0.5s ease;
}

/* Loading state */
#loadingState {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    opacity: 1;
    transition: opacity 0.5s ease;
}

/* Play button styling */
.play-button-container {
    position: relative;
    margin-bottom: 1rem;
}

.play-button {
    width: 5rem;
    height: 5rem;
    background: linear-gradient(135deg, var(--accent-color-1), var(--accent-color-2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.play-button:hover {
    transform: scale(1.1);
}

.play-button i {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-left: 3px;
}

/* Pulse rings for play button */
.pulse-ring-1 {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid var(--accent-color-1);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
    opacity: 0.4;
}

.pulse-ring-2 {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    right: 0.5rem;
    bottom: 0.5rem;
    border: 1px solid var(--accent-color-2);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite 0.5s;
    opacity: 0.3;
}

/* Player overlay elements */
.player-overlay {
    position: absolute;
    z-index: 3;
}

.player-controls {
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#newVideoPlayer:hover .player-controls {
    opacity: 1;
}

.live-indicator {
    top: 1rem;
    right: 1rem;
    background-color: #ef4444;
    color: white;
    padding: 0.05rem 0.6rem;
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: bold;
    display: flex;
    align-items: center;
}

.live-dot {
    width: 0.5rem;
    height: 0.5rem;
    background-color: white;
    border-radius: 50%;
    margin-right: 0.5rem;
    animation: pulse 2s ease-in-out infinite;
}

.viewer-count {
    top: 1rem;
    left: 1rem;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: bold;
    display: flex;
    align-items: center;
}

.viewer-count i {
    color: var(--accent-color-1);
    margin-right: 0.5rem;
}

/* Progress bar styling */
.progress-container {
    width: 16rem;
    max-width: 80vw;
    background-color: #374151;
    border-radius: 9999px;
    height: 0.5rem;
    margin: 0 auto 0.5rem;
}

#loadingProgress {
    background: linear-gradient(to right, var(--accent-color-1), var(--accent-color-2));
    height: 100%;
    border-radius: 9999px;
    width: 0%;
    transition: width 0.3s ease;
}

/* Loading spinner */
.loading-spinner {
    width: 4rem;
    height: 4rem;
    border: 4px solid #374151;
    border-top: 4px solid var(--accent-color-1);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

/* Timezone display enhancements */
#eventTime {
    transition: all 0.3s ease;
    position: relative;
}

#eventTime.updating {
    opacity: 0.6;
    transform: scale(0.98);
}

#eventTime.updated {
    opacity: 1;
    transform: scale(1);
}

#localTime {
    transition: all 0.4s ease;
    opacity: 0.8;
}

#localTime.loading {
    opacity: 0.5;
}

#localTime.loaded {
    opacity: 1;
}

/* Timezone detection indicator */
.timezone-indicator {
    display: inline-flex;
    align-items: center;
    background: rgba(0, 255, 163, 0.1);
    border: 1px solid rgba(0, 255, 163, 0.3);
    border-radius: 0.5rem;
    padding: 0.25rem 0.5rem;
    margin-left: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.timezone-indicator.detected {
    background: rgba(0, 255, 163, 0.2);
    border-color: var(--accent-color-1);
    color: var(--accent-color-1);
}

.timezone-indicator.detecting {
    background: rgba(255, 193, 7, 0.1);
    border-color: rgba(255, 193, 7, 0.3);
    color: var(--accent-color-2);
    animation: pulse 2s infinite;
}

/* Countdown timer styles */
.countdown-timer {
    background: linear-gradient(135deg, rgba(0, 255, 163, 0.1), rgba(255, 193, 7, 0.1));
    border: 1px solid rgba(0, 255, 163, 0.2);
    border-radius: 0.5rem;
    padding: 0.5rem;
    margin-top: 0.5rem;
    text-align: center;
    font-weight: bold;
}

.countdown-timer.urgent {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(255, 193, 7, 0.1));
    border-color: rgba(239, 68, 68, 0.3);
    animation: urgentPulse 1s infinite alternate;
}

.countdown-timer.starting-soon {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(255, 255, 255, 0.1));
    border-color: rgba(239, 68, 68, 0.5);
    animation: urgentBlink 0.5s infinite;
}

/* Timezone comparison display */
.timezone-comparison {
    background: rgba(12, 14, 20, 0.4);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.5rem;
    margin-top: 0.5rem;
    border-radius: 0 0 0.5rem 0.5rem;
    font-size: 0.75rem;
}

.timezone-comparison .comparison-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.25rem 0;
}

.timezone-comparison .timezone-label {
    font-weight: 600;
    opacity: 0.8;
}

.timezone-comparison .timezone-time {
    font-family: 'Monaco', 'Menlo', monospace;
    color: var(--accent-color-1);
}

/* Animations */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { 
        transform: scale(1);
        opacity: 1;
    }
    50% { 
        transform: scale(1.05);
        opacity: 0.7;
    }
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes textGlow {
    0% {
        text-shadow: 0 0 20px rgba(0, 255, 163, 0.3),
                    0 0 30px rgba(0, 255, 163, 0.2),
                    0 0 40px rgba(0, 255, 163, 0.1);
    }
    100% {
        text-shadow: 0 0 30px rgba(255, 193, 7, 0.4),
                    0 0 50px rgba(255, 193, 7, 0.3),
                    0 0 70px rgba(255, 193, 7, 0.2);
    }
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
    }
    33% { 
        transform: translateY(-20px) rotate(120deg); 
    }
    66% { 
        transform: translateY(10px) rotate(240deg); 
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(0, 255, 163, 0.3),
                   0 0 40px rgba(0, 255, 163, 0.2),
                   0 0 60px rgba(0, 255, 163, 0.1);
    }
    50% {
        box-shadow: 0 0 30px rgba(255, 193, 7, 0.4),
                   0 0 60px rgba(255, 193, 7, 0.3),
                   0 0 90px rgba(255, 193, 7, 0.2);
    }
}

@keyframes slideIn {
    from { 
        transform: translateY(20px); 
        opacity: 0; 
    }
    to { 
        transform: translateY(0); 
        opacity: 1; 
    }
}

@keyframes urgentPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4);
    }
    100% {
        box-shadow: 0 0 0 10px rgba(239, 68, 68, 0);
    }
}

@keyframes urgentBlink {
    0% {
        background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(255, 255, 255, 0.1));
        border-color: rgba(239, 68, 68, 0.5);
    }
    100% {
        background: linear-gradient(135deg, rgba(239, 68, 68, 0.4), rgba(255, 255, 255, 0.2));
        border-color: rgba(239, 68, 68, 0.8);
    }
}

/* Animation Classes */
.animate-float {
    animation: float 6s ease-in-out infinite;
}

.pulse-animation { 
    animation: pulse 2s infinite; 
}

.slide-in {
    animation: slideIn 0.8s ease-out;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .brand-text {
        font-size: 2rem !important;
    }
    
    .team-card {
        margin-bottom: 1rem;
    }
    
    .glass-effect {
        margin-bottom: 1rem;
        padding: 1rem;
    }
    
    .timezone-comparison {
        font-size: 0.625rem;
        padding: 0.375rem;
    }
    
    .timezone-indicator {
        font-size: 0.625rem;
        padding: 0.125rem 0.375rem;
        margin-left: 0.25rem;
    }
    
    .countdown-timer {
        padding: 0.375rem;
        font-size: 0.875rem;
    }
    
    #localTime {
        font-size: 0.75rem;
    }
}

@media (max-width: 640px) {
    .brand-text {
        font-size: 1.5rem !important;
    }
    
    .btn-primary, 
    .btn-secondary {
        width: 100%;
        text-align: center;
        margin-bottom: 0.5rem;
        font-size: 0.9rem;
        padding: 10px 20px;
    }
    
    .container {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    
    .glass-effect {
        padding: 0.75rem;
    }
    
    .team-card .text-2xl {
        font-size: 1.25rem !important;
    }
    
    .md\:grid-cols-2,
    .md\:grid-cols-3,
    .lg\:grid-cols-3 {
        grid-template-columns: 1fr !important;
    }
    
    .md\:grid-cols-2 .btn-primary,
    .md\:grid-cols-2 .btn-secondary {
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .timezone-comparison .comparison-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.125rem;
    }
    
    .timezone-comparison .timezone-time {
        font-size: 0.75rem;
        margin-left: 0.5rem;
    }
}

@media (max-width: 360px) {
    .play-button-container {
        margin-bottom: 0.2rem;
    }
    .brand-text {
        font-size: 1.25rem !important;
    }
    
    .glass-effect {
        padding: 0.5rem;
    }
    
    .btn-primary,
    .btn-secondary {
        font-size: 0.8rem;
        padding: 8px 16px;
    }
    
    h1 {
        font-size: 1.5rem !important;
    }
    
    h2 {
        font-size: 1.25rem !important;
    }
    
    .container {
        padding-left: 0.25rem;
        padding-right: 0.25rem;
    }
}

/* Social Share Buttons */
.social-share {
    position: fixed;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 40;
}

.social-share a {
    display: block;
    width: 3rem;
    height: 3rem;
    margin-bottom: 0.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-share a:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--primary-color);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-color-1);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color-2);
}

/* Utility Classes */
.text-shadow {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.backdrop-blur {
    backdrop-filter: blur(10px);
}

.border-gradient {
    border: 1px solid;
    border-image: linear-gradient(45deg, var(--accent-color-1), var(--accent-color-2)) 1;
}

/* Focus States for Accessibility */
button:focus,
a:focus,
input:focus {
    outline: 2px solid var(--accent-color-1);
    outline-offset: 2px;
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    .countdown-timer.urgent,
    .countdown-timer.starting-soon,
    .timezone-indicator.detecting {
        animation: none;
    }
    
    #eventTime,
    #localTime {
        transition: none;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .timezone-indicator {
        border-width: 2px;
        background: rgba(0, 0, 0, 0.8);
    }
    
    .timezone-comparison {
        border-width: 2px;
        background: rgba(0, 0, 0, 0.9);
    }
    
    .countdown-timer {
        border-width: 2px;
        background: rgba(0, 0, 0, 0.8);
    }
}

/* Print Styles */
@media print {
    .social-share,
    .ad-space,
    #authModal {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .glass-effect {
        background: white !important;
        border: 1px solid #ccc !important;
    }
}

/* CSS for styling */
.hidden {
    display: none !important;
}

.play-button-container {
    position: relative;
    cursor: pointer;
    display: inline-block;
}

.play-button {
    width: 80px;
    height: 80px;
    background: #ff0000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

.play-button:hover {
    transform: scale(1.1);
}

.play-button i {
    color: white;
    font-size: 30px;
    margin-left: 5px;
}

.pulse-ring-1, .pulse-ring-2 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border: 2px solid rgba(255, 0, 0, 0.5);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.pulse-ring-2 {
    animation-delay: 1s;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #ff0000;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.progress-container {
    width: 300px;
    height: 6px;
    background: #333;
    border-radius: 3px;
    margin: 20px auto;
    overflow: hidden;
}

#loadingProgress {
    height: 100%;
    background: #ff0000;
    width: 0%;
    transition: width 0.3s ease;
}


/* Team Stats*/
.top-row {
    display: grid;
    grid-template-columns: 1fr 110px 1fr;
    align-items: center;
    margin-bottom: 12px;
    border-bottom: 1px dashed #e6e6e6;
    padding-bottom: 5px;
}
.team-top {
    display:flex;
    align-items:center;
    gap:8px;
}
.team-top.left {
    justify-content: flex-start;
    padding-left:8px;
}
.team-top.right {
    justify-content: flex-end;
    padding-right:8px;
}
.team-top img {
    width:40px;
    height:40px;
    object-fit:contain;
    border-radius:4px;
    background:#fff;
    box-shadow:0 1px 3px rgba(0,0,0,0.06);
    padding:2px;
}
.center-spacer {
    text-align:center;
    font-size:13px;
    color:#666;
}
.stats {
    display:flex;
    flex-direction:column;
    gap:12px;
    font-size: 0.7rem;
    padding-top:2px;
}
.stat-row {
    display:grid;
    grid-template-columns: 1fr 90px 1fr;
    align-items:center;
    gap:5px;
}
.left-col {
    display:flex;
    flex-direction:row;
    gap:6px;
    align-items:center;
}
.right-col {
    display:flex;
    flex-direction:row-reverse;
    gap:6px;
    align-items:center;
}

.mid-label {
    text-align:center;
    color:#666;
    font-weight:600;
    font-size:13px;
}
.bar {
    width:100%;
    height:12px;
    background: linear-gradient(90deg,#eee,#f6f6f6);
    border-radius:8px;
    overflow:hidden;
    position:relative;
}
.bar-inner {
    height:100%;
    border-radius:8px;
    transition: width 800ms cubic-bezier(.2,.9,.2,1);
    box-shadow: inset 0 -3px 6px rgba(0,0,0,0.06);
}
.bar-inner.left {
    background: linear-gradient(270deg, #dce4eb, #0c4781);
}
.bar-inner.right {
    background: linear-gradient(270deg, #2d810c, #dce4eb);
}
.bar-right {
    position:relative;
}
.bar-right .bar-inner {
    position:absolute;
    right:0;
    top:0;
}
.match-row {
    font-size: 1rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 5px;
}
.left-match {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: flex-start;
}
.right-match {
    display: flex;
    gap: 6px;
    flex-direction: column;
    align-items: flex-end;
}

.matchabr {
    display: flex;
    gap: 10px;
}

.matchW {
    display: flex;
    width: 1.5rem;
    background-color: rgb(34 197 94 / var(--tw-bg-opacity, 1));
    border-radius: 0.25rem;
    justify-content: center;
    align-items: center;
}
.matchD {
    display: flex;
    width: 1.5rem;
    background-color: rgb(234 179 8 / var(--tw-bg-opacity, 1));
    border-radius: 0.25rem;
    justify-content: center;
    align-items: center;
}
.matchL {
    display: flex;
    width: 1.5rem;
    background-color: rgb(239 68 68 / var(--tw-bg-opacity, 1));
    border-radius: 0.25rem;
    justify-content: center;
    align-items: center;
}

@media (max-width:420px){
    .container { padding:10px; }
    .top-row { grid-template-columns: 1fr 90px 1fr; }
    .stat-row { grid-template-columns: 1fr 110px 1fr; }
}


/* Match Prediction */
  .wrap{ display:grid; grid-template-columns: 220px 1fr; gap:22px; align-items:center; }
  @media (max-width:520px){ .wrap{ grid-template-columns:1fr; } }

  .pie{
    width:220px; height:220px; border-radius:50%;
    background:
      conic-gradient(#ffffff 0% calc(var(--p1) * 1%),
                     #ef4444 calc(var(--p1) * 1%) 100%);
    position:relative;
  }
  .pie::before{
    content:""; position:absolute; inset:14%; border-radius:50%;
    background:#121212;
    z-index:0;
  }
  .center{
    position:absolute; inset:0; display:grid; place-items:center; text-align:center;
    z-index:1; font-weight:700; font-size:20px;
  }
  .legend{ display:grid; gap:40px; }
  .row{ display:flex; align-items:center; gap:10px; }
  .swatch{ width:14px; height:14px; border-radius:3px; }
  .swatch.red{ background:#ef4444; }
  .swatch.black{ background:#000000; outline:1px solid #333; }
  .pct{ font-weight:700; }
  .muted{ color:#9aa0a6; font-size:13px; }
  :focus-visible { outline:2px solid #3b82f6; outline-offset:2px; border-radius:6px; }

/*Customize*/
.cpt-28 {
    padding-top: 5.5rem;
}
.ge-padding {
    padding: 15px;
}
.hide-pc {
    display: none !important;
}
.hide-mob {
    display: block !important;
}
.buttons-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}
.custom-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 20px;
    border-radius: 18px;
    font-size: 15px;
    color: #fff;
    text-decoration: none;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
    max-width: 300px;
    text-align: center;
}
.custom-btn:hover {
    transform: scale(1.05);
}
.btn-premium {
    background: linear-gradient(135deg, #ff9800, #ff5722);
    box-shadow: 0 8px 20px rgba(255, 152, 0, 0.3);
}
.btn-premium:hover {
    box-shadow: 0 12px 28px rgba(255, 152, 0, 0.5);
}
.btn-basic {
    background: linear-gradient(135deg, #2196f3, #00bcd4);
    box-shadow: 0 8px 20px rgba(33, 150, 243, 0.3);
}
.btn-basic:hover {
    box-shadow: 0 12px 28px rgba(33, 150, 243, 0.5);
}
.custom-btn i {
    font-size: 22px;
}
.badge {
    background: #fff;
    color: #000;
    font-size: 10px;
    font-weight: bold;
    padding: 3px 5px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}
.select-group {
    border: 2px solid grey;
    border-radius: 7px;
}
.select-label {
padding: 10px;
}
.select-date {
    padding: 6px 15px;
    background-color: rgb(107 114 128 / var(--tw-bg-opacity, 1));
}
.select-week {
    padding: 7.5px 15px;
    background-color: rgb(107 114 128 / var(--tw-bg-opacity, 1));
}


@media (max-width: 768px) {
    .ge-padding {
        padding:3px;
    }
    .buttons-container {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    .custom-btn {
        width:100%;
        max-width:90%;
        font-size: 13px;
    }
    .play-button {
        width: 40px;
        height: 40px;
    }
    .play-button i {
        font-size: 20px;
    }
    .pulse-ring-1, .pulse-ring-2 {
        width: 40px;
        height: 40px;
    }
    .hide-mob {
        display: none !important;
    }
    .hide-pc {
        display: block !important;
    }
    .w-16 {
        width: 2rem !important;
    }
    .h-16 {
        height: 2rem !important;
    }
    .text-2xl {
        font-size: .8rem !important;
        line-height: .5rem !important;
    }
    .font-extrabold {
        font-weight: 400;
    }
    .viewer-count {
        top: 2px;
        left: 5px;
    }
    .live-indicator {
        top: 2px;
        right: 5px;
    	font-weight: 400;
    }
}











@media (max-width: 768px) {
    .play-button-container {
        margin-bottom: 0.5rem;
    }
    .viewer-count {
        padding: 0.05rem 0.4rem;
    }
    .text-xs {
        font-size: 0.475rem;
        line-height: 0.75rem;
    }
    .mb-2 {
        margin-bottom: 0.3rem;
    }
    .loading-spinner {
        width: 2rem;
        height: 2rem;
        border: 2px solid #374151;
        border-top: 2px solid var(--accent-color-1);
        margin-bottom: .4rem;
    }
    .text-lg {
        font-size: 0.75rem;
        line-height: 0.5rem;
    }
    .progress-container {
        margin: 0rem;
    }
    .viewer-count,
    .live-indicator {
        font-size: 0.6rem;
    }
    .live-dot {
        width: 0.3rem;
        height: 0.3rem;
    }
    .player-controls {
        padding: .4rem;
    }
    .player-controls .text-xl {
        font-size: 0.75rem;
        line-height: 0.85rem;
    }
    .player-controls .text-lg {
        font-size: 0.70rem;
        line-height: 0.75rem;
    }
    nav .text-3xl {
        font-size: 1.5rem;
        line-height: 1.35rem;
    }
    nav .glass-effect {
    margin-bottom: 0.3rem;
    }
    .cpt-28 {
        padding-top: 5rem;
    }
}