﻿/* ============================================
   CASHED CASINO – Design System
   Brand: Deep Emerald Green + Liquid Gold
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Playfair+Display:ital,wght@0,700;1,400&display=swap');

/* ── CSS Variables ── */
:root {
  --gold:         #C9A84C;
  --gold-light:   #E8C96A;
  --gold-dark:    #A07830;
  --gold-gradient: linear-gradient(135deg, #E8C96A 0%, #C9A84C 40%, #A07830 100%);
  --green-deep:   #021A12;
  --green-dark:   #031E15;
  --green-mid:    #052E1C;
  --green-card:   #0A2A1A;
  --green-border: #0F3D25;
  --green-hover:  #0D3520;
  --text-primary: #F0EBD8;
  --text-secondary: #B8AE96;
  --text-muted:   #9A9080;
  --white:        #FFFFFF;
  --danger:       #E53935;
  --success:      #43A047;

  --font-body: 'Outfit', sans-serif;
  --font-display: 'Playfair Display', serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;

  --shadow-gold: 0 0 24px rgba(201,168,76,0.25);
  --shadow-card: 0 4px 32px rgba(0,0,0,0.45);
  --shadow-glow: 0 0 60px rgba(201,168,76,0.12);

  --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  --header-h: 72px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--green-deep);
  color: var(--text-primary);
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--gold-light); }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-body); font-weight: 700; line-height: 1.25; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.2rem; }
p { color: var(--text-secondary); font-size: 1.05rem; }

.text-gold { color: var(--gold); }
.text-center { text-align: center; }
.display-font { font-family: var(--font-display); }

/* ── Gold Gradient Text ── */
.gold-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-lg);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.03em;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.08);
  opacity: 0;
  transition: var(--transition);
}
.btn:hover::before { opacity: 1; }

.btn-primary {
  background: var(--gold-gradient);
  color: var(--green-deep);
  box-shadow: 0 4px 20px rgba(201,168,76,0.4);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(201,168,76,0.55);
  color: var(--green-deep);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--gold);
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--green-deep);
  transform: translateY(-2px);
}

.btn-ghost {
  background: rgba(201,168,76,0.08);
  border: 1px solid rgba(201,168,76,0.3);
  color: var(--gold);
}
.btn-ghost:hover {
  background: rgba(201,168,76,0.18);
  color: var(--gold-light);
}

.btn-lg { padding: 18px 44px; font-size: 1.1rem; }
.btn-sm { padding: 10px 22px; font-size: 0.9rem; }

/* ── Layout ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 32px;
}
.section { padding: 80px 0; }
.section-sm { padding: 50px 0; }
.section-lg { padding: 110px 0; }

/* ── Section Headers ── */
.section-header { text-align: center; margin-bottom: 56px; }
.section-header .eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.25);
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 16px;
}
.section-header h2 { margin-bottom: 16px; }
.section-header p { max-width: 600px; margin: 0 auto; }

/* ── Cards ── */
.card {
  background: var(--green-card);
  border: 1px solid var(--green-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gold-gradient);
  opacity: 0;
  transition: var(--transition);
}
.card:hover { border-color: rgba(201,168,76,0.35); transform: translateY(-4px); box-shadow: var(--shadow-card); }
.card:hover::before { opacity: 1; }

/* ── Gold Divider ── */
.gold-divider {
  width: 60px;
  height: 3px;
  background: var(--gold-gradient);
  border-radius: 2px;
  margin: 20px auto;
}
.gold-divider-left { margin: 20px 0; }

