/* ==========================================================================
   CAZINOM - CORPORATE PREMIUM GAMING PLATFORM STYLE
   Palette: Deep Dark Emerald (#001312, #011d1c) & Metallic Gold (#fae084, #d4a028)
   ========================================================================== */

:root {
  --bg-main: #001312;
  --bg-surface: #011d1c;
  --bg-card: #012423;
  --bg-card-hover: #02312f;
  --bg-card-inner: #001918;

  --border-color: #093c39;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-gold: rgba(229, 190, 83, 0.35);

  /* Premium Metallic Gold */
  --gold-100: #fff3cc;
  --gold-200: #fae084;
  --gold-300: #e5be53;
  --gold-400: #d4a028;
  --gold-gradient: linear-gradient(135deg, #fae084 0%, #d4a028 50%, #fae084 100%);
  --gold-gradient-hover: linear-gradient(135deg, #fff2aa 0%, #e5b338 50%, #fff2aa 100%);
  --gold-glow: 0 4px 20px rgba(229, 190, 83, 0.35);

  --accent-green: #00e599;
  --accent-green-glow: rgba(0, 229, 153, 0.25);

  --text-main: #ffffff;
  --text-muted: #8ea8a2;
  --text-dim: #5c756f;

  --radius-xs: 6px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  --container-max: 1240px;
  --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

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

html {
  font-size: 15px;
  scroll-behavior: smooth;
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-family);
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.5;
  padding-bottom: 74px; /* Space for mobile sticky bar */
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* Container with generous mobile breathing room */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* ==========================================================================
   TOPBAR NAVIGATION
   ========================================================================== */
.topnav {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 60px;
  display: flex;
  align-items: center;
  background: #001514;
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.topnav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo {
  height: 28px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  color: var(--gold-200);
  background: rgba(255, 255, 255, 0.04);
}

.nav-link.active {
  color: var(--gold-200);
  background: rgba(229, 190, 83, 0.08);
  border: 1px solid rgba(229, 190, 83, 0.2);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Metallic Gold Button */
.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 18px;
  font-size: 0.88rem;
  font-weight: 800;
  color: #120d02;
  background: var(--gold-gradient);
  border-radius: var(--radius-sm);
  box-shadow: var(--gold-glow);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-gold:hover {
  background: var(--gold-gradient-hover);
  box-shadow: 0 6px 24px rgba(229, 190, 83, 0.55);
  transform: translateY(-1px);
}

.btn-gold-lg {
  padding: 11px 26px;
  font-size: 0.95rem;
}

.btn-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
  background: #002d2a;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-dark:hover {
  background: #003a36;
  border-color: var(--gold-300);
  color: var(--gold-200);
}

/* ==========================================================================
   CANLI KAZANANLAR TICKER (ZAFERINI.APP TARZI AKSİYON)
   ========================================================================== */
.ticker-section {
  background: #001817;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 9px 0;
  overflow: hidden;
  position: relative;
}

.ticker-wrap {
  display: flex;
  align-items: center;
}

.ticker-label-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 3px 12px;
  background: var(--gold-gradient);
  color: #120d02;
  font-weight: 800;
  font-size: 0.72rem;
  border-radius: var(--radius-xs);
  letter-spacing: 0.5px;
  margin-right: 16px;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 2px 10px rgba(229, 190, 83, 0.3);
}

.ticker-live-beacon {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #120d02;
  animation: beaconPulse 1.5s infinite;
}

@keyframes beaconPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.8); }
}

.ticker-track-window {
  overflow: hidden;
  flex-grow: 1;
  position: relative;
  mask-image: linear-gradient(to right, transparent, black 3%, black 97%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 3%, black 97%, transparent);
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 28px;
  white-space: nowrap;
  animation: tickerScroll 38s linear infinite;
  width: max-content;
}

.ticker-track:hover {
  animation-play-state: paused;
}

@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
}

.ticker-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-green);
}

