@import url("https://googleapis.com");

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: #e0e0e0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
  background-color: #1a1a1a; /* Backup color while image loads */
  overflow: hidden; /* Prevents scrollbars caused by the blurred edge */
}

/* Dedicated background layer for blur */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("images/1RfQwvR.jpeg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: blur(3px);
  z-index: -1;
  transform: scale(1.05);
}

.container {
  background: linear-gradient(
      180deg,
      rgba(16, 24, 38, 0.75) 0%,
      rgba(8, 14, 24, 0.85) 100%
    ),
    url("images/wow-world-map.png");
  background-size: center;
  /* background-position: center; */
  background-position: center, 80% center;

  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 3px solid #1a1510;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.9), 0 0 0 1px #87693b,
    inset 0 0 0 1px #0e0e0e, inset 0 0 15px rgba(212, 175, 55, 0.15);
  padding: 45px 40px;
  border-radius: 10px;
  width: 380px;
  box-sizing: border-box;
}

h2 {
  font-family: "Arial Black", sans-serif;
  text-align: center;
  /* Changes the color to pure white */
  color: #ffffff;
  /* Makes the text maximum bold thickness */
  font-weight: 900;
  margin-top: 0;
  margin-bottom: 30px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 35px;
}

.form-group {
  margin-bottom: 22px;
}

label {
  display: block;
  margin-bottom: 8px;
  font-size: 15px;
  color: #b5b5b5;
}

input {
  width: 100%;
  padding: 14px;

  /* Deep matte black background for input fields */
  background-color: #121212;

  /* Dark, soft border lines around the text inputs */
  border: 1px solid #1f1f1f;
  border-radius: 6px;
  color: #fff;
  font-size: 15px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  box-sizing: border-box;

  /* Creates the inner-sunk shadow effect */
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.6);
}

input:focus {
  border-color: #555;
  outline: none;
}

.note {
  font-size: 12px;
  color: #cc9933;
  margin-top: 6px;
  display: block;
  line-height: 1.4;
  text-align: center;
}

.wow-button {
  /* Positioning & Box Model */
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 30px;
  cursor: pointer;
  user-select: none;

  /* WoW Dimensions & Shape */
  width: 100%;
  height: 42px;
  margin-top: 35px;
  box-sizing: border-box;

  /* 1. Heavy Outer Metal Frame */
  border: 5px solid #232323;
  outline: 1px solid #111111;
  border-radius: 4px; /* Slight roundness matching the image */

  /* 2. Red Gel/Stone Inner Texture and Gradients */
  background:
    linear-gradient(to bottom, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0) 50%), /* Top reflection */
    linear-gradient(to bottom, #8a0c0c 0%, #460000 100%); /* Crimson base gradient */

  /* 3. The 3D Beveled Look (Inner highlights & deep dropshadow) */
  box-shadow:
    inset 0 3px 0 rgba(255, 255, 255, 0.25), /* Bright inner top bevel */
    inset 0 -3px 0 rgba(0, 0, 0, 0.5),       /* Deep inner bottom shadow */
    inset 3px 0 3px rgba(0, 0, 0, 0.4),      /* Left shadow */
    inset -3px 0 3px rgba(0, 0, 0, 0.4),     /* Right shadow */
    0 4px 10px rgba(0, 0, 0, 0.7);           /* Outer button shadow */

  /* Smooth Transitions */
  transition: all 0.15s ease-in-out;
}

/* 4. The Chiseled Corner Accents */
/* Adds the subtle diagonal cut look to the corners of the outer frame */
.wow-button::before {
  content: "";
  position: absolute;
  top: -3px; left: -3px; right: -3px; bottom: -3px;
  border: 1px solid #4a4a4a;
  border-radius: 5px;
  pointer-events: none;
}

/* Typography Details (Golden text with thick dark outline) */
.wow-button-text {
  font-family: "Cinzel", serif;
  font-size: 18px;
  font-weight: 700;
  text-transform: capitalize; /* "Reconnect" style capitalization */
  letter-spacing: 0.5px;

  /* Bright Golden text color matching the image */
  color: #f7ca45;

  /* Thick black text-shadow to make it pop over the dark red */
  text-shadow:
    -1px -1px 0 #000,
     1px -1px 0 #000,
    -1px  1px 0 #000,
     1px  1px 0 #000,
     0px  2px 4px rgba(0, 0, 0, 0.8);

  transition: color 0.15s ease-in-out;
}

/* Hover State: Glowing Red Core */
.wow-button:hover {
  background:
    linear-gradient(to bottom, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 50%),
    linear-gradient(to bottom, #ab1212 0%, #5a0000 100%);
  box-shadow:
    inset 0 3px 0 rgba(255, 255, 255, 0.35),
    inset 0 -3px 0 rgba(0, 0, 0, 0.5),
    0 0 12px rgba(138, 12, 12, 0.6); /* Red outer glow */
}

.wow-button:hover .wow-button-text {
  color: #ffe073;
}

/* Active State: Pushed Indentation */
.wow-button:active {
  transform: translateY(1px);
  background: linear-gradient(to bottom, #300000 0%, #1a0000 100%);
  box-shadow:
    inset 0 4px 6px rgba(0, 0, 0, 0.8),
    0 1px 2px rgba(0, 0, 0, 0.4);
}


#response-message {
  margin-top: 15px;
  text-align: center;
  font-weight: bold;
  font-size: 14px;
}

.success {
  color: #4caf50;
}

.error {
  color: #f44336;
}
