/* ============================================================
   JACKASS CASINO — style.css
   Casino/premium red-gold dark theme
   ============================================================ */

/* ---------- Reset & Variables ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg:        #0d0d0d;
  --surface:   #161616;
  --card:      #1a1a2e;
  --primary:   #C41E3A;
  --secondary: #D4AF37;
  --text:      #F0F0F0;
  --text-dim:  #999;
  --bronze:    #CD7F32;
  --silver:    #C0C0C0;
  --gold:      #FFD700;
  --diamond:   #B9F2FF;
  --radius:    12px;
  --radius-lg: 20px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: 'Cinzel', serif; font-weight: 700; line-height: 1.2; }

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---------- Navbar ---------- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(13, 13, 13, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(196, 30, 58, 0.15);
  transition: background 0.3s;
}
.navbar.scrolled { background: rgba(13, 13, 13, 0.95); }

.nav-container {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 70px;
}

.nav-logo { display: flex; align-items: center; gap: 8px; }
.logo-icon { font-size: 28px; color: var(--primary); }
.logo-text { font-family: 'Cinzel', serif; font-size: 18px; font-weight: 700; letter-spacing: 1px; }
.logo-accent { color: var(--secondary); }

.nav-links { display: flex; gap: 32px; }
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--text-dim);
  transition: color 0.25s; position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px;
  background: var(--primary); transition: width 0.25s;
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  padding: 10px 24px; border-radius: 8px; font-size: 14px; font-weight: 600;
  background: linear-gradient(135deg, var(--primary), #a01830);
  color: #fff; transition: transform 0.2s, box-shadow 0.2s;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 4px 20px rgba(196, 30, 58, 0.4); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span {
  display: block; width: 24px; height: 2px; background: var(--text);
  margin: 5px 0; transition: 0.3s;
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  justify-content: center; text-align: center; overflow: hidden;
  padding: 120px 24px 80px;
}

.hero-bg-gradient {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 20%, rgba(196, 30, 58, 0.15), transparent),
    radial-gradient(ellipse 60% 40% at 30% 80%, rgba(212, 175, 55, 0.08), transparent),
    radial-gradient(ellipse 60% 40% at 70% 60%, rgba(196, 30, 58, 0.06), transparent);
  animation: heroGradient 8s ease-in-out infinite alternate;
}
@keyframes heroGradient {
  0%   { opacity: 1; }
  50%  { opacity: 0.7; }
  100% { opacity: 1; }
}

.hero-particles { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }

.hero-content { position: relative; z-index: 2; max-width: 800px; }

.hero-badge {
  display: inline-block; padding: 6px 20px; border-radius: 100px;
  font-size: 13px; font-weight: 600; letter-spacing: 2px; color: var(--secondary);
  border: 1px solid rgba(212, 175, 55, 0.3); background: rgba(212, 175, 55, 0.06);
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(48px, 10vw, 96px); font-weight: 900; letter-spacing: 4px;
  line-height: 1.05; margin-bottom: 16px;
  text-shadow: 0 0 60px rgba(196, 30, 58, 0.3);
}
.hero-title-accent {
  background: linear-gradient(135deg, var(--secondary), #f0d060, var(--secondary));
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  animation: goldShimmer 3s linear infinite;
}
@keyframes goldShimmer {
  0%   { background-position: 0% center; }
  100% { background-position: 200% center; }
}

.hero-subtitle {
  font-family: 'Cinzel', serif; font-size: clamp(16px, 3vw, 24px);
  color: var(--text-dim); margin-bottom: 16px; letter-spacing: 3px;
}

.hero-desc { font-size: 16px; color: var(--text-dim); max-width: 560px; margin: 0 auto 32px; }

/* Hero Jackpot */
.hero-jackpot {
  margin-bottom: 36px; padding: 20px 32px; border-radius: var(--radius);
  background: rgba(212, 175, 55, 0.06); border: 1px solid rgba(212, 175, 55, 0.2);
  display: inline-block;
}
.hero-jackpot-label { font-size: 12px; letter-spacing: 3px; text-transform: uppercase; color: var(--text-dim); }
.hero-jackpot-amount {
  font-family: 'Cinzel', serif; font-size: clamp(32px, 5vw, 48px); font-weight: 900;
  color: var(--secondary);
  text-shadow: 0 0 30px rgba(212, 175, 55, 0.4);
}
.hero-jackpot-currency { font-size: 14px; color: var(--secondary); letter-spacing: 2px; }

