body {
  margin: 0;
  overflow: hidden;
  width: 100vw;
  height: 100vh;
}
#unity-container {
  position: fixed;
  top: 0; 
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}

#unity-canvas {
  position: relative;
  background-image: url('background.png'); 
  background-color: rgb(0, 0, 0);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: auto;
  height: 100%;
  max-width: calc(100vh * 9 / 16);
}

/*  Tint Overlay Added */
#unity-canvas::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4); /* change color/tint here */
  pointer-events: none; 
}

#unity-loading-bar { 
  position: absolute; 
  left: 50%; 
  top: 50%; 
  transform: translate(-50%, -50%); 
  display: none;
}

/* #unity-logo { 
  width: 154px; 
  height: 130px; 
  background: url('unity-logo-dark.png') no-repeat center;
} */

#unity-progress-bar-empty { 
  margin-left: auto; 
  margin-right: auto; 
  width: 141px; 
  height: 18px; 
  margin-top: 10px; 
  background: url('progress-bar-empty-dark.png') no-repeat center;
}

#unity-progress-bar-full { 
  width: 0%; 
  height: 18px; 
  margin-top: 10px; 
  background: url('progress-bar-full-dark.png') no-repeat center;
}

#unity-warning { 
  position: absolute; 
  left: 50%; 
  top: 5%; 
  transform: translate(-50%); 
  background: white; 
  padding: 10px; 
  display: none;
}


/* ===== Player Details Form Container ===== */
#html-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
  overflow: hidden;          /* auto → hidden */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  pointer-events: auto;
}


#html-overlay::before {
  display: none; /* remove blurred bg */
}

#html-overlay > * {
  position: relative;
  z-index: 1;
}

/* Overlay Content */
.overlay-content {
  position: relative;
  width: 100%;
  max-width: 480px;
  padding: 8px 32px 24px;   /* padding kam karo */
  text-align: center;
  box-sizing: border-box;
}

/* Logo area */
.overlay-logo {
  margin-bottom: 8px;
  margin-top: -16px; 
}
.overlay-logo img {
  max-width: 200px;
  width: 60%;
}

/* Divider line with diamond */
.overlay-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 0 12px;
}
.overlay-divider::before,
.overlay-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, #e05a00);
}
.overlay-divider::after {
  background: linear-gradient(to left, transparent, #e05a00);
}
.overlay-divider span {
  width: 8px;
  height: 8px;
  background: #e05a00;
  transform: rotate(45deg);
  display: inline-block;
}

/* Subtitle */
.overlay-content h3 {
  color: #fff;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-weight: 500;           /* Medium */
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0 0 16px;
}

/* Form */
#userForm {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

#userForm input,
#userForm button {
  box-sizing: border-box;
}

/* Field group: label + input stacked */
.field-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}

.field-group label {
  color: #fff;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 15px;
  font-weight: 500;           /* Medium */
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* Input Fields */
#userForm input[type="text"],
#userForm input[type="email"],
#userForm input[type="tel"] {
  width: 100%;
  padding: 12px 18px;
  border-radius: 6px;
  border: 1.5px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.05);
  color: #fff;
  font-size: 15px;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 13px;
  font-weight: 300; 
  outline: none;
  text-align: left;
  box-shadow: none;
  transition: border-color 0.2s;
}

#userForm input::placeholder {
  color: rgba(255,255,255,0.5);
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 13px;
  font-weight: 300;           /* Light */
}

#userForm input:focus {
  border-color: #e05a00;
  box-shadow: 0 0 0 2px rgba(224,90,0,0.25);
}

/* T&C Checkbox row */
.tc-row {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
}

.tc-row input[type="checkbox"] {
  width: 22px;
  height: 22px;
  min-width: 22px;
  border-radius: 4px;
  border: 2px solid rgba(255,255,255,0.5);
  background: transparent;
  cursor: pointer;
  accent-color: #e05a00;
  padding: 0;
  box-shadow: none;
}

.tc-row label {
  color: #fff;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 15px;
  font-weight: 500;           /* Medium */
}

.tc-row label a {
  color: #e05a00;
  text-decoration: none;
}
.tc-row label a:hover {
  text-decoration: underline;
}

/* Button row */
.btn-row {
  display: flex;
  gap: 16px;
  margin-top: 2px;
}

#userForm button[type="submit"] {
  flex: 1;
  background: #e05a00;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 14px 12px;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  box-shadow: none;
  transition: background 0.2s;
  width: auto;
  max-width: none;
  justify-self: unset;
  grid-column: unset;
}

#userForm button[type="submit"]:hover {
  background: #ff6a00;
  transform: none;
  box-shadow: none;
}

#userForm button[type="button"].btn-skip {
  flex: 1;
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 6px;
  padding: 14px 12px;
  text-transform: uppercase;
  cursor: pointer;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 24px;
  font-weight: 900;           /* Black */
  letter-spacing: 2px;
  transition: border-color 0.2s;
}

#userForm button[type="button"].btn-skip:hover {
  border-color: #fff;
}
h2 {
  position: relative;
  z-index: 10;
  color: white;
  text-align: center;
  margin-top: 20px;
}

.form-container {
  position: relative;
  z-index: 1;
}
.overlay {
  position: absolute;
  z-index: 0;
}
