/* ==========================================================================
   VDCASINO WHITE & ORANGE THEME (BEYAZ VE TURUNCU TEMA - 2026 UX)
   ========================================================================== */

:root {
  --bg-primary: #f8fafc;
  --bg-secondary: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #f1f5f9;
  
  --orange-primary: #ff6b00;
  --orange-secondary: #e65100;
  --orange-gradient: linear-gradient(135deg, #ff8c00 0%, #ff5500 100%);
  --orange-glow: rgba(255, 107, 0, 0.25);
  
  --green-btn-gradient: linear-gradient(135deg, #11b747 0%, #46cf46 50%, #76db28 100%);
  
  --accent-cyan: #0284c7;
  --accent-green: #16a34a;
  --accent-red: #dc2626;
  
  --text-main: #0f172a;
  --text-muted: #334155;
  --text-dim: #64748b;
  
  --border-color: rgba(226, 232, 240, 0.9);
  --border-highlight: rgba(255, 107, 0, 0.4);
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --shadow-main: 0 10px 25px rgba(0, 0, 0, 0.05);
  --shadow-orange: 0 0 25px rgba(255, 107, 0, 0.3);
  
  --font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --max-width: 1240px;
  --header-height: 72px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-family);
  line-height: 1.7;
}

body {
  overflow-x: hidden;
  padding-bottom: 90px; /* Offset for fixed bottom bar */
}

/* Reading Progress Bar */
.progress-bar-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(0, 0, 0, 0.05);
  z-index: 1000;
}

.progress-bar {
  height: 100%;
  width: 0%;
  background: var(--orange-gradient);
  box-shadow: 0 0 10px var(--orange-primary);
  transition: width 0.1s ease-out;
}

/* Header & Sticky Navigation */
.header-sticky {
  position: sticky;
  top: 0;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  z-index: 900;
  display: flex;
  align-items: center;
}

.header-container {
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-wrapper {
  background: #0b0e14;
  padding: 6px 16px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
}

.logo-wrapper:hover {
  transform: scale(1.02);
}

.site-logo-img {
  height: 32px;
  width: auto;
  display: block;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

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

.header-btn {
  background: var(--orange-gradient);
  color: #fff;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: var(--radius-full);
  text-decoration: none;
  font-size: 0.9rem;
  box-shadow: 0 4px 15px rgba(255, 107, 0, 0.3);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.header-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 0, 0.5);
}

/* Layout Structure */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 40px 24px;
}

.content-wrapper {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
}

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

/* Hero Section (CENTERED CONTENT & COMPACT BUTTON) */
.hero-section {
  background: linear-gradient(135deg, #fff7f2 0%, #ffffff 50%, #fff0e6 100%);
  border: 1px solid rgba(255, 107, 0, 0.2);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 35px rgba(255, 107, 0, 0.08);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 107, 0, 0.1);
  border: 1px solid rgba(255, 107, 0, 0.3);
  color: var(--orange-primary);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 16px;
  color: #0f172a;
  text-align: center;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 800px;
  margin: 0 auto 20px auto;
  text-align: center;
}

/* GÖRSEL GİRİŞ BUTONU (vdcasino-giris.jpg) */
.hero-entry-img-btn {
  display: inline-block;
  margin: 16px auto 24px auto;
  max-width: 290px;
  width: 100%;
  text-decoration: none;
  border-radius: 8px;
  box-shadow: none !important;
  filter: none !important;
  transition: transform 0.2s ease, opacity 0.2s ease;
  cursor: pointer;
}

.hero-entry-img-btn:hover {
  transform: translateY(-2px);
  opacity: 0.92;
  box-shadow: none !important;
  filter: none !important;
}

.hero-entry-img-btn:active {
  transform: translateY(1px);
}

.entry-btn-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: none !important;
  filter: none !important;
  background: transparent;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--text-dim);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding-top: 20px;
  width: 100%;
}

.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Sidebar & TOC */
.sidebar {
  position: sticky;
  top: 96px;
  height: fit-content;
}

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

.toc-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--orange-primary);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.toc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toc-list a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  display: block;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
}

.toc-list a:hover, .toc-list a.active {
  color: var(--orange-primary);
  background: rgba(255, 107, 0, 0.08);
  font-weight: 700;
  padding-left: 14px;
}

/* Article Styling */
.main-article {
  font-size: 1.05rem;
}

.article-section {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 36px;
  margin-bottom: 32px;
  box-shadow: var(--shadow-main);
}

.article-section h2 {
  font-size: 1.8rem;
  color: var(--text-main);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(255, 107, 0, 0.15);
}

.article-section h2::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 60px;
  height: 2px;
  background: var(--orange-gradient);
}

.article-section h3 {
  font-size: 1.35rem;
  color: var(--orange-secondary);
  margin: 28px 0 14px 0;
}

