/* Barboon by Atlas — Memnuniyet Anketi */

:root {
  --bg-deep: #060a10;
  --bg-panel: rgba(16, 26, 38, 0.82);
  --bg-panel-solid: #101a26;
  --border: rgba(201, 162, 39, 0.2);
  --gold: #d4af37;
  --gold-dim: rgba(212, 175, 55, 0.5);
  --teal: #4fd1c5;
  --text: #f0f4f8;
  --text-muted: rgba(240, 244, 248, 0.62);
  --danger: #f07178;
  --radius: 16px;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Outfit", system-ui, sans-serif;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.5);
  --tur-accent: var(--gold);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* Tema geçişi: View Transitions API ile kök çapraz geçişi (~0.75s) */
@supports (view-transition-name: none) {
  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation-duration: 0.75s;
    animation-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  }
}

@media (prefers-reduced-motion: reduce) {
  @supports (view-transition-name: none) {
    ::view-transition-old(root),
    ::view-transition-new(root) {
      animation-duration: 0.01ms !important;
    }
  }
}

body {
  position: relative;
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--text);
  background-color: var(--bg-deep);
  color-scheme: dark;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background-color: #05080e;
  background-image: url("../img/arkaplan.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(4, 8, 14, 0.82) 0%, rgba(6, 12, 20, 0.55) 35%, rgba(4, 8, 14, 0.78) 70%, rgba(3, 6, 10, 0.92) 100%),
    radial-gradient(ellipse 100% 60% at 50% 0%, rgba(62, 207, 185, 0.09), transparent 55%),
    radial-gradient(ellipse 80% 50% at 100% 100%, rgba(212, 175, 55, 0.06), transparent 50%);
}

@media (max-width: 900px) {
  body::before {
    background-attachment: scroll;
  }
}

.bg-noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  z-index: 0;
  transition: opacity 1s ease;
}

.site-header {
  position: relative;
  z-index: 1;
  padding: 3rem 1.25rem 2.25rem;
  text-align: center;
  border-bottom: 1px solid rgba(212, 175, 55, 0.18);
  background: linear-gradient(180deg, rgba(8, 14, 22, 0.92) 0%, rgba(8, 16, 26, 0.45) 55%, transparent 100%);
  backdrop-filter: blur(10px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.25);
}

.header-logo-row {
  margin-bottom: 1.25rem;
  display: flex;
  justify-content: center;
}

.atlas-logo {
  display: block;
  height: auto;
  object-fit: contain;
  border-radius: 14px;
  background: radial-gradient(ellipse at 50% 30%, rgba(255, 255, 255, 0.06), transparent 55%);
  box-shadow:
    0 0 0 2px rgba(212, 175, 55, 0.22),
    0 0 40px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  filter: saturate(1.05) contrast(1.03);
  transition: box-shadow 0.25s, transform 0.2s;
}

.header-logo-row .atlas-logo--hero:hover,
.credits-modal .atlas-logo--modal:hover {
  box-shadow:
    0 0 0 2px rgba(79, 209, 197, 0.35),
    0 12px 48px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.atlas-logo--hero {
  max-width: min(220px, 48vw);
  max-height: 130px;
  width: auto;
}

.atlas-logo--form {
  max-width: 100px;
  max-height: 64px;
  margin-bottom: 0.65rem;
}

.form-page-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 0.5rem;
}

[dir="rtl"] .form-page-brand {
  align-items: flex-end;
}

.atlas-logo--thanks {
  max-width: 88px;
  max-height: 56px;
  margin: 0 auto 1rem;
}

.atlas-logo--footer {
  max-width: 56px;
  max-height: 40px;
  margin: 0 auto 0.65rem;
}

.footer-brand-lockup {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

.atlas-logo--menu {
  max-width: 72px;
  max-height: 48px;
}

.site-menu__logo-wrap {
  display: flex;
  justify-content: center;
  padding: 0.35rem 0 0.5rem;
}

.atlas-logo--modal {
  max-width: 96px;
  max-height: 64px;
  margin: 0 auto 0.75rem;
  border-radius: 10px;
}

.header-inner {
  max-width: 720px;
  margin: 0 auto;
}

.tagline {
  margin: 0 0 0.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold-dim);
  font-weight: 500;
}

.logo {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.25rem, 6vw, 3.25rem);
  letter-spacing: 0.02em;
  color: var(--text);
}

.logo-by {
  font-weight: 500;
  font-style: italic;
  color: var(--teal);
}

.subtitle {
  margin: 1rem 0 0;
  font-size: 1.05rem;
  color: var(--text-muted);
  font-weight: 300;
  max-width: 34em;
  margin-left: auto;
  margin-right: auto;
}

.main-wrap {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
  padding: 2rem 1.25rem 4rem;
}

.alert {
  padding: 1rem 1.15rem;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  border: 1px solid;
}

.alert-error {
  background: rgba(240, 113, 120, 0.12);
  border-color: rgba(240, 113, 120, 0.45);
  color: #ffc9c9;
}

.survey-form {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.panel {
  padding: 1.5rem 1.35rem;
  border-radius: var(--radius);
  background: var(--bg-panel);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.panel-title {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--text);
}

.optional {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-muted);
}

