/* Trendbet site6 — Gold theme, Outfit, curtain */
:root {
  color-scheme: dark;
  --apex-gold: #d4af37;
  --apex-gold-light: #e5c65c;
  --apex-gold-dark: #b8962e;
  --apex-bg: #1a1510;
  --apex-surface: #241e18;
  --apex-border: rgba(212, 175, 55, 0.2);
  --apex-text: #f5f0e8;
  --apex-muted: #c4b8a8;
  --apex-radius: 12px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Outfit', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  line-height: 1.6;
  background: var(--apex-bg);
  color: var(--apex-text);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--apex-gold); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Curtain — gold theme */
.curtain {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: linear-gradient(160deg, #0f0d0a 0%, var(--apex-bg) 50%, #1a1510 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.curtain.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.curtain__logo {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--apex-gold), var(--apex-gold-dark));
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 28px;
  color: var(--apex-bg);
  margin-bottom: 20px;
  box-shadow: 0 0 30px rgba(212, 175, 55, 0.35);
}
.curtain__title {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 800;
  color: var(--apex-text);
  margin: 0 0 8px;
  text-align: center;
}
.curtain__title span { color: var(--apex-gold); }
.curtain__sub {
  font-size: 0.9rem;
  color: var(--apex-muted);
  margin: 0 0 28px;
  text-align: center;
  max-width: 320px;
  line-height: 1.6;
}
.curtain__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: var(--apex-radius);
  border: 1px solid rgba(212, 175, 55, 0.4);
  background: rgba(212, 175, 55, 0.15);
  color: var(--apex-gold-light);
  cursor: pointer;
  transition: all 0.28s ease;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
}
.curtain__btn:hover {
  background: rgba(212, 175, 55, 0.25);
  transform: scale(1.03);
}
.curtain__hint {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 20px;
}

/* Layout */
.apex-wrap { max-width: 960px; margin: 0 auto; padding: 16px; }

/* Header */
.apex-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(26, 21, 16, 0.92);
  border-bottom: 1px solid var(--apex-border);
}
.apex-header .apex-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.apex-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--apex-text);
}
.apex-brand:hover { text-decoration: none; color: var(--apex-gold); }
.apex-logo {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--apex-gold), var(--apex-gold-dark));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 20px;
  color: var(--apex-bg);
}
.apex-brand-text { font-size: 1.25rem; }
.apex-brand-text strong { color: var(--apex-gold); }
.apex-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.apex-nav a {
  padding: 8px 14px;
  border-radius: var(--apex-radius);
  font-size: 0.9rem;
  color: var(--apex-muted);
}
.apex-nav a:hover { color: var(--apex-gold); background: rgba(212, 175, 55, 0.1); text-decoration: none; }
.apex-cta {
  padding: 10px 18px !important;
  background: rgba(212, 175, 55, 0.2);
  color: var(--apex-gold-light) !important;
  font-weight: 700;
}
.apex-cta:hover { background: rgba(212, 175, 55, 0.3) !important; text-decoration: none !important; }

/* Hero */
.apex-hero {
  padding: 48px 0;
  background: linear-gradient(180deg, rgba(212, 175, 55, 0.08), transparent);
  border-bottom: 1px solid var(--apex-border);
}
.apex-headline {
  margin: 0 0 12px;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--apex-text);
}
.apex-lead {
  margin: 0 0 24px;
  font-size: 1.1rem;
  color: var(--apex-muted);
  max-width: 560px;
}
.apex-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: var(--apex-radius);
  font-family: inherit;
  font-weight: 700;
  font-size: 1rem;
  border: 1px solid var(--apex-border);
  background: rgba(212, 175, 55, 0.15);
  color: var(--apex-gold-light);
  cursor: pointer;
  transition: all 0.25s ease;
}
.apex-btn:hover { background: rgba(212, 175, 55, 0.25); text-decoration: none; }
.apex-btn--primary {
  background: linear-gradient(135deg, var(--apex-gold), var(--apex-gold-dark));
  color: var(--apex-bg);
  border-color: var(--apex-gold);
}
.apex-btn--primary:hover { filter: brightness(1.1); text-decoration: none; }

/* Sections */
.apex-section {
  padding: 36px 0;
  border-bottom: 1px solid var(--apex-border);
}
.apex-title {
  margin: 0 0 16px;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--apex-gold);
}
.apex-section p { margin: 0 0 16px; color: var(--apex-muted); }

/* Bonus finder */
.apex-bonus-finder {
  background: var(--apex-surface);
  border: 1px solid var(--apex-border);
  border-radius: var(--apex-radius);
  padding: 20px;
  max-width: 420px;
}
.apex-row {
  margin-bottom: 14px;
}
.apex-row label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.9rem;
  color: var(--apex-muted);
}
.apex-select {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--apex-border);
  background: var(--apex-bg);
  color: var(--apex-text);
  font-family: inherit;
  font-size: 1rem;
}
.apex-bonus-sonuc {
  margin: 16px 0 0 !important;
  padding: 12px;
  background: rgba(212, 175, 55, 0.12);
  border-radius: 8px;
  color: var(--apex-gold-light);
  font-weight: 600;
}

/* Checklist */
.apex-checklist {
  list-style: none;
  margin: 0;
  padding: 0;
}
.apex-check-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  margin-bottom: 8px;
  background: var(--apex-surface);
  border: 1px solid var(--apex-border);
  border-radius: var(--apex-radius);
  cursor: pointer;
  transition: background 0.2s ease;
}
.apex-check-item::before {
  content: '';
  width: 22px;
  height: 22px;
  border: 2px solid var(--apex-border);
  border-radius: 6px;
  flex-shrink: 0;
}
.apex-check-item[data-done="1"] {
  opacity: 0.85;
}
.apex-check-item[data-done="1"]::before {
  background: var(--apex-gold);
  border-color: var(--apex-gold);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a1510' stroke-width='2'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E");
  background-size: 14px;
  background-position: center;
  background-repeat: no-repeat;
}
.apex-check-item:hover { background: rgba(212, 175, 55, 0.08); }
.apex-check-item:focus { outline: 2px solid var(--apex-gold); outline-offset: 2px; }

/* FAQ */
.apex-faq {
  margin-bottom: 12px;
  border: 1px solid var(--apex-border);
  border-radius: var(--apex-radius);
  overflow: hidden;
  background: var(--apex-surface);
}
.apex-faq summary {
  padding: 14px 18px;
  cursor: pointer;
  font-weight: 600;
  color: var(--apex-text);
  list-style: none;
}
.apex-faq summary.apex-focus:focus { outline: 2px solid var(--apex-gold); outline-offset: -2px; }
.apex-faq summary::-webkit-details-marker { display: none; }
.apex-faq p {
  margin: 0;
  padding: 0 18px 14px;
  color: var(--apex-muted);
  font-size: 0.95rem;
}

/* CTA block */
.apex-cta-block {
  padding: 48px 0;
  text-align: center;
  background: linear-gradient(180deg, transparent, rgba(212, 175, 55, 0.06));
}
.apex-cta-block .apex-title { margin-bottom: 20px; }

/* Footer */
.apex-footer {
  padding: 24px 0;
  border-top: 1px solid var(--apex-border);
  text-align: center;
  color: var(--apex-muted);
  font-size: 0.9rem;
}
.apex-footer a { margin-left: 8px; }

@media (max-width: 768px) {
  .apex-header .apex-wrap { flex-direction: column; align-items: flex-start; }
  .apex-nav { width: 100%; }
  .apex-hero { padding: 32px 0; }
}
