/* =========================================
   REGISTER.CSS (GOT WINTERFELL ICE THEME)
   - No Stranger Things Red
   - No Thunder Flash
   - Frost / Ice Glow UI
   - Cinzel Font
========================================= */

/* ================= ROOT VARIABLES ================= */
:root {
  --bg-color: #05070b;
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.72);

  /* WINTERFELL ICE THEME */
  --accent-color: #9fd6ff;
  --accent-glow: rgba(159, 214, 255, 0.55);

  --glass-bg: rgba(8, 12, 18, 0.55);
  --glass-border: rgba(159, 214, 255, 0.18);

  --font-heading: "Cinzel", serif;
  --font-tech: "Cinzel", serif;
  --font-body: "Cinzel", serif;

  --transition-speed: 0.45s;
}

/* ================= RESET ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ================= BODY ================= */
body {
  background-color: var(--bg-color);
  background-image:
    linear-gradient(180deg,
      rgba(0, 0, 0, 0.85),
      rgba(10, 18, 28, 0.55),
      rgba(0, 0, 0, 0.92)
    ),
    url("./win.jfif");

  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat;
  background-attachment: fixed;

  color: var(--text-primary);
  font-family: var(--font-body);
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}

/* ================= WINTERFELL FROST OVERLAY ================= */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;

  background:
    radial-gradient(circle at 50% 35%, rgba(159, 214, 255, 0.18), transparent 65%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 55%);

  opacity: 0.9;
}

/* ================= NAVBAR (MATCH HOME) ================= */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 0px 40px;

  display: flex;
  justify-content: space-between;
  align-items: center;

  z-index: 1000;

  background: rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  border-bottom: 1px solid var(--glass-border);
}

/* Logo images */
.logo-img-only {
  width: 120px;
  height: 100px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(159, 214, 255, 0.55));
}

.logos-img-only {
  width: 120px;
  height: 100px;
  object-fit: contain;
}

/* Nav links */
.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.nav-links a:hover {
  color: var(--accent-color);
  text-shadow: 0 0 12px var(--accent-glow);
}

/* CTA button */
.cta-button {
  background: var(--accent-color);
  color: #000 !important;
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  font-weight: 900;
  font-size: 0.95rem;
  transition: 0.35s;
  box-shadow: 0 0 20px rgba(159, 214, 255, 0.35);
}

.cta-button:hover {
  transform: scale(1.08);
  box-shadow: 0 0 35px var(--accent-glow);
}

.cta-button.active {
  background: linear-gradient(135deg, rgba(159, 214, 255, 0.95), rgba(210, 240, 255, 0.85));
  box-shadow: 0 0 25px rgba(159, 214, 255, 0.5);
}

/* ================= PAGE WRAPPER ================= */
.registration-page-wrapper {
  min-height: 100vh;
  padding: 120px 5% 80px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  position: relative;
  z-index: 2;
}

/* ================= GLASS FORM CONTAINER ================= */
.glass-form-container {
  width: 100%;
  max-width: 950px;

  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(159, 214, 255, 0.22);
  border-radius: 26px;

  padding: 3rem 2.6rem;

  box-shadow:
    0 0 40px rgba(159, 214, 255, 0.14),
    0 0 120px rgba(159, 214, 255, 0.08);

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  position: relative;
  overflow: hidden;
}

/* Ice top glow strip */
.glass-form-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
  opacity: 0.85;
}

/* ================= TITLES ================= */
.form-title {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 900;
  margin-bottom: 0.4rem;
  letter-spacing: 1px;

  background: linear-gradient(180deg, #ffffff 0%, rgba(159, 214, 255, 0.9) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  text-shadow: 0 0 30px rgba(159, 214, 255, 0.35);
}

.form-subtitle {
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 2.8rem;
  font-size: 1.05rem;
  letter-spacing: 0.6px;
}

/* ================= FORM SECTIONS ================= */
.form-section {
  margin-bottom: 2.6rem;
}

.form-section h3 {
  margin-bottom: 1.3rem;
  font-family: var(--font-tech);
  font-size: 1.15rem;
  color: var(--accent-color);
  text-align: center;
  letter-spacing: 1px;
  text-shadow: 0 0 14px rgba(159, 214, 255, 0.25);
}

/* ================= EVENT CATEGORY ================= */
.event-category {
  margin-bottom: 2.2rem;
}

.event-category h4 {
  margin-bottom: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;

  font-family: var(--font-tech);
  font-size: 1rem;
  color: #fff;
  letter-spacing: 1px;
}

.counter {
  background: rgba(159, 214, 255, 0.10);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--accent-color);
  border: 1px solid rgba(159, 214, 255, 0.22);
}

/* ================= CHECKBOX GRID ================= */
.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 1rem;
}

/* Card */
.checkbox-card {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(159, 214, 255, 0.18);
  border-radius: 18px;
  padding: 1.4rem 1.1rem;

  cursor: pointer;
  transition: 0.35s ease;

  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
}

.checkbox-card:hover {
  background: rgba(159, 214, 255, 0.08);
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(159, 214, 255, 0.18);
  border-color: rgba(159, 214, 255, 0.35);
}

.checkbox-card input {
  display: none;
}

/* custom check */
.custom-check {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 6px;
  flex-shrink: 0;
  position: relative;
  transition: 0.2s;
}

