* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

/* ===================== */
/* 🌌 BODY */
/* ===================== */
body {
  min-height: 100vh;
  color: white;
  overflow-x: hidden;
}

/* ===================== */
/* 🎥 VIDEO BACKGROUND */
/* ===================== */
.bg-video {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  object-position: center center;
  background: black;
  z-index: 0;
}

/* 🔲 QARALDICI OVERLAY */
.video-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

/* ===================== */
/* 🔐 LOGIN PAGE */
/* ===================== */
.login-page {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 2;
}

/* ===================== */
/* 🔲 LOGIN BOX */
/* ===================== */
.login-box {
  width: 100%;
  max-width: 360px;
  padding: 28px;
  border-radius: 18px;
  background: linear-gradient(
    180deg,
    rgba(10, 31, 61, 0.95),
    rgba(7, 23, 46, 0.95)
  );
  border: 2px solid rgba(90, 190, 255, 0.9);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.15),
    inset 0 -8px 16px rgba(0,0,0,0.7),
    0 0 30px rgba(90,190,255,0.45);
  text-align: center;
  z-index: 3;
}

.login-box h1 {
  margin-bottom: 22px;
  font-size: 30px;
  font-weight: bold;
}

/* ===================== */
/* ✏️ INPUTLAR */
/* ===================== */
.login-box input,
.login-select {
  width: 100%;
  padding: 14px;
  margin-bottom: 14px;
  border-radius: 12px;
  border: none;
  font-size: 15px;
  outline: none;
  background: rgba(255,255,255,0.12);
  color: white;
}

.login-box input::placeholder {
  color: rgba(255,255,255,0.65);
}

.login-select option {
  color: black;
}

/* ===================== */
/* 👁️ PASSWORD */
/* ===================== */
.password-field {
  position: relative;
}

.password-field input {
  padding-right: 44px;
}

.toggle-eye {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  font-size: 18px;
  opacity: 0.6;
}

.toggle-eye:hover {
  opacity: 1;
}

/* ===================== */
/* 🔘 BUTTONLAR */
/* ===================== */
.login-box button {
  width: 100%;
  padding: 14px;
  border-radius: 14px;
  border: 2px solid rgba(90,190,255,0.95);
  background: linear-gradient(180deg, #0a1f3d, #07172e);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.12),
    inset 0 -6px 12px rgba(0,0,0,0.6),
    0 0 16px rgba(90,190,255,0.45);
  color: white;
  font-size: 16px;
  cursor: pointer;
}

.login-box button:active {
  transform: scale(0.97);
}

.google-btn {
  margin-top: 10px;
}

/* ===================== */
/* 🔗 LINKLƏR */
/* ===================== */
.divider {
  margin: 16px 0;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
}

.register-link {
  margin-top: 18px;
  font-size: 14px;
}

.register-link a,
.forgot-password a {
  color: #facc15;
  font-weight: bold;
  text-decoration: none;
}

.register-link a:hover,
.forgot-password a:hover {
  text-decoration: underline;
}

.forgot-password {
  text-align: right;
  margin-bottom: 14px;
}

/* ===================== */
/* 📝 REGISTER PAGE */
/* ===================== */
.register-page {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 2;
}

/* REGISTER BACKGROUND IMAGE */
.register-page .bg-image {
  position: fixed;
  inset: 0;
  background: url("./assets/bg.png") center center / cover no-repeat;
  z-index: 0;
}

/* QARALDICI OVERLAY */
.register-page .video-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
}

/* REGISTER CONTENT */
.register-page .login-box {
  position: relative;
  z-index: 2;
}
/* ===================== */
/* 🏠 MENU PAGE */
/* ===================== */
.menu-page {
  position: relative;
  min-height: 100vh;
  z-index: 2;

  display: flex;
  flex-direction: column;
}

/* MAIN bütün boşluğu doldursun */
.menu-page main {
  flex: 1;
}

/* FOOTER */
.menu-page footer {
  text-align: center;
  font-size: 13px;
  opacity: 0.75;
  padding: 14px 10px;

  /* ⬇️ bottom nav üçün YETƏRLİ yer */
  margin-bottom: 90px; /* 70 → 90 */
}

/* ===================== */
/* ⬇️ BOTTOM NAV – FINAL */
/* ===================== */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;

  display: flex;
  justify-content: center;
  gap: 30px;

  padding: 16px 0;

  background: rgba(5, 15, 35, 0.9);
  backdrop-filter: blur(10px);

  border-top: 1px solid rgba(90,190,255,0.35);
  z-index: 10;
}

.bottom-nav button {
  background: transparent;
  border: none;
  color: white;
  font-size: 16px;   /* 14 → 15 */
  cursor: pointer;
  opacity: 0.85;
}

.bottom-nav button:hover {
  opacity: 1;
}

