/* Aydex — ortak marka stilleri */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --navy: #1A237E;
  --navy-dark: #0d1247;
  --gold: #FFD700;
  --gold-dark: #e6c200;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
}

.site-bg {
  background-color: #080b2a;
  min-height: 100vh;
}

.text-gradient-gold {
  background: linear-gradient(135deg, #FFD700 0%, #FFC107 50%, #FFE566 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.btn-gold {
  background: linear-gradient(135deg, #FFD700 0%, #FFC107 100%);
  color: var(--navy-dark);
  font-weight: 700;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-gold:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(255, 215, 0, 0.35);
}

.nav-link-active {
  color: #FFD700;
  border-bottom: 2px solid #FFD700;
}

.hero-video-wrap {
  box-shadow: 0 0 60px rgba(255, 215, 0, 0.12), 0 25px 50px rgba(0, 0, 0, 0.5);
}

.feature-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}

.pricing-pro {
  transform: scale(1.04);
  border: 2px solid #FFD700;
}

@media (max-width: 768px) {
  .pricing-pro { transform: none; }
}

.sidebar-link-active {
  background: rgba(255, 215, 0, 0.12);
  color: #FFD700;
  border-left: 3px solid #FFD700;
}

.preview-screen {
  background: linear-gradient(145deg, #0a0e2e 0%, #141b4d 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.brand-logo {
  height: 2.75rem;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  display: block;
}

.auth-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.auth-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 0.5rem;
}

.auth-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 0.9375rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.auth-input:focus {
  outline: none;
  border-color: rgba(255, 215, 0, 0.5);
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.12);
}
.auth-input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.glass-credit {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 215, 0, 0.2);
  backdrop-filter: blur(10px);
}

/* Şifre alanı — göz ikonu */
.auth-input-wrap {
  position: relative;
}
.auth-input-wrap .auth-input {
  padding-right: 2.75rem;
}
.auth-eye-btn {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.45);
  padding: 0.25rem;
  line-height: 0;
  transition: color 0.2s;
}
.auth-eye-btn:hover {
  color: #FFD700;
}

.auth-remember {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  user-select: none;
}
.auth-remember input {
  width: 1rem;
  height: 1rem;
  accent-color: #FFD700;
}

/* Kullanıcı avatar menüsü */
.user-menu-wrap {
  position: relative;
  flex-shrink: 0;
}
.user-avatar-btn {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.25) 0%, rgba(26, 35, 126, 0.9) 100%);
  border: 2px solid rgba(255, 215, 0, 0.45);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}
.user-avatar-btn:hover,
.user-avatar-btn[aria-expanded="true"] {
  border-color: #FFD700;
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.15);
}
.user-avatar-btn[aria-expanded="true"] {
  transform: scale(1.04);
}
.user-menu-panel {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  width: min(18rem, calc(100vw - 2rem));
  background: rgba(8, 11, 42, 0.97);
  border: 1px solid rgba(255, 215, 0, 0.22);
  border-radius: 1rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(16px);
  z-index: 60;
  overflow: hidden;
  animation: userMenuIn 0.18s ease-out;
}
@keyframes userMenuIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}
.user-menu-panel.hidden {
  display: none;
}
.user-menu-info {
  padding: 1rem 1.125rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.user-menu-info .info-label {
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 215, 0, 0.75);
  font-weight: 700;
}
.user-menu-info .info-name {
  font-size: 0.9375rem;
  font-weight: 700;
  color: #fff;
  margin-top: 0.125rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.user-menu-info .info-mail {
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.5);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.user-menu-info .info-kredi {
  font-size: 1.75rem;
  font-weight: 800;
  color: #FFD700;
  line-height: 1.1;
  margin-top: 0.5rem;
}
.user-menu-info .info-paket {
  font-size: 0.6875rem;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 0.125rem;
}
.user-menu-actions {
  padding: 0.375rem;
}
.user-menu-actions a,
.user-menu-actions button {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  width: 100%;
  padding: 0.625rem 0.75rem;
  border-radius: 0.625rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
  text-align: left;
  transition: background 0.15s, color 0.15s;
}
.user-menu-actions a:hover,
.user-menu-actions button:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #FFD700;
}
.user-menu-actions .menu-cikis {
  color: rgba(255, 255, 255, 0.55);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 0.25rem;
  border-radius: 0 0 0.625rem 0.625rem;
}
.user-menu-actions .menu-cikis:hover {
  color: #f87171;
  background: rgba(248, 113, 113, 0.08);
}

.promo-kod-btn {
  display: block;
  width: 100%;
  margin-top: 0.75rem;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #FFD700;
  background: rgba(255, 215, 0, 0.08);
  border: 1px dashed rgba(255, 215, 0, 0.35);
  transition: background 0.15s, border-color 0.15s;
}
.promo-kod-btn:hover {
  background: rgba(255, 215, 0, 0.15);
  border-color: rgba(255, 215, 0, 0.55);
}