.checkbox-card input:checked + .custom-check {
  background: var(--accent-color);
  border-color: var(--accent-color);
  box-shadow: 0 0 12px var(--accent-glow);
}

.checkbox-card input:checked + .custom-check::after {
  content: "✓";
  color: #000;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 12px;
  font-weight: 900;
}

.card-content {
  display: flex;
  flex-direction: column;
}

.event-name {
  font-weight: 800;
  font-size: 0.95rem;
  color: #fff;
}

.event-tag {
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-top: 4px;
}

/* Disabled state */
.checkbox-card.disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

/* ================= DETAILS INPUT GRID ================= */
.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

/* ================= INPUT GROUP ================= */
.input-group {
  position: relative;
  margin-bottom: 0.5rem;
}

.input-group input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 2px solid rgba(255, 255, 255, 0.22);
  padding: 0.9rem 0;
  color: var(--text-primary);
  font-size: 1rem;
  outline: none;
}

.input-group label {
  position: absolute;
  top: 0.9rem;
  left: 0;
  color: var(--text-secondary);
  pointer-events: none;
  transition: 0.3s ease all;
}

.input-group input:focus ~ label,
.input-group input:not(:placeholder-shown) ~ label {
  top: -1rem;
  font-size: 0.8rem;
  color: var(--accent-color);
}

.input-group input:focus {
  border-bottom-color: var(--accent-color);
}

/* ================= PAYMENT ================= */
#paymentSS {
  margin-top: 18px;
  padding: 14px;
  background: rgba(159, 214, 255, 0.08);
  border-radius: 14px;
  color: white;
  border: 1px solid rgba(159, 214, 255, 0.22);
}

/* QR */
img {
  max-width: 100%;
}

/* Total amount highlight */
#totalAmount {
  color: var(--accent-color);
  font-weight: 900;
  text-shadow: 0 0 12px rgba(159, 214, 255, 0.55);
}

/* ================= WARNING MSG ================= */
.warning-msg {
  color: rgba(255, 160, 160, 0.95);
  text-align: center;
  margin: 1rem 0;
  font-weight: 700;
}

/* ================= SUBMIT BUTTON ================= */
.glow-btn {
  width: 100%;
  padding: 1.2rem;
  font-size: 1.1rem;

  background: var(--accent-color);
  border: none;
  border-radius: 999px;

  color: #000;
  font-weight: 900;
  cursor: pointer;

  transition: 0.35s ease;
  box-shadow: 0 0 25px rgba(159, 214, 255, 0.35);
}

.glow-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 45px rgba(159, 214, 255, 0.6);
}

/* ================= FOOTER ================= */
footer {
  background: rgba(0, 0, 0, 0.95);
  padding: 3rem 5%;
  text-align: center;
  border-top: 1px solid rgba(159, 214, 255, 0.15);
  margin-top: 4rem;
  position: relative;
  z-index: 2;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 900;
  color: var(--accent-color);
  margin-bottom: 1rem;
  text-shadow: 0 0 25px var(--accent-glow);
}

/* ================= TEAM NOTE ================= */
.team-note {
  margin: 0 auto 20px;
  max-width: 750px;
  padding: 14px 16px;
  border-radius: 16px;

  background: rgba(159, 214, 255, 0.08);
  border: 1px solid rgba(159, 214, 255, 0.22);

  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;

  box-shadow: 0 0 18px rgba(159, 214, 255, 0.12);
}

.team-note b {
  color: var(--accent-color);
}

/* ================= BURGER MENU ================= */
.burger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  z-index: 1100;
  gap: 6px;
}

.burger span {
  width: 28px;
  height: 3px;
  background: var(--accent-color);
  border-radius: 10px;
  box-shadow: 0 0 12px var(--accent-glow);
  transition: 0.35s;
}

/* Burger animation */
.burger.toggle span:nth-child(1) {
  transform: rotate(-45deg) translate(6px, 6px);
}
.burger.toggle span:nth-child(2) {
  opacity: 0;
}
.burger.toggle span:nth-child(3) {
  transform: rotate(45deg) translate(6px, -6px);
}

/* ================= MOBILE NAV ================= */
@media (max-width: 768px) {
  .burger {
    display: flex;
  }

  .glass-form-container {
    padding: 2.2rem 1.5rem;
  }

  .checkbox-grid {
    grid-template-columns: 1fr 1fr;
  }

  .nav-links {
    gap: 1rem;
    font-size: 0.9rem;
  }

  .form-title {
    font-size: 2.5rem;
  }

  .nav-links {
    position: fixed;
    top: 75px;
    left: 0;
    width: 100%;
    height: calc(100vh - 75px);

    flex-direction: column;
    justify-content: flex-start;
    align-items: center;

    padding: 2rem 0;
    gap: 1.5rem;

    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);

    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 1000;
  }

  .nav-links.active {
    transform: translateX(0);
  }

  .nav-links li {
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.3s ease;
  }

  .nav-links.active li {
    opacity: 1;
    transform: translateX(0);
  }

  .nav-links li:nth-child(1) { transition-delay: 0.1s; }
  .nav-links li:nth-child(2) { transition-delay: 0.2s; }
  .nav-links li:nth-child(3) { transition-delay: 0.3s; }
  .nav-links li:nth-child(4) { transition-delay: 0.4s; }
}

@media (max-width: 480px) {
  .checkbox-grid {
    grid-template-columns: 1fr;
  }
}
