/* =====================================================================
   GIRIS EKRANI (gr-*): tam ekran, aurora arka plan, cam kart, ekolayzer cubuklari
   ===================================================================== */
.gr-sayfa {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  color: var(--ip-yazi);
  background: #09060f;
  isolation: isolate;
}
.gr-arka {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(ellipse 90% 60% at 50% 0%, rgba(124, 58, 237, 0.22), transparent 60%),
    radial-gradient(ellipse 70% 50% at 50% 110%, rgba(99, 102, 241, 0.2), transparent 60%),
    #09060f;
}
.gr-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  will-change: transform;
}
.gr-orb--1 {
  width: 520px;
  height: 520px;
  left: -140px;
  top: -120px;
  background: #7c3aed;
  animation: gr-suzul-1 22s ease-in-out infinite alternate;
}
.gr-orb--2 {
  width: 460px;
  height: 460px;
  right: -120px;
  top: 18%;
  background: #4f46e5;
  animation: gr-suzul-2 26s ease-in-out infinite alternate;
}
.gr-orb--3 {
  width: 420px;
  height: 420px;
  left: 28%;
  bottom: -160px;
  background: #c026d3;
  opacity: 0.38;
  animation: gr-suzul-3 30s ease-in-out infinite alternate;
}
@keyframes gr-suzul-1 {
  to { transform: translate(120px, 90px) scale(1.15); }
}
@keyframes gr-suzul-2 {
  to { transform: translate(-110px, 70px) scale(1.1); }
}
@keyframes gr-suzul-3 {
  to { transform: translate(90px, -80px) scale(1.2); }
}
.gr-izgara {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1px);
  background-size: 30px 30px;
  -webkit-mask-image: radial-gradient(circle at 50% 45%, #000 15%, transparent 72%);
  mask-image: radial-gradient(circle at 50% 45%, #000 15%, transparent 72%);
}

.gr-orta {
  flex: 1;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 16px 150px;
  gap: 14px;
}
.gr-uyari {
  max-width: 440px;
  margin: 0;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(251, 191, 36, 0.4);
  background: rgba(251, 191, 36, 0.1);
  color: #fde68a;
  font-size: 14px;
  text-align: center;
}
.gr-kart {
  position: relative;
  width: 100%;
  max-width: 440px;
  padding: 38px 30px 28px;
  text-align: center;
  border-radius: 26px;
  border: 1px solid transparent;
  background:
    linear-gradient(rgba(21, 14, 38, 0.72), rgba(21, 14, 38, 0.72)) padding-box,
    linear-gradient(140deg, rgba(167, 139, 250, 0.75), rgba(99, 102, 241, 0.2) 45%, rgba(217, 70, 239, 0.55)) border-box;
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  backdrop-filter: blur(22px) saturate(140%);
  box-shadow: 0 30px 80px -20px rgba(76, 29, 149, 0.65), 0 0 0 1px rgba(255, 255, 255, 0.02) inset;
  animation: gr-gel 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
@keyframes gr-gel {
  from { opacity: 0; transform: translateY(18px) scale(0.98); }
  to { opacity: 1; transform: none; }
}
.gr-logo {
  position: relative;
  width: 92px;
  height: 92px;
  margin: 0 auto 18px;
}
.gr-logo::before {
  content: '';
  position: absolute;
  inset: -7px;
  border-radius: 30px;
  background: conic-gradient(from 0deg, #8b5cf6, #6366f1, #d946ef, #8b5cf6);
  filter: blur(9px);
  opacity: 0.7;
  animation: gr-don 8s linear infinite;
}
.gr-logo img {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 24px;
  object-fit: cover;
  display: block;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}
@keyframes gr-don {
  to { transform: rotate(360deg); }
}
.gr-canli {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  margin-bottom: 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: #c4b5fd;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
}
.gr-canli i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
  animation: gr-nabiz 1.8s ease-out infinite;
}
@keyframes gr-nabiz {
  70% { box-shadow: 0 0 0 9px rgba(239, 68, 68, 0); }
  100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}
.gr-kart h1 {
  margin: 0 0 8px;
  font-size: 34px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(180deg, #ffffff, #c4b5fd);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.gr-alt-baslik {
  margin: 0 0 18px;
  color: var(--ip-soluk);
  font-size: 15px;
  line-height: 1.5;
}
.gr-ozellik {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
}
.gr-ozellik li {
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid rgba(139, 92, 246, 0.3);
  background: rgba(139, 92, 246, 0.1);
  color: #ddd6fe;
  font-size: 12px;
  font-weight: 600;
}
.gr-google {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 15px 22px;
  border: 0;
  border-radius: 15px;
  background: #fff;
  color: #1f1f2e;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 10px 30px -8px rgba(139, 92, 246, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.6) inset;
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}
.gr-google:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 16px 38px -8px rgba(139, 92, 246, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.6) inset;
}
.gr-google:active:not(:disabled) {
  transform: translateY(0);
}
.gr-google:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  box-shadow: none;
}
.gr-google:focus-visible,
.gr-onay input:focus-visible {
  outline: 3px solid rgba(167, 139, 250, 0.75);
  outline-offset: 3px;
}
.gr-onay {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
  margin: 18px 0 0;
  color: var(--ip-soluk);
  font-size: 13px;
  line-height: 1.45;
  text-align: left;
  cursor: pointer;
}
.gr-onay input {
  appearance: none;
  -webkit-appearance: none;
  flex: none;
  width: 19px;
  height: 19px;
  margin: 1px 0 0;
  border-radius: 6px;
  border: 1.5px solid #7a68a8;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  display: grid;
  place-content: center;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.gr-onay input::after {
  content: '';
  width: 5px;
  height: 9px;
  margin-top: -2px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0);
  transition: transform 0.12s ease;
}
.gr-onay input:checked {
  background: linear-gradient(135deg, #7c3aed, #6366f1);
  border-color: transparent;
}
.gr-onay input:checked::after {
  transform: rotate(45deg) scale(1);
}
.gr-onay-not {
  margin: 18px 0 0;
  font-size: 13px;
}

/* Alt kisimda muzik ekolayzer cubuklari */
.gr-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 130px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 6px;
  padding: 0 12px;
  pointer-events: none;
  opacity: 0.55;
  -webkit-mask-image: linear-gradient(to top, #000 10%, transparent 100%);
  mask-image: linear-gradient(to top, #000 10%, transparent 100%);
}
.gr-bar span {
  flex: 1;
  max-width: 18px;
  height: 100%;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(to top, #8b5cf6, rgba(99, 102, 241, 0.15));
  transform-origin: bottom;
  transform: scaleY(var(--h, 0.5));
  animation: gr-cubuk 1.6s ease-in-out infinite alternate;
  animation-delay: calc(var(--i) * -0.17s);
}
@keyframes gr-cubuk {
  0% { transform: scaleY(calc(var(--h, 0.5) * 0.35)); }
  100% { transform: scaleY(var(--h, 0.5)); }
}
.gr-alt {
  position: relative;
  padding: 0 0 16px;
  color: rgba(169, 156, 201, 0.7);
  font-size: 12px;
  letter-spacing: 0.04em;
}

@media (max-width: 520px) {
  .gr-orta { padding: 20px 14px 130px; }
  .gr-kart { padding: 30px 20px 22px; border-radius: 22px; }
  .gr-kart h1 { font-size: 29px; }
  .gr-logo { width: 80px; height: 80px; }
  .gr-bar { height: 96px; gap: 4px; }
  .gr-bar span:nth-child(n + 21) { display: none; }
  .gr-orb { filter: blur(70px); }
  .gr-orb--1 { width: 360px; height: 360px; }
  .gr-orb--2 { width: 320px; height: 320px; }
  .gr-orb--3 { width: 300px; height: 300px; }
}
@media (prefers-reduced-motion: reduce) {
  .gr-orb, .gr-logo::before, .gr-canli i, .gr-bar span, .gr-kart { animation: none !important; }
}
