/* ==========================================================================
   VDCASINO REHBERİ - ULTRA-PREMİUM SİYAH & TURUNCU TEMA (CSS DESIGN SYSTEM)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@500;600;700;800&display=swap');

:root {
  /* Color Palette - Premium Black & Vibrant Flame Orange Theme */
  --primary: #FF6B00;          /* Electric Flame Orange */
  --primary-hover: #E65100;    /* Deep Flame Orange */
  --primary-light: rgba(255, 107, 0, 0.12); /* Warm Light Orange Glow Tint */
  --primary-glow: rgba(255, 107, 0, 0.35);
  --accent: #FF8800;           /* Vibrant Amber Orange Accent */
  --accent-gold: #FFB703;      /* Gold Highlight */
  
  --bg-main: #0B0E14;          /* Deep Obsidian Black */
  --bg-card: #141A24;          /* Dark Slate Card */
  --bg-secondary: #1C2331;     /* Warm Dark Gray/Slate */
  --bg-dark: #07090D;          /* Pitch Black */
  
  --text-main: #FFFFFF;        /* Crisp High-Contrast Pure White */
  --text-muted: #94A3B8;       /* Light Muted Gray */
  --text-light: #64748B;       /* Subdued Slate */
  
  --border-color: #242E42;     /* Dark Slate Border */
  --border-accent: rgba(255, 107, 0, 0.4); /* Glowing Orange Border */
  
  --shadow-sm: 0 2px 5px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.6), 0 0 10px rgba(255, 107, 0, 0.15);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(255, 107, 0, 0.25);
  --shadow-hover: 0 15px 35px rgba(255, 107, 0, 0.45);
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & General Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.7;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  margin-bottom: 1rem;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  margin-top: 2.5rem;
  margin-bottom: 1.25rem;
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

h2::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 1.5rem;
  background: linear-gradient(180deg, var(--primary) 0%, var(--accent) 100%);
  border-radius: var(--radius-full);
  box-shadow: 0 0 10px var(--primary);
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
  color: var(--primary);
}

p {
  margin-bottom: 1.25rem;
  color: var(--text-muted);
  font-size: 1.05rem;
}

strong {
  color: var(--text-main);
  font-weight: 600;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent);
  text-decoration: underline;
}

/* Reading Progress Bar */
#progress-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: transparent;
  z-index: 1002;
}

#progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--primary) 0%, #FF8800 50%, #FFB703 100%);
  width: 0%;
  box-shadow: 0 0 10px var(--primary);
  transition: width 0.1s ease-out;
}

/* Sticky Header & Navigation */
.header-sticky {
  position: sticky;
  top: 0;
  background: rgba(11, 14, 20, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* Logo Styling */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none !important;
}

.site-logo-img {
  height: 46px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(255, 107, 0, 0.4));
}

.brand-badge {
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.75rem;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Navigation Links & Buttons Fix */
.nav-links {
  display: flex;
  gap: 0.6rem;
  list-style: none;
  align-items: center;
  flex-wrap: wrap;
}

.nav-links li {
  display: flex;
  align-items: center;
}

.nav-links a {
  color: #CBD5E1;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  white-space: nowrap;
  transition: var(--transition);
}

.nav-links a:hover {
  color: #FFFFFF;
  background: var(--primary-light);
  border-color: var(--primary);
  text-decoration: none;
  box-shadow: 0 0 10px rgba(255, 107, 0, 0.3);
}

/* Primary Navigation CTA Button */
.btn-cta {
  background: linear-gradient(135deg, #FF6B00 0%, #E65100 100%) !important;
  color: #FFFFFF !important;
  padding: 0.55rem 1.25rem !important;
  border-radius: var(--radius-full) !important;
  font-weight: 700 !important;
  border: 1px solid #FF8800 !important;
  box-shadow: 0 0 15px rgba(255, 107, 0, 0.5) !important;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(255, 107, 0, 0.75) !important;
  text-decoration: none !important;
}

/* Mobile Toggle Hamburger Button */
.mobile-toggle {
  display: none;
  background: var(--bg-secondary);
  border: 1px solid var(--border-accent);
  color: var(--primary);
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.mobile-toggle svg {
  width: 24px;
  height: 24px;
  display: block;
}

/* Hero Section */
.hero-card {
  background: linear-gradient(135deg, #141A24 0%, #1C2331 100%);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 107, 0, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-cta-box {
  margin: 2rem 0 1.5rem 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

.btn-hero-login {
  background: linear-gradient(135deg, #FF6B00 0%, #E65100 50%, #C23B00 100%);
  color: #FFFFFF !important;
  font-family: var(--font-heading);
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  padding: 0.55rem 1.25rem !important;
  border-radius: var(--radius-full) !important;
  box-shadow: 0 0 12px rgba(255, 107, 0, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1.5px solid #FF8800;
  transition: var(--transition);
  animation: pulseNeonGlow 2.5s infinite;
}

.btn-hero-login:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 20px rgba(255, 107, 0, 0.7);
  color: #FFFFFF !important;
  text-decoration: none !important;
}

@keyframes pulseNeonGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 107, 0, 0.6);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(255, 107, 0, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 107, 0, 0);
  }
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
  align-items: center;
}

.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.875rem;
  color: #CBD5E1;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

/* Layout Grid */
.main-wrapper {
  max-width: 1280px;
  margin: 2rem auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2.5rem;
}

@media (max-width: 1024px) {
  .main-wrapper {
    grid-template-columns: 1fr;
  }
}

/* Table of Contents Sticky Widget */
.sidebar-sticky {
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.toc-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
}

.toc-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 0.5rem;
}

.toc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-height: 70vh;
  overflow-y: auto;
  padding-right: 0.25rem;
}

.toc-list li a {
  font-size: 0.9rem;
  color: var(--text-muted);
  display: block;
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius-sm);
  border-left: 3px solid transparent;
}