.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }

.btn {
  display: inline-flex; align-items: center; padding: 14px 36px;
  border-radius: 8px; font-size: 15px; font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s; cursor: pointer; border: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--primary), #a01830);
  color: #fff;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 30px rgba(196, 30, 58, 0.45); }
.btn-outline {
  background: transparent; color: var(--secondary);
  border: 1px solid rgba(212, 175, 55, 0.4);
}
.btn-outline:hover { background: rgba(212, 175, 55, 0.08); transform: translateY(-2px); }

.hero-suits { display: flex; gap: 24px; justify-content: center; font-size: 28px; opacity: 0.25; }
.hero-suits .red { color: var(--primary); }

.hero-scroll-indicator {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  font-size: 11px; letter-spacing: 2px; color: var(--text-dim); z-index: 2;
}
.scroll-line { width: 1px; height: 40px; background: linear-gradient(to bottom, var(--primary), transparent); animation: scrollPulse 2s ease-in-out infinite; }
@keyframes scrollPulse { 0%, 100% { opacity: 0.3; } 50% { opacity: 1; } }

/* ---------- Sections ---------- */
.section { padding: 100px 0; }
.section-dark { background: var(--surface); }

.section-header { text-align: center; margin-bottom: 60px; }
.section-badge {
  display: inline-block; padding: 4px 16px; border-radius: 100px;
  font-size: 12px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
  color: var(--primary); border: 1px solid rgba(196, 30, 58, 0.3);
  background: rgba(196, 30, 58, 0.06); margin-bottom: 16px;
}
.section-title { font-size: clamp(28px, 5vw, 44px); margin-bottom: 16px; }
.section-desc { font-size: 16px; color: var(--text-dim); max-width: 600px; margin: 0 auto; }

/* ---------- Provably Fair ---------- */
.fair-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; margin-bottom: 48px; }
.fair-card {
  background: var(--card); border-radius: var(--radius); padding: 32px;
  border: 1px solid rgba(196, 30, 58, 0.1); transition: border-color 0.3s, transform 0.3s;
}
.fair-card:hover { border-color: rgba(196, 30, 58, 0.3); transform: translateY(-4px); }
.fair-icon { font-size: 36px; margin-bottom: 16px; }
.fair-card h3 { font-size: 18px; margin-bottom: 8px; color: var(--secondary); }
.fair-card p { font-size: 14px; color: var(--text-dim); }

