@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap");
/* === Ortak gövde (iki sayfa) === */
.page-auth{
  min-height: 100dvh;
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: #f5deb3;
  /* Formu ortada tutalım (eski body:flex görevini devralır) */
  display: flex;
  align-items: center;
  justify-content: center;

  position: relative;
  overflow-x: hidden;
  background: #0b0b0b; /* temel */
}

/* Tam ekran, yumuşak geçişli arka plan */
.page-auth::before{
  content:"";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;

  /* üstte hafif gold parıltı + altta geniş loş gradyan */
  background:
    radial-gradient(1200px 540px at 50% -120px, rgba(255,216,137,.12), transparent 65%),
    radial-gradient(900px 420px  at 50% 75%,  rgba(207,160,68,.08),  transparent 70%),
    linear-gradient(180deg, #0b0b0b 0%, #0a0a0a 40%, #0b0b0b 100%);
}

/* İçerikler arka planın üstünde kalsın */
.register-container,
.verify-page { position: relative; z-index: 1; }


.register-container {
  width: 100%;
  max-width: 420px;
  background: rgba(25, 22, 18, 0.85);
  padding: 40px 36px;
  border-radius: 16px;
  box-shadow: 0 0 25px rgba(255, 215, 130, 0.1);
  text-align: center;
}

.title {
  font-size: 1.9rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #ffd889;
}

.subtitle {
  font-size: 0.95rem;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.65);
}

.register-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  text-align: left;
}

label {
  font-size: 0.9rem;
  margin-left: 5px;
  color: #f7e9c2;
}

input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255, 215, 130, 0.3);
  background-color: rgba(0, 0, 0, 0.4);
  color: #fff;
  font-size: 0.95rem;
  outline: none;
  transition: all 0.2s ease;
}

input:focus {
  border-color: #ffd37a;
  box-shadow: 0 0 8px rgba(255, 215, 130, 0.3);
}

.btn-submit {
  margin-top: 10px;
  padding: 12px 16px;
  background: linear-gradient(135deg, #ffd37a, #c89a3a);
  border: none;
  border-radius: 8px;
  color: #1b180f;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.25s ease-in-out;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(255, 215, 130, 0.3);
}

.login-text {
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

.login-text a {
  color: #ffd37a;
  text-decoration: none;
  font-weight: 600;
  margin-left: 4px;
}

.login-text a:hover {
  text-decoration: underline;
}

.error-text {
  color: #ff7b7b;
  font-size: 0.9rem;
  margin-top: -5px;
  text-align: center;
  display: none;
}

/* register-mail-verify.php */

:root {
  --bg: #0f0f0f;
  --card: #161410;
  --gold1: #ffd37a;
  --gold2: #c89a3a;
  --text: #f5f5f5;
  --muted: #a99b7d;
}
html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
  background: radial-gradient(circle at top left, #0e0c0a, #121212 80%);
  font-family: "Poppins", system-ui, sans-serif;
  color: var(--text);
  display: flex;
  justify-content: center;
  align-items: center;
}
.verify-box {
  background: var(--card);
  padding: 48px 42px;
  border-radius: 18px;
  text-align: center;
  max-width: 440px;
  width: 90%;
  box-shadow: 0 0 25px rgba(255, 215, 130, 0.12);
  border: 1px solid rgba(255, 215, 130, 0.25);
}
.verify-box h1 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  color: var(--gold1);
}
.verify-box p {
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 28px;
  line-height: 1.6;
}
.verify-box .icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--gold1), var(--gold2));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
  box-shadow: 0 6px 18px rgba(255, 215, 130, 0.25);
}
.verify-box .icon svg {
  width: 34px;
  height: 34px;
  fill: #1b180f;
}
.btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold1), var(--gold2));
  color: #1b180f;
  font-weight: 600;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 8px;
  transition: all 0.2s ease;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(255, 215, 130, 0.25);
}

:root {
  --bg: #0f0f0f;
  --panel: #141210;
  --line: rgba(255, 214, 137, 0.22);
  --text: #eae7df;
  --muted: #bdae8a;
  --gold1: #ffd889;
  --gold2: #cfa044;
}

* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
  height: 100vh;
  font-family: "Poppins", sans-serif;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  background: radial-gradient(circle at center, #1a1714 0%, #0f0f0f 65%, #000 100%);
  background-attachment: fixed;
  overflow: hidden;
}

/* Altın parıltı efekti için */
body::before {
  content: "";
  position: absolute;
  top: -40%;
  left: -40%;
  width: 180%;
  height: 180%;
  background: radial-gradient(circle at 50% 50%, rgba(255, 204, 102, 0.08), transparent 60%);
  filter: blur(120px);
  z-index: 0;
}