.panel-hint {
  margin: 0 0 1.1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.field-label {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold-dim);
}

.field--topic {
  gap: 0.55rem;
}

/* Konu: premium native select — gradient çerçeve, özel ok, tur rengine uyum */
.select-wrap {
  position: relative;
  display: block;
  width: 100%;
  border-radius: 14px;
  padding: 1px;
  background: linear-gradient(
    145deg,
    rgba(212, 175, 55, 0.45) 0%,
    rgba(62, 207, 185, 0.18) 45%,
    rgba(212, 175, 55, 0.22) 100%
  );
  box-shadow:
    0 2px 0 rgba(255, 255, 255, 0.04) inset,
    0 12px 40px rgba(0, 0, 0, 0.28);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.page-anket.tur-sikayet .select-wrap {
  background: linear-gradient(
    145deg,
    rgba(232, 165, 152, 0.5) 0%,
    rgba(62, 207, 185, 0.12) 50%,
    rgba(200, 120, 100, 0.2) 100%
  );
}

.page-anket.tur-oneri .select-wrap {
  background: linear-gradient(
    145deg,
    rgba(79, 209, 197, 0.42) 0%,
    rgba(212, 175, 55, 0.15) 50%,
    rgba(45, 181, 168, 0.28) 100%
  );
}

.select-wrap:focus-within {
  box-shadow:
    0 0 0 2px rgba(62, 207, 185, 0.35),
    0 14px 44px rgba(0, 0, 0, 0.32);
}

.page-anket.tur-memnuniyet .select-wrap:focus-within {
  box-shadow:
    0 0 0 2px rgba(212, 175, 55, 0.4),
    0 14px 44px rgba(0, 0, 0, 0.32);
}

.page-anket.tur-sikayet .select-wrap:focus-within {
  box-shadow:
    0 0 0 2px rgba(232, 165, 152, 0.45),
    0 14px 44px rgba(0, 0, 0, 0.32);
}

.page-anket.tur-oneri .select-wrap:focus-within {
  box-shadow:
    0 0 0 2px rgba(79, 209, 197, 0.45),
    0 14px 44px rgba(0, 0, 0, 0.32);
}

.select-wrap .select-native {
  width: 100%;
  margin: 0;
  padding: 0.9rem 2.85rem 0.9rem 1.1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.35;
  color: var(--text);
  background: linear-gradient(180deg, rgba(16, 26, 38, 0.98) 0%, rgba(8, 14, 22, 0.97) 100%);
  border: none;
  border-radius: 13px;
  outline: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  min-height: 52px;
  transition: color 0.15s ease;
}

.select-wrap.has-value .select-native {
  color: var(--text);
}

.select-wrap .select-native option {
  color: #0c1018;
  background: #e8eef4;
}

.select-wrap__chevron {
  position: absolute;
  right: 1.1rem;
  top: 50%;
  width: 0.5rem;
  height: 0.5rem;
  margin-top: -0.2rem;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: rotate(45deg);
  pointer-events: none;
  opacity: 0.75;
  transition: opacity 0.2s, border-color 0.2s;
}

.select-wrap:focus-within .select-wrap__chevron {
  opacity: 1;
  border-color: var(--teal);
}

[dir="rtl"] .select-wrap__chevron {
  right: auto;
  left: 1.1rem;
  transform: rotate(-135deg);
}

select:not(.select-native),
input[type="text"],
input[type="tel"],
input[type="email"],
input[type="date"],
textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  background: rgba(7, 13, 20, 0.75);
  border: 1px solid rgba(201, 162, 39, 0.25);
  border-radius: 10px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

select:not(.select-native):focus,
input:focus,
textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(62, 207, 185, 0.2);
}

textarea {
  resize: vertical;
  min-height: 140px;
}

.char-count {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: right;
}

.form-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 560px) {
  .form-grid {
    grid-template-columns: 1fr 1fr;
  }
  .field-span2 {
    grid-column: span 2;
  }
}

.stars-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
}

.stars {
  display: flex;
  gap: 0.2rem;
}

.star-btn {
  background: none;
  border: none;
  padding: 0.15rem 0.25rem;
  font-size: 1.75rem;
  line-height: 1;
  color: rgba(201, 162, 39, 0.28);
  cursor: pointer;
  transition: color 0.15s, transform 0.1s;
}

.star-btn:hover {
  color: var(--gold-dim);
  transform: scale(1.08);
}

.star-btn.is-on {
  color: var(--gold);
  text-shadow: 0 0 20px rgba(201, 162, 39, 0.45);
}

.star-clear {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--teal);
  background: transparent;
  border: 1px solid rgba(62, 207, 185, 0.35);
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.star-clear:hover {
  background: rgba(62, 207, 185, 0.12);
  border-color: var(--teal);
}