.hash-demo {
  background: var(--card); border-radius: var(--radius); padding: 32px;
  border: 1px solid rgba(212, 175, 55, 0.15);
  max-width: 700px; margin: 0 auto;
}
.hash-demo-title { font-family: 'Cinzel', serif; font-size: 16px; color: var(--secondary); margin-bottom: 20px; }
.hash-row { display: flex; align-items: center; gap: 16px; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
.hash-row:last-child { border-bottom: none; }
.hash-label { font-size: 13px; font-weight: 600; color: var(--text-dim); min-width: 100px; }
.hash-value { font-size: 13px; color: var(--primary); font-family: 'Courier New', monospace; word-break: break-all; }
.hash-row.result .hash-value { color: #4ade80; }

/* ---------- Games Grid ---------- */
.games-filter { display: flex; gap: 12px; justify-content: center; margin-bottom: 40px; flex-wrap: wrap; }
.filter-btn {
  padding: 8px 20px; border-radius: 100px; font-size: 13px; font-weight: 600;
  background: var(--card); border: 1px solid rgba(255,255,255,0.08); color: var(--text-dim);
  cursor: pointer; transition: 0.25s;
}
.filter-btn.active, .filter-btn:hover {
  background: rgba(196, 30, 58, 0.15); border-color: var(--primary); color: var(--text);
}

.games-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; }

.game-card {
  position: relative; background: var(--card); border-radius: var(--radius); padding: 28px 24px;
  border: 1px solid rgba(255,255,255,0.06); overflow: hidden;
  transition: transform 0.3s, border-color 0.3s;
  cursor: pointer;
}
.game-card:hover { transform: translateY(-6px); border-color: rgba(196, 30, 58, 0.4); }

.game-card-glow {
  position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
  background: radial-gradient(circle at center, rgba(196, 30, 58, 0.08), transparent 60%);
  opacity: 0; transition: opacity 0.4s; pointer-events: none;
}
.game-card:hover .game-card-glow { opacity: 1; }

.game-icon { font-size: 40px; margin-bottom: 12px; }
.game-name { font-size: 18px; margin-bottom: 4px; }
.game-desc { font-size: 13px; color: var(--text-dim); margin-bottom: 16px; }

.game-stats { display: flex; gap: 16px; margin-bottom: 12px; }
.game-stat { display: flex; flex-direction: column; }
.stat-label { font-size: 10px; text-transform: uppercase; letter-spacing: 1px; color: var(--text-dim); }
.stat-value { font-size: 14px; font-weight: 700; color: var(--secondary); }

.game-category-tag {
  display: inline-block; padding: 3px 10px; border-radius: 100px;
  font-size: 10px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase;
  background: rgba(196, 30, 58, 0.1); color: var(--primary); border: 1px solid rgba(196, 30, 58, 0.2);
}

.game-card.hidden { display: none; }

/* ---------- Sports ---------- */
.sports-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-bottom: 48px; }
.sports-card {
  background: var(--card); border-radius: var(--radius); padding: 28px 20px; text-align: center;
  border: 1px solid rgba(255,255,255,0.06); transition: transform 0.3s, border-color 0.3s;
}
.sports-card:hover { transform: translateY(-4px); border-color: rgba(196, 30, 58, 0.3); }
.sports-icon { font-size: 36px; margin-bottom: 12px; }
.sports-card h3 { font-size: 16px; margin-bottom: 6px; color: var(--secondary); }
.sports-card p { font-size: 13px; color: var(--text-dim); }

.sports-features {
  display: flex; justify-content: center; gap: 48px; flex-wrap: wrap;
  padding: 32px; background: var(--card); border-radius: var(--radius);
  border: 1px solid rgba(212, 175, 55, 0.15);
}
.sports-feature { text-align: center; }
.sf-number { font-family: 'Cinzel', serif; font-size: 28px; font-weight: 700; color: var(--secondary); }
.sf-text { font-size: 13px; color: var(--text-dim); margin-top: 4px; }

/* ---------- Jackpot ---------- */
.jackpot-display { text-align: center; margin-bottom: 48px; }
.jackpot-ring {
  display: inline-flex; align-items: center; justify-content: center;
  width: 300px; height: 300px; border-radius: 50%;
  background: conic-gradient(var(--primary), var(--secondary), var(--primary), var(--secondary), var(--primary));
  padding: 4px; animation: jackpotSpin 6s linear infinite;
}
@keyframes jackpotSpin { 0% { filter: hue-rotate(0deg); } 100% { filter: hue-rotate(360deg); } }

.jackpot-ring-inner {
  width: 100%; height: 100%; border-radius: 50%;
  background: var(--surface); display: flex; flex-direction: column;
  align-items: center; justify-content: center;
}
.jackpot-label { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--text-dim); }
.jackpot-amount {
  font-family: 'Cinzel', serif; font-size: 36px; font-weight: 900; color: var(--secondary);
  text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}
.jackpot-currency { font-size: 14px; color: var(--secondary); letter-spacing: 2px; }

.jackpot-info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.jackpot-info-card {
  background: var(--card); border-radius: var(--radius); padding: 28px;
  border: 1px solid rgba(255,255,255,0.06);
}
.jackpot-info-card h3 { font-size: 18px; color: var(--secondary); margin-bottom: 12px; }
.jackpot-info-card p { font-size: 14px; color: var(--text-dim); }

