/*
  Portal Colosseum Stylesheet
  ===========================
  Theme: Dark orange/brown fantasy arena
  Colors:
    - Primary: #ff6b3b (orange - buttons, accents)
    - Primary hover: #ff8c42 (lighter orange)
    - Background dark: #101f2e (deep blue)
    - Background darker: #1a1a2e (darkest blue)
    - Form background: rgba(0,0,0,0.7) (semi-transparent black)

  Font: 'Courier New', monospace (terminal/retro gaming feel)
*/

/* Global body styles - applies to all pages */
body {
  margin: 0;
  padding: 0;
  font-family: 'Pixeloid Mono', 'Courier New', monospace;
  background: #101f48ff;           /* Deep blue background fallback */
  background-size: cover;
  min-height: 100vh;                /* Full viewport height */
  display: flex;
  justify-content: center;          /* Center content horizontally */
  align-items: center;              /* Center content vertically */
  color: #fff;                      /* Default white text */
}

/* Landing page container (index.html) */
#landing {
  text-align: center;
}

/* Logo images - used on landing and login pages */
.logo {
  max-width: 500px;
  width: auto;
  margin-bottom: 40px;
}

/* "Enter Realm" button on the landing page */
.enter-button {
  display: inline-block;
  padding: 20px 60px;
  background: linear-gradient(45deg, #ff6b35, #f79339);
  color: white;
  text-decoration: none;
  font-size: 24px;
  font-weight: bold;
  border-radius: 8px;
  border: 2px solid white;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 3px;
}

.enter-button:hover {
  background: linear-gradient(45deg, #ff8c42, #ffb347);
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(255, 107, 53, 0.5);
}

/* Login page container */
#login-page {
  text-align: center;
}

/* Legacy login form styles (kept for backward compatibility) */
/* Hint text (small gray text) */
.hint {
  color: #888;
  font-size: 12px;
  margin-top: 15px;
}

/* Alpha invite message on landing page */
.alpha-message {
  position: absolute;
  top: 88%;
  left: 50%;
  transform: translateX(-50%);
  max-width: 600px;
  text-align: center;
  padding: 40px;
  background: rgba(16, 31, 72, 0.9);
  border: 1px solid #ff6b35;
  border-radius: 15px;
  backdrop-filter: blur(5px);
}

.alpha-message p {
  color: #fff;
  font-size: 18px;
  line-height: 1.5;
  margin-bottom: 20px;
}

/* Login and Register buttons on landing page */
.landing-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 20px;
}

/* Secondary button variant for Login */
.enter-button.secondary {
  background: transparent;
  border-color: #ff6b35;
  color: #ff6b35;
}

.enter-button.secondary:hover {
  background: rgba(255, 107, 53, 0.1);
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(255, 107, 53, 0.3);
}

/* Modal overlay (invite key prompt) */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

/* Modal content box */
.modal {
  background: rgba(16, 31, 72, 0.95);
  border: 1px solid #ff6b35;
  border-radius: 15px;
  padding: 30px;
  max-width: 400px;
  width: 90%;
  text-align: center;
}

.modal h3 {
  color: #ff6b35;
  margin-bottom: 20px;
  font-size: 24px;
}

.modal input {
  width: 100%;
  padding: 12px;
  margin: 15px 0;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid #ff6b35;
  color: white;
  font-family: inherit;
  font-size: 16px;
  border-radius: 5px;
  box-sizing: border-box;
}

/* Secondary button for modal Cancel */
.btn-secondary {
  background: transparent;
  border: 1px solid #888;
  color: #888;
  padding: 15px 30px;
  font-size: 18px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 3px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-left: 10px;
  text-decoration: none;
  display: inline-block;
}

.btn-secondary:hover {
  background: rgba(136, 136, 136, 0.1);
}
