/* static/css/nerd+.css */

/* ✅ OVERRIDE base.css layout constraints */
.tiles-container,
.container {
  width: 100% !important;
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  display: block !important;
}

/* ✅ Add 15px spacing on left and right */
.nerdplus-container {
  padding-left: 15px;
  padding-right: 15px;
}

h1 {
  font-size: 30px;
  color: #2e7d32;
  margin: 0;
  padding: 0;
  font-weight: 800;
  text-align: center;
  font-family: "Playfair Display", "Georgia", "Times New Roman", serif;
  letter-spacing: 0.3px;
}

/* Center paragraph under h1 */
.nerdplus-container p {
  text-align: center;
  max-width: 1000px;
  margin: 8px auto 24px;   /* Increased bottom spacing for mobile */
  padding: 0 8px;
  font-size: 1rem;
  line-height: 1.6;
  font-family: Arial, sans-serif;
}

.nerdplus-container {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

/* Larger screens */
@media (min-width: 768px) {
  .nerdplus-container p {
    font-size: 1.4rem;
    margin: 8px auto 14px;  /* Slightly smaller bottom spacing on larger screens */
  }
}


/* ✅ Make video smaller + centered */
.modal-video {
  max-width: 550px;   /* 👈 Adjust this value to control size */
  margin: 0 auto;     /* centers video */
}

/* Video positioning */
.modal-video,
.video-placeholder,
.modal-video iframe {
  position: relative;
  z-index: 0 !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* ✅ FIX: remove 1px line on large screens */
.video-placeholder {
  position: relative;
  overflow: hidden;
  line-height: 0;

  background: transparent !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;

  aspect-ratio: 16 / 9;
}

.video-placeholder img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;

  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}

/* Main gold button */
.login-button {
  background-color: #f3bb2e;
  color: white;
  border: none;
  padding: 0.75rem;
  border-radius: 0.5rem;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
  display: block;
  width: 100%;
  max-width: 400px;
  margin: 28px auto 0;  /* 👈 30px bottom spacing */
  font-size: 1.1rem;
}

/* Hover */
@media (hover: hover) and (pointer: fine) {
  .login-button:hover {
    background-color: #B8860B;
  }
}

/* Mobile font adjustments */
@media (max-width: 600px) {
  .login-button {
    font-size: 1.1rem;
  }
}

@media (max-width: 420px) {
  .login-button {
    font-size: 1rem;
  }
}