body {
  font-family: 'Cinzel', serif;
  background: #111;
  color: #fff;
  text-align: center;
  padding: 2rem;
  position: relative;
  /*overflow: hidden;*/
}

/* Combine logo + glow in the same pseudo-element */
body::before {
  content: '';
  position: absolute;
  top: 2rem;
  left: 50%;
  width: 250px;
  height: 250px;
  transform: translateX(-50%);
  background: url('../assets/images/magicianaire-logo-small.png') no-repeat center center;
  background-size: contain;
  border-radius: 50%;
  box-shadow: 0 0 15px 4px rgba(255, 215, 0, 0.3),
              0 0 30px 8px rgba(255, 215, 0, 0.2),
              0 0 45px 12px rgba(255, 215, 0, 0.1);
  animation: glowPulse 3s ease-in-out infinite;
  z-index: 0;
  pointer-events: none;
}

.container {
  position: relative;
  z-index: 1;
  margin-top: 280px; /* Enough spacing below the logo */
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Glow animation */
@keyframes glowPulse {
  0%, 100% {
    box-shadow: 0 0 20px 5px rgba(255, 215, 0, 0.3),
                0 0 40px 10px rgba(255, 215, 0, 0.2),
                0 0 60px 15px rgba(255, 215, 0, 0.1);
  }
  50% {
    box-shadow: 0 0 30px 8px rgba(255, 215, 0, 0.6),
                0 0 50px 12px rgba(255, 215, 0, 0.4),
                0 0 70px 18px rgba(255, 215, 0, 0.2);
  }
}
/* General Button Styling */
button {
  padding: 12px 24px;
  font-size: 1.1rem;
  margin-top: 1rem;
  background: linear-gradient(to bottom, #3a2f2f, #1f1a1a);
  color: #ffd700;
  border: 2px solid #bfa76f;
  border-radius: 8px;
  font-family: 'Cinzel', serif;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
  transition: all 0.25s ease;
  cursor: pointer;
}

button:hover:not(.used):not(:disabled) {
  background: linear-gradient(to bottom, #4a3838, #2a2222);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(255, 215, 0, 0.4);
  color: #fffbe6;
  border-color: #ffdf80;
}
hr.decorative {
  border: none;
  height: 2px;
  background: linear-gradient(to right, transparent, #bfa76f, #ffd700, #bfa76f, transparent);
  margin: 2rem auto;
  width: 80%;
  box-shadow: 0 0 8px rgba(255, 215, 0, 0.3);
}

input[type="text"] {
  padding: 12px 24px;
  font-size: 1.1rem;
  margin-top: 1rem;
  background: linear-gradient(to bottom, #3a2f2f, #1f1a1a);
  color: #ffd700;
  border: 2px solid #bfa76f;
  border-radius: 8px;
  font-family: 'Cinzel', serif;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
  transition: all 0.25s ease;
  width: 300px;
  max-width: 100%;
  box-sizing: border-box;
}

input[type="text"]:hover,
input[type="text"]:focus {
  background: linear-gradient(to bottom, #4a3838, #2a2222);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(255, 215, 0, 0.4);
  color: #fffbe6;
  border-color: #ffdf80;
  outline: none;
}

@media (max-width: 600px) {
  body::before {
    width: 200px;
    height: 200px;
    top: 1rem;
  }

  .container {
    margin-top: 220px;
  }
}

.game-button {
  display: inline-block;
  margin: 1rem auto;
  padding: 12px 24px;
  font-size: 1.1rem;
  background: linear-gradient(to bottom, #3a2f2f, #1f1a1a);
  color: #ffd700;
  border: 2px solid #bfa76f;
  border-radius: 8px;
  font-family: 'Cinzel', serif;
  letter-spacing: 1px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.game-button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 10px #ffd700aa;
}
.button-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
/* Match input and button widths */
input[type="text"],
.button-group button,
.button-group .game-button {
  width: 300px;
  max-width: 100%;
  height: 50px;
  font-size: 1.1rem;
  padding: 12px 24px;
  box-sizing: border-box;
  text-align: center;
}

/* Consistent layout */
.button-group {
  display: flex;
  flex-direction: column;
  align-items: center;
 /* gap: .5rem;
  margin-top: .5rem;*/
}

/* Responsive tweaks for small screens */
@media (max-width: 600px) {
  input[type="text"],
  .button-group button,
  .button-group .game-button {
    width: 90%;
    max-width: 260px;
    height: 48px;
    font-size: 1rem;
    padding: 10px 16px;
  }
}

/* Base style */
.social-icons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: linear-gradient(to bottom, #3a2f2f, #1f1a1a);
  border: 2px solid #bfa76f;
  border-radius: 8px;
  color: #ffd700;
  text-decoration: none;
  font-size: 1rem;
  padding: 0.6rem 1rem;
  min-width: 48px;
  height: 48px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.social-btn i {
  font-size: 1.2rem;
}

/* Hide text on small screens */
@media (max-width: 600px) {
  .social-btn span {
    display: none;
  }

  .social-icons {
    gap: 0.6rem;
  }

  .social-btn {
    padding: 0.6rem;
    min-width: auto;
    width: 48px;
  }
}
  /* Modal Styles */
  .modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.8);
  }

  .modal-content {
    background-color: #222;
    color: #ffd700;
    margin: 10% auto;
    padding: 2rem;
    border: 2px solid #bfa76f;
    width: 80%;
    max-width: 600px;
    font-family: 'Cinzel', serif;
    border-radius: 12px;
  }

  .close {
    color: #ffd700;
    float: right;
    font-size: 1.5rem;
    cursor: pointer;
  }

  #disclaimerBtn {
    padding: 10px 20px;
    background: linear-gradient(to bottom, #3a2f2f, #1f1a1a);
    border: 2px solid #bfa76f;
    border-radius: 8px;
    color: #ffd700;
    font-family: 'Cinzel', serif;
    cursor: pointer;
  }