.winners-list { display: flex; flex-direction: column; gap: 8px; }
.winner-row {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 8px 12px; border-radius: 8px; background: rgba(255,255,255,0.02);
  font-size: 13px;
}
.winner-addr { color: var(--text-dim); font-family: 'Courier New', monospace; font-size: 12px; }
.winner-game { color: var(--primary); font-weight: 600; }
.winner-amount { color: var(--secondary); font-weight: 700; white-space: nowrap; }

/* ---------- How to Play (Steps) ---------- */
.steps-grid { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }

.step-card {
  background: var(--card); border-radius: var(--radius); padding: 28px 20px;
  text-align: center; border: 1px solid rgba(255,255,255,0.06);
  flex: 1 1 180px; max-width: 220px; position: relative;
  transition: transform 0.3s, border-color 0.3s;
}
.step-card:hover { transform: translateY(-4px); border-color: rgba(196, 30, 58, 0.3); }

.step-number {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  width: 28px; height: 28px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #a01830);
  color: #fff; font-size: 13px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.step-icon { font-size: 32px; margin-bottom: 12px; margin-top: 8px; }
.step-card h3 { font-size: 15px; margin-bottom: 6px; }
.step-card p { font-size: 13px; color: var(--text-dim); }

.step-connector { color: var(--primary); font-size: 16px; opacity: 0.4; flex-shrink: 0; }

/* ---------- VIP ---------- */
.vip-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; }

.vip-card {
  background: var(--card); border-radius: var(--radius-lg); padding: 32px 24px;
  text-align: center; border: 2px solid transparent;
  transition: transform 0.3s;
}
.vip-card:hover { transform: translateY(-6px); }

.vip-bronze { border-color: rgba(205, 127, 50, 0.3); }
.vip-bronze .vip-tier-name { color: var(--bronze); }
.vip-silver { border-color: rgba(192, 192, 192, 0.3); }
.vip-silver .vip-tier-name { color: var(--silver); }
.vip-gold { border-color: rgba(255, 215, 0, 0.3); }
.vip-gold .vip-tier-name { color: var(--gold); }
.vip-diamond { border-color: rgba(185, 242, 255, 0.3); }
.vip-diamond .vip-tier-name { color: var(--diamond); }

