/* Critical CSS — Öz Escort Sepeti İstanbul Portal (ozescortsepeti.forum) */
:root {
  color-scheme: dark;
  --bg-abyss: #060913;
  --bg-panel: #0c1222;
  --bg-raised: #121b30;
  --line-soft: rgba(255, 255, 255, 0.09);
  --line-glow: rgba(255, 59, 92, 0.45);
  --ink-primary: #fbf8f3;
  --ink-muted: #9aa7bf;
  --brand-coral: #ff3b5c;
  --brand-amber: #ff7b24;
  --brand-champagne: #f3c98b;
  --brand-teal: #14d8b4;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-abyss);
}

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--bg-abyss);
  background-image:
    radial-gradient(ellipse 80% 45% at 50% -10%, rgba(255, 59, 92, 0.12), transparent 65%),
    radial-gradient(ellipse 60% 40% at 95% 15%, rgba(20, 216, 180, 0.08), transparent 60%);
  color: var(--ink-primary);
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Sticky Glassmorphism Navigation Header */
.oz-header {
  position: sticky;
  top: 0;
  z-index: 950;
  background: rgba(6, 9, 19, 0.8);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid var(--line-soft);
}

/* Semantic Card Grid with H3 Stretched Anchor (prevents long-anchor penalty) */
.oz-card {
  position: relative;
  background: linear-gradient(160deg, rgba(18, 27, 48, 0.9), rgba(10, 15, 30, 0.96));
  border: 1px solid var(--line-soft);
  border-radius: 1.1rem;
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.22s ease, box-shadow 0.22s ease;
}

.oz-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-glow);
  box-shadow: 0 16px 36px -14px rgba(255, 59, 92, 0.34);
}

.oz-card-title-link {
  color: inherit;
  text-decoration: none;
  display: inline-block;
}

.oz-card-title-link::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
}

.oz-card-title-link:focus-visible {
  outline: 2px solid var(--brand-teal);
  outline-offset: 4px;
  border-radius: 4px;
}

/* Native Details/Summary FAQ Accordion */
.oz-faq {
  background: var(--bg-panel);
  border: 1px solid var(--line-soft);
  border-radius: 1rem;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.oz-faq[open] {
  border-color: rgba(255, 59, 92, 0.44);
  background: var(--bg-raised);
}

.oz-faq-trigger {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.35rem;
  font-weight: 700;
  color: var(--ink-primary);
}

.oz-faq-trigger::-webkit-details-marker {
  display: none;
}

.oz-faq-icon {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  color: var(--brand-champagne);
  transition: transform 0.25s ease, color 0.25s ease;
}

.oz-faq[open] .oz-faq-icon {
  transform: rotate(180deg);
  color: var(--brand-coral);
}

/* Ultra Attention-Grabbing Fixed Floating CTA Button */
.oz-floating-cta {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99999;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.95rem 1.5rem;
  border-radius: 9999px;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: #ffffff;
  text-decoration: none;
  white-space: nowrap;
  background: linear-gradient(125deg, #ff2455 0%, #ff4d4f 35%, #ff7b24 70%, #f59e0b 100%);
  background-size: 240% 240%;
  border: 1px solid rgba(255, 255, 255, 0.34);
  box-shadow:
    0 14px 36px rgba(255, 59, 92, 0.58),
    0 5px 16px rgba(0, 0, 0, 0.72),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  animation: ozGradientFlow 3.6s ease infinite;
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.22s ease;
}

.oz-floating-cta::before,
.oz-floating-cta::after {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 9999px;
  border: 2px solid rgba(255, 59, 92, 0.78);
  pointer-events: none;
  animation: ozRadarPulse 2.2s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

.oz-floating-cta::after {
  border-color: rgba(255, 123, 36, 0.62);
  animation-delay: 1.1s;
}

.oz-floating-cta:hover {
  transform: translateY(-3px) scale(1.045);
  box-shadow:
    0 18px 44px rgba(255, 59, 92, 0.76),
    0 8px 22px rgba(0, 0, 0, 0.8);
}

.oz-floating-cta:active {
  transform: scale(0.97);
}

@keyframes ozRadarPulse {
  0% {
    transform: scale(1);
    opacity: 0.9;
  }
  100% {
    transform: scale(1.42);
    opacity: 0;
  }
}

@keyframes ozGradientFlow {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@media (max-width: 640px) {
  .oz-floating-cta {
    bottom: 16px;
    right: 14px;
    padding: 0.84rem 1.25rem;
    font-size: 0.88rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .oz-floating-cta,
  .oz-floating-cta::before,
  .oz-floating-cta::after {
    animation: none;
  }
}
