body {
  
  font-family: Arial, sans-serif;
  background-image: url('../images/register.png');
  background-size: cover;
  color: #ffffff;
  min-height: 100vh;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* floating mascot that never pushes layout */
body::after {
  content: "";
  position: fixed;            /* pinned to viewport */
  width: 540px;               /* tweak size as you like */
  height: 540px;
  background-image: var(--mascot-url);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  pointer-events: none;       /* clicks pass through */
  z-index: 999;               /* above background & cards */
  right: 6vw;                 /* move LEFT by increasing this number */
  bottom: 14vh;               /* move UP by increasing this number */
  opacity: 0.95;              /* optional */
  /* debug: uncomment to see the box if still invisible */
  /* outline: 1px dashed lime; */
}

.register-flex-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5em;             /* 40px */
  width: 100%;
  min-height: 100vh;
}

/* Mascot image */
.mascot-img {
  max-height: 18.75em;   /* 300px */
  width: auto;
  border-radius: 1em;
  box-shadow: 0 0.125em 1em rgba(0,0,0,0.13);
  background: rgba(255,255,255,0.05);
}

/* Registration form container */
.container {
  background: linear-gradient(120deg, rgba(30,144,255,0.92) 60%, rgba(48,208,88,0.94) 100%);
  backdrop-filter: blur(0.25em);
  border-radius: 1.25em;           /* 20px */
  box-shadow: 0 0.5em 2em rgba(0,0,0,0.32); /* 8px 32px */
  padding: 1.5em 2.5em;     /* 30px 40px */
  max-width: 22em;          /* ~350px for even closer match */
  width: 60%;
  margin: 0 auto;
  color: #fff;
  margin-top: 1em;
}

h1 {
  font-size: 2em;
  text-shadow: 0.1875em 0.1875em 0.5em rgba(0,0,0,0.25); /* 3px 3px 8px */
  margin-bottom: 1.125em; /* 18px */
  text-align: center;
}

form {
  display: flex;
  flex-direction: column;
  gap: 0.94em; /* 15px */
}

input[type="text"],
input[type="password"],
input[type="email"],
input[type="number"] {
  background: rgba(255,255,255,0.92);
  color: #222;
  border: 0.125em solid #32cd32;
  border-radius: 0.5em;
  padding: 0.6em 0.25em;        /* tighter vertical/horizontal padding */
  font-size: .9em;            /* slightly smaller */
  font-weight: bold;
  margin-bottom: 0.23em;        /* tighter gap between fields */
  transition: box-shadow 0.2s, border 0.2s;
}


input::placeholder {
  color: #789;
  opacity: 1;
  font-weight: normal;
}

input:focus {
  border: 0.125em solid #1e90ff;    /* 2px */
  box-shadow: 0 0 0.5em #1e90ff;    /* 8px */
  outline: none;
}

.radio-group {
  background: rgba(255,255,255,0.75);
  color: #222;
  border-radius: 0.5em;           /* 8px */
  padding: 0.5em 0;               /* 8px 0 */
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin-bottom: 0.25em;          /* 4px */
  font-weight: bold;
}

.radio-group label {
  cursor: pointer;
  margin: 0 0.375em;              /* 6px */
}

input[type="submit"], button {
  background: linear-gradient(90deg, #32cd32 60%, #1e90ff 100%);
  color: #fff;
  border: none;
  padding: 0.5em 1.125em;         /* 8px 18px */
  border-radius: 0.5em;           /* 8px */
  font-size: 1em;
  font-weight: bold;
  cursor: pointer;
  margin: 0.5em 0;                /* 8px 0 */
  box-shadow: 0 0.125em 0.625em rgba(0,0,0,0.19); /* 2px 10px */
  transition: background 0.2s, box-shadow 0.2s;
}

input[type="submit"]:hover, button:hover {
  background: #228b22;
  box-shadow: 0 0 0.75em #32cd32; /* 12px */
}

footer {
  margin-top: 1em;     /* 16px */
  font-size: 0.7em;
  text-shadow: 0.0625em 0.0625em 0.125em rgba(0,0,0,0.5); /* 1px 1px 2px */
  color: #fff;
}

.center-btn {
  display: flex;
  justify-content: center;
  width: 100%;
}

.play-now-btn {
  font-size: 1em;
  padding: 0.5em 1.125em;
  border-radius: 0.5em;
}

.login-hero-center {
  min-height: 100vh;
  width: 100vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative; 
}

.brand-title {
  font-size: 5em;
  font-weight: 200;
  color: #15323b;
  letter-spacing: 0.01em;
  /* 3D "extrude" effect: multi-shadow */
  text-shadow:
    0 2px 0 #ffe68d,
    0 4px 10px #fffad6a0,
    2px 4px 0 #e0ae46,
    3px 6px 10px #ffaa0060;
  line-height: 1.04;
  margin-bottom: 0.18em;
  animation: title-pop 0.95s cubic-bezier(.17,.67,.83,.67) 0.1s both;
}

.brand-subtitle {
  font-size: 2em;
  color: #eef1f2;
  opacity: 0.98;
  margin-top: 0.85em;
  margin-bottom: 0.85em;
  text-shadow: 0 1.5px 10px #fffad6a0;
  font-weight: 500;
  text-align: center; 
}

.login-flex-row {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2.2em; /* Adjust as needed */
  gap: .0em;        /* Space between login box and mascot */
}

.howto-btn {
  display: inline-block;
  background: #1e90ff;
  color: #fff;
  font-weight: bold;
  padding: 0.5em 1.5em;
  border-radius: 0.5em;
  margin-top: 2.5em;
  text-decoration: none;
  font-size: 1em;
  box-shadow: 0 0.12em 0.5em rgba(30,144,255,0.12);
  transition: background 0.2s, color 0.2s;
}
.howto-btn:hover {
  background: #15323b;
  color: #ffd700;
}
.center-btn {
  display: flex;
  justify-content: center;
  width: 100%;
}

.howto-btn + .howto-btn {
  margin-left: 1.5em;
}
.demo-action {
  position: relative;
}
.demo-action button:hover::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%; /* place above button */
  left: 50%;
  transform: translateX(-50%);
  padding: 0.5rem;
  color: #fff;
  border-radius: 0.25rem;
  white-space: nowrap;
  font-size: 0.875rem;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.2s;
}
.demo-action button::after {
  opacity: 0;
}

.tutorialArrow {
  position: absolute;

  /* 🔧 Resize */
  width: 100px;         /* Increase width */
  height: auto;         /* Maintain aspect ratio */

  /* 📍 Reposition */
  top: calc(83% - 4em);   /* Move it UP from the message box */
  left: calc(95% - 2em);  /* Move it LEFT from the message box */

  z-index: 1001;

  /* 💥 Animation */
  animation: throb 1.2s infinite ease-in-out;
  transform: rotate(15deg);
  transform-origin: center;
}
