@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600&display=swap');

html, body {
  height: 100%;
  margin: 0;
  font-family: 'Cinzel', serif;
  background: #111;
  color: #fff;
  text-align: center;
  position: relative;
 /* overflow: hidden;*/
  padding: 0;
}

/* Glowing Logo at Top 
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;
}*/

@keyframes glowPulse {
  0%   { opacity: 1; transform: translateX(-50%) scale(1); }
  50%  { opacity: 0.85; transform: translateX(-50%) scale(1.05); }
  100% { opacity: 1; transform: translateX(-50%) scale(1); }
}

/* Content Container */
.container {
  position: relative;
  z-index: 1;
  padding-top: 300px;
  max-width: 600px;
  margin: 0 auto;
}

/* Headings and Summary */
.container h1 {
  font-size: 3rem;
  color: #ffd700;
  margin-bottom: 1rem;
}

#summary {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #fff;
}

/* Button Base Style (used by all buttons) */
button,
.game-button {
  display: inline-block;
  width: 250px;
  height: 50px;
  line-height: 1.1;
  font-size: 1.1rem;
  padding: 12px 24px;
  background: linear-gradient(to bottom, #3a2f2f, #1f1a1a);
  color: #ffd700;
  border: 2px solid #bfa76f;
  border-radius: 8px;
  font-family: 'Cinzel', serif;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  box-sizing: border-box;
  transition: transform 0.2s ease, box-shadow 0.3s ease, background 0.3s ease;
}

/* Hover state */
button:hover,
.game-button:hover {
  background: #4c3a1a;
  box-shadow: 0 0 10px #ffd700aa;
  transform: scale(1.05);
}

/* Button Group Layout */
.button-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

/* Ensure form button has consistent size too */
.button-group form {
  margin: 0;
}

.button-group button,
.button-group .game-button,
.button-group .play-again-btn,
.button-group form button[type="submit"] {
  width: 250px;
  height: 50px;
  font-size: 1.1rem;
  padding: 12px 24px;
  box-sizing: border-box;
}

/* Responsive Adjustments for Mobile */
@media (max-width: 600px) {
  body::before {
    width: 160px;
    height: 160px;
    top: 1rem;
    background-size: contain;
    box-shadow:
      0 0 8px 2px rgba(255, 215, 0, 0.3),
      0 0 16px 4px rgba(255, 215, 0, 0.2),
      0 0 24px 6px rgba(255, 215, 0, 0.1);
  }

  .container {
    padding-top: 200px;
    padding-left: 1rem;
    padding-right: 1rem;
    font-size: 0.9rem;
  }

  .container h1 {
    font-size: 2rem;
    margin-bottom: 0.8rem;
  }

  #summary {
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  .button-group {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }
}
 

   .confirmation {
  margin-top: 1em;
  padding: 0.5em 1em;
  background: #e0ffe0;
  border: 1px solid #0a0;
  border-radius: 4px;
  font-weight: bold;
       color: black;
      max-width: 300px;
       margin: 0 auto;
}
.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  padding: 0.6rem 1.2rem;
  background: linear-gradient(to bottom, #3a2f2f, #1f1a1a);
  border: 2px solid #bfa76f;
  border-radius: 8px;
  color: #ffd700;
  text-decoration: none;
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.5);
}

.back-btn:hover {
  background: #2a1f1f;
  color: #fff6b0;
}