* {
  margin:0; padding:0; box-sizing:border-box; font-family:'Inter', sans-serif;
}
body {
  min-height: 100vh;
  margin: 0;
  position: relative;
  overflow: hidden;
  background: transparent;
}

/* پس‌زمینه */
body::before {
  content:"";
  position:absolute;
  inset:0;
  background:url('bac.png') no-repeat center center/cover;
  filter:blur(6px);
  z-index:-1;
}

/* کانتینر اصلی */
.page-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  justify-content: center; /* وسط چین عمودی */
  align-items: center;     /* وسط چین افقی */
  padding: 20px;
  gap: 20px; /* فاصله بین کانتینر و فوتر */
  position: relative;
  z-index: 1;
}

/* کانتینر شیشه‌ای */
.glass-container {
  text-align:center;
  animation:fadeIn 0.8s ease;
  margin: auto;
}

/* انیمیشن */
@keyframes fadeIn {
  from {opacity:0; transform:translateY(15px);}
  to {opacity:1; transform:translateY(0);}
}

/* لوگو */
.logo img {
  height: auto;
  display: inline-block;
  margin-bottom: 25px;
}

.desktop .logo img {
  width: 130px;
}
.mobile .logo img {
  width: 90px;
  margin-bottom: 15px;
}

h2 {color:white;}
button {
  width:100%; border:none; border-radius:25px; cursor:pointer;
  display:flex; align-items:center; justify-content:center; gap:10px;
  transition:transform 0.2s ease, box-shadow 0.2s ease;
}
button:hover:not(:disabled) {
  transform:translateY(-2px);
  box-shadow:0 4px 12px rgba(0,0,0,0.2);
}
button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.google-btn, .apple-btn {
  background:white;
  color:black;
}

.create-btn {
  background:#1DA1F2; color:white; font-weight:600;
}

.or {
  display:flex; align-items:center; color:white; opacity:0.8;
}
.or::before, .or::after {
  content:''; flex:1; height:1px; background:rgba(255,255,255,0.4);
}
.or span {margin:0 10px;}
p {color:rgba(255,255,255,0.85);}
a {color:#1DA1F2; text-decoration:none;}
.signin {color:white;}

/* 🎯 حالت دسکتاپ */
.desktop .glass-container {
  width: 70vw;
  max-width: 700px;
  padding: 60px 50px;

  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(25px) saturate(200%);
  -webkit-backdrop-filter: blur(25px) saturate(200%);
  border-radius: 25px;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}
.desktop h2 {font-size:24px; margin-bottom:20px;}
.desktop button {padding:12px; font-size:16px; margin:8px 0;}
.desktop p {font-size:12px;}
.desktop .icon {width:20px; height:20px;}

/* 📱 حالت موبایل */
.mobile .glass-container {
  width: 90vw;
  max-width: 400px;
  padding: 40px 30px;

  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(25px) saturate(200%);
  -webkit-backdrop-filter: blur(25px) saturate(200%);
  border-radius: 25px;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}
.mobile h2 {font-size:18px; margin-bottom:15px;}
.mobile button {padding:10px; font-size:14px; margin:6px 0;}
.mobile p {font-size:11px;}
.mobile .icon {width:18px; height:18px;}

/* فوتر */
footer {
  width: 90%;
  max-width: 640px;
  background: rgba(0 0 0 / 0.14);
  border-radius: 10px;
  padding: 0.75rem 0.9rem;
  text-align: center;
  color: rgba(255 255 255 / 0.78);
  font-size: 0.9rem;
  border: 1px solid rgba(255 255 255 / 0.12);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* responsive */
@media (max-width:720px){
  .name-row{ flex-direction:column; gap:0.6rem; }
  main{ padding:0.9rem 1rem; }
  .info-box, footer{ width:100%; max-width:760px; }
  button[type="submit"]{ width:100%; min-width:unset; }
}

@media (max-width:420px){
  .info-box{ padding:0.6rem 0.7rem; font-size:0.95rem; }
  main{ padding:0.7rem 0.8rem; }
  h1{ font-size:1.45rem; }
  input, textarea{ padding:0.6rem 0.7rem; font-size:0.95rem; }
  footer{ padding:0.6rem 0.7rem; font-size:0.85rem; }
}