.file-drop {
  display: block;
  padding: 1.5rem;
  border: 1px dashed rgba(201, 162, 39, 0.4);
  border-radius: 10px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.file-drop:hover,
.file-drop:focus-within {
  border-color: var(--teal);
  background: rgba(62, 207, 185, 0.06);
}

.file-drop input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.file-drop-text {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.form-actions {
  text-align: center;
  padding-top: 0.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2.25rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
}

.btn-primary {
  color: #071018;
  background: linear-gradient(135deg, #d4b84a 0%, var(--gold) 50%, #a67c1a 100%);
  box-shadow: 0 8px 32px rgba(201, 162, 39, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(201, 162, 39, 0.45);
}

.privacy {
  margin: 1.25rem auto 0;
  max-width: 36em;
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.site-footer {
  position: relative;
  z-index: 1;
  padding: 2.75rem 1.25rem 3rem;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  text-align: center;
  background: linear-gradient(0deg, rgba(3, 6, 10, 0.97) 0%, rgba(6, 12, 20, 0.88) 45%, rgba(8, 14, 22, 0.65) 100%);
  backdrop-filter: blur(12px);
  box-shadow: 0 -16px 48px rgba(0, 0, 0, 0.35);
}

.footer-inner {
  max-width: 560px;
  margin: 0 auto;
}

.footer-brand {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--text);
}

.footer-brand .by {
  font-style: italic;
  color: var(--teal);
}


/* Teşekkür sayfası */
body.page-thanks {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.thanks-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.25rem;
  position: relative;
  z-index: 1;
}

.thanks-card {
  max-width: 420px;
  padding: 2.5rem 2rem;
  text-align: center;
  border-radius: var(--radius);
  background: var(--bg-panel);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.thanks-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  line-height: 56px;
  font-size: 1.5rem;
  border-radius: 50%;
  background: rgba(62, 207, 185, 0.2);
  color: var(--teal);
  font-weight: 700;
}

.thanks-title {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
}

.thanks-text {
  margin: 0 0 1.75rem;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.thanks-redirect-box {
  margin: 0 0 1.2rem;
  padding: 0.95rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(212, 175, 55, 0.32);
  background: linear-gradient(155deg, rgba(18, 27, 41, 0.72), rgba(8, 13, 22, 0.84));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.thanks-redirect-text {
  margin: 0 0 0.75rem;
  color: rgba(234, 240, 249, 0.9);
  font-size: 0.94rem;
  line-height: 1.45;
}

.thanks-actions {
  display: flex;
  justify-content: center;
}

.thanks-redirect-btn {
  min-width: 10.5rem;
}

body.page-thanks .site-footer {
  margin-top: auto;
}

.panel-hint__sub {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.88em;
  opacity: 0.88;
}

body.lang-ar {
  font-family: "Noto Sans Arabic", "Outfit", system-ui, sans-serif;
}

body.lang-ar .logo,
body.lang-ar .footer-brand,
body.lang-ar .thanks-title,
body.lang-ar .site-menu__title {
  font-family: "Noto Sans Arabic", "Cormorant Garamond", Georgia, serif;
}

/* ——— Tek menü butonu + dil / yapımcı paneli ——— */
.site-dock {
  position: fixed;
  z-index: 100;
  right: max(0.65rem, env(safe-area-inset-right));
  bottom: max(0.75rem, env(safe-area-inset-bottom));
  pointer-events: none;
}

.site-dock > * {
  pointer-events: auto;
}

.site-menu-fab {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.45);
  background: linear-gradient(155deg, #1a2838, #0c1018);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s, border-color 0.2s, box-shadow 0.2s;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.site-menu-fab:hover {
  border-color: rgba(79, 209, 197, 0.55);
  transform: scale(1.04);
}

.site-menu-fab[aria-expanded="true"] {
  border-color: var(--teal);
  box-shadow: 0 0 0 2px rgba(79, 209, 197, 0.25);
}

.site-menu-fab__lines {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gold);
  border-radius: 1px;
  box-shadow: 0 -7px 0 var(--gold), 0 7px 0 var(--gold);
}

.site-menu {
  position: fixed;
  inset: 0;
  z-index: 150;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
}

.site-menu[hidden] {
  display: none;
}

.site-menu__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 8, 12, 0.65);
  backdrop-filter: blur(6px);
}

.site-menu__sheet {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 480px;
  max-height: min(88vh, 100dvh);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 20px 20px 0 0;
  background: linear-gradient(180deg, #162433 0%, #0a1018 100%);
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-bottom: none;
  padding: 0 0 max(1rem, env(safe-area-inset-bottom));
  box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.45);
  animation: site-menu-in 0.28s ease-out;
}

@keyframes site-menu-in {
  from {
    transform: translateY(100%);
    opacity: 0.9;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-menu__sheet {
    animation: none;
  }
}

.site-menu__grab {
  width: 40px;
  height: 4px;
  margin: 0.6rem auto 0.5rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.15);
}

.site-menu__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 1.1rem 0.75rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.12);
}

.site-menu__title {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.site-menu__close {
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  flex-shrink: 0;
}

.site-menu__close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
}

.site-menu__label {
  margin: 1rem 1.1rem 0.5rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dim);
}

.site-menu__list {
  list-style: none;
  margin: 0;
  padding: 0 0.65rem;
}

.site-menu__list li {
  margin: 0;
}