.vip-tier-icon { font-size: 40px; margin-bottom: 8px; }
.vip-tier-name { font-size: 22px; margin-bottom: 4px; }
.vip-req { font-size: 12px; color: var(--text-dim); margin-bottom: 20px; }
.vip-benefits { text-align: left; }
.vip-benefits li {
  font-size: 14px; color: var(--text-dim); padding: 6px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.vip-benefits li::before { content: '+ '; color: var(--secondary); font-weight: 700; }
.vip-benefits li:last-child { border-bottom: none; }

/* ---------- Jackina Games Promo ---------- */
.jackina-promo {
  background: var(--card); border-radius: var(--radius-lg); padding: 40px 36px;
  border: 1px solid rgba(212, 175, 55, 0.2);
  max-width: 900px; margin: 0 auto;
}
.jackina-promo-header { text-align: center; margin-bottom: 32px; }
.jackina-promo-header h3 {
  font-family: 'Cinzel', serif; font-size: 22px; color: var(--secondary); margin-bottom: 12px;
}
.jackina-promo-header p { font-size: 15px; color: var(--text-dim); max-width: 600px; margin: 0 auto; }

.jackina-categories {
  display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; margin-bottom: 32px;
}
.jackina-cat {
  background: rgba(196, 30, 58, 0.06); border: 1px solid rgba(196, 30, 58, 0.15);
  border-radius: var(--radius); padding: 16px 20px; text-align: center;
  flex: 1 1 140px; max-width: 160px; transition: border-color 0.3s, transform 0.3s;
}
.jackina-cat:hover { border-color: rgba(212, 175, 55, 0.4); transform: translateY(-3px); }
.jackina-cat-icon { font-size: 28px; margin-bottom: 6px; }
.jackina-cat-name { font-family: 'Cinzel', serif; font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 2px; }
.jackina-cat-count { font-size: 12px; color: var(--text-dim); }

.jackina-highlights {
  display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; margin-bottom: 28px;
  padding: 20px; background: rgba(212, 175, 55, 0.04); border-radius: var(--radius);
  border: 1px solid rgba(212, 175, 55, 0.1);
}
.jackina-highlight { text-align: center; }
.jh-number {
  display: block; font-family: 'Cinzel', serif; font-size: 28px; font-weight: 900;
  color: var(--secondary); text-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}
.jh-label { font-size: 12px; color: var(--text-dim); letter-spacing: 1px; text-transform: uppercase; }

.jackina-rewards {
  text-align: center; padding: 16px; background: rgba(196, 30, 58, 0.06);
  border-radius: var(--radius); border: 1px solid rgba(196, 30, 58, 0.12);
}
.jackina-rewards p { font-size: 14px; color: var(--text-dim); }
.jackina-rewards strong { color: var(--secondary); }

/* ---------- Community ---------- */
.community-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.community-card {
  display: block; background: var(--card); border-radius: var(--radius); padding: 28px 20px;
  text-align: center; border: 1px solid rgba(255,255,255,0.06);
  transition: transform 0.3s, border-color 0.3s;
}
.community-card:hover { transform: translateY(-4px); border-color: rgba(196, 30, 58, 0.3); }
.community-icon { font-size: 32px; margin-bottom: 10px; color: var(--primary); }
.community-card h3 { font-size: 16px; margin-bottom: 6px; }
.community-card p { font-size: 13px; color: var(--text-dim); }

/* ---------- Footer ---------- */
.footer {
  padding: 60px 0 32px;
  background: var(--surface);
  border-top: 1px solid rgba(196, 30, 58, 0.1);
}
.footer-top { text-align: center; margin-bottom: 40px; }
.footer-top .logo-icon { font-size: 32px; }
.footer-top .logo-text { font-size: 20px; }
.footer-tagline { font-size: 14px; color: var(--text-dim); margin-top: 8px; }

.footer-links {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 32px; margin-bottom: 40px;
}
.footer-col h4 { font-size: 14px; color: var(--secondary); margin-bottom: 12px; }
.footer-col a { display: block; font-size: 14px; color: var(--text-dim); padding: 4px 0; transition: color 0.2s; }
.footer-col a:hover { color: var(--text); }

.footer-bottom { text-align: center; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.05); }
.footer-bottom p { font-size: 13px; color: var(--text-dim); }
.footer-disclaimer { margin-top: 8px; font-size: 12px; color: #666; }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- Floating particle ---------- */
.float-suit {
  position: absolute; font-size: 24px; pointer-events: none;
  animation: floatUp linear forwards;
  opacity: 0;
}
.float-suit.red { color: var(--primary); }
@keyframes floatUp {
  0%   { opacity: 0; transform: translateY(0) rotate(0deg); }
  10%  { opacity: 0.6; }
  90%  { opacity: 0.6; }
  100% { opacity: 0; transform: translateY(-100vh) rotate(360deg); }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: block; }

  .nav-links.open {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 70px; left: 0; right: 0;
    background: rgba(13, 13, 13, 0.98); padding: 16px 24px;
    border-bottom: 1px solid rgba(196, 30, 58, 0.15);
  }
  .nav-links.open a { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }

  .steps-grid { flex-direction: column; align-items: stretch; }
  .step-card { max-width: 100%; }
  .step-connector { transform: rotate(90deg); text-align: center; }

  .jackpot-ring { width: 240px; height: 240px; }
  .jackpot-amount { font-size: 28px; }

  .sports-features { gap: 24px; }
}

@media (max-width: 600px) {
  .hero-title { letter-spacing: 2px; }
  .section { padding: 64px 0; }
  .section-header { margin-bottom: 40px; }
  .games-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .game-card { padding: 20px 16px; }
  .game-icon { font-size: 28px; }
  .game-name { font-size: 15px; }
  .game-stats { flex-direction: column; gap: 4px; }
  .winner-row { flex-direction: column; gap: 4px; text-align: center; }
}

@media (max-width: 400px) {
  .games-grid { grid-template-columns: 1fr; }
}
