     :root {
      --primary: #0a1f3a;
      --secondary: #1a3a5f;
      --accentt: #FDB827;
      --accent: #a6b5ad;
      --accent-dark: #e0a023;
      --light: #f8f9fa;
      --dark: #121212;
      --card-bgg: #1a2538;
      --success: #00c853;
      --danger: #ff4d4d;
    }
    html { height: 100%; }
    body { background: #1c242c; color: #a2a4a9; padding: 20px; }
    
    .btn-outline-secondary {
      border-color: rgba(255, 255, 255, 0.3);
      color: var(--light);
    }
    
    .btn-outline-secondary:hover {
      background: rgba(255, 255, 255, 0.1);
      border-color: var(--accent);
    }
    
    .btn-success {
      background: var(--success);
      border-color: var(--success);
      font-weight: 600;
      transition: all 0.3s ease;
    }
    
    .btn-success:hover {
      background: #00b347;
      transform: translateY(-2px);
      box-shadow: 0 4px 12px rgba(0, 200, 83, 0.3);
    }
    

    .live {
      background-color: #7f171d;
      animation: pulse 1.5s infinite;
    }

    .ended { background-color: #6c757d; }
    .upcoming { background-color: #8cbdd1; color: blue}

    @keyframes pulse {
      0% { box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.7); }
      50% { box-shadow: 0 0 12px 6px rgba(220, 53, 69, 0.5); }
      100% { box-shadow: 0 0 0 0 rgba(220, 53, 69, 0); }
    }
    
    .player-section {
      max-width: 900px;
      margin: 0 auto 30px;
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
      animation: slideUp 0.8s ease;
    }

    .real-playerkd {
          background: linear-gradient(-40deg, #FDB827 50%, #333 50%);
      background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), 
                  url('https://images.unsplash.com/photo-1575361204480-aadea25e6e68') no-repeat center/cover;
    }
    
    .real-player {
      position: relative;
      width: 100%;
      padding-bottom: 56.25%;

      cursor: pointer;
      overflow: hidden;
    }
    
    .real-player::before {
      content: "";
      position: absolute;
      top: 0; left: 0; right: 0; bottom: 0;
      background: rgba(0, 0, 0, 0);
      transition: background 0.3s ease;
      z-index: 0;
    }
    
    .real-player:hover::before {
      background: rgba(0, 0, 0, 0.3);
    }
    
    .black-screen {
      position: absolute;
      top: 0; left: 0; right: 0; bottom: 0;
      background: #000;
      opacity: 0;
      transition: opacity 0.5s ease;
      z-index: 1;
    }
    
    .black-screen.active {
      opacity: 1;
    }
    
    .overlay-content {
      position: absolute;
      top:0;left:0;right:0;bottom:0;
      display: flex;
      justify-content: center;
      align-items: center;
      z-index: 3;
      pointer-events: none;
    }
    
    /* Preserved exactly as requested */
    .play-container {
      display: flex;
      align-items: center;
      gap: 30px;
    }
    
    .team-half img {
      width: 15vw;  
      max-width: 200px;  
      height: auto; 
      object-fit: contain;
      border-radius: 10%;
    }
    
    .big-play-btn {
      width: 80px;
      height: 80px;
      background: rgba(255, 77, 77, 0.4);
      border-radius: 50%;
      display: flex;
      justify-content: center;
      align-items: center;
      transition: all 0.3s ease;
      pointer-events: none;
      box-shadow: 0 0 10px rgba(255, 77, 77, 0.4);
    }
    
    .real-player:hover .big-play-btn {
      transform: scale(1.3);
      background: rgba(255, 77, 77, 0.8);
      box-shadow: 0 0 25px rgba(255, 77, 77, 0.8);
    }
    
    .big-play-btn i {
      font-size: 40px;
      color: white;
    }
    
    #loadingSequence {
      position: absolute;
      top: 0; left: 0; right: 0; bottom: 0;
      z-index: 3;
      display: flex;
      justify-content: center;
      align-items: center;
      background: black;
    }
    
    .loading-inner {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      min-height: 100px;
    }
    
    .loader {
      border: 6px solid #f3f3f3;
      border-top: 6px solid #4da6ff;
      border-radius: 50%;
      width: 40px;
      height: 40px;
      animation: spin 1s linear infinite;
      margin-bottom: 15px;
    }
    
    @keyframes spin{0%{transform:rotate(0);}100%{transform:rotate(360deg);}}
    
    #loadingText {
      font-size: 16px;
      color: white;
      font-weight: 500;
      text-align: center;
      min-height: 1em;
    }
    
    #liveIframe {
      position: absolute;
      top: 0; left: 0;
      width: 100%; height: 100%;
      z-index: 2;
      display: none;
    }
    
    .popup-overlay {
      display: none;
      position: fixed;
      top: 0; left: 0;
      width: 100%; height: 100%;
      background: rgba(10, 31, 58, 0.95);
      justify-content: center;
      align-items: center;
      backdrop-filter: blur(2px);
      z-index: 9999;
    }
    
    
    .popup-box {
      background: linear-gradient(145deg, #1a2538, #0f1a2d);
      color: var(--light);
      padding: 30px;
      border-radius: 12px;
      text-align: center;
      max-width: 500px;
      width: 90%;
      box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
      border: 1px solid rgba(255, 255, 255, 0.1);
      animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
      position: relative;
    }

    
    
    .popup-icon {
      font-size: 50px;
      margin-bottom: 20px;
      color: var(--accent);
      
      background: yellow;
      width: 50px; height: 50px;
      border-radius: 50%;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      position: absolute;
      top: -25px;
      left: calc(50% - 25px);
    }
    
    
    .popup-btn {
      background: linear-gradient(to right, var(--success), #00b347);
      color: #fff;
      padding: 14px 30px;
      border: none;
      border-radius: 50px;
      cursor: pointer;
      margin: 25px 0 15px;
      font-weight: 600;
      font-size: 1.1rem;
      letter-spacing: 0.5px;
      box-shadow: 0 5px 15px rgba(0, 200, 83, 0.3);
      transition: all 0.3s ease;
    }
    
    .popup-btn:hover {
      transform: translateY(-3px);
      box-shadow: 0 8px 20px rgba(0, 200, 83, 0.5);
    }
    
    .popup-footer {
      margin-top: 20px;
      font-size: 14px;
      color: rgba(255, 255, 255, 0.7);
      line-height: 1.6;
    }
    
    .live-badge {
      position: absolute;
      top: 15px;
      left: 15px;
      background: var(--danger);
      padding: 6px 15px;
      border-radius: 20px;
      font-size: 14px;
      font-weight: 600;
      z-index: 3;
      display: flex;
      align-items: center;
      animation: pulse 1.5s infinite;
      color: #fff;
    }
    
    .live-badge::before {
      content: "";
      width: 10px;
      height: 10px;
      background: white;
      border-radius: 50%;
      margin-right: 8px;
      animation: pulse 1.5s infinite;
      color: #fff;
    }
    
    .viewer-count {
      position: absolute;
      top: 15px;
      right: 15px;
      background: rgba(255, 77, 77, 0.8);
      padding: 6px 15px;
      border-radius: 20px;
      font-size: 14px;
      z-index: 3;
      display: flex;
      align-items: center;
      color: #fff;
    }
    
    .viewer-count i {
      margin-right: 8px;
    }
    
    .player-controls {
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      display: flex;
      align-items: center;
      padding: 12px 15px;
      background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
      opacity: 1;
      z-index: 3;
      transition: opacity 0.3s;
    }
    
    .real-player:hover .player-controls {
      opacity: 1;
    }
    
    .control-btn {
      background: transparent;
      border: none;
      color: #fff;
      font-size: 18px;
      margin: 0 10px;
      cursor: pointer;
      opacity: 0.8;
      transition: all 0.2s;
    }
    
    .control-btn:hover {
      opacity: 1;
      transform: scale(1.1);
    }
    
    .progress-container {
      flex: 1;
      height: 5px;
      background: rgba(255, 1, 1, 0.2);

      border-radius: 3px;
      position: relative;
      overflow: hidden;
      margin: 0 15px;
      cursor: pointer;
    }
    
    .progress-bar {
      position: absolute;
      top: 0; left: 0;
      width: 100%; height: 100%;
      background: linear-gradient(to right, transparent, var(--accent), transparent);
      animation: buffering 1.5s linear infinite;
    }
    
    @keyframes buffering {
      0% { transform: translateX(-100%); }
      100% { transform: translateX(100%); }
    }
    
    .time-display {
      font-family: 'Courier New', monospace;
      color: #ddd;
      font-size: 14px;
      margin-right: 8px;
      min-width: 50px;
      text-align: center;
    }
    
    .game-info1 {
      max-width: 900px;
      margin: 0 auto 30px;
    }
    
    .event-card {
      background: var(--card-bg);
      border-radius: 12px;
      border: none;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
      overflow: hidden;
      transition: transform 0.3s ease;
    }
    
    .event-card:hover {
      transform: translateY(-5px);
    }
    
    .event-card .card-title {
      color: var(--accent);
      font-weight: 700;
      margin-bottom: 15px;
    }
    
    .event-card .card-subtitle {
      display: flex;
      flex-direction: column;
      gap: 8px;
    }
    
    .feature-section {
      max-width: 900px;
      margin: 40px auto;
      padding: 30px 0;
    }
    
    .section-title {
      text-align: center;
      color: #5b6a79;
      position: relative;
    }
    
    .section-title::after {
      content: "";
      display: block;
      width: 80px;
      height: 4px;
      background: var(--accent);
      margin: 15px auto 0;
      border-radius: 2px;
    }
    
    .feature-box {
      text-align: center;
      margin-bottom: 40px;
      padding: 25px 15px;
      background: var(--card-bg);
      border-radius: 12px;
      transition: all 0.3s ease;
      height: 100%;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }
    
    .feature-box:hover {
      transform: translateY(-8px);
      box-shadow: 0 12px 25px rgba(0, 0, 0, 0.3);
      background: rgba(26, 37, 56, 0.8);
    }
    
    .feature-box i {
      font-size: 42px;
      margin-bottom: 20px;
      color: var(--accent);
      transition: transform 0.3s ease;
    }
    
    .feature-box:hover i {
      transform: scale(1.2);
    }
    
    .feature-title {
      color: var(--accent);
      font-weight: 700;
      text-transform: uppercase;
      margin-bottom: 15px;
      letter-spacing: 0.5px;
      font-size: 1.2rem;
    }
    
    .feature-text {
      font-size: 15px;
      color: rgba(255, 255, 255, 0.85);
      line-height: 1.7;
    }
    
    .comments-section {
      max-width: 900px;
      margin: 0 auto;
      background: var(--card-bg);
      border-radius: 12px;
      padding: 30px;
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    }
    


    
    /* Animations */
    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(10px); }
      to { opacity: 1; transform: translateY(0); }
    }
    
    @keyframes slideUp {
      from { opacity: 0; transform: translateY(30px); }
      to { opacity: 1; transform: translateY(0); }
    }
    
    @keyframes popIn {
      from { opacity: 0; transform: scale(0.8); }
      to { opacity: 1; transform: scale(1); }
    }
    
    @keyframes pulse {
      0% { opacity: 0.6; }
      50% { opacity: 1; }
      100% { opacity: 0.6; }
    }
    
    /* Responsive adjustments */
    @media (max-width: 768px) {
      .team-half img {
        width: 100px;
        height: 100px;
      }
      
      .big-play-btn {
        width: 70px;
        height: 70px;
      }
      
      .player-controls {
        padding: 10px;
      }
      
      .progress-container {
        margin: 0 10px;
      }
      
      .game-title {
        font-size: 1.2rem;
      }
      
      .feature-box {
        padding: 20px 15px;
      }
      
      .comments-section {
        padding: 20px;
      }
    }
    
    @media (max-width: 576px) {
      .play-container {
        gap: 15px;
      }
      
      .team-half img {
        width: 80px;
        height: 80px;
      }
      
      .big-play-btn {
        width: 60px;
        height: 60px;
      }
      
      .big-play-btn i {
        font-size: 30px;
      }
    }
    
    
    .comments-section { max-width: 900px; margin: auto; color: black; background: #273441; border-radius: 10px; overflow: hidden; }