.ticker-user {
  font-weight: 700;
  color: #ffffff;
}

.ticker-game {
  color: var(--text-muted);
}

.ticker-amount {
  font-weight: 800;
  color: var(--gold-200);
}

.ticker-tag {
  padding: 1px 5px;
  font-size: 0.65rem;
  font-weight: 700;
  background: rgba(229, 190, 83, 0.12);
  border: 1px solid rgba(229, 190, 83, 0.25);
  border-radius: var(--radius-xs);
  color: var(--gold-200);
}

/* ==========================================================================
   HERO / MAIN BANNER CARD
   ========================================================================== */
.hero-wrapper {
  padding: 20px 0 16px;
}

.main-banner-card {
  position: relative;
  background: linear-gradient(90deg, #012826 0%, #001f1e 100%);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.main-banner-left {
  max-width: 620px;
}

.banner-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  background: rgba(229, 190, 83, 0.1);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-xs);
  color: var(--gold-200);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.banner-title {
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}

.banner-title .hl-gold {
  color: var(--gold-200);
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.banner-desc {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 18px;
}

.banner-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.banner-side-thumbs {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-shrink: 0;
}

.banner-side-img {
  width: 130px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

/* ==========================================================================
   DUAL WIDGET: CAZINOM JACKPOT & VIP PROGRAM
   ========================================================================== */
.dual-widgets-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 24px;
}

.widget-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.widget-card:hover {
  border-color: rgba(229, 190, 83, 0.4);
  transform: translateY(-2px);
}

.widget-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.widget-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.widget-title {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
}

.widget-badge {
  padding: 2px 7px;
  font-size: 0.68rem;
  font-weight: 700;
  background: #e11d48;
  color: #ffffff;
  border-radius: var(--radius-xs);
  text-transform: uppercase;
}

.jackpot-display-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 10px;
}

.jackpot-label {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.jackpot-amount {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--gold-200);
}

.progress-bar-bg {
  width: 100%;
  height: 8px;
  background: #001615;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 8px;
  border: 1px solid var(--border-subtle);
}

.progress-bar-fill {
  height: 100%;
  background: var(--gold-gradient);
  border-radius: 4px;
  width: 76.5%;
}

.progress-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.progress-meta strong {
  color: #ffffff;
}

/* VIP Tiers Visual */
.vip-tiers-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0 14px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 14px;
}

.vip-tier-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.vip-tier-badge {
  padding: 3px 8px;
  border-radius: var(--radius-xs);
  background: #001817;
  border: 1px solid var(--border-color);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
}

.vip-tier-badge.tier-gold {
  color: var(--gold-200);
  border-color: var(--border-gold);
}

/* ==========================================================================
   2 MAIN HERO PROMO HIGHLIGHTS (CLICKABLE TO DETAIL PAGES)
   ========================================================================== */
.promo-highlights-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 30px;
}

.highlight-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}

.highlight-card:hover {
  border-color: rgba(229, 190, 83, 0.5);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  transform: translateY(-2px);
}

.highlight-card-link {
  display: block;
  width: 100%;
  cursor: pointer;
}

.highlight-card-img-wrap {
  position: relative;
  width: 100%;
  background: #001110;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.highlight-card-img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: contain;
  display: block;
  transition: transform 0.3s ease;
}

.highlight-card-link:hover .highlight-card-img {
  transform: scale(1.02);
}

.highlight-card-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.highlight-card-title {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 6px;
  color: #ffffff;
  transition: color 0.2s ease;
}

.highlight-card-link:hover .highlight-card-title {
  color: var(--gold-200);
}

.highlight-card-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  flex-grow: 1;
}

.highlight-card-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

/* ==========================================================================
   POPULAR PROMOTIONS (2 COLUMNS ON MOBILE!)
   ========================================================================== */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.section-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-main-title {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.3px;
  color: #ffffff;
}

.view-all-link {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: color 0.2s ease;
}

