/* ==========================================================
   FIERY PLAY CASINO - Main Stylesheet
   Theme: Dark background with Yellow (#FFD700) accent
   Author: FieryPlay
   ========================================================== */

/* ---------- CSS Custom Properties (Design Tokens) ---------- */
:root {
  --color-bg:        #0d0d1a;       /* page background - very dark blue-black */
  --color-surface:   #13132b;       /* card / section surface */
  --color-surface2:  #1a1a35;       /* slightly lighter surface for contrast */
  --color-border:    rgba(255,215,0,0.25);
  --color-accent:    #FFD700;       /* primary yellow accent */
  --color-accent-h:  #ffc200;       /* hover state for accent */
  --color-text:      #e8e8f0;       /* body text */
  --color-text-dim:  #9999bb;       /* dimmed / secondary text */
  --color-white:     #ffffff;
  --color-danger:    #ff4d6d;
  --radius-sm:       6px;
  --radius-md:       12px;
  --radius-lg:       20px;
  --shadow-card:     0 4px 24px rgba(0,0,0,0.45);
  --shadow-glow:     0 0 20px rgba(255,215,0,0.18);
  --transition:      0.25s ease;
  --font-main:       'Inter', 'Segoe UI', Arial, sans-serif;
  --max-width:       1200px;
}

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

html {
  scroll-behavior: smooth;          /* smooth anchor scrolling */
  font-size: 16px;
}

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

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

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color var(--transition);
}
a:hover { color: var(--color-accent-h); }

/* ---------- Typography Scale ---------- */
h1, h2, h3, h4, h5 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-white);
}
h1 { font-size: clamp(1.75rem, 4vw, 2.6rem); }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

ul, ol {
  padding-left: 1.4rem;
  margin-bottom: 1rem;
}
li { margin-bottom: 0.35rem; }

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ---------- Utility Classes ---------- */
.text-accent  { color: var(--color-accent); }
.text-dim     { color: var(--color-text-dim); }
.text-center  { text-align: center; }
.divider {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: 2rem 0;
}

/* Decorative yellow line used between sections */
.section-line {
  width: 60px;
  height: 3px;
  background: var(--color-accent);
  border-radius: 2px;
  margin: 0.5rem auto 1.5rem;
}

/* Emoji / graphic accent pill */
.emoji-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,215,0,0.12);
  border: 1px solid var(--color-border);
  border-radius: 50px;
  padding: 0.3rem 0.9rem;
  font-size: 0.85rem;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}

/* ==========================================================
   HEADER / NAV
   ========================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13,13,26,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  padding: 0.75rem 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* Logo */
.site-logo img {
  height: 48px;
  width: auto;
}

/* Desktop Nav */
.site-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.site-nav a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text);
  letter-spacing: 0.02em;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
  transition: all var(--transition);
}
.site-nav a:hover,
.site-nav a.active {
  color: var(--color-accent);
  border-bottom-color: var(--color-accent);
}

/* Hamburger (mobile) */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav overlay */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  top: 73px;
  background: rgba(13,13,26,0.98);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 2rem 1rem;
  gap: 1.5rem;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-text);
  padding: 0.5rem 0;
  width: 100%;
  text-align: center;
  border-bottom: 1px solid var(--color-border);
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover { color: var(--color-accent); }

/* ==========================================================
   BREADCRUMBS
   ========================================================== */
.breadcrumbs {
  padding: 0.75rem 0;
  font-size: 0.82rem;
  color: var(--color-text-dim);
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}
.breadcrumbs ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.3rem;
}
.breadcrumbs li + li::before {
  content: '›';
  margin-right: 0.3rem;
  color: var(--color-text-dim);
}
.breadcrumbs a { color: var(--color-accent); }
.breadcrumbs li:last-child { color: var(--color-text); }

/* ==========================================================
   HERO / BANNER SECTION
   ========================================================== */
.hero-section {
  position: relative;
  width: 100%;
  min-height: 520px;       /* minimum height on desktop */
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* The full-width banner image */
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* Dark gradient overlay on top of banner */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(13,13,26,0.82) 0%,
    rgba(13,13,26,0.55) 60%,
    rgba(13,13,26,0.72) 100%
  );
}

/* CTA card on banner - semi-transparent */
.hero-cta {
  position: relative;    /* above overlay */
  z-index: 2;
  background: rgba(13,13,26,0.72);
  border: 1px solid rgba(255,215,0,0.4);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(14px);
  padding: 2.5rem 2.5rem;
  max-width: 560px;
  text-align: center;
  box-shadow: var(--shadow-glow);
}
.hero-cta h1 {
  margin-bottom: 0.75rem;
  color: var(--color-white);
  text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}
