    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: 'Arial', sans-serif;
      background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
      color: white;
      min-height: 100vh;
    }

    .main-content {
      padding-top: 80px;
    }

    .dropdown-container:hover 

    /* Mobile dropdown adjustments */
    @media (max-width: 768px) {

      .dropdown-container:hover 
    }

    /* Submenu Styles */

    .submenu-container:hover 

    .main-content h2 {
      text-align: center;
      margin-bottom: 30px;
      font-size: 2rem;
      background: linear-gradient(45deg, #00ff00, #00cc88);
      background-clip: text;
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }

    /* Controls Container */
    .controls-container {
      max-width: 800px;
      margin: 0 auto 30px auto;
      display: flex;
      gap: 20px;
      justify-content: center;
      flex-wrap: wrap;
    }

    .selector-group {
      display: flex;
      align-items: center;
      gap: 10px;
      background: rgba(255, 255, 255, 0.1);
      padding: 15px 20px;
      border-radius: 15px;
      backdrop-filter: blur(10px);
      border: 1px solid rgba(255, 255, 255, 0.2);
    }

    .selector-group label {
      font-weight: bold;
      font-size: 1.1rem;
      color: #00ff00;
      white-space: nowrap;
    }

    select {
      font-size: 1rem;
      padding: 8px 15px;
      border-radius: 10px;
      border: 1px solid rgba(255, 255, 255, 0.3);
      background: rgba(0, 0, 0, 0.5);
      color: white;
      cursor: pointer;
      min-width: 150px;
      backdrop-filter: blur(5px);
    }

    select:focus {
      outline: none;
      border-color: #00ff00;
      box-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
    }

    /* Calendar Controls - matches MLB/NHL */
    .calendar-controls {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 20px;
      margin-bottom: 30px;
      padding: 20px;
      background: rgba(255, 255, 255, 0.05);
      backdrop-filter: blur(15px);
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 15px;
      max-width: 600px;
      margin-left: auto;
      margin-right: auto;
      flex-wrap: wrap;
    }

    .date-btn {
      background: linear-gradient(45deg, #00ff00, #00cc88);
      color: #000;
      border: none;
      padding: 10px 20px;
      border-radius: 10px;
      font-weight: bold;
      cursor: pointer;
      transition: all 0.3s ease;
      font-size: 0.9rem;
    }

    .date-btn:hover {
      transform: translateY(-2px);
      box-shadow: 0 5px 15px rgba(0, 255, 0, 0.4);
    }

    .date-input {
      background: rgba(0, 0, 0, 0.5);
      border: 1px solid rgba(255, 255, 255, 0.3);
      border-radius: 10px;
      padding: 10px 15px;
      color: white;
      font-size: 1rem;
      backdrop-filter: blur(5px);
    }

    .date-input:focus {
      outline: none;
      border-color: #00ff00;
      box-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
    }

    .selected-date {
      text-align: center;
      margin: 20px 0;
      font-size: 1.2rem;
      color: #00ff00;
      font-weight: bold;
    }

    /* Loading Spinner */
    #loading {
      text-align: center;
      padding: 40px;
      font-size: 1.2rem;
      color: #00ff00;
    }

    .spinner {
      border: 4px solid rgba(0, 255, 0, 0.1);
      border-left: 4px solid #00ff00;
      border-radius: 50%;
      width: 40px;
      height: 40px;
      animation: spin 1s linear infinite;
      margin: 0 auto 20px auto;
    }

    @keyframes spin {
      0% { transform: rotate(0deg); }
      100% { transform: rotate(360deg); }
    }

    /* Game Containers */
    #basketball-game-containers {
      display: grid;
      gap: 24px;
      max-width: 1100px;
      margin: auto;
      grid-template-columns: repeat(2, 1fr);
      padding: 20px;
    }

    .gc-card {
      position: relative;
      border-radius: 18px;
      overflow: hidden;
      background: linear-gradient(170deg, #111827 0%, #0a0f1e 100%);
      border: 1.5px solid rgba(255,255,255,0.07);
      transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
      display: flex;
      flex-direction: column;
      align-items: stretch;
    }
    .gc-card::before {
      content: '';
      position: absolute;
      top: 0; left: 0; right: 0;
      height: 3px;
      background: linear-gradient(90deg, #14b8a6, #22c55e);
    }
    .gc-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 12px 40px rgba(20,184,166,0.12);
      border-color: rgba(20,184,166,0.25);
    }
    .gc-card.live-game {
      border-color: rgba(239,68,68,0.3);
    }
    .gc-card.live-game::before {
      background: linear-gradient(90deg, #ef4444, #f59e0b);
    }
    .gc-status-bar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 14px 18px 0;
    }
    .gc-datetime {
      font-size: 11px;
      color: #64748b;
      font-weight: 600;
    }
    .gc-status-pill {
      font-size: 10px;
      font-weight: 700;
      padding: 3px 10px;
      border-radius: 20px;
      letter-spacing: 0.5px;
      text-transform: uppercase;
    }
    .gc-status-pill.pre {
      background: rgba(20,184,166,0.12);
      color: #14b8a6;
    }
    .gc-status-pill.in {
      background: rgba(239,68,68,0.15);
      color: #ef4444;
      animation: gc-pulse 1.5s ease-in-out infinite;
    }
    .gc-status-pill.post {
      background: rgba(148,163,184,0.1);
      color: #94a3b8;
    }
    @keyframes gc-pulse {
      0%, 100% { opacity: 1; }
      50% { opacity: 0.6; }
    }
    .gc-versus {
      display: flex;
      align-items: flex-start;
      justify-content: center;
      gap: 0;
      padding: 14px 12px 10px;
      position: relative;
    }
    .gc-versus::before {
      content: '';
      position: absolute;
      inset: 0;
      background: radial-gradient(ellipse at 50% 60%, rgba(20,184,166,0.08) 0%, transparent 60%);
      pointer-events: none;
    }
    .gc-card.live-game .gc-versus::before {
      background: radial-gradient(ellipse at 50% 60%, rgba(239,68,68,0.08) 0%, transparent 60%);
    }
    .gc-team-col {
      flex: 1;
      display: flex;
      flex-direction: column;
      align-items: center;
      position: relative;
      z-index: 1;
      min-width: 0;
    }
    .gc-team-header {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
      margin-bottom: 10px;
      max-width: 100%;
      overflow: hidden;
    }
    .gc-team-logo {
      width: 24px !important;
      height: 24px !important;
      max-width: 24px !important;
      max-height: 24px !important;
      object-fit: contain;
      flex-shrink: 0;
      border-radius: 5px;
      background: rgba(255,255,255,0.12);
      padding: 2px;
    }
    .gc-team-label {
      font-size: 13px;
      font-weight: 700;
      color: #e2e8f0;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
    .gc-avatar {
      width: 130px;
      height: 130px;
      border-radius: 16px;
      overflow: hidden;
      background: linear-gradient(145deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
      border: 2px solid rgba(20,184,166,0.15);
      box-shadow: 0 6px 24px rgba(0,0,0,0.45), 0 0 16px rgba(20,184,166,0.06);
      margin-bottom: 8px;
    }
    .gc-card.live-game .gc-avatar {
      border-color: rgba(239,68,68,0.2);
      box-shadow: 0 6px 24px rgba(0,0,0,0.45), 0 0 16px rgba(239,68,68,0.08);
    }
    .gc-avatar img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }
    .gc-score {
      font-size: 28px;
      font-weight: 900;
      color: #fff;
      letter-spacing: -0.5px;
    }
    .gc-vs-divider {
      display: flex;
      align-items: center;
      justify-content: center;
      padding-top: 60px;
      flex-shrink: 0;
      width: 40px;
      position: relative;
      z-index: 1;
    }
    .gc-vs-text {
      font-size: 14px;
      font-weight: 900;
      color: rgba(255,255,255,0.15);
      letter-spacing: 2px;
    }

    .gc-card .betting-section,
    .gc-card .stats-section,
    .gc-card .game-action-buttons,
    .gc-card .hie-signal-hint {
      padding-left: 18px;
      padding-right: 18px;
    }
    .gc-card .game-action-buttons {
      padding-bottom: 18px;
    }
    .gc-card .stats-section {
      padding-bottom: 4px;
    }
    .gc-card .betting-section {
      padding-bottom: 4px;
    }

    @media (max-width: 860px) {
      #basketball-game-containers {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
      }
    }
    @media (max-width: 480px) {
      .gc-avatar { width: 100px; height: 100px; border-radius: 12px; }
      .gc-team-label { font-size: 11px; }
      .gc-score { font-size: 22px; }
      .gc-vs-divider { padding-top: 45px; width: 30px; }
      .gc-vs-text { font-size: 12px; }
      .gc-status-bar { padding: 10px 14px 0; }
      .gc-card .betting-section,
      .gc-card .stats-section,
      .gc-card .game-action-buttons { padding-left: 14px; padding-right: 14px; }
    }

    /* Stats section styling */
    .stats-section {
      width: 100%;
      margin: 15px 0;
    }

    .stats-toggle-btn {
      background: rgba(0, 255, 0, 0.1);
      border: 1px solid rgba(0, 255, 0, 0.3);
      color: #00ff00;
      padding: 8px 15px;
      border-radius: 8px;
      cursor: pointer;
      font-size: 0.9rem;
      font-weight: 600;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      transition: all 0.3s ease;
      width: 100%;
    }

    .stats-toggle-btn:hover {
      background: rgba(0, 255, 0, 0.2);
      transform: translateY(-1px);
    }

    .stats-arrow {
      font-size: 0.8rem;
      transition: transform 0.3s ease;
    }

    .stats-content {
      background: rgba(0, 0, 0, 0.3);
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 8px;
      padding: 15px;
      margin-top: 10px;
      animation: slideDown 0.3s ease;
    }

    @keyframes slideDown {
      from {
        opacity: 0;
        max-height: 0;
        padding: 0 15px;
      }
      to {
        opacity: 1;
        max-height: 500px;
        padding: 15px;
      }
    }

    .loading-stats {
      text-align: center;
      color: #00cc88;
      font-style: italic;
      padding: 10px;
    }

    .stats-error {
      text-align: center;
      color: #ff6666;
      font-style: italic;
      padding: 10px;
    }

    .stats-grid {
      display: flex;
      flex-direction: column;
      gap: 15px;
    }

    /* NBA ML Predictions Section Styles */
    #predictions-section {
      max-width: 1000px;
      margin: 30px auto;
      padding: 25px;
      background: rgba(0, 255, 0, 0.05);
      border: 2px solid #00ff00;
      border-radius: 15px;
      backdrop-filter: blur(10px);
      box-shadow: 0 0 30px rgba(0, 255, 0, 0.2);
    }

    .predictions-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 20px;
    }

    .predictions-header h3 {
      font-size: 1.8rem;
      background: linear-gradient(45deg, #00ff00, #00cc88);
      background-clip: text;
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      margin: 0;
    }

    .premium-badge {
      background: linear-gradient(135deg, #FFD700, #FFA500);
      color: #000;
      padding: 6px 16px;
      border-radius: 20px;
      font-weight: bold;
      font-size: 0.75rem;
      letter-spacing: 1px;
      box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
      animation: pulse 2s ease-in-out infinite;
    }

    @keyframes pulse {
      0%, 100% { transform: scale(1); }
      50% { transform: scale(1.05); }
    }

    .predictions-header-right {
      display: flex;
      align-items: center;
      gap: 15px;
    }

    .toggle-predictions-btn {
      background: linear-gradient(135deg, #00ff00, #00cc88);
      color: #000;
      border: none;
      padding: 8px 20px;
      border-radius: 25px;
      font-size: 0.9rem;
      font-weight: bold;
      cursor: pointer;
      transition: all 0.3s ease;
      box-shadow: 0 0 15px rgba(0, 255, 0, 0.3);
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .toggle-predictions-btn:hover {
      transform: translateY(-2px);
      box-shadow: 0 0 25px rgba(0, 255, 0, 0.5);
    }

    .toggle-predictions-btn:active {
      transform: translateY(0);
    }

    .predictions-table-container {
      overflow-x: auto;
    }

    .predictions-table {
      width: 100%;
      border-collapse: collapse;
      background: rgba(0, 0, 0, 0.3);
      border-radius: 10px;
      overflow: hidden;
    }

    .predictions-table thead {
      background: rgba(0, 255, 0, 0.1);
    }

    .predictions-table th {
      padding: 15px;
      text-align: left;
      font-weight: 600;
      color: #00ff00;
      text-transform: uppercase;
      font-size: 0.85rem;
      letter-spacing: 0.5px;
    }

    .predictions-table td {
      padding: 15px;
      border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .predictions-table tbody tr {
      transition: background 0.3s ease;
    }

    .predictions-table tbody tr:hover {
      background: rgba(0, 255, 0, 0.05);
    }

    .predicted-winner-container {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .predicted-winner-logo {
      width: 32px;
      height: 32px;
      object-fit: contain;
      border-radius: 4px;
      background: rgba(255, 255, 255, 0.1);
      padding: 2px;
    }

    .predicted-winner {
      font-weight: bold;
      color: #00ff00;
      text-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
    }

    .confidence-bar {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .confidence-percentage {
      font-weight: bold;
      color: #00ff00;
      min-width: 45px;
    }

    .confidence-fill {
      flex: 1;
      height: 8px;
      background: rgba(255, 255, 255, 0.1);
      border-radius: 10px;
      overflow: hidden;
      position: relative;
    }

    .confidence-level {
      height: 100%;
      background: linear-gradient(90deg, #00ff00, #00cc88);
      border-radius: 10px;
      transition: width 0.5s ease;
    }

    /* Mobile Predictions Optimization (copied from NHL) */
    @media (max-width: 768px) {
      #predictions-section {
        padding: 15px;
        margin: 20px 10px;
        overflow: hidden;
      }

      .predictions-header {
        flex-wrap: wrap;
        gap: 10px;
      }

      .predictions-header h3 {
        font-size: 1.1rem;
        flex: 1 1 100%;
        text-align: center;
      }

      .predictions-header-right {
        flex: 1 1 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 8px;
      }

      .toggle-predictions-btn {
        padding: 8px 16px;
        font-size: 0.8rem;
        white-space: nowrap;
        max-width: 100%;
      }

      .premium-badge {
        font-size: 0.65rem;
        padding: 4px 10px;
      }

      .predictions-table th,
      .predictions-table td {
        padding: 10px 8px;
        font-size: 0.8rem;
      }

      .team-logo {
        width: 24px;
        height: 24px;
      }

      .winner-logo {
        width: 20px;
        height: 20px;
      }

      .confidence-bar {
        min-width: 60px;
      }

      .matchup-cell {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
      }

      .predictions-table thead {
        display: none;
      }

      .predictions-table tbody {
        display: block;
      }

      .predictions-table tbody tr {
        display: block;
        margin-bottom: 15px;
        border: 1px solid rgba(0, 255, 0, 0.2);
        border-radius: 8px;
        padding: 10px;
        text-align: center;
      }

      .predictions-table td {
        display: block;
        width: 100% !important;
        border: none;
        padding: 5px 0;
        text-align: center;
      }

      .predictions-table td:before {
        content: attr(data-label);
        font-weight: bold;
        color: #00ff00;
        margin-right: 8px;
      }
    }

    /* Team records section */
    .team-records h4 {
      color: #00ff00;
      margin-bottom: 10px;
      font-size: 1rem;
      text-align: center;
    }

    .records {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 10px;
      margin-bottom: 15px;
    }

    .record {
      background: rgba(255, 255, 255, 0.05);
      padding: 8px;
      border-radius: 6px;
      text-align: center;
    }

    .record strong {
      display: block;
      color: #fff;
      margin-bottom: 3px;
      font-size: 0.85rem;
    }

    .record span {
      color: #ff9900;
      font-size: 0.8rem;
      font-weight: 500;
    }

    .record .standing {
      color: #00cc88;
      font-size: 0.85rem;
      font-weight: 500;
      font-style: italic;
    }

    /* Team stats section */
    .team-stats-section h4 {
      color: #00ff00;
      margin-bottom: 10px;
      font-size: 1rem;
      text-align: center;
    }

    .team-stats-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 10px;
      margin-bottom: 15px;
    }

    .stat-item {
      background: rgba(255, 255, 255, 0.05);
      padding: 8px;
      border-radius: 6px;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .stat-label {
      color: #ccc;
      font-size: 0.85rem;
    }

    .stat-value {
      color: #00ff00;
      font-weight: bold;
      font-size: 0.9rem;
    }

    /* Player leaders section */
    .leaders-section h4 {
      color: #00ff00;
      margin-bottom: 10px;
      font-size: 1rem;
      text-align: center;
    }

    .leaders-grid {
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .leader-item {
      background: rgba(255, 255, 255, 0.05);
      padding: 10px;
      border-radius: 6px;
      border-left: 3px solid #00ff00;
    }

    .leader-title {
      color: #00cc88;
      font-size: 0.85rem;
      font-weight: bold;
      margin-bottom: 5px;
    }

    .leader-name {
      color: #fff;
      font-weight: bold;
      margin-bottom: 3px;
    }

    .leader-stats {
      color: #ff9900;
      font-size: 0.85rem;
    }

    .create-bet-btn {
      width: 100%;
      background: linear-gradient(45deg, #00ff00, #00cc88);
      border: none;
      padding: 12px 20px;
      border-radius: 12px;
      font-weight: bold;
      font-size: 1rem;
      cursor: pointer;
      transition: all 0.3s ease;
      color: #000;
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }

    .create-bet-btn:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 25px rgba(0, 255, 0, 0.4);
      background: linear-gradient(45deg, #00cc88, #00ff00);
    }

    .predictions-note {
      font-size: 0.85rem;
      color: rgba(255, 255, 255, 0.6);
      font-style: italic;
      text-align: center;
    }

    .no-games {
      text-align: center;
      padding: 40px;
      color: #999;
      font-size: 1.1rem;
      grid-column: 1 / -1;
    }

    .sports-buttons {
      display: flex;
      justify-content: center;
      gap: 20px;
      margin: 40px 0;
      flex-wrap: wrap;
    }

    .sports-btn {
      background: rgba(255, 255, 255, 0.1);
      border: 1px solid rgba(255, 255, 255, 0.2);
      border-radius: 15px;
      padding: 15px;
      transition: all 0.3s ease;
      backdrop-filter: blur(10px);
    }

    .sports-btn:hover {
      background: rgba(0, 255, 0, 0.1);
      border-color: #00ff00;
      transform: translateY(-2px);
      box-shadow: 0 5px 15px rgba(0, 255, 0, 0.3);
    }

    .sports-btn img {
      width: 50px;
      height: 50px;
      object-fit: contain;
    }

    .sports-btn a {
      text-decoration: none;
    }

    .open-bets {
      background: rgba(255, 255, 255, 0.05);
      backdrop-filter: blur(15px);
      border: 1px solid rgba(255, 255, 255, 0.1);
      padding: 20px;
      border-radius: 15px;
      max-width: 400px;
      margin: 0 auto;
    }

    .open-bets h3 {
      color: #00ff00;
      margin-bottom: 15px;
      text-align: center;
    }

    .open-bets ul {
      list-style: none;
    }

    .open-bets li {
      padding: 10px;
      background: rgba(255, 255, 255, 0.05);
      margin-bottom: 8px;
      border-radius: 8px;
      border-left: 3px solid #00ff00;
    }

    .back-button {
      text-align: center;
      margin-top: 50px;
    }

    .back-button a {
      color: #00ff00;
      font-size: 1.2rem;
      text-decoration: none;
      padding: 15px 30px;
      border: 2px solid #00ff00;
      border-radius: 25px;
      transition: all 0.3s ease;
      display: inline-block;
    }

    .back-button a:hover {
      background: rgba(0, 255, 0, 0.1);
      transform: translateY(-2px);
      box-shadow: 0 5px 15px rgba(0, 255, 0, 0.3);
    }

    /* Betting Section Styles */
    .betting-section {
      width: 100%;
      margin: 15px 0;
    }

    .betting-toggle-btn {
      background: rgba(0, 255, 0, 0.1);
      border: 1px solid rgba(0, 255, 0, 0.3);
      color: #00ff00;
      padding: 8px 15px;
      border-radius: 8px;
      cursor: pointer;
      font-size: 0.9rem;
      font-weight: 600;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      transition: all 0.3s ease;
      width: 100%;
    }

    .betting-toggle-btn:hover {
      background: rgba(0, 255, 0, 0.2);
      transform: translateY(-1px);
    }

    .betting-arrow {
      font-size: 0.8rem;
      transition: transform 0.3s ease;
    }

    .betting-content {
      margin-top: 10px;
      animation: slideDown 0.3s ease;
    }

    .betting-odds-section {
      background: rgba(0, 255, 0, 0.05);
      border: 1px solid rgba(0, 255, 0, 0.2);
      border-radius: 12px;
      padding: 15px;
      margin: 0;
      backdrop-filter: blur(5px);
    }

    .betting-provider {
      font-size: 0.9rem;
      color: #00cc88;
      font-weight: bold;
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }

    .betting-data {
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .betting-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 12px;
    }

    .betting-item {
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 8px;
      padding: 10px;
      text-align: center;
    }

    .betting-label {
      font-size: 0.8rem;
      color: #ccc;
      margin-bottom: 4px;
      text-transform: uppercase;
      letter-spacing: 0.3px;
    }

    .betting-value {
      font-size: 1rem;
      color: #00ff00;
      font-weight: bold;
    }

    @keyframes slideDown {
      from {
        opacity: 0;
        transform: translateY(-10px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    @media (max-width: 768px) {
      body {
        padding: 0;
        margin: 0;
        font-size: 14px;
      }

      /* Header mobile optimization */

      /* Navigation mobile optimization */

      /* Main content mobile optimization */
      .main-content {
        padding: 0 10px;
      }

      .main-content h2 {
        font-size: 1.5rem;
        margin-bottom: 20px;
      }

      /* Controls container mobile optimization */
      .calendar-controls {
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        gap: 8px;
        padding: 12px;
        max-width: 100%;
      }

      .calendar-controls .date-btn:first-child {
        grid-column: 1;
        grid-row: 1;
        justify-self: end;
      }

      .calendar-controls .date-input {
        grid-column: 2;
        grid-row: 1;
        justify-self: center;
      }

      .calendar-controls .date-btn:nth-child(3) {
        grid-column: 3;
        grid-row: 1;
        justify-self: start;
      }

      .calendar-controls .date-btn:last-child {
        grid-column: 1 / -1;
        grid-row: 2;
        justify-self: center;
      }

      .date-btn {
        font-size: 0.7rem;
        padding: 6px 10px;
        min-height: unset;
        min-width: unset;
        white-space: nowrap;
      }

      .date-input {
        font-size: 0.8rem;
        padding: 6px 8px;
        min-height: unset;
        width: auto;
        min-width: 0;
      }

      .controls-container {
        flex-direction: column;
        gap: 15px;
        margin: 0 10px 20px 10px;
      }

      .selector-group {
        padding: 12px 15px;
        width: 100%;
        justify-content: center;
      }

      .selector-group label {
        font-size: 1rem;
      }

      select {
        font-size: 0.9rem;
        padding: 8px 12px;
        min-width: 120px;
      }


      .selected-date {
        font-size: 1rem;
        margin: 15px 0;
      }

      /* Game containers mobile optimization */
      #basketball-game-containers {
        grid-template-columns: 1fr;
        gap: 15px;
        margin: 0 auto;
        padding: 0 10px;
        max-width: 100%;
      }

      .game-item {
        padding: 20px 15px;
        border-radius: 15px;
        margin-bottom: 10px;
        min-height: auto;
      }

      /* Teams section mobile optimization */
      .teams {
        flex-direction: row;
        gap: 15px;
        margin-bottom: 15px;
        justify-content: space-between;
        align-items: center;
      }

      .team {
        flex-direction: column;
        gap: 10px;
        flex: 1;
        align-items: center;
      }

      .team-logo {
        width: 50px;
        height: 50px;
      }

      .team-name {
        font-size: 1rem;
        text-align: center;
      }

      .team-score {
        font-size: 1.5rem;
        text-align: center;
      }

      .vs-divider {
        margin: 0 10px;
        flex-shrink: 0;
      }

      .vs-text {
        font-size: 1rem;
        opacity: 0.7;
      }

      /* Game status info mobile optimization */
      .game-status-info {
        flex-direction: row;
        gap: 15px;
        margin: 15px 0;
        justify-content: center;
        flex-wrap: wrap;
      }

      .game-datetime {
        font-size: 0.9rem;
        padding: 4px 8px;
      }

      .game-status {
        font-size: 0.8rem;
        padding: 4px 10px;
      }

      /* Stats section mobile optimization */
      .stats-toggle-btn {
        padding: 10px 15px;
        font-size: 0.9rem;
      }

      .stats-content {
        padding: 12px;
      }

      .team-records h4,
      .team-stats-section h4,
      .leaders-section h4 {
        font-size: 0.9rem;
        margin-bottom: 8px;
      }

      .record,
      .stat-item,
      .leader-item {
        padding: 6px 8px;
        font-size: 0.8rem;
      }

      .leader-title {
        font-size: 0.75rem;
      }

      .leader-name {
        font-size: 0.85rem;
      }

      .leader-stats {
        font-size: 0.75rem;
      }

      /* Betting section mobile optimization */
      .betting-toggle-btn {
        font-size: 0.8rem;
        padding: 6px 12px;
      }

      .betting-section {
        margin: 12px 0;
      }

      .betting-odds-section {
        padding: 12px;
      }

      .betting-row {
        grid-template-columns: 1fr;
        gap: 8px;
      }

      .betting-item {
        padding: 8px;
      }

      .betting-label {
        font-size: 0.75rem;
      }

      .betting-value {
        font-size: 0.9rem;
      }

      /* Create bet button mobile optimization */
      .create-bet-btn {
        padding: 12px 20px;
        font-size: 0.9rem;
        margin-top: 15px;
      }

      /* Loading and error states mobile */
      #loading {
        padding: 30px 15px;
        font-size: 1rem;
      }

      .spinner {
        width: 30px;
        height: 30px;
      }

      .no-games {
        padding: 30px 15px;
        font-size: 1rem;
      }

      .no-games h3 {
        font-size: 1.2rem;
        margin-bottom: 10px;
      }

      .no-games p {
        font-size: 0.9rem;
        margin-bottom: 8px;
      }

      /* Sports buttons mobile optimization */
      .sports-buttons {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 10px;
        margin: 20px 0;
      }

      .sports-btn {
        min-height: 80px;
        padding: 10px;
        border-radius: 12px;
      }

      .sports-btn img {
        max-width: 40px;
        max-height: 40px;
      }

      /* Open bets mobile optimization */
      .open-bets {
        margin: 0 10px 20px 10px;
        padding: 15px;
      }

      .open-bets h3 {
        font-size: 1.2rem;
        margin-bottom: 12px;
      }

      .open-bets li {
        padding: 8px;
        font-size: 0.9rem;
      }

      /* Back button mobile optimization */
      .back-button {
        margin-top: 30px;
        text-align: center;
      }

      .back-button a {
        font-size: 1rem;
        padding: 12px 25px;
      }

      /* Modal mobile optimization */
      .modal-container {
        width: 95%;
        max-width: 95%;
        margin: 10px;
        max-height: 90vh;
      }

      .modal-header h2 {
        font-size: 1.4rem;
      }

      .modal-content {
        padding: 15px;
      }

      .context-info {
        padding: 12px;
        margin-bottom: 15px;
        font-size: 0.9rem;
      }

      .betting-form-container {
        gap: 15px;
      }

      .form-row {
        flex-direction: column;
        gap: 15px;
      }

      .form-group {
        min-width: 100%;
      }

      .form-select,
      .form-input {
        padding: 10px 12px;
        font-size: 0.9rem;
      }
    }

    /* Extra small screens (iPhone SE, etc.) */
    @media (max-width: 480px) {

      .main-content h2 {
        font-size: 1.4rem;
      }

      .game-item {
        padding: 15px 12px;
      }

      .team-logo {
        width: 40px;
        height: 40px;
      }

      .team-name {
        font-size: 0.9rem;
      }

      .team-score {
        font-size: 1.3rem;
      }

      .vs-text {
        font-size: 0.9rem;
      }

      .create-bet-btn {
        padding: 10px 15px;
        font-size: 0.8rem;
      }

      .sports-buttons {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
      }

      .sports-btn {
        min-height: 70px;
        padding: 8px;
      }

      .sports-btn img {
        max-width: 35px;
        max-height: 35px;
      }

      .modal-header h2 {
        font-size: 1rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
      }

      .modal-header {
        padding: 12px 15px;
      }

      .form-select,
      .form-input {
        font-size: 0.85rem;
        padding: 8px 10px;
      }
    }

    /* Very small screens (below 380px) */
    @media (max-width: 380px) {
      .modal-header h2 {
        font-size: 0.9rem;
      }
    }

    /* Landscape mobile optimization */
    @media (max-width: 768px) and (orientation: landscape) {

      .sports-buttons {
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
      }

      .controls-container {
        flex-direction: row;
        gap: 15px;
      }
    }

    /* Touch target optimization */
    @media (hover: none) and (pointer: coarse) {
      .sports-btn, .create-bet-btn, nav a {
        min-height: 44px;
        min-width: 44px;
      }

      .form-select, .form-input {
        min-height: 44px;
      }
    }

    /* Basketball Betting Modal Styles */
    .modal-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.8);
      backdrop-filter: blur(10px);
      z-index: 1000;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .modal-container {
      background: rgba(255, 255, 255, 0.05);
      backdrop-filter: blur(15px);
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 20px;
      max-width: 1000px;
      width: 95%;
      max-height: 80vh;
      overflow-y: auto;
      color: white;
    }

    .modal-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 20px;
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .modal-header h2 {
      color: #00ff00;
      margin: 0;
      text-align: center;
      flex: 1;
      font-size: 1.8rem;
      font-weight: bold;
      letter-spacing: 1px;
    }

    .modal-close {
      background: none;
      border: none;
      color: #fff;
      font-size: 24px;
      cursor: pointer;
      transition: color 0.3s ease;
    }

    .modal-close:hover {
      color: #00ff00;
    }

    .modal-content {
      padding: 20px;
    }

    .context-info {
      background: rgba(0, 255, 0, 0.1);
      border: 1px solid rgba(0, 255, 0, 0.2);
      border-radius: 10px;
      padding: 15px;
      margin-bottom: 20px;
      color: #fff;
    }

    .betting-form-container {
      display: flex;
      flex-direction: column;
      gap: 20px;
    }

    .form-row {
      display: flex;
      flex-direction: row;
      gap: 20px;
      align-items: flex-end;
      flex-wrap: wrap;
      justify-content: flex-start;
    }

    .form-row.game-selection {
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
      padding-bottom: 15px;
    }

    .form-group {
      display: flex;
      flex-direction: column;
      gap: 8px;
      min-width: 180px;
      flex: 0 0 auto;
    }

    .form-group label {
      font-weight: bold;
      color: #00ff00;
      font-size: 1rem;
    }

    .form-select {
      background: rgba(0, 0, 0, 0.5);
      border: 1px solid rgba(255, 255, 255, 0.3);
      border-radius: 10px;
      padding: 12px 15px;
      color: white;
      font-size: 1rem;
      backdrop-filter: blur(5px);
      cursor: pointer;
      transition: all 0.3s ease;
    }

    .form-select:focus {
      outline: none;
      border-color: #00ff00;
      box-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
    }

    .form-select:disabled {
      opacity: 0.5;
      cursor: not-allowed;
      background: rgba(100, 100, 100, 0.3);
    }

    .form-select option {
      background: #1a1a2e;
      color: white;
      padding: 10px;
    }

    .form-input {
      background: rgba(0, 0, 0, 0.5);
      border: 1px solid rgba(255, 255, 255, 0.3);
      border-radius: 10px;
      padding: 12px 15px;
      color: white;
      font-size: 1rem;
      backdrop-filter: blur(5px);
      transition: all 0.3s ease;
      width: 100%;
    }

    .form-input:focus {
      outline: none;
      border-color: #00ff00;
      box-shadow: 0 0 10px rgba(0, 255, 0, 0.3);
    }

    .form-input::placeholder {
      color: rgba(255, 255, 255, 0.5);
    }

    /* ========== NEW VISUAL COMPONENT STYLES ========== */
    
    /* Updated Modal Container with login-gateway theme */
    .modal-container {
      background: linear-gradient(135deg, #0a0e27 0%, #1a1e3a 100%);
      border: 1px solid rgba(0, 255, 136, 0.2);
      border-radius: 20px;
      max-width: 500px;
      width: 95%;
      max-height: 90vh;
      overflow: hidden;
      display: flex;
      flex-direction: column;
    }

    .modal-content {
      padding: 20px;
      overflow-y: auto;
      flex: 1;
    }

    /* Bet Type Cards (5 cards for NBA) */
    .bet-type-cards {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 12px;
      margin-bottom: 20px;
    }

    .bet-type-card {
      background: rgba(255, 255, 255, 0.05);
      border: 2px solid rgba(255, 255, 255, 0.1);
      border-radius: 12px;
      padding: 16px 12px;
      text-align: center;
      cursor: pointer;
      transition: all 0.3s ease;
    }

    .bet-type-card:hover {
      background: rgba(0, 255, 136, 0.1);
      border-color: rgba(0, 255, 136, 0.3);
      transform: translateY(-2px);
    }

    .bet-type-card.selected {
      background: rgba(0, 255, 136, 0.15);
      border-color: #00ff88;
      box-shadow: 0 0 20px rgba(0, 255, 136, 0.2);
    }

    .bet-type-card .icon {
      font-size: 1.8rem;
      margin-bottom: 8px;
    }

    .bet-type-card .label {
      font-size: 0.85rem;
      color: rgba(255, 255, 255, 0.9);
      font-weight: 500;
    }

    /* Team Cards */
    .team-cards-container {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 16px;
      margin: 16px 0;
    }

    .team-card {
      flex: 1;
      max-width: 200px;
      background: rgba(255, 255, 255, 0.05);
      border: 2px solid rgba(255, 255, 255, 0.1);
      border-radius: 16px;
      padding: 20px 16px;
      text-align: center;
      cursor: pointer;
      transition: all 0.3s ease;
    }

    .team-card:hover {
      background: rgba(0, 255, 136, 0.1);
      border-color: rgba(0, 255, 136, 0.3);
    }

    .team-card.selected {
      background: rgba(0, 255, 136, 0.15);
      border-color: #00ff88;
      box-shadow: 0 0 20px rgba(0, 255, 136, 0.2);
    }

    .team-card .team-logo {
      width: 60px;
      height: 60px;
      object-fit: contain;
      margin-bottom: 10px;
    }

    .team-card .team-name {
      font-size: 1rem;
      font-weight: 600;
      color: white;
      margin-bottom: 8px;
    }

    .team-card .team-odds {
      font-size: 1.1rem;
      font-weight: 700;
      color: #00ff88;
    }

    .vs-badge {
      width: 36px;
      height: 36px;
      background: rgba(255, 255, 255, 0.1);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.9rem;
      font-weight: bold;
      color: rgba(255, 255, 255, 0.6);
    }

    /* Over/Under Cards */
    .ou-cards-container {
      display: flex;
      gap: 12px;
      justify-content: center;
      margin: 16px 0;
    }

    .ou-card {
      flex: 1;
      max-width: 180px;
      background: rgba(255, 255, 255, 0.05);
      border: 2px solid rgba(255, 255, 255, 0.1);
      border-radius: 12px;
      padding: 16px 24px;
      text-align: center;
      cursor: pointer;
      transition: all 0.3s ease;
    }

    .ou-card:hover {
      background: rgba(0, 255, 136, 0.1);
      border-color: rgba(0, 255, 136, 0.3);
    }

    .ou-card.selected {
      background: rgba(0, 255, 136, 0.15);
      border-color: #00ff88;
    }

    .ou-card .ou-label {
      font-size: 1.1rem;
      font-weight: 600;
      color: white;
    }

    .ou-card .ou-value {
      font-size: 1.3rem;
      font-weight: 700;
      color: #00ff88;
      margin-top: 4px;
    }

    /* Points Input Box with Arrow Buttons */
    .points-input-container {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 16px;
      padding: 20px;
      background: rgba(0, 255, 136, 0.05);
      border-radius: 12px;
      border: 1px solid rgba(0, 255, 136, 0.2);
      margin: 16px 0;
    }

    .points-arrow-btn {
      width: 52px;
      height: 52px;
      border: 2px solid rgba(0, 255, 136, 0.3);
      background: rgba(0, 255, 136, 0.1);
      border-radius: 12px;
      color: #00ff88;
      font-size: 1.6rem;
      font-weight: bold;
      cursor: pointer;
      transition: all 0.2s ease;
      display: flex;
      align-items: center;
      justify-content: center;
      user-select: none;
    }

    .points-arrow-btn:hover {
      background: rgba(0, 255, 136, 0.2);
      border-color: #00ff88;
      transform: scale(1.05);
    }

    .points-arrow-btn:active {
      transform: scale(0.95);
      background: rgba(0, 255, 136, 0.3);
    }

    .points-input-box {
      width: 120px;
      height: 60px;
      background: rgba(10, 14, 39, 0.8);
      border: 2px solid rgba(0, 255, 136, 0.4);
      border-radius: 12px;
      color: #00ff88;
      font-size: 2rem;
      font-weight: 700;
      text-align: center;
      outline: none;
      -moz-appearance: textfield;
    }

    .points-input-box::-webkit-outer-spin-button,
    .points-input-box::-webkit-inner-spin-button {
      -webkit-appearance: none;
      margin: 0;
    }

    .points-input-box:focus {
      border-color: #00ff88;
      box-shadow: 0 0 15px rgba(0, 255, 136, 0.3);
    }

    .points-label {
      font-size: 0.85rem;
      color: rgba(255, 255, 255, 0.5);
      text-align: center;
      margin-top: 8px;
    }

    /* Amount Buttons */
    .amount-buttons-container {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      justify-content: center;
      margin: 16px 0;
    }

    .amount-btn {
      background: rgba(255, 255, 255, 0.05);
      border: 2px solid rgba(255, 255, 255, 0.15);
      border-radius: 10px;
      padding: 12px 20px;
      color: rgba(255, 255, 255, 0.8);
      font-size: 1rem;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.3s ease;
      min-width: 70px;
    }

    .amount-btn:hover {
      background: rgba(0, 255, 136, 0.1);
      border-color: rgba(0, 255, 136, 0.3);
    }

    .amount-btn.selected {
      background: rgba(0, 255, 136, 0.2);
      border-color: #00ff88;
      color: #00ff88;
    }

    .custom-amount-input {
      background: rgba(0, 0, 0, 0.3);
      border: 2px solid rgba(255, 255, 255, 0.15);
      border-radius: 10px;
      padding: 12px 16px;
      color: white;
      font-size: 1rem;
      width: 100%;
      max-width: 200px;
      text-align: center;
      transition: all 0.3s ease;
    }

    .custom-amount-input:focus {
      outline: none;
      border-color: #00ff88;
      box-shadow: 0 0 15px rgba(0, 255, 136, 0.2);
    }

    /* Floating Bet Summary Footer */
    .bet-summary-footer {
      background: rgba(10, 14, 39, 0.95);
      border-top: 1px solid rgba(0, 255, 136, 0.2);
      padding: 16px 24px;
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    .bet-summary-text {
      text-align: center;
      font-size: 1rem;
      color: rgba(255, 255, 255, 0.8);
    }

    .bet-summary-text .highlight {
      color: #00ff88;
      font-weight: 600;
    }

    .bet-summary-text .potential-win {
      color: #ffd700;
      font-weight: 600;
    }

    .place-bet-btn {
      background: linear-gradient(135deg, #00ff88 0%, #00cc88 100%);
      border: none;
      border-radius: 12px;
      padding: 16px 32px;
      font-size: 1.1rem;
      font-weight: bold;
      color: #0a0e27;
      cursor: pointer;
      transition: all 0.3s ease;
      text-transform: uppercase;
      letter-spacing: 1px;
    }

    .place-bet-btn:hover:not(:disabled) {
      transform: translateY(-2px);
      box-shadow: 0 8px 25px rgba(0, 255, 136, 0.4);
    }

    .place-bet-btn:disabled {
      opacity: 0.5;
      cursor: not-allowed;
      background: rgba(255, 255, 255, 0.2);
      color: rgba(255, 255, 255, 0.5);
    }

    /* ========== MOBILE RESPONSIVE FOR NEW COMPONENTS ========== */
    @media (max-width: 768px) {
      .bet-type-cards {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
      }

      .bet-type-card {
        padding: 12px 8px;
      }

      .bet-type-card .icon {
        font-size: 1.4rem;
      }

      .bet-type-card .label {
        font-size: 0.7rem;
      }

      .team-cards-container {
        flex-direction: row;
        gap: 8px;
        justify-content: center;
      }

      .team-card {
        flex: 1;
        max-width: 48%;
        padding: 12px 8px;
        min-width: 0;
      }

      .team-card .team-logo {
        width: 40px;
        height: 40px;
      }

      .team-card .team-name {
        font-size: 0.85rem;
      }

      .team-card .team-odds {
        font-size: 0.9rem;
      }

      .vs-badge {
        width: 28px;
        height: 28px;
        font-size: 0.7rem;
        flex-shrink: 0;
      }

      .ou-cards-container {
        flex-direction: row;
        gap: 10px;
      }

      .ou-card {
        padding: 14px 20px;
        flex: 1;
      }

      .amount-buttons-container {
        gap: 8px;
      }

      .amount-btn {
        padding: 10px 14px;
        font-size: 0.9rem;
        min-width: auto;
        flex: 1 1 calc(33% - 8px);
      }

      .points-input-container {
        gap: 12px;
        padding: 14px;
      }

      .points-arrow-btn {
        width: 44px;
        height: 44px;
        font-size: 1.3rem;
      }

      .points-input-box {
        width: 100px;
        height: 50px;
        font-size: 1.6rem;
      }

      .bet-summary-footer {
        padding: 14px 16px;
      }

      .bet-summary-text {
        font-size: 0.9rem;
      }

      .place-bet-btn {
        padding: 14px 24px;
        font-size: 1rem;
      }
    }

    /* Extra small screens (phones in portrait) */
    @media (max-width: 480px) {
      .bet-type-cards {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
      }

      .bet-type-card {
        padding: 10px 6px;
      }

      .bet-type-card .icon {
        font-size: 1.2rem;
      }

      .bet-type-card .label {
        font-size: 0.65rem;
      }

      .team-cards-container {
        flex-direction: row;
        gap: 6px;
      }

      .team-card {
        flex: 1;
        max-width: 47%;
        padding: 10px 6px;
      }

      .team-card .team-logo {
        width: 32px;
        height: 32px;
      }

      .team-card .team-name {
        font-size: 0.75rem;
      }

      .team-card .team-odds {
        font-size: 0.8rem;
      }

      .vs-badge {
        width: 24px;
        height: 24px;
        font-size: 0.6rem;
      }

      .points-input-container {
        gap: 10px;
        padding: 12px;
      }

      .points-arrow-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
      }

      .points-input-box {
        width: 80px;
        height: 44px;
        font-size: 1.4rem;
      }
    }

    /* Open Bets Section Styles */
    .open-bets-modern {
      background: rgba(255, 255, 255, 0.05);
      backdrop-filter: blur(15px);
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 20px;
      padding: 25px;
      margin: 0 20px 40px 20px;
      max-width: 1000px;
      margin-left: auto;
      margin-right: auto;
    }

    .open-bets-modern h3 {
      color: #00ff00;
      margin-bottom: 20px;
      text-align: center;
      font-size: 1.8rem;
      font-weight: bold;
      letter-spacing: 1px;
      text-shadow: 0 0 20px rgba(0, 255, 0, 0.3);
    }

    .bets-table-container {
      max-height: 300px;
      overflow-y: auto;
      scrollbar-width: thin;
      scrollbar-color: rgba(0, 255, 0, 0.3) transparent;
    }

    .bets-table-container::-webkit-scrollbar {
      width: 8px;
    }

    .bets-table-container::-webkit-scrollbar-track {
      background: rgba(255, 255, 255, 0.1);
      border-radius: 10px;
    }

    .bets-table-container::-webkit-scrollbar-thumb {
      background: linear-gradient(45deg, #00ff00, #00cc88);
      border-radius: 10px;
    }

    .loading-bets {
      text-align: center;
      padding: 30px;
      color: #00ff00;
      font-style: italic;
      font-size: 1.1rem;
    }

    .bet-row {
      display: grid;
      grid-template-columns: 2fr 1.5fr 1fr 1fr 140px;
      gap: 15px;
      align-items: center;
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 15px;
      padding: 20px;
      margin-bottom: 15px;
      transition: all 0.3s ease;
      position: relative;
      overflow: hidden;
    }

    .bet-row::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 3px;
      background: linear-gradient(90deg, #00ff00, #00cc88, #0099ff);
      opacity: 0;
      transition: opacity 0.3s ease;
    }

    .bet-row:hover {
      background: rgba(255, 255, 255, 0.08);
      border-color: rgba(0, 255, 0, 0.3);
      transform: translateY(-2px);
      box-shadow: 0 8px 25px rgba(0, 255, 0, 0.15);
    }

    .bet-row:hover::before {
      opacity: 1;
    }

    .bet-game {
      font-size: 1.1rem;
      font-weight: bold;
      color: #fff;
    }

    .game-matchup {
      font-size: 1.1rem;
      font-weight: bold;
      color: #fff;
      margin-bottom: 8px;
    }

    .game-details {
      display: flex;
      gap: 15px;
      align-items: center;
      flex-wrap: wrap;
    }

    .game-datetime {
      font-size: 0.9rem;
      color: #00cc88;
      font-weight: 500;
    }

    .game-status {
      font-size: 0.85rem;
      font-weight: bold;
      padding: 3px 8px;
      border-radius: 12px;
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }

    .game-status.scheduled {
      background: rgba(153, 153, 153, 0.2);
      color: #999;
    }

    .game-status.live {
      background: rgba(255, 0, 0, 0.2);
      color: #ff0000;
      animation: pulse-status 2s infinite;
    }

    .game-status.final {
      background: rgba(0, 255, 0, 0.2);
      color: #00ff00;
    }

    @keyframes pulse-status {
      0%, 100% { opacity: 1; }
      50% { opacity: 0.7; }
    }

    .bet-creator {
      font-size: 0.8rem;
      color: #00ff00;
      font-weight: 500;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      flex-shrink: 0;
      white-space: nowrap;
    }

    .message-user-btn {
      background: linear-gradient(45deg, #0099ff, #0077cc);
      color: white;
      border: none;
      padding: 4px 10px;
      border-radius: 8px;
      font-size: 0.75rem;
      cursor: pointer;
      transition: all 0.3s ease;
      font-weight: bold;
    }

    .message-user-btn:hover {
      background: linear-gradient(45deg, #0077cc, #0099ff);
      transform: scale(1.05);
    }

    .bet-type {
      color: #00cc88;
      font-size: 1rem;
      font-weight: 500;
    }

    .bet-amount {
      color: #ff9900;
      font-size: 1.2rem;
      font-weight: bold;
    }

    .bet-action {
      display: flex;
      justify-content: flex-end;
    }

    .join-btn {
      background: linear-gradient(45deg, #00ff00, #00cc88);
      color: #000;
      border: none;
      padding: 10px 16px;
      font-size: 0.9rem;
      font-weight: bold;
      border-radius: 10px;
      cursor: pointer;
      transition: all 0.3s ease;
      text-transform: uppercase;
      letter-spacing: 0.5px;
      box-shadow: 0 4px 10px rgba(0, 255, 0, 0.2);
    }

    .join-btn:hover {
      transform: translateY(-2px);
      box-shadow: 0 6px 15px rgba(0, 255, 0, 0.4);
      background: linear-gradient(45deg, #00cc88, #00ff00);
    }

    .join-btn:active {
      transform: translateY(-1px);
    }

    .bet-row.open-bet {
      border: 2px solid #ff6600;
      box-shadow: 0 0 20px rgba(255, 102, 0, 0.5);
      animation: pulse-orange 2s infinite;
    }

    @keyframes pulse-orange {
      0% {
        box-shadow: 0 0 20px rgba(255, 102, 0, 0.5);
      }
      50% {
        box-shadow: 0 0 30px rgba(255, 102, 0, 0.8);
      }
      100% {
        box-shadow: 0 0 20px rgba(255, 102, 0, 0.5);
      }
    }

    .bet-row.live-game {
      border: 2px solid #ff0000;
      box-shadow: 0 0 20px rgba(255, 0, 0, 0.5);
      animation: pulse-red 2s infinite;
    }

    @keyframes pulse-red {
      0% {
        box-shadow: 0 0 20px rgba(255, 0, 0, 0.5);
      }
      50% {
        box-shadow: 0 0 30px rgba(255, 0, 0, 0.8);
      }
      100% {
        box-shadow: 0 0 20px rgba(255, 0, 0, 0.5);
      }
    }

    .bet-row.live-game .game-status {
      color: #ff0000;
      font-weight: bold;
      text-transform: uppercase;
    }

    .bet-row.live-game .game-status::before {
      content: "● ";
      color: #ff0000;
      animation: blink 1s infinite;
    }

    @keyframes blink {
      0%, 50% { opacity: 1; }
      51%, 100% { opacity: 0.3; }
    }

/* Line Pills for Player Props (OVER only with hard-coded lines) */
.line-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 20px;
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  border: 2px solid #3d5a80;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 80px;
}

.line-pill:hover {
  border-color: #00ff88;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 255, 136, 0.3);
}

.line-pill.selected {
  background: linear-gradient(135deg, #00ff88, #00cc66);
  border-color: #00ff88;
  box-shadow: 0 0 20px rgba(0, 255, 136, 0.5);
}

.line-pill.selected .line-value,
.line-pill.selected .line-odds {
  color: #000;
}

.line-pill .line-value {
  font-size: 14px;
  font-weight: bold;
  color: #fff;
}

.line-pill .line-odds {
  font-size: 12px;
  color: #00ff88;
  margin-top: 4px;
}

/* Compact Spread Pick Column */
.spread-pick {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(0, 255, 0, 0.1);
  border: 1px solid rgba(0, 255, 0, 0.3);
  white-space: nowrap;
}

.spread-pick.cover {
  background: rgba(0, 255, 0, 0.15);
  border-color: rgba(0, 255, 0, 0.4);
}

.spread-pick.fade {
  background: rgba(255, 165, 0, 0.15);
  border-color: rgba(255, 165, 0, 0.4);
}

.spread-team {
  font-weight: 600;
  font-size: 0.85rem;
  color: #00ff00;
  max-width: 70px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.spread-pick.fade .spread-team {
  color: #ffa500;
}

.spread-line {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.spread-conf {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.6);
  padding: 1px 4px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 3px;
}

.spread-na {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.85rem;
}

.game-time-cell {
  font-size: 0.85rem;
  line-height: 1.3;
}

.time-text {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8rem;
}

.winner-pick {
  display: flex;
  align-items: center;
  gap: 8px;
}

@media (max-width: 768px) {
  .winner-pick {
    justify-content: center;
  }
}

.winner-info {
  display: flex;
  flex-direction: column;
}

.winner-conf {
  font-size: 0.75rem;
  color: rgba(0, 255, 0, 0.7);
}

/* Mobile responsive for spread picks */
@media (max-width: 768px) {
  .spread-pick {
    padding: 3px 6px;
    gap: 4px;
  }
  
  .spread-team {
    font-size: 0.75rem;
    max-width: 50px;
  }
  
  .spread-line {
    font-size: 0.7rem;
  }
  
  .spread-conf {
    font-size: 0.65rem;
  }
}
