.bg-gradient-primary {
    min-height: 100vh;
}

.nav-pills .nav-link {
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.input-group-text {
    transition: background-color 0.3s ease;
}

#copyMsg {
    transition: opacity 0.3s ease;
}

.card {
    /* transition: transform 0.3s ease, box-shadow 0.3s ease; */
}

.card:hover {
    /* transform: translateY(-5px); */
}


/* boards css ************************************** */
/* === Hero Section & Background === */
/* .hero {
  position: relative;
  overflow: hidden;
  padding-top: 60px;
  padding-bottom: 60px;
}

.hero-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -2;
  overflow: hidden;
} */

/* .hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
} */

.overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.3) 100%);
  top: 0;
  left: 0;
  z-index: -1;
}

/* === General Text and Panels === */
h1, h5, p {
  margin: 0;
  padding: 0;
}

.player-panel {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(6px);
  color: #fff;
  transition: transform 0.3s ease;
}
.player-panel:hover {
  transform: scale(1.03);
}

/* === Game Board Styles === */
.board {
  max-width: 400px;
  margin: 0 auto;
  border-radius: 10px;
  overflow: hidden;
}

.cell {
  width: 100%;
  height: 120px;
  font-size: 2.5rem;
  font-weight: bold;
  border: 2px solid #343a40;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background-color: #fff;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.cell:hover {
  background-color: #f1f1f1;
  transform: scale(1.02);
}

.cell.disabled {
  cursor: not-allowed;
  background-color: #e9ecef;
}

/* Animation for a winning cell */
.winner {
  background-color: #d4edda !important;
  animation: winnerFlash 1.2s infinite;
}
@keyframes winnerFlash {
  0% { background-color: #d4edda; }
  50% { background-color: #c3e6cb; }
  100% { background-color: #d4edda; }
}

/* --- Additional Animations --- */
.pop {
  animation: popMove 0.5s ease;
}
@keyframes popMove {
  0% { transform: scale(0); }
  60% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

.bot-hover {
  border: 3px dashed red;
  transform: scale(1.05);
}

/* === Buttons === */
.btn {
  border-radius: 25px;
  padding: 10px 30px;
  font-size: 1rem;
  transition: background-color 0.3s ease, transform 0.3s ease;
}
.btn:hover {
  transform: scale(1.05);
}

/* === Responsive Adjustments === */
@media (max-width: 767px) {
  .board {
    max-width: 300px;
  }
  .cell {
    height: 90px;
    font-size: 2rem;
  }
}



/* Game lists */

/* .table-responsive {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.table thead th {
  border-bottom: 2px solid #dee2e6;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.85em;
  letter-spacing: 0.5px;
}

.table tbody tr {
  transition: all 0.2s ease;
}

.table tbody tr:hover {
  background-color: #f8f9fa;
  transform: translateX(2px);
} */