.view-all-link:hover {
  color: var(--gold-200);
}

/* Category Filter Bar */
.category-filter-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 18px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}

.filter-pill {
  padding: 5px 14px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  background: #002220;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.filter-pill:hover, .filter-pill.active {
  color: #120d02;
  border-color: transparent;
  background: var(--gold-gradient);
}

/* Promos Grid (4 Columns on Desktop, 2 Columns on Mobile!) */
.promos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 36px;
}

.promo-grid-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
}

.promo-grid-card:hover {
  border-color: rgba(229, 190, 83, 0.6);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.6);
  transform: translateY(-2px);
}

.promo-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 696 / 892;
  background: #001312;
  overflow: hidden;
}

.promo-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.promo-grid-card:hover .promo-thumb-wrap img {
  transform: scale(1.03);
}

.promo-footer-bar {
  padding: 10px 12px;
  background: #001b1a;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.promo-footer-link {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 2px;
  white-space: nowrap;
}

.promo-footer-link:hover {
  color: var(--gold-200);
}

.promo-action-btn {
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 800;
  color: #120d02;
  background: var(--gold-gradient);
  border-radius: var(--radius-xs);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.promo-action-btn:hover {
  background: var(--gold-gradient-hover);
}

/* ==========================================================================
   HIGH WINS TABLE
   ========================================================================== */
.table-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 36px;
}

.table-header-bar {
  padding: 14px 18px;
  background: #001c1b;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.table-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
}

.table-tab-btn {
  padding: 4px 12px;
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text-dim);
  border-radius: var(--radius-xs);
  background: #001413;
  border: 1px solid var(--border-subtle);
}

.table-tab-btn.active {
  color: #120d02;
  background: var(--gold-gradient);
  border-color: transparent;
}

.wins-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}

.wins-table th {
  text-align: left;
  padding: 10px 18px;
  font-weight: 700;
  color: var(--text-dim);
  background: #001716;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.wins-table td {
  padding: 11px 18px;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-muted);
}

.wins-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
  color: #ffffff;
}

.table-game-cell {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: #ffffff;
}

.table-game-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-green);
}

.table-payout-cell {
  font-weight: 800;
  color: var(--gold-200);
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */
.faq-grid-section {
  margin-bottom: 36px;
}

.faq-card-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 8px;
  overflow: hidden;
}

.faq-q-btn {
  width: 100%;
  padding: 14px 18px;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff;
}

.faq-q-btn:hover {
  color: var(--gold-200);
}

.faq-ans-box {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease, padding 0.25s ease;
  padding: 0 18px;
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.5;
}

.faq-card-item.open .faq-ans-box {
  max-height: 250px;
  padding: 0 18px 14px 18px;
}

.faq-chevron {
  font-size: 1rem;
  color: var(--gold-200);
  transition: transform 0.2s ease;
}

.faq-card-item.open .faq-chevron {
  transform: rotate(45deg);
}

/* ==========================================================================
   CORPORATE FOOTER
   ========================================================================== */
.corp-footer {
  background: #001110;
  border-top: 1px solid var(--border-color);
  padding: 36px 0 20px;
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1.6fr;
  gap: 24px;
  margin-bottom: 28px;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-brand-logo {
  height: 26px;
  width: auto;
  object-fit: contain;
}

.footer-brand-text {
  font-size: 0.75rem;
  color: var(--text-dim);
  line-height: 1.5;
}

.footer-social-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.social-icon-btn {
  width: 30px;
  height: 30px;
  border-radius: var(--radius-xs);
  background: #001a19;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.social-icon-btn:hover {
  color: var(--gold-200);
  border-color: var(--border-gold);
}

.footer-col-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
}

.footer-link-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-link-list a {
  font-size: 0.78rem;
  color: var(--text-dim);
}

.footer-link-list a:hover {
  color: var(--gold-200);
}