.hero-cta .hero-sub {
  font-size: 1rem;
  color: var(--color-text-dim);
  margin-bottom: 1.5rem;
}
.hero-cta .bonus-badge {
  display: inline-block;
  background: rgba(255,215,0,0.15);
  border: 1px solid var(--color-accent);
  border-radius: 8px;
  padding: 0.5rem 1.1rem;
  font-size: 0.9rem;
  color: var(--color-accent);
  font-weight: 700;
  margin-bottom: 1.5rem;
  letter-spacing: 0.04em;
}

/* ==========================================================
   BUTTONS
   ========================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.btn-primary {
  background: var(--color-accent);
  color: #0d0d1a;
  box-shadow: 0 4px 20px rgba(255,215,0,0.4);
}
.btn-primary:hover {
  background: var(--color-accent-h);
  color: #0d0d1a;
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(255,215,0,0.55);
}
.btn-outline {
  background: transparent;
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
}
.btn-outline:hover {
  background: rgba(255,215,0,0.1);
  color: var(--color-accent);
  transform: translateY(-2px);
}
.btn-large {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

/* Full-width CTA blocks between sections */
.cta-block {
  text-align: center;
  padding: 2rem 1rem;
}
.cta-block .cta-label {
  font-size: 0.85rem;
  color: var(--color-text-dim);
  margin-top: 0.75rem;
}

/* ==========================================================
   SECTION BASE
   ========================================================== */
.section {
  padding: 4rem 0;
}
.section-alt {
  background: var(--color-surface);
}
.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.section-header h2 {
  margin-bottom: 0.5rem;
}
.section-header p {
  color: var(--color-text-dim);
  font-size: 1rem;
  max-width: 560px;
  margin: 0 auto;
}

/* ==========================================================
   POPULAR SLOTS GRID
   ========================================================== */
.slots-section {
  padding: 3.5rem 0;
  background: var(--color-surface);
}

/* 6 columns on desktop, never reduce natural image size */
.slots-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.slot-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  border: 1px solid var(--color-border);
  transition: transform var(--transition), box-shadow var(--transition);
  background: var(--color-surface2);
  aspect-ratio: 3/4;            /* keep proportions */
}
.slot-card:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 8px 28px rgba(255,215,0,0.3);
  border-color: var(--color-accent);
  z-index: 2;
}
.slot-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-md);
}

/* ==========================================================
   CONTENT SECTIONS (text blocks)
   ========================================================== */
.content-block {
  max-width: 820px;
  margin: 0 auto;
}

.content-block h2 {
  margin-bottom: 1rem;
}
.content-block h3 {
  color: var(--color-accent);
  margin: 1.5rem 0 0.5rem;
}

/* Step list (registration steps) */
.step-list {
  list-style: none;
  padding: 0;
  counter-reset: steps;
}
.step-list li {
  counter-increment: steps;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 1rem;
  background: var(--color-surface2);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}
.step-list li::before {
  content: counter(steps);
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #0d0d1a;
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.1rem;
}

/* Feature cards grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.feature-card {
  background: var(--color-surface2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: box-shadow var(--transition), border-color var(--transition);
}
.feature-card:hover {
  box-shadow: var(--shadow-glow);
  border-color: var(--color-accent);
}
.feature-card .icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  display: block;
}
.feature-card h3 {
  font-size: 1rem;
  color: var(--color-white);
  margin-bottom: 0.5rem;
}
.feature-card p {
  font-size: 0.9rem;
  color: var(--color-text-dim);
  margin: 0;
}

/* ==========================================================
   BONUS TABLE
   ========================================================== */
.table-wrap {
  overflow-x: auto;              /* horizontal scroll on mobile */
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  margin-top: 1.5rem;
}

.bonus-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  min-width: 600px;             /* prevents squishing on mobile */
}
.bonus-table thead tr {
  background: rgba(255,215,0,0.18);
}
.bonus-table th {
  padding: 0.85rem 1rem;
  text-align: left;
  color: var(--color-accent);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}
.bonus-table td {
  padding: 0.8rem 1rem;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-border);
}
.bonus-table tbody tr:last-child td { border-bottom: none; }
.bonus-table tbody tr:nth-child(even) { background: rgba(255,255,255,0.03); }
.bonus-table tbody tr:hover { background: rgba(255,215,0,0.06); }

/* ==========================================================
   PROVIDERS / INFO CARDS
   ========================================================== */