.toc-list li a:hover,
.toc-list li a.active {
  color: #FFFFFF;
  background: var(--primary-light);
  border-left-color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}

/* Content Article Styling */
.article-content {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
}

.section-block {
  margin-bottom: 3rem;
}

.section-block:last-child {
  margin-bottom: 0;
}

/* Stats Cards Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin: 1.75rem 0;
}

.stat-card {
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-card) 100%);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.stat-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
  margin-bottom: 0.25rem;
  text-shadow: 0 0 10px rgba(255, 107, 0, 0.4);
}

.stat-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.25rem;
}

.stat-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Data Tables */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  margin: 1.5rem 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  background: var(--bg-card);
  font-size: 0.95rem;
}

.data-table th {
  background: linear-gradient(90deg, #FF6B00 0%, #E65100 100%);
  color: #FFFFFF;
  padding: 1rem 1.25rem;
  font-family: var(--font-heading);
  font-weight: 700;
}

.data-table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-muted);
}

.data-table tr:last-child td {
  border-bottom: none;
}

.data-table tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.02);
}

/* Synthetic Data / Disclaimer Banners */
.disclaimer-banner {
  background: rgba(255, 107, 0, 0.08);
  border-left: 4px solid var(--primary);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  margin: 1.25rem 0;
  font-size: 0.875rem;
  color: #FFB703;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.eeat-badge-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin: 2rem 0;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.eeat-icon {
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  box-shadow: 0 0 15px var(--primary);
}

/* Case Study Cards */
.case-study-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  margin: 1.5rem 0;
  box-shadow: var(--shadow-sm);
}

.case-study-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.case-badge {
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-accent);
}

/* Accordion FAQ */
.faq-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.faq-item {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--border-accent);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.25rem 1.5rem;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-main);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  gap: 1rem;
}

.faq-question:focus {
  outline: 2px solid var(--primary);
}

.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  transition: var(--transition);
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  background: var(--primary);
  color: #FFFFFF;
  box-shadow: 0 0 10px var(--primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0, 1, 0, 1);
  background: var(--bg-card);
}

.faq-answer-content {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
}

/* Author Box */
.author-box {
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-card) 100%);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 3rem;
  border: 1px solid var(--border-accent);
}

.author-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FF6B00 0%, #E65100 100%);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: 0 0 15px var(--primary);
}

.author-info h4 {
  margin-bottom: 0.25rem;
}

.author-title {
  font-size: 0.875rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* Footer */
footer {
  background: var(--bg-dark);
  color: var(--text-muted);
  padding: 4rem 1.5rem 2rem 1.5rem;
  margin-top: 4rem;
  border-top: 4px solid var(--primary);
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-col h5 {
  color: #FFFFFF;
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.85rem;
}

/* Responsive Rules & Mobile Menu Fix */
@media (max-width: 1024px) {
  .mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #0B0E14;
    border-bottom: 2px solid var(--primary);
    padding: 1.25rem 1.5rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.9);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    text-align: center;
    width: 100%;
    padding: 0.75rem 1rem;
  }

  .btn-cta {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .hero-card {
    padding: 1.75rem 1.25rem;
  }
  
  .btn-hero-login {
    font-size: 1.1rem !important;
    padding: 0.9rem 1.5rem !important;
    width: 100%;
    justify-content: center;
  }
  
  .article-content {
    padding: 1.5rem;
  }
  
  .author-box {
    flex-direction: column;
    text-align: center;
  }
}