.site-menu__opt {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.95rem 1rem;
  margin-bottom: 0.35rem;
  border-radius: 12px;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 1rem;
  border: 1px solid transparent;
  background: rgba(0, 0, 0, 0.2);
  transition: border-color 0.2s, background 0.2s;
  touch-action: manipulation;
}

.site-menu__opt:hover {
  border-color: rgba(212, 175, 55, 0.35);
  background: rgba(255, 255, 255, 0.04);
}

.site-menu__opt.is-on {
  border-color: var(--gold);
  background: rgba(212, 175, 55, 0.08);
  box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.2);
}

.site-menu__flag {
  font-size: 1.35rem;
  line-height: 1;
}

.site-menu__divider {
  height: 1px;
  margin: 0.85rem 1.1rem;
  background: rgba(212, 175, 55, 0.12);
}

.site-menu__credits {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: calc(100% - 2.2rem);
  margin: 0.25rem 1.1rem 0.75rem;
  padding: 0.95rem 1rem;
  min-height: 52px;
  border-radius: 12px;
  border: 1px solid rgba(79, 209, 197, 0.35);
  background: rgba(79, 209, 197, 0.08);
  color: var(--teal);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  touch-action: manipulation;
}

.site-menu__credits:hover {
  background: rgba(79, 209, 197, 0.14);
  border-color: rgba(79, 209, 197, 0.55);
}

.site-menu__credits-ico {
  font-size: 1rem;
  opacity: 0.9;
}

@media (min-width: 560px) {
  .site-menu {
    align-items: center;
    padding: 1.25rem;
  }

  .site-menu__sheet {
    border-radius: 18px;
    border: 1px solid rgba(212, 175, 55, 0.25);
    max-height: min(90vh, 640px);
  }

  .site-menu__grab {
    display: none;
  }
}

.credits-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.credits-modal[hidden] {
  display: none;
}

.credits-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 8, 12, 0.72);
  backdrop-filter: blur(8px);
}

.credits-modal__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 600px;
  padding: 2.35rem 2.25rem 2rem;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(212, 175, 55, 0.09), transparent 48%, rgba(79, 209, 197, 0.07)),
    linear-gradient(165deg, rgba(26, 42, 58, 0.99), rgba(8, 14, 22, 0.99));
  border: 1px solid rgba(212, 175, 55, 0.38);
  box-shadow:
    0 48px 120px rgba(0, 0, 0, 0.58),
    0 0 0 1px rgba(255, 255, 255, 0.04) inset,
    0 1px 0 rgba(255, 255, 255, 0.08) inset;
  text-align: center;
}

.credits-modal__shine {
  position: absolute;
  top: -40%;
  left: 50%;
  width: 120%;
  height: 70%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(212, 175, 55, 0.18), transparent 65%);
  pointer-events: none;
}

.credits-modal__x {
  position: absolute;
  top: 0.65rem;
  right: 0.75rem;
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.credits-modal__x:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--text);
}

.credits-modal__eyebrow {
  position: relative;
  margin: 0 0 0.55rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal);
}

.credits-modal__name {
  position: relative;
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 4vw, 2.2rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.15;
}

.credits-modal__role {
  position: relative;
  margin: 0 0 1rem;
  font-size: 0.88rem;
  color: var(--gold);
  font-weight: 500;
}

.credits-modal__blurb {
  position: relative;
  margin: 0 auto 1.35rem;
  max-width: 38rem;
  font-size: 0.98rem;
  line-height: 1.62;
  color: var(--text-muted);
}

.credits-modal__langbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  margin: 0 auto 1.4rem;
  padding: 0.5rem 0.65rem;
  max-width: 22rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(212, 175, 55, 0.2);
  direction: ltr;
}

.credits-modal__lang {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.65rem;
  padding: 0.38rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  color: rgba(240, 244, 248, 0.75);
  border-radius: 999px;
  border: 1px solid transparent;
  transition:
    color 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.credits-modal__lang:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
}

.credits-modal__lang.is-active {
  color: #1a1408;
  background: linear-gradient(135deg, #f0e6b4, #d4af37 55%, #b8922a);
  border-color: rgba(212, 175, 55, 0.65);
  box-shadow: 0 4px 18px rgba(212, 175, 55, 0.28);
}

.credits-modal__subhead {
  margin: 0 0 0.5rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-dim);
}

.credits-modal__stack {
  position: relative;
  margin: 0 0 1.25rem;
  text-align: center;
}

.credits-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 0.55rem;
  justify-content: center;
  align-items: center;
  direction: ltr;
}

@keyframes credits-badge-float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  33% {
    transform: translateY(-4px) rotate(-8deg);
  }
  66% {
    transform: translateY(-2px) rotate(8deg);
  }
}

@keyframes credits-badge-shimmer {
  0% {
    transform: translateX(-100%) skewX(-14deg);
    opacity: 0;
  }
  18% {
    opacity: 1;
  }
  100% {
    transform: translateX(320%) skewX(-14deg);
    opacity: 0;
  }
}

.credits-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  padding: 0.42rem 0.75rem 0.42rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text);
  background: rgba(0, 0, 0, 0.42);
  border: 1px solid rgba(212, 175, 55, 0.32);
  border-radius: 999px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
  cursor: default;
  isolation: isolate;
  transition:
    transform 0.45s cubic-bezier(0.33, 1.4, 0.48, 1),
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    background 0.35s ease;
}