/* ── Badge ── */
.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.badge-gold { background: rgba(201,168,76,0.15); color: var(--gold); border: 1px solid rgba(201,168,76,0.3); }
.badge-green { background: rgba(67,160,71,0.15); color: #66BB6A; border: 1px solid rgba(67,160,71,0.3); }
.badge-red { background: rgba(229,57,53,0.15); color: #EF5350; border: 1px solid rgba(229,57,53,0.3); }

/* ── Tables ── */
.table-wrapper { overflow-x: auto; border-radius: var(--radius-md); }
.premium-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
.premium-table th {
  background: rgba(201,168,76,0.12);
  color: var(--gold);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  padding: 16px 20px;
  text-align: left;
  border-bottom: 2px solid rgba(201,168,76,0.3);
}
.premium-table td {
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  color: var(--text-secondary);
  vertical-align: middle;
}
.premium-table tr:hover td { background: rgba(201,168,76,0.04); }
.premium-table tr:last-child td { border-bottom: none; }
.premium-table .highlight td { background: rgba(201,168,76,0.06); }

/* ── Stat Boxes ── */
.stats-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 24px; }
.stat-box {
  background: var(--green-card);
  border: 1px solid var(--green-border);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.stat-box::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gold-gradient);
}
.stat-box .stat-number {
  font-size: 2.2rem;
  font-weight: 900;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-box .stat-label { font-size: 0.85rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; }

/* ── Feature list ── */
.feature-list { display: flex; flex-direction: column; gap: 14px; }
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text-secondary);
  font-size: 1rem;
}
.feature-list li::before {
  content: '✓';
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: rgba(201,168,76,0.15);
  border: 1px solid rgba(201,168,76,0.4);
  border-radius: 50%;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

/* ── Grid Layouts ── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }

/* ── Rating Stars ── */
.stars { color: var(--gold); letter-spacing: 2px; font-size: 1rem; }

/* ── Progress Bar ── */
.progress-bar-wrap { margin-bottom: 16px; }
.progress-label { display: flex; justify-content: space-between; margin-bottom: 6px; font-size: 0.9rem; }
.progress-label span:last-child { color: var(--gold); font-weight: 600; }
.progress-track {
  height: 8px;
  background: rgba(255,255,255,0.06);
  border-radius: 4px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  border-radius: 4px;
  background: var(--gold-gradient);
  transition: width 1.2s cubic-bezier(0.4,0,0.2,1);
}

/* ── Alert / Info Box ── */
.info-box {
  background: rgba(201,168,76,0.06);
  border: 1px solid rgba(201,168,76,0.25);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin: 24px 0;
}
.info-box strong { color: var(--gold); }

/* ── SEO Text Block ── */
.seo-block { color: var(--text-secondary); font-size: 1.02rem; }
.seo-block h3 { color: var(--text-primary); margin: 32px 0 12px; font-size: 1.3rem; }
.seo-block p { margin-bottom: 16px; }
.seo-block ul { margin: 12px 0 20px 20px; list-style: disc; color: var(--text-secondary); }
.seo-block ul li { margin-bottom: 8px; }

/* ── HEADER ── */
#site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(2,26,18,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(201,168,76,0.15);
  transition: var(--transition);
}
#site-header.scrolled {
  background: rgba(2,26,18,0.98);
  box-shadow: 0 4px 24px rgba(0,0,0,0.5);
}
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 28px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo-wrap img { height: 38px; width: auto; display: block; }

.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a {
  color: var(--text-secondary);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
}
.main-nav a:hover, .main-nav a.active {
  color: var(--gold);
  background: rgba(201,168,76,0.08);
}

.header-cta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.header-cta .btn { padding: 10px 22px; font-size: 0.9rem; }
.mobile-play-btn { display: none; }

/* Burger */
.burger { display: none; flex-direction: column; gap: 5px; width: 36px; padding: 6px; cursor: pointer; }
.burger span { display: block; height: 2px; background: var(--text-primary); border-radius: 2px; transition: var(--transition); }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0;
  background: var(--green-dark);
  border-bottom: 1px solid var(--green-border);
  padding: 20px 28px 28px;
  flex-direction: column;
  gap: 4px;
  z-index: 999;
  box-shadow: 0 24px 48px rgba(0,0,0,0.6);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  color: var(--text-secondary);
  font-size: 1rem;
  font-weight: 500;
  padding: 13px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  display: flex;
  align-items: center;
  gap: 10px;
}
.mobile-nav a:hover { color: var(--gold); }
.mobile-nav .mobile-cta {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mobile-nav .mobile-cta .btn { width: 100%; justify-content: center; }

/* ── FOOTER ── */
#site-footer {
  background: var(--green-dark);
  border-top: 1px solid var(--green-border);
  padding: 60px 0 28px;
  margin-top: 80px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand p { font-size: 0.9rem; margin: 16px 0; max-width: 280px; }
.footer-logo { height: 36px; width: auto; margin-bottom: 14px; }
.footer-col h4 { color: var(--text-primary); font-size: 0.9rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { color: var(--text-muted); font-size: 0.9rem; transition: var(--transition); }
.footer-col ul a:hover { color: var(--gold); padding-left: 4px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 0.82rem; color: var(--text-muted); }
.footer-legal { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-legal a { font-size: 0.82rem; color: var(--text-muted); }
.footer-legal a:hover { color: var(--gold); }

.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border: 2px solid var(--text-muted);
  border-radius: 50%;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 800;
  flex-shrink: 0;
}

/* ── Author Box ── */
.author-box {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  background: var(--green-card);
  border: 1px solid var(--green-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-top: 48px;
}
.author-box img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
  flex-shrink: 0;
}
.author-box-info h4 { font-size: 1.1rem; margin-bottom: 4px; }
.author-box-info .role { color: var(--gold); font-size: 0.85rem; margin-bottom: 10px; font-weight: 600; }
.author-box-info p { font-size: 0.92rem; color: var(--text-muted); margin: 0; }

/* ── Hero Section ── */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../img/hero-bg.png');
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(2,26,18,0.92) 0%, rgba(2,26,18,0.6) 60%, rgba(5,46,28,0.5) 100%);
}
.hero-content { position: relative; z-index: 1; }

