/* Tasarım sistemi: clubmasaj-design (Outfit, 5px ızgara, altın vurgu) */
@font-face { font-family: "Outfit"; src: url("../fonts/Outfit-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("../fonts/Outfit-Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("../fonts/Outfit-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("../fonts/Outfit-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("../fonts/Outfit-ExtraBold.ttf") format("truetype"); font-weight: 800; font-display: swap; }

:root {
  --background: #f7d794;
  --surface: #ffffff;
  --surface-gold: #ffe066;
  --text-primary: #000000;
  --text-muted: #94a3b8;
  --accent: #facc15;
  --accent-soft: #f0d075;
  --gold-deep: #dba736;
  --border: #475569;
  --success: #4ade80;
  --warning: #e1be6d;
  --danger: #0f0505;
  --info: #0f172a;
  --primary: #e11d48;
  --primary-glow: rgba(225, 29, 72, 0.3);
  --secondary: #9f1239;
  --wine-900: #2d0a0a;
  --wine-800: #42080f;
  --wine-700: #5d2420;
  --glass-border: rgba(255, 255, 255, 0.08);
  --online-glow: rgba(74, 222, 128, 0.6);

  --gold-gradient: linear-gradient(180deg, #ffe066 0%, #f0d075 45%, #dba736 100%);
  --gold-text: linear-gradient(180deg, #ffe066 0%, #facc15 50%, #dba736 100%);

  --shadow-raised: 0 2px 5px rgba(0, 0, 0, 0.3);
  --shadow-float: 0 5px 15px rgba(225, 190, 109, 0.15);
  --shadow-overlay: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 50px -5px rgba(225, 190, 109, 0.4);

  --radius: 25px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text-primary);
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 10px; font-weight: 700; }
p { margin: 0 0 15px; }
button, input, select, textarea { font: inherit; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 20px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 200ms var(--spring), background 200ms var(--ease), opacity 150ms ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible, .input:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.btn-primary { background: var(--gold-gradient); color: var(--text-primary); box-shadow: var(--shadow-raised); }
.btn-primary:hover { opacity: 0.9; }
.btn-ghost { background: transparent; border-color: var(--border); color: inherit; }
.btn-danger { background: var(--danger); color: var(--surface); }
.btn-sm { padding: 5px 15px; font-size: 0.85rem; }
.btn svg { width: 20px; height: 20px; flex: none; }

.input {
  width: 100%;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 15px;
  color: var(--text-primary);
  font-size: 0.95rem;
}
.input:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px rgba(250, 204, 21, 0.35); }
textarea.input { border-radius: 20px; min-height: 120px; resize: vertical; }
select.input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--border) 50%), linear-gradient(135deg, var(--border) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }

.field { display: flex; flex-direction: column; gap: 5px; margin-bottom: 20px; }
.field label, .label { font-size: 0.85rem; font-weight: 500; }
.field .hint { font-size: 0.85rem; color: var(--text-muted); }
.field .error { font-size: 0.85rem; color: var(--primary); font-weight: 500; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--surface);
  color: var(--border);
  white-space: nowrap;
}
.badge-gold { background: var(--gold-gradient); color: var(--text-primary); }
.badge-wine { background: var(--secondary); color: var(--surface); }
.badge-green { background: var(--success); color: var(--info); }
.badge-muted { background: #e2e8f0; color: var(--border); }

.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--success); box-shadow: 0 0 10px var(--success); display: inline-block; animation: green-glow-pulse 2s ease-in-out infinite; }

.alert { padding: 15px 20px; border-radius: 20px; margin-bottom: 20px; font-weight: 500; box-shadow: var(--shadow-raised); }
.alert-success { background: var(--success); color: var(--info); }
.alert-error { background: var(--primary); color: var(--surface); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

@keyframes green-glow-pulse {
  0%, 100% { box-shadow: 0 0 5px var(--success); }
  50% { box-shadow: 0 0 15px var(--success), 0 0 5px var(--success); }
}
@keyframes float {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, -5px); }
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.6; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
