    * {
      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;
    }

    /* Calendar Controls */
    .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;
      margin-bottom: 30px;
      flex-wrap: wrap;
    }

    .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);
    }

    .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);
    }

    .selected-date {
      text-align: center;
      margin-bottom: 20px;
      font-size: 1.1rem;
      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); }
    }

    /* NHL Game Containers */
    #nhl-game-containers {
      display: grid;
      gap: 20px;
      max-width: 1000px;
      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 {
      display: flex; gap: 10px; padding-bottom: 18px;
    }
    .gc-card .game-action-buttons .create-bet-btn { flex: 1; }
    .gc-card .game-action-buttons .add-to-parlay-btn { flex: 0 0 auto; }
    .gc-card .stats-section {
      padding-bottom: 4px;
    }
    .gc-card .betting-section {
      border-top: 1px solid rgba(255, 255, 255, 0.08);
      padding-top: 12px;
      padding-bottom: 4px;
    }

    /* Betting Odds 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;
      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(0, 0, 0, 0.3);
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 8px;
      padding: 10px;
      text-align: center;
      transition: all 0.3s ease;
    }

    .betting-item:hover {
      background: rgba(0, 255, 0, 0.1);
      border-color: rgba(0, 255, 0, 0.3);
      transform: translateY(-1px);
    }

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

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

    .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);
    }

    .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);
    }

    /* NHL 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: 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;
      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;
      overflow-y: auto;
      flex: 1;
    }

    .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;
    }

    .form-group {
      display: flex;
      flex-direction: column;
      gap: 8px;
      margin-bottom: 16px;
    }

    .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 option {
      background: #1a1a2e;
      color: white;
      padding: 10px;
    }

    /* ========== CARD-BASED UI STYLES ========== */
    
    /* Bet Type Cards */
    .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;
    }

    /* Goals Input Box with Arrow Buttons */
    .goals-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;
    }

    .goals-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;
    }

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

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

    .goals-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;
    }

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

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

    .goals-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);
    }

    .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);
    }

    /* Stats section styling - matching NFL/MLB pages */
    .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;
    }

    /* 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;
    }

    /* 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;
    }

    /* Mobile responsive for stats */
    @media (max-width: 768px) {
      .stats-toggle-btn {
        font-size: 0.8rem;
        padding: 6px 12px;
      }

      .stats-content {
        padding: 12px;
      }

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

      .team-stats-grid {
        grid-template-columns: 1fr;
        gap: 8px;
      }

      .stat-item {
        padding: 6px;
        font-size: 0.8rem;
      }

      .leaders-grid {
        gap: 8px;
      }

      .leader-item {
        padding: 8px;
      }

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

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

    /* NHL 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;
    }

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

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

    @keyframes pulse-gold {
      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;
      font-size: 0.9rem;
      text-transform: uppercase;
      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);
    }

    .matchup-cell {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .team-logos {
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .team-logo {
      width: 32px;
      height: 32px;
      object-fit: contain;
    }

    .at-symbol {
      color: #666;
      font-size: 0.9rem;
      font-weight: bold;
    }

    .matchup-text {
      display: flex;
      flex-direction: column;
      gap: 3px;
    }

    .team-name {
      color: #fff;
      font-size: 0.9rem;
      font-weight: 500;
    }

    .prediction-cell {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .winner-logo {
      width: 24px;
      height: 24px;
      object-fit: contain;
    }

    .winner-name {
      color: #00ff00;
      font-weight: 600;
      font-size: 0.95rem;
    }

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

    .confidence-bar {
      flex: 1;
      min-width: 100px;
      height: 8px;
      background: rgba(255, 255, 255, 0.1);
      border-radius: 4px;
      overflow: hidden;
      position: relative;
    }

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

    .confidence-text {
      color: #00ff00;
      font-weight: 600;
      font-size: 0.9rem;
      min-width: 50px;
    }

    .game-time-text {
      color: #ccc;
      font-size: 0.85rem;
    }

    @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;
      }
    }

    @media (max-width: 860px) {
      #nhl-game-containers {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
      }
    }

    /* Mobile Responsive Design */
    @media (max-width: 768px) {
      body {
        padding: 10px;
      }

      .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;
      }

      .period-info {
        font-size: 0.9rem;
      }

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

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

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

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

      /* Game containers mobile optimization */
      #nhl-game-containers {
        grid-template-columns: 1fr;
        gap: 15px;
        margin: 0 auto;
        padding: 0 10px;
        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; }

      .create-bet-btn {
        padding: 12px 16px;
        font-size: 0.9rem;
      }

      .back-button {
        margin-top: 30px;
        padding: 0 10px;
      }

      .back-button a {
        font-size: 1rem;
        padding: 12px 25px;
        display: block;
        text-align: center;
      }

      /* 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;
      }

      .form-group {
        margin-bottom: 15px;
      }

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

      /* Card-based UI mobile styles */
      .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);
      }

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

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

      .goals-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 */
    @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;
      }

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

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

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

    /* 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 Team Props (OVER only with hard-coded goal lines) */
.line-pills-section {
  margin-top: 16px;
}

.line-pills-section label {
  display: block;
  color: #00ff88;
  font-weight: 600;
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.line-pills-container {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.line-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 14px 24px;
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  border: 2px solid #3d5a80;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 90px;
}

.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: 15px;
  font-weight: bold;
  color: #fff;
}

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

@media (max-width: 600px) {
  .line-pills-container {
    gap: 8px;
  }
  
  .line-pill {
    padding: 10px 16px;
    min-width: 70px;
  }
  
  .line-pill .line-value {
    font-size: 13px;
  }
  
  .line-pill .line-odds {
    font-size: 11px;
  }
}