.providers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.provider-card {
  background: var(--color-surface2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.2rem;
  transition: border-color var(--transition);
}
.provider-card:hover { border-color: var(--color-accent); }
.provider-card strong {
  display: block;
  color: var(--color-white);
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}
.provider-card span {
  font-size: 0.82rem;
  color: var(--color-text-dim);
}

/* ==========================================================
   INFO GRAPHIC ROW (decorative line with emoji)
   ========================================================== */
.info-line {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: rgba(255,215,0,0.07);
  border-left: 3px solid var(--color-accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 1.5rem 0;
  font-size: 0.95rem;
}
.info-line .il-icon { font-size: 1.4rem; flex-shrink: 0; }

/* ==========================================================
   TEXT IMAGE (text_img folder)
   ========================================================== */
.text-img-section {
  padding: 3rem 0;
}
.text-img-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}
.text-img-wrap.reverse { direction: rtl; }
.text-img-wrap.reverse > * { direction: ltr; }
.text-img-wrap img {
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  width: 100%;
}

/* ==========================================================
   FOOTER
   ========================================================== */
.site-footer {
  background: #07070f;
  border-top: 1px solid var(--color-border);
  padding: 3rem 0 1.5rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

/* Payment logos row */
.payment-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 1.5rem 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}
.payment-logos img {
  height: 32px;
  width: auto;
  filter: brightness(0.7) grayscale(0.4);
  opacity: 0.75;
  transition: all var(--transition);
  object-fit: contain;
}
.payment-logos img:hover {
  filter: brightness(1) grayscale(0);
  opacity: 1;
}

/* Footer links */
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  align-items: center;
  padding: 1rem 0;
}
.footer-links a,
.footer-links .footer-legal-text {
  font-size: 0.85rem;
  color: var(--color-text-dim);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--color-accent); }

/* Footer disclaimer */
.footer-disclaimer {
  font-size: 0.78rem;
  color: var(--color-text-dim);
  opacity: 0.7;
  line-height: 1.6;
  padding-top: 1rem;
}

.footer-bottom {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.8rem;
  color: var(--color-text-dim);
}

/* ==========================================================
   POLICY PAGES
   ========================================================== */
.policy-page {
  padding: 3rem 0 4rem;
}
.policy-page h1 {
  margin-bottom: 0.5rem;
}
.policy-intro {
  color: var(--color-text-dim);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}
.policy-section {
  margin-top: 2.5rem;
  padding: 2rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}
.policy-section h2 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--color-accent);
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--color-border);
}
.policy-section h3 {
  font-size: 1rem;
  color: var(--color-white);
  margin: 1.25rem 0 0.5rem;
}

/* Anchor links inside policy pages */
.toc {
  background: var(--color-surface2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 2rem;
}
.toc h3 {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent);
  margin-bottom: 1rem;
}
.toc ol {
  padding-left: 1.2rem;
}
.toc a {
  font-size: 0.88rem;
  color: var(--color-text);
}
.toc a:hover { color: var(--color-accent); }

/* ==========================================================
   COOKIE CONSENT BANNER
   ========================================================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(13,13,26,0.97);
  border-top: 1px solid var(--color-border);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.4);
  backdrop-filter: blur(8px);
}
.cookie-banner p { margin: 0; color: var(--color-text-dim); }
.cookie-banner a { color: var(--color-accent); }
.cookie-banner .cookie-btns { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.cookie-banner.hidden { display: none; }

/* ==========================================================
   BACK TO TOP
   ========================================================== */
.back-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 90;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #0d0d1a;
  font-size: 1.3rem;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--transition);
  box-shadow: 0 4px 16px rgba(255,215,0,0.4);
}
.back-top.visible {
  opacity: 1;
  transform: translateY(0);
}
.back-top:hover {
  background: var(--color-accent-h);
  transform: translateY(-3px);
}

/* ==========================================================
   RESPONSIVE BREAKPOINTS
   ========================================================== */

/* Tablet (≤ 1024px) */
@media (max-width: 1024px) {
  .slots-grid { grid-template-columns: repeat(4, 1fr); }
  .text-img-wrap { grid-template-columns: 1fr; }
  .text-img-wrap.reverse { direction: ltr; }
}

/* Mobile (≤ 768px) */
@media (max-width: 768px) {
  /* Header */
  .site-nav { display: none; }
  .nav-toggle { display: flex; }

  /* Hero banner - allow natural content flow, center everything */
  .hero-section {
    min-height: 480px;
    align-items: center;
    padding: 2rem 1rem;
  }
  .hero-cta {
    padding: 1.75rem 1.25rem;
    max-width: 100%;
    margin: 0 1rem;
  }

  /* Slots: 2 per row on mobile for readability */
  .slots-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }

  /* Sections */
  .section { padding: 2.5rem 0; }

  /* Payment logos: smaller on mobile */
  .payment-logos img { height: 26px; }

  /* Table: allow scroll */
  .table-wrap { margin: 0 -1rem; border-radius: 0; border-left: none; border-right: none; }

  /* Footer */
  .footer-bottom { flex-direction: column; text-align: center; }

  /* Text image section */
  .text-img-wrap { grid-template-columns: 1fr; gap: 1.5rem; }
  .text-img-wrap.reverse { direction: ltr; }
}

/* Small mobile (≤ 480px) */
@media (max-width: 480px) {
  .slots-grid { grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .hero-cta { padding: 1.5rem 1rem; }
  .btn-large { padding: 0.85rem 1.75rem; font-size: 1rem; }
  .features-grid { grid-template-columns: 1fr; }
}