/* Kartın üstüne blur-ışık efekti */
.register-container {
  position: relative;
  z-index: 1;
  background: rgba(20, 18, 16, 0.9);
  border: 1px solid rgba(255, 214, 137, 0.18);
  box-shadow: 0 0 35px rgba(255, 214, 137, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(18px);
  border-radius: 20px;
  padding: 40px;
}

/* Altın tonlu buton */
button,
input[type="submit"] {
  background: linear-gradient(90deg, #f6d27a, #cfa044);
  border: none;
  color: #1b180f;
  font-weight: 600;
  cursor: pointer;
  border-radius: 10px;
  transition: 0.3s;
}
button:hover,
input[type="submit"]:hover {
  background: linear-gradient(90deg, #ffe3a0, #e7b850);
  transform: scale(1.03);
}


.verify-page {
  min-height: 100%;
  display: grid;
  place-items: center;
  padding: 24px;
}
.card {
  width: min(560px, 100%);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 28px 22px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.logo {
  font-size: 18px;
  color: #f0d89b;
  margin-bottom: 6px;
}
.title {
  margin: 6px 0 4px;
  font-size: 26px;
}
.subtitle {
  color: var(--muted);
  margin: 0 0 18px;
  line-height: 1.6;
}

.form {
  display: grid;
  gap: 16px;
}
.otp-inputs {
  display: flex;
  gap: 10px;
  justify-content: center;
  padding: 6px 0 2px;
}
.otp {
  width: 48px;
  height: 58px;
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  background: #0f0d0b;
  border: 1px solid var(--line);
  border-radius: 12px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.otp:focus {
  border-color: #e9c979;
  box-shadow: 0 0 0 3px rgba(233, 201, 121, 0.12);
}
.visually-hidden {
  position: absolute !important;
  clip: rect(1px, 1px, 1px, 1px);
  padding: 0 !important;
  border: 0 !important;
  height: 1px !important;
  width: 1px !important;
  overflow: hidden !important;
  white-space: nowrap !important;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
}
.btn.primary {
  border: 0;
  color: #1c160f;
  background: linear-gradient(135deg, var(--gold1), var(--gold2));
  box-shadow: 0 10px 20px rgba(207, 160, 68, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
  transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.2s ease;
}
.btn.primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.02);
  box-shadow: 0 14px 26px rgba(207, 160, 68, 0.33),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.btn.ghost {
  border: 1px solid rgba(255, 214, 137, 0.6);
  color: #f0d89b;
  background: transparent;
  padding: 10px 14px;
}
.btn.ghost[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}

.row-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.error {
  color: #ff9aa2;
  font-size: 14px;
  margin-top: 4px;
  background: rgba(255, 154, 162, 0.08);
  border: 1px solid rgba(255, 154, 162, 0.35);
  padding: 8px 10px;
  border-radius: 10px;
}
.muted {
  color: var(--muted);
}
.small {
  font-size: 13px;
}
.link {
  color: #e9c979;
  text-decoration: none;
}
.link:hover {
  text-decoration: underline;
}

@media (max-width: 520px) {
  .otp {
    width: 44px;
    height: 54px;
    font-size: 20px;
  }
}

body::after {
  content: "";
  position: absolute;
  bottom: -30%;
  right: -20%;
  width: 1200px;
  height: 1200px;
  background: radial-gradient(circle at center, rgba(255, 204, 102, 0.05), transparent 70%);
  filter: blur(100px);
  z-index: 0;
}




/* ==== LOGIN.PHP İLE BİREBİR ARKA PLAN VE KART TONU ==== */

.login-bg {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(255, 214, 113, 0.09), transparent 60%),
    radial-gradient(800px 500px at 90% 120%, rgba(255, 164, 64, 0.06), transparent 65%),
    linear-gradient(180deg, #0b0b0e 0%, #0b0b0e 40%, #0f0f15 100%);
}

.login-bg::before,
.login-bg::after {
  content: "";
  position: fixed;
  inset: -20%;
  pointer-events: none;
  background: radial-gradient(closest-side, rgba(245, 208, 122, 0.09), transparent 70%);
  filter: blur(55px);
  animation: floatGlow 18s ease-in-out infinite alternate;
  opacity: 0.9;
}
.login-bg::after {
  animation-duration: 26s;
  animation-delay: -4s;
  background: radial-gradient(closest-side, rgba(255, 184, 92, 0.08), transparent 70%);
}

@keyframes floatGlow {
  0% { transform: translate(-3%, -2%) scale(1); }
  50% { transform: translate(4%, 3%) scale(1.06); }
  100% { transform: translate(-2%, 1%) scale(1.02); }
}

/* ==== KART ==== */
.card {
  background: rgba(15, 13, 11, 0.92);
  border: 1px solid rgba(255, 214, 137, 0.25);
  border-radius: 20px;
  padding: 50px 60px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55),
              inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.6),
              inset 0 1px 0 rgba(255, 255, 255, 0.07);
}