.credits-badge::before {
  content: "";
  position: absolute;
  top: -10%;
  left: 0;
  width: 55%;
  height: 120%;
  background: linear-gradient(
    100deg,
    transparent 0%,
    rgba(255, 255, 255, 0.06) 35%,
    rgba(255, 255, 255, 0.28) 50%,
    rgba(255, 255, 255, 0.06) 65%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 2;
  opacity: 0;
}

.credits-badge::after {
  content: "";
  position: absolute;
  inset: -50%;
  background: radial-gradient(circle at 50% 50%, rgba(79, 209, 197, 0.22), transparent 55%);
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.35s ease, transform 0.45s cubic-bezier(0.33, 1.4, 0.48, 1);
  pointer-events: none;
  z-index: 0;
}

.credits-badge__logo {
  position: relative;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.4));
  transition: transform 0.35s cubic-bezier(0.33, 1.4, 0.48, 1);
}

.credits-badge__logo img {
  display: block;
  width: 1.48rem;
  height: 1.48rem;
  object-fit: contain;
}

.credits-badge__label {
  position: relative;
  z-index: 3;
}

.credits-badge:hover,
.credits-badge:focus-visible {
  transform: translateY(-4px) scale(1.05);
  border-color: rgba(212, 175, 55, 0.55);
  box-shadow:
    0 12px 28px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 0 0 1px rgba(79, 209, 197, 0.15);
}

.credits-badge:hover::after,
.credits-badge:focus-visible::after {
  opacity: 1;
  transform: scale(1);
}

.credits-badge:hover .credits-badge__logo,
.credits-badge:focus-visible .credits-badge__logo {
  animation: credits-badge-float 0.7s ease-in-out;
}

.credits-badge:hover::before,
.credits-badge:focus-visible::before {
  opacity: 1;
  animation: credits-badge-shimmer 0.8s ease-out forwards;
}

.credits-badge--php:hover,
.credits-badge--php:focus-visible {
  background: linear-gradient(135deg, rgba(119, 123, 180, 0.35), rgba(0, 0, 0, 0.45));
  border-color: rgba(138, 143, 200, 0.55);
}

.credits-badge--sql:hover,
.credits-badge--sql:focus-visible {
  background: linear-gradient(135deg, rgba(0, 115, 150, 0.35), rgba(0, 0, 0, 0.45));
  border-color: rgba(79, 180, 209, 0.5);
}

.credits-badge--html:hover,
.credits-badge--html:focus-visible {
  background: linear-gradient(135deg, rgba(227, 79, 38, 0.28), rgba(0, 0, 0, 0.45));
  border-color: rgba(241, 101, 41, 0.45);
}

.credits-badge--css:hover,
.credits-badge--css:focus-visible {
  background: linear-gradient(135deg, rgba(38, 77, 228, 0.32), rgba(0, 0, 0, 0.45));
  border-color: rgba(100, 140, 255, 0.5);
}

.credits-badge--js:hover,
.credits-badge--js:focus-visible {
  background: linear-gradient(135deg, rgba(240, 219, 79, 0.22), rgba(0, 0, 0, 0.45));
  border-color: rgba(247, 223, 108, 0.55);
}

@media (prefers-reduced-motion: reduce) {
  .credits-badge,
  .credits-badge::before,
  .credits-badge::after,
  .credits-badge__logo {
    transition: none !important;
    animation: none !important;
  }

  .credits-badge:hover,
  .credits-badge:focus-visible {
    transform: none;
  }
}

.credits-modal__contact {
  position: relative;
  margin: 0 0 1.25rem;
  text-align: center;
}

.credits-modal__mail {
  display: inline-block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--teal);
  text-decoration: none;
  word-break: break-all;
  padding: 0.45rem 0.85rem;
  border-radius: 10px;
  border: 1px solid rgba(79, 209, 197, 0.35);
  background: rgba(79, 209, 197, 0.08);
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.credits-modal__mail:hover {
  background: rgba(79, 209, 197, 0.16);
  border-color: rgba(79, 209, 197, 0.55);
  color: #9cf0e8;
}

.credits-modal__brand {
  position: relative;
  margin-bottom: 1.25rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--text);
}

.credits-modal__brand em {
  font-style: italic;
  color: var(--teal);
}

.credits-modal__ok {
  position: relative;
  width: 100%;
  max-width: 240px;
}

.footer-line {
  margin: 0;
  font-size: 0.8rem;
  color: rgba(232, 238, 244, 0.45);
}

[dir="rtl"] .site-dock {
  right: auto;
  left: max(0.65rem, env(safe-area-inset-left));
}

[dir="rtl"] .site-menu__opt {
  flex-direction: row-reverse;
  text-align: right;
}

[dir="rtl"] .credits-modal__x {
  right: auto;
  left: 0.75rem;
}

[dir="rtl"] .credits-modal__panel {
  text-align: center;
}

[dir="rtl"] .credits-modal__blurb {
  text-align: center;
}