.article-section p {
  margin-bottom: 18px;
  color: var(--text-muted);
}

.article-section p strong {
  color: var(--text-main);
}

/* Cards & Grid Containers */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 24px 0;
}

.stat-card {
  background: #fff;
  border: 1px solid var(--border-color);
  padding: 20px;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--orange-primary);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 4px;
}

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

.custom-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  background: #ffffff;
}

.custom-table th {
  background: rgba(255, 107, 0, 0.08);
  color: var(--orange-primary);
  padding: 14px 18px;
  font-weight: 700;
  font-size: 0.95rem;
  border-bottom: 1px solid var(--border-color);
}

.custom-table td {
  padding: 14px 18px;
  border-bottom: 1px solid #f1f5f9;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.custom-table tr:hover td {
  background: #f8fafc;
}

.disclaimer-box {
  background: rgba(220, 38, 38, 0.05);
  border-left: 4px solid var(--accent-red);
  padding: 14px 18px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.88rem;
  color: #b91c1c;
  margin-bottom: 20px;
}

.info-box {
  background: rgba(255, 107, 0, 0.06);
  border-left: 4px solid var(--orange-primary);
  padding: 16px 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 20px 0;
  color: #9a3412;
}

/* Case Studies */
.case-study-box {
  background: #fff;
  border: 1px solid rgba(255, 107, 0, 0.3);
  border-radius: var(--radius-md);
  padding: 24px;
  margin: 24px 0;
  box-shadow: 0 4px 15px rgba(255, 107, 0, 0.05);
}

.case-study-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.case-study-meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.case-item {
  font-size: 0.95rem;
}

.case-label {
  font-weight: 700;
  color: var(--orange-primary);
}

/* Q&A / FAQ Accordion */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 20px;
}

.accordion-item {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.accordion-item:hover {
  border-color: var(--border-highlight);
  box-shadow: 0 4px 15px rgba(255, 107, 0, 0.08);
}

.accordion-header {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  text-align: left;
  color: var(--text-main);
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: inherit;
}

.accordion-icon {
  width: 28px;
  height: 28px;
  background: rgba(255, 107, 0, 0.1);
  color: var(--orange-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: transform 0.3s ease;
}

.accordion-item.open .accordion-icon {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 24px;
  color: var(--text-muted);
  font-size: 0.98rem;
}

.accordion-item.open .accordion-content {
  max-height: 500px;
  padding: 0 24px 20px 24px;
}

/* E-E-A-T Author Card */
.author-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: linear-gradient(135deg, #fff5ed 0%, #ffffff 100%);
  border: 1px solid rgba(255, 107, 0, 0.3);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-top: 24px;
}

.author-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--orange-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.author-info h4 {
  color: var(--text-main);
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.author-info p {
  color: var(--text-dim);
  font-size: 0.88rem;
  margin: 0;
}

/* FIX STICKY FULL-WIDTH BOTTOM BAR */
.sticky-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 2px solid var(--orange-primary);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.08);
  z-index: 10000;
  padding: 12px 24px;
}

.sticky-bottom-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.sticky-bottom-text {
  display: flex;
  align-items: center;
  gap: 12px;
}

.pulse-dot {
  width: 10px;
  height: 10px;
  background-color: var(--accent-green);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-green);
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(22, 163, 74, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); }
}

.sticky-title {
  color: var(--text-main);
  font-weight: 800;
  font-size: 0.95rem;
}

.sticky-subtitle {
  color: var(--text-dim);
  font-size: 0.8rem;
}

.sticky-btn-full {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--green-btn-gradient);
  color: #000000;
  font-weight: 900;
  font-size: 1.05rem;
  text-decoration: none;
  padding: 14px 36px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 20px rgba(17, 183, 71, 0.4);
  transition: all 0.2s ease;
  white-space: nowrap;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.sticky-btn-full:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 25px rgba(17, 183, 71, 0.6);
  color: #000;
}

@media (max-width: 768px) {
  .sticky-bottom-container {
    flex-direction: column;
    gap: 8px;
  }
  .sticky-bottom-text {
    display: none;
  }
  .sticky-btn-full {
    width: 100%;
    padding: 12px 16px;
    font-size: 0.95rem;
  }
  .hero-title {
    font-size: 1.8rem;
  }
  .article-section {
    padding: 24px 18px;
  }
  .hero-entry-img-btn {
    max-width: 260px;
  }
}

/* Footer */
.site-footer {
  background: #ffffff;
  border-top: 1px solid var(--border-color);
  padding: 40px 24px;
  color: var(--text-dim);
  font-size: 0.88rem;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  list-style: none;
  margin-bottom: 20px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
}
.footer-links a:hover {
  color: var(--orange-primary);
}