/* ── Breadcrumb ── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 16px 0;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep { color: rgba(201,168,76,0.4); }
.breadcrumb .current { color: var(--gold); }

/* ── Animations ── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}
@keyframes pulse-gold {
  0%, 100% { box-shadow: 0 0 20px rgba(201,168,76,0.3); }
  50% { box-shadow: 0 0 40px rgba(201,168,76,0.6); }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}
.animate-delay-1 { transition-delay: 0.1s; }
.animate-delay-2 { transition-delay: 0.2s; }
.animate-delay-3 { transition-delay: 0.3s; }
.animate-delay-4 { transition-delay: 0.4s; }

/* -- Reduced Motion (Accessibility) -- */
@media (prefers-reduced-motion: reduce) {
  .animate-on-scroll {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ── Bonus Card ── */
.bonus-highlight {
  background: linear-gradient(135deg, rgba(201,168,76,0.12) 0%, rgba(5,46,28,0.8) 100%);
  border: 1px solid rgba(201,168,76,0.35);
  border-radius: var(--radius-xl);
  padding: 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.bonus-highlight::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(ellipse at center, rgba(201,168,76,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.bonus-amount {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 900;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 8px;
}
.bonus-subtitle { font-size: 1.1rem; color: var(--text-primary); font-weight: 600; margin-bottom: 24px; }

/* ── Step list ── */
.steps { display: flex; flex-direction: column; gap: 0; }
.step {
  display: flex;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  position: relative;
}
.step:last-child { border-bottom: none; }
.step-num {
  flex-shrink: 0;
  width: 44px; height: 44px;
  background: var(--gold-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1rem;
  color: var(--green-deep);
}
.step-body h4 { margin-bottom: 6px; color: var(--text-primary); }
.step-body p { font-size: 0.95rem; margin: 0; }

/* ── Page Hero (inner pages) ── */
.page-hero {
  background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-mid) 100%);
  border-bottom: 1px solid var(--green-border);
  padding: 0 0 48px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 600px; height: 100%;
  background: radial-gradient(ellipse at right center, rgba(201,168,76,0.08) 0%, transparent 70%);
  pointer-events: none;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --header-h: 64px; }
  .section { padding: 56px 0; }
  .section-lg { padding: 72px 0; }
  .container { padding: 0 18px; }
  .main-nav, .header-cta { display: none; }
  .burger { display: flex; }
  .mobile-play-btn { display: inline-flex; font-size: 0.82rem; padding: 9px 14px; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .author-box { flex-direction: column; }
  .bonus-highlight { padding: 28px 20px; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .page-hero { padding: 0 0 34px; }
}

@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .btn-lg { padding: 14px 28px; font-size: 1rem; }
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--green-deep); }
::-webkit-scrollbar-thumb { background: rgba(201,168,76,0.3); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(201,168,76,0.5); }

/* ── Selection ── */
::selection { background: rgba(201,168,76,0.25); color: var(--text-primary); }

/* -- Mobile tap target improvements -- */
@media (max-width: 768px) {
  .btn { min-height: 44px; }
  .main-nav a { min-height: 44px; display: flex; align-items: center; }
  .mobile-nav a { min-height: 44px; }
  button { min-height: 44px; }
}

/* -- Skip to main content link (accessibility) -- */
.skip-link {
  position: absolute;
  top: -40px;
  left: 12px;
  background: var(--gold);
  color: var(--green-deep);
  padding: 8px 16px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-weight: 700;
  font-size: 0.9rem;
  z-index: 10000;
  transition: top 0.3s;
  text-decoration: none;
}
.skip-link:focus { top: 0; }