[dir="rtl"] .back-link,
[dir="rtl"] .form-page-header__inner,
[dir="rtl"] .form-hero {
  text-align: right;
}

/* ——— Ana sayfa: tür seçimi ——— */
body.page-home .site-header--home {
  padding-bottom: 2.5rem;
}

.main-wrap--home {
  max-width: 920px;
  padding-top: 1rem;
}

.landing-panel {
  padding: 1.75rem 1.5rem 2rem;
  border-radius: var(--radius);
  background: linear-gradient(165deg, rgba(22, 34, 48, 0.88) 0%, rgba(12, 20, 30, 0.92) 100%);
  border: 1px solid rgba(212, 175, 55, 0.22);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(14px);
}

.landing-title {
  margin: 0 0 0.5rem;
  font-family: var(--font-body);
  font-size: clamp(1.2rem, 3vw, 1.45rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.landing-hint {
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
  max-width: 40em;
}

.pick-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .pick-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pick-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.25rem 1.15rem;
  min-height: 100%;
  text-decoration: none;
  color: inherit;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.04) 0%, rgba(0, 0, 0, 0.2) 100%);
  transition: border-color 0.25s, transform 0.2s, box-shadow 0.25s;
}

.pick-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(212, 175, 55, 0.25);
}

.pick-card:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

.pick-card__icon {
  font-size: 0.75rem;
  color: var(--gold-dim);
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}

.pick-card__title {
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
  color: var(--text);
}

.pick-card__desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
  flex: 1;
}

.pick-card__cta {
  margin-top: 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold);
}

.pick-card--sikayet:hover {
  border-color: rgba(232, 165, 152, 0.85);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(232, 165, 152, 0.2);
}

.pick-card--sikayet .pick-card__cta {
  color: #e8a598;
}

.pick-card--oneri:hover {
  border-color: rgba(79, 209, 197, 0.75);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(79, 209, 197, 0.2);
}

.pick-card--oneri .pick-card__cta {
  color: var(--teal);
}

/* ——— Form sayfası ——— */
body.page-anket.tur-memnuniyet {
  --tur-accent: #d4af37;
}

body.page-anket.tur-sikayet {
  --tur-accent: #e8a598;
}

body.page-anket.tur-oneri {
  --tur-accent: #4fd1c5;
}

.form-page-header {
  position: relative;
  z-index: 1;
  padding: 1.5rem 1.25rem 2rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.18);
  background: linear-gradient(180deg, rgba(10, 18, 28, 0.94) 0%, rgba(8, 14, 22, 0.55) 100%);
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
}

.form-page-header__inner {
  max-width: 680px;
  margin: 0 auto;
}