.support-boxes-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.support-box {
  background: #001b1a;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.support-box-info h5 {
  font-size: 0.82rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 2px;
}

.support-box-info p {
  font-size: 0.7rem;
  color: var(--text-dim);
}

.support-box-btn {
  padding: 6px 14px;
  font-size: 0.75rem;
  font-weight: 800;
  background: var(--gold-gradient);
  color: #120d02;
  border-radius: var(--radius-xs);
  white-space: nowrap;
}

.support-box-btn:hover {
  background: var(--gold-gradient-hover);
}

.footer-bottom-bar {
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-licence-text {
  font-size: 0.7rem;
  color: var(--text-dim);
  line-height: 1.5;
  max-width: 780px;
}

.footer-age-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  color: var(--gold-200);
  font-weight: 700;
  white-space: nowrap;
}

.age-18-circle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid var(--gold-300);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
}

/* ==========================================================================
   MOBILE BOTTOM STICKY BAR
   ========================================================================== */
.corp-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99;
  background: #001514;
  border-top: 1px solid var(--border-color);
  padding: 10px 16px;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.5);
}

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

.sticky-label-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
}

.sticky-label-sub {
  font-size: 0.7rem;
  color: var(--gold-200);
}

/* ==========================================================================
   PROMOTION MODAL
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 15, 14, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-box {
  background: #002220;
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-md);
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
  position: relative;
  display: flex;
  flex-direction: column;
}

.modal-close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 30px;
  height: 30px;
  border-radius: var(--radius-xs);
  background: #001615;
  border: 1px solid var(--border-color);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  z-index: 10;
}

.modal-close-btn:hover {
  background: #ffffff;
  color: #000000;
}

.modal-img-wrap {
  width: 100%;
  height: 220px;
  background: #001312;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.modal-content {
  padding: 18px 20px;
}

.modal-badge {
  display: inline-block;
  padding: 3px 9px;
  background: rgba(229, 190, 83, 0.12);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-xs);
  color: var(--gold-200);
  font-size: 0.72rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.modal-title {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: #ffffff;
}

.modal-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.5;
}

.modal-rules-title {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--gold-200);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.modal-rules {
  list-style: none;
  margin-bottom: 20px;
}

.modal-rules li {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 5px;
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.rule-icon {
  color: var(--accent-green);
  font-weight: 800;
}

/* ==========================================================================
   RESPONSIVE DESIGN (PROPER CONTAINER PADDING & MOBILE FIT)
   ========================================================================== */
@media (max-width: 1024px) {
  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .container {
    padding-left: 18px;
    padding-right: 18px;
  }
  .nav-links {
    display: none;
  }
  .dual-widgets-grid {
    grid-template-columns: 1fr;
  }
  .promo-highlights-grid {
    grid-template-columns: 1fr;
  }
  .main-banner-card {
    flex-direction: column;
    padding: 20px;
    text-align: center;
  }
  .main-banner-left {
    max-width: 100%;
  }
  .banner-actions {
    justify-content: center;
  }
  .banner-side-thumbs {
    justify-content: center;
    margin-top: 10px;
  }

  /* MOBILDE YAN YANA 2'LI PROMOSYONLAR */
  .promos-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px;
  }
}

@media (max-width: 580px) {
  /* Generous left-right gutters on small mobile screens */
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
  .banner-title {
    font-size: 1.5rem;
  }
  .banner-side-img {
    width: 100px;
  }
  
  /* Mobilde Promosyonlar Yan Yana 2'li */
  .promos-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px;
  }
  .promo-footer-bar {
    padding: 8px 6px;
    flex-direction: column;
    gap: 6px;
    align-items: stretch;
  }
  .promo-footer-link {
    font-size: 0.7rem;
    justify-content: center;
  }
  .promo-action-btn {
    text-align: center;
    padding: 4px 6px;
    font-size: 0.72rem;
  }

  .footer-top-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom-bar {
    flex-direction: column;
    align-items: flex-start;
  }
}
