.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.7) 100%);
    z-index: 1;
  }
  
  .img-zoom {
    transition: transform 0.3s ease;
    filter: blur(2px);
  }
  
  .img-zoom:hover {
    transform: scale(1.02);
    filter: blur(0);
  }
  
  .game-code-badge {
    background: rgba(0,0,0,0.7);
    padding: 8px 20px;
    border-radius: 30px;
    color: #fff !important;
    display: inline-block;
    font-size: 0.9rem;
  }
  
  .turn-indicator {
    font-size: 1.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding: 15px 30px;
    background: rgba(255,255,255,0.9);
    border-radius: 15px;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    animation: float 3s ease-in-out infinite;
  }
  
  .player-panel {
    transition: transform 0.3s ease;
  }
  
  .player-panel:hover {
    transform: translateY(-5px);
  }
  
  /* .board-container {
    padding: 15px;
    background: linear-gradient(145deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 20px;
  } */
  
  .cell {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 3px solid #dee2e6;
    background: white;
  }
  
  .cell:hover {
    background-color: #f8f9fa;
    transform: scale(1.05);
    z-index: 2;
  }
  
  .hover-scale {
    transition: transform 0.3s ease;
  }
  
  @keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
  }
  
  @media (max-width: 768px) {
    .player-panel {
      margin-bottom: 1.5rem;
    }
    
    .turn-indicator {
      font-size: 1.4rem;
      padding: 10px 20px;
    }
  }




  .modal-content {
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.spinner-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
}

.spinner-dots .dot {
    width: 10px;
    height: 10px;
    background: #007bff;
    border-radius: 50%;
    animation: dot-pulse 1.4s infinite ease-in-out;
}

.spinner-dots .dot:nth-child(2) {
    animation-delay: 0.2s;
}

.spinner-dots .dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes dot-pulse {

    0%,
    80%,
    100% {
        transform: scale(0.5);
    }

    40% {
        transform: scale(1);
    }
}

.progress-bar.indeterminate {
    animation: progress-indeterminate 2s linear infinite;
    background-image: linear-gradient(45deg,
            rgba(255, 255, 255, 0.15) 25%,
            transparent 25%,
            transparent 50%,
            rgba(255, 255, 255, 0.15) 50%,
            rgba(255, 255, 255, 0.15) 75%,
            transparent 75%,
            transparent);
    background-size: 1rem 1rem;
}

@keyframes progress-indeterminate {
    0% {
        background-position: 1rem 0;
    }

    100% {
        background-position: 0 0;
    }
}

.copy-code:hover .bi-clipboard {
    transform: rotate(-5deg);
    transition: transform 0.2s ease;
}

.copy-code.copied .bi-clipboard::before {
    content: "\F26E";
    color: #28a745;
}