.back-link {
  display: inline-block;
  margin-bottom: 1.25rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.back-link:hover {
  color: var(--tur-accent);
}

.form-page-header .tagline {
  text-align: left;
  margin-bottom: 1rem;
  letter-spacing: 0.2em;
}

.form-hero {
  text-align: left;
}

.tur-badge {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 999px;
}

body.page-anket.tur-memnuniyet .tur-badge {
  color: #0a0f14;
  background: linear-gradient(135deg, #e8d48b, #c9a227);
}

body.page-anket.tur-sikayet .tur-badge {
  color: #1c1210;
  background: linear-gradient(135deg, #f5cbbf, #d49182);
}

body.page-anket.tur-oneri .tur-badge {
  color: #051816;
  background: linear-gradient(135deg, #9cf0e8, #3ebdaa);
}

.form-hero__title {
  margin: 0 0 0.5rem;
  font-family: var(--font-body);
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
}

.form-hero__lead {
  margin: 0;
  font-size: 1.02rem;
  color: var(--text-muted);
  font-weight: 400;
  line-height: 1.5;
  max-width: 36em;
}

.main-wrap--form {
  max-width: 640px;
  padding-top: 1.75rem;
}

.page-anket .panel-title {
  font-family: var(--font-body);
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.page-anket.tur-memnuniyet .btn-primary {
  background: linear-gradient(135deg, #f0e6b4, #d4af37 45%, #9a7a22);
  box-shadow: 0 10px 36px rgba(212, 175, 55, 0.4);
  color: #1a1408;
}

.page-anket.tur-sikayet .btn-primary {
  background: linear-gradient(135deg, #f0b8a8, #c97d6a 50%, #8f5348);
  box-shadow: 0 10px 36px rgba(200, 120, 100, 0.35);
  color: #1a0f0d;
}

.page-anket.tur-oneri .btn-primary {
  background: linear-gradient(135deg, #7ee8dc, #2db5a8 50%, #1a7a72);
  box-shadow: 0 10px 36px rgba(45, 181, 168, 0.35);
  color: #051a18;
}

/* ——— Mobil: dokunma, güvenli alan, iOS, senkron düzen ——— */
:root {
  --dock-mobile-h: 0px;
}

@media (max-width: 720px) {
  :root {
    --dock-mobile-h: calc(3.75rem + env(safe-area-inset-bottom, 0px));
  }

  .main-wrap,
  .main-wrap--home,
  .main-wrap--form {
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
    padding-bottom: calc(2rem + var(--dock-mobile-h));
  }

  .site-header,
  .site-header--home,
  .form-page-header {
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
    padding-top: max(1.5rem, env(safe-area-inset-top));
  }

  .site-footer {
    padding-left: max(1.25rem, env(safe-area-inset-left));
    padding-right: max(1.25rem, env(safe-area-inset-right));
    padding-bottom: max(2rem, calc(1.5rem + env(safe-area-inset-bottom)));
  }

  .thanks-main {
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
    padding-bottom: calc(3rem + var(--dock-mobile-h));
  }

  .pick-card {
    min-height: 8.75rem;
    padding: 1.35rem 1.2rem;
    -webkit-tap-highlight-color: rgba(212, 175, 55, 0.15);
  }

  .pick-grid {
    gap: 0.85rem;
  }

  .panel {
    padding: 1.35rem 1.1rem;
  }

  .back-link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0;
    -webkit-tap-highlight-color: transparent;
  }

  input[type="text"],
  input[type="tel"],
  input[type="email"],
  input[type="date"],
  select:not(.select-native),
  .select-wrap .select-native {
    font-size: 16px;
    min-height: 48px;
  }

  textarea {
    font-size: 16px;
    line-height: 1.5;
  }

  .star-btn {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.85rem;
    -webkit-tap-highlight-color: transparent;
  }

  .star-clear {
    min-height: 44px;
    padding: 0.5rem 1rem;
  }

  .file-drop {
    min-height: 7.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem 1rem;
  }

  .btn,
  .btn-primary {
    min-height: 48px;
    padding-top: 0.95rem;
    padding-bottom: 0.95rem;
    width: 100%;
    max-width: 100%;
    -webkit-tap-highlight-color: rgba(212, 175, 55, 0.2);
  }

  .btn-submit-wide {
    max-width: none;
  }

  .form-actions--sticky-mobile {
    position: sticky;
    bottom: calc(var(--dock-mobile-h) + 2px);
    z-index: 40;
    margin-top: 0.25rem;
    margin-left: -1rem;
    margin-right: -1rem;
    padding: 1rem max(1rem, env(safe-area-inset-left)) 1rem max(1rem, env(safe-area-inset-right));
    background: linear-gradient(
      180deg,
      rgba(6, 10, 16, 0) 0%,
      rgba(6, 10, 16, 0.88) 22%,
      rgba(6, 10, 16, 0.96) 100%
    );
    border-top: 1px solid rgba(212, 175, 55, 0.12);
    backdrop-filter: blur(8px);
  }

  .form-actions--sticky-mobile .privacy {
    font-size: 0.72rem;
    margin-top: 0.75rem;
    line-height: 1.45;
  }

  .site-menu-fab {
    width: 54px;
    height: 54px;
  }

  .credits-modal__panel {
    max-height: min(90vh, 100dvh);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: env(safe-area-inset-bottom);
  }

  .credits-modal__x {
    min-width: 44px;
    min-height: 44px;
  }

  .page-anket .panel-title {
    font-size: 1.08rem;
    line-height: 1.35;
  }
}

@media (max-width: 720px) and (prefers-reduced-motion: reduce) {
  .site-menu__sheet {
    animation: none;
  }
}

.pick-card,
.btn,
.star-btn,
.site-menu__opt {
  touch-action: manipulation;
}

/* ——— Tema (açık / koyu) ——— */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body {
  transition:
    color 0.9s cubic-bezier(0.33, 1, 0.68, 1),
    background-color 0.9s cubic-bezier(0.33, 1, 0.68, 1);
}

body::before,
body::after {
  transition:
    opacity 1s ease,
    filter 1s ease,
    background 1s ease;
}

.header-topbar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 0.65rem;
}

.form-page-theme-row {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 0.75rem;
}

[dir="rtl"] .header-topbar,
[dir="rtl"] .form-page-theme-row {
  justify-content: flex-start;
}

.thanks-theme-row {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.site-header,
.landing-panel,
.pick-card,
.thanks-card,
.form-page-header,
.form-actions--sticky-mobile {
  transition:
    background 0.9s cubic-bezier(0.33, 1, 0.68, 1),
    background-color 0.9s cubic-bezier(0.33, 1, 0.68, 1),
    border-color 0.9s cubic-bezier(0.33, 1, 0.68, 1),
    box-shadow 0.9s cubic-bezier(0.33, 1, 0.68, 1),
    color 0.9s cubic-bezier(0.33, 1, 0.68, 1);
}

.theme-switch--icons {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 5px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-panel);
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.18);
}

.theme-switch__btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.2);
  color: var(--text-muted);
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.45s cubic-bezier(0.34, 1.3, 0.64, 1),
    box-shadow 0.55s ease,
    border-color 0.55s ease,
    color 0.9s cubic-bezier(0.33, 1, 0.68, 1),
    background 0.9s cubic-bezier(0.33, 1, 0.68, 1);
  -webkit-tap-highlight-color: transparent;
}

.theme-switch__btn:hover {
  color: var(--text);
  transform: scale(1.08);
}

.theme-switch__btn:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

.theme-switch__icon {
  position: relative;
  z-index: 1;
  width: 22px;
  height: 22px;
}

.theme-switch__glow {
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.65s ease;
  pointer-events: none;
}

.theme-switch__btn.is-active {
  color: var(--gold);
  border-color: rgba(212, 175, 55, 0.42);
  box-shadow:
    0 0 0 1px rgba(212, 175, 55, 0.18),
    0 10px 32px rgba(0, 0, 0, 0.35);
}

.theme-switch__btn--sun.is-active .theme-switch__glow--sun {
  opacity: 1;
  background: radial-gradient(circle, rgba(255, 210, 120, 0.45) 0%, rgba(255, 180, 60, 0) 68%);
}

.theme-switch__btn--moon.is-active .theme-switch__glow--moon {
  opacity: 1;
  background: radial-gradient(circle, rgba(140, 170, 230, 0.42) 0%, rgba(100, 130, 200, 0) 68%);
}

@media (prefers-reduced-motion: reduce) {
  body,
  body::before,
  body::after,
  .bg-noise,
  .site-header,
  .landing-panel,
  .pick-card,
  .thanks-card,
  .form-page-header,
  .form-actions--sticky-mobile,
  .theme-switch__btn,
  .theme-switch__glow {
    transition-duration: 0.01ms !important;
  }
}

body.theme-light {
  color-scheme: light;
  --bg-deep: #cfc4b4;
  --bg-panel: rgba(188, 176, 158, 0.88);
  --bg-panel-solid: #b8aa96;
  --border: rgba(82, 72, 56, 0.28);
  --gold: #7a6220;
  --gold-dim: rgba(95, 78, 42, 0.52);
  --teal: #2d756c;
  --text: #2c2924;
  --text-muted: rgba(44, 41, 36, 0.58);
  --danger: #a3444a;
  --shadow: 0 18px 48px rgba(55, 48, 38, 0.12);
}

body.theme-light::before {
  opacity: 0.3;
  filter: brightness(0.92) saturate(0.65) contrast(0.95);
}

body.theme-light::after {
  background:
    linear-gradient(180deg, rgba(198, 188, 172, 0.96) 0%, rgba(178, 168, 152, 0.9) 45%, rgba(158, 148, 132, 0.93) 100%),
    radial-gradient(ellipse 100% 55% at 50% 0%, rgba(45, 115, 100, 0.06), transparent 55%),
    radial-gradient(ellipse 85% 50% at 100% 100%, rgba(110, 92, 58, 0.1), transparent 52%);
}

body.theme-light .bg-noise {
  opacity: 0.028;
}

body.theme-light .site-header {
  border-bottom-color: rgba(82, 72, 56, 0.22);
  background: linear-gradient(180deg, rgba(188, 178, 162, 0.94) 0%, rgba(172, 162, 148, 0.52) 62%, transparent 100%);
  box-shadow: 0 16px 36px rgba(55, 48, 38, 0.1);
}

body.theme-light .landing-panel {
  background: linear-gradient(165deg, rgba(196, 186, 170, 0.94) 0%, rgba(175, 164, 148, 0.9) 100%);
  border-color: rgba(82, 72, 56, 0.24);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(210, 200, 185, 0.35);
}

body.theme-light .pick-card {
  border-color: rgba(55, 50, 42, 0.14);
  background: linear-gradient(165deg, rgba(188, 176, 160, 0.78) 0%, rgba(165, 154, 138, 0.48) 100%);
}

body.theme-light .pick-card:hover {
  box-shadow: 0 12px 32px rgba(55, 48, 38, 0.14), 0 0 0 1px rgba(110, 92, 48, 0.2);
}

body.theme-light .theme-switch--icons {
  background: rgba(175, 164, 148, 0.82);
  border-color: rgba(82, 72, 56, 0.22);
  box-shadow: 0 6px 24px rgba(55, 48, 38, 0.1);
}

body.theme-light .theme-switch__btn {
  background: rgba(155, 144, 128, 0.55);
  border-color: rgba(55, 50, 42, 0.12);
}

body.theme-light .theme-switch__btn.is-active {
  color: #6a5420;
  border-color: rgba(110, 92, 48, 0.38);
  box-shadow:
    0 0 0 1px rgba(110, 92, 48, 0.16),
    0 8px 26px rgba(55, 48, 38, 0.12);
}

body.theme-light .form-page-header {
  border-bottom-color: rgba(82, 72, 56, 0.2);
  background: linear-gradient(180deg, rgba(188, 178, 162, 0.95) 0%, rgba(172, 162, 148, 0.42) 100%);
}

body.theme-light .thanks-card {
  background: linear-gradient(165deg, rgba(196, 186, 170, 0.95) 0%, rgba(175, 164, 148, 0.9) 100%);
  border-color: rgba(82, 72, 56, 0.22);
  box-shadow: var(--shadow);
}

body.theme-light .form-actions--sticky-mobile {
  background: linear-gradient(
    180deg,
    rgba(178, 168, 152, 0) 0%,
    rgba(188, 178, 162, 0.92) 22%,
    rgba(172, 162, 148, 0.97) 100%
  );
  border-top-color: rgba(82, 72, 56, 0.16);
}
