html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

/* Hover effect for clickable game cards */
a .card {
  transition: transform 0.2s, box-shadow 0.2s;
}

a:hover .card {
  transform: translateY(-5px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Disabled button styling for past sessions */
.btn.disabled,
.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  pointer-events: none;
}

/* Navigation menu hover effects (desktop only) */
@media (min-width: 576px) {
  .navbar-nav .nav-link {
    transition: background-color 0.2s ease, color 0.2s ease;
    border-radius: 4px;
    padding: 0.5rem 1rem !important;
    margin: 0 0.25rem;
  }

  .navbar-nav .nav-link:hover {
    background-color: #e9ecef;
    color: #0d6efd !important;
  }

  .navbar-nav .btn-link.nav-link:hover {
    background-color: #e9ecef;
    color: #0d6efd !important;
  }
}

/* Featured Videos heading styling */
.featured-videos-heading {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  display: inline-block;
  margin-bottom: 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Homepage background */
body.home-page {
  background-color: #FEF6E9;
}

/* YouTube video cards styling */
.video-card {
  border-radius: 20px;
  overflow: hidden;
  padding: 1.25rem;
}

.video-card .card-body {
  padding: 1.25rem;
}

.video-iframe-container {
  border-radius: 20px;
  overflow: hidden;
}

.video-iframe-container iframe {
  border-radius: 20px;
}