/* ===================== */
/* 🌌 MENU BACKGROUND */
/* ===================== */
.menu-page .menu-bg {
  position: fixed;
  inset: 0;
  background: url("./assets/bg.png") center center / cover no-repeat;
  z-index: 0;
}

/* OVERLAY */
.menu-page .video-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 1;
}

/* CONTENT LAYER */
.menu-page header,
.menu-page main,
.menu-page nav,
.menu-page footer {
  position: relative;
  z-index: 2;
}

/* ===================== */
/* 🏠 MENU PAGE LAYOUT */
/* ===================== */
#menuPage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;           /* 14 → 16 */
  padding: 28px 16px;
}

/* ===================== */
/* 🧱 MENU BUTTON */
/* ===================== */
.menu-btn {
  width: 100%;
  max-width: 520px;
  min-height: 64px;        /* 56 → 64 */

  background: linear-gradient(
    180deg,
    rgba(10, 31, 61, 0.95),
    rgba(7, 23, 46, 0.95)
  );
/* ✅ MENU SCROLL FIX */
.menu-page {
  min-height: 100vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

  border: 2px solid rgba(90, 190, 255, 0.9);
  border-radius: 18px;     /* 16 → 18 */

  color: white;
  font-size: 18px;         /* 16 → 18 */
  font-weight: 500;
  text-align: center;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.12),
    inset 0 -8px 16px rgba(0,0,0,0.65),
    0 0 22px rgba(90,190,255,0.45);

  cursor: pointer;
  transition: all 0.2s ease;
}

.menu-btn:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.18),
    inset 0 -10px 18px rgba(0,0,0,0.7),
    0 0 28px rgba(90,190,255,0.65);
}

.menu-btn:active {
  transform: scale(0.97);
}

/* ===================== */
/* 🔝 TOP BAR – FINAL CENTER */
/* ===================== */
.top-bar {
  position: relative;
  z-index: 3;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  padding: 20px 12px 16px;
  text-align: center;
}

/* BALORO BAŞLIĞI */
.top-bar .top-title h1 {
  font-size: 30px;     /* 28 → 30 */
  font-weight: 700;
  margin: 0;
  line-height: 1.1;
}

/* BAL + PROGRESS */
.balance-wrap {
  margin-top: 8px;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

/* BAL YAZISI */
.balance {
  font-size: 16px;     /* 14 → 16 */
  font-weight: 500;
  opacity: 0.9;
}

/* PROGRESS BAR */
.progress-bar {
  width: 280px;        /* 240 → 280 */
  height: 12px;        /* 10 → 12 */
  background: rgba(255,255,255,0.2);
  border-radius: 999px;
  overflow: hidden;
}

/* DOLMA */
.progress-fill {
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(
    90deg,
    #38bdf8,
    #0ea5e9
  );
}



/* ===================== */
/* 🖥️ DESKTOP (PC / Laptop) */
/* ===================== */
@media (min-width: 1024px) {
  .login-page {
    justify-content: flex-end;
    padding-right: 8%;
  }
  
  .register-page {
    justify-content: center;
    padding-right: 0;
  }
}

/* ===================== */
/* 📱 TABLET */
/* ===================== */
@media (max-width: 1023px) and (min-width: 600px) {
  .login-page,
  .register-page {
    justify-content: center;
  }
}

/* ===================== */
/* 📲 MOBILE / PWA */
/* ===================== */
@media (max-width: 599px) {
  .login-page,
  .register-page {
    justify-content: center;
    padding: 16px;
  }

  .login-box,
  .register-page .login-box {
    max-width: 100%;
    padding: 24px 20px;
  }

  /* ===================== */
/* 📱 MOBILE FIX – LOGIN & REGISTER */
/* ===================== */
@media (max-width: 480px) {

  .login-box {
    padding: 20px 16px;
    border-radius: 16px;
  }

  .login-box h1 {
    font-size: 24px;
    margin-bottom: 18px;
  }

  .login-box input,
  .login-select {
    padding: 12px;
    font-size: 14px;
    margin-bottom: 12px;
    border-radius: 10px;
  }

  .login-box button {
    padding: 12px;
    font-size: 15px;
    border-radius: 12px;
  }

  .divider {
    font-size: 13px;
    margin: 14px 0;
  }

  .register-link {
    font-size: 13px;
    margin-top: 14px;
  }

  .forgot-password {
    font-size: 13px;
  }
}

/* ===================== */
/* 📱 MOBILE REAL FIX (LOGIN & REGISTER) */
/* ===================== */
@media (max-width: 480px) {

 

  .login-page,
  .register-page {
    align-items: center;
    justify-content: center;
  }

  .login-box {
    transform: scale(0.92);   /* 🔑 ƏSAS HƏLL */
    transform-origin: center;
    max-height: 90vh;
  }
}

}