.promo-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}
.promo-modal.hidden {
  display: none;
}
body.promo-modal-open {
  overflow: hidden;
}
.promo-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
}
.promo-modal-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 22rem;
  background: linear-gradient(160deg, rgba(13, 18, 71, 0.98) 0%, rgba(8, 11, 42, 0.99) 100%);
  border: 1px solid rgba(255, 215, 0, 0.28);
  border-radius: 1rem;
  padding: 1.5rem 1.375rem 1.375rem;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
  animation: userMenuIn 0.2s ease-out;
}
.promo-modal-title {
  font-size: 1.125rem;
  font-weight: 800;
  color: #FFD700;
  margin: 0 2rem 0.375rem 0;
  line-height: 1.3;
}
.promo-modal-desc {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
  margin: 0 0 1.125rem;
  line-height: 1.45;
}
.promo-modal-input {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 0.75rem 0.875rem;
  font-size: 1rem;
  font-family: ui-monospace, "Cascadia Code", "Consolas", monospace;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  caret-color: #FFD700;
  background-color: rgba(255, 255, 255, 0.07) !important;
  border: 1px solid rgba(255, 215, 0, 0.35) !important;
  border-radius: 0.625rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
}
.promo-modal-input::placeholder {
  color: rgba(255, 255, 255, 0.38);
  -webkit-text-fill-color: rgba(255, 255, 255, 0.38);
  text-transform: uppercase;
}
.promo-modal-input:focus {
  outline: none;
  border-color: #FFD700 !important;
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.14);
  background-color: rgba(255, 255, 255, 0.1) !important;
}
.promo-modal-input--plain {
  text-transform: none;
  letter-spacing: normal;
  font-family: inherit;
}
.promo-modal-submit {
  display: block;
  width: 100%;
  margin-top: 0.875rem;
  padding: 0.75rem 1rem;
  border-radius: 0.625rem;
  font-size: 0.875rem;
  font-weight: 800;
  color: #0d1247;
  background: linear-gradient(135deg, #FFD700 0%, #FFC107 100%);
  border: none;
  cursor: pointer;
  transition: opacity 0.15s, transform 0.15s;
}
.promo-modal-submit:hover:not(:disabled) {
  opacity: 0.92;
  transform: translateY(-1px);
}
.promo-modal-submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.promo-modal-msg {
  min-height: 1.25rem;
  margin: 0.875rem 0 0;
  font-size: 0.8125rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.45);
}
.promo-modal-msg--error {
  color: #f87171;
}
.promo-modal-msg--ok {
  color: #FFD700;
}
.promo-modal-close {
  position: absolute;
  top: 0.625rem;
  right: 0.75rem;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.375rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.45);
  border-radius: 0.375rem;
  transition: color 0.15s, background 0.15s;
}
.promo-modal-close:hover {
  color: #FFD700;
  background: rgba(255, 215, 0, 0.08);
}

/* Admin form — Tailwind preflight beyaz arka planını ezer */
.admin-form-input,
input.admin-form-input[type="number"],
input.admin-form-input[type="text"] {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 0.75rem 0.875rem;
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  caret-color: #FFD700;
  background-color: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 215, 0, 0.35) !important;
  border-radius: 0.625rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: textfield;
  -moz-appearance: textfield;
}
.admin-form-input::-webkit-outer-spin-button,
.admin-form-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.admin-form-input:focus {
  outline: none;
  border-color: #FFD700 !important;
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.14);
  background-color: rgba(255, 255, 255, 0.12) !important;
}

.admin-kod-kart {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.875rem 1rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 215, 0, 0.18);
}
.admin-kod-deger {
  display: block;
  font-size: 1.0625rem;
  font-weight: 800;
  font-family: ui-monospace, "Cascadia Code", "Consolas", monospace;
  letter-spacing: 0.08em;
  color: #FFD700;
}
.admin-kod-meta {
  margin-top: 0.25rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
}
.admin-kod-aksiyonlar {
  display: flex;
  flex-shrink: 0;
  gap: 0.5rem;
}
.admin-kod-kopyala,
.admin-kod-sil {
  padding: 0.45rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.admin-kod-kopyala {
  color: #FFD700;
  border: 1px solid rgba(255, 215, 0, 0.35);
  background: rgba(255, 215, 0, 0.06);
}
.admin-kod-kopyala:hover {
  background: rgba(255, 215, 0, 0.12);
}
.admin-kod-sil {
  color: #f87171;
  border: 1px solid rgba(248, 113, 113, 0.35);
  background: rgba(248, 113, 113, 0.08);
}
.admin-kod-sil:hover {
  background: rgba(248, 113, 113, 0.15);
}
@media (max-width: 480px) {
  .admin-kod-kart {
    flex-direction: column;
    align-items: stretch;
  }
  .admin-kod-aksiyonlar {
    justify-content: flex-end;
  }
}

/* Yasal sayfalar */
.legal-page {
  max-width: 42rem;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
}
.legal-hero {
  text-align: center;
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.legal-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #FFD700;
  background: rgba(255, 215, 0, 0.1);
  border: 1px solid rgba(255, 215, 0, 0.25);
  padding: 0.35rem 0.75rem;
  border-radius: 9999px;
  margin-bottom: 1rem;
}
.legal-hero h1 {
  font-size: 1.875rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}
.legal-meta {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.45);
}
.legal-content {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.78);
}
.legal-content h2 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: #fff;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}
.legal-content p {
  margin-bottom: 1rem;
}
.legal-content ul {
  list-style: disc;
  padding-left: 1.35rem;
  margin-bottom: 1rem;
}
.legal-content li {
  margin-bottom: 0.4rem;
}
.legal-content a {
  color: #FFD700;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal-content a:hover {
  color: #FFE566;
}
.legal-highlight {
  background: rgba(255, 215, 0, 0.08);
  border-left: 3px solid #FFD700;
  padding: 1rem 1.15rem;
  border-radius: 0 0.5rem 0.5rem 0;
  margin: 1.25rem 0;
}
.legal-nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.875rem;
  font-weight: 600;
}
.legal-consent {
  font-size: 0.75rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.45);
  text-align: center;
}
.legal-consent a {
  color: #FFD700;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal-consent a:hover {
  color: #FFE566;
}
.site-footer a {
  transition: color 0.15s;
}
