/* =============================================
   QuickCashCasinos.com — Global Stylesheet
   Theme: White & Orange | Crash Game Casinos
   ============================================= */

/* --- Variables --- */
:root {
  --orange: #FF6B00;
  --orange-light: #FF8C38;
  --orange-dark: #CC5500;
  --orange-glow: rgba(255, 107, 0, 0.3);
  --white: #FFFFFF;
  --off-white: #FFF8F3;
  --light-gray: #F5F5F5;
  --mid-gray: #999999;
  --dark: #1A1A1A;
  --dark-soft: #2D2D2D;
  --card-shadow: 0 4px 24px rgba(255, 107, 0, 0.10);
  --card-shadow-hover: 0 8px 40px rgba(255, 107, 0, 0.22);
  --radius: 14px;
  --radius-sm: 8px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  background: var(--white);
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* --- Typography --- */
h1, h2, h3, h4, h5 { font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.4rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.5rem); }
p { font-size: 1rem; color: #444; }

/* --- Utility --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section-alt { background: var(--off-white); }
.text-orange { color: var(--orange); }
.text-center { text-align: center; }
.badge {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.badge-outline {
  background: transparent;
  border: 2px solid var(--orange);
  color: var(--orange);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
}
.btn-primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 4px 20px var(--orange-glow);
}
.btn-primary:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--orange-glow);
}
.btn-outline {
  background: transparent;
  color: var(--orange);
  border: 2px solid var(--orange);
}
.btn-outline:hover {
  background: var(--orange);
  color: #fff;
  transform: translateY(-2px);
}
.btn-lg { padding: 18px 38px; font-size: 1.1rem; }

/* --- Navigation --- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,107,0,0.1);
  padding: 0 20px;
}
.navbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--dark);
}
.logo span { color: var(--orange); }
.logo img { width: 38px; height: 38px; border-radius: 8px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--dark-soft);
  transition: var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: var(--transition);
}
.nav-links a:hover { color: var(--orange); }
.nav-links a:hover::after { width: 100%; }
.nav-cta { margin-left: 12px; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* --- Hero Section --- */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #fff 0%, #FFF4EC 60%, #FFE8D4 100%);
  position: relative;
  overflow: hidden;
  padding: 60px 20px;
}
.hero-bg-anim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,107,0,0.1);
  color: var(--orange);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
}
.hero h1 { margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--orange); }
.hero p { font-size: 1.1rem; margin-bottom: 36px; color: #555; max-width: 480px; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,107,0,0.15);
}
.hero-stat-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--orange);
  display: block;
}
.hero-stat-label { font-size: 0.85rem; color: var(--mid-gray); }

/* --- Crash Multiplier Animation --- */
.crash-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 420px;
}
.crash-graph-container {
  width: 100%;
  max-width: 460px;
  height: 360px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--card-shadow-hover);
  border: 1px solid rgba(255,107,0,0.12);
  overflow: hidden;
  position: relative;
}
.crash-graph-container canvas { display: block; width: 100% !important; height: 100% !important; }
.crash-multiplier-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--orange);
  color: #fff;
  font-size: 2rem;
  font-weight: 900;
  padding: 10px 22px;
  border-radius: 12px;
  box-shadow: 0 4px 20px var(--orange-glow);
  letter-spacing: -0.5px;
  font-variant-numeric: tabular-nums;
}

/* --- Casino Cards --- */
.casino-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.casino-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--card-shadow);
  border: 1px solid rgba(255,107,0,0.08);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.casino-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--orange-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}
.casino-card:hover { transform: translateY(-6px); box-shadow: var(--card-shadow-hover); }
.casino-card:hover::before { transform: scaleX(1); }
.casino-card-top { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.casino-logo-wrap {
  width: 64px; height: 64px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--light-gray);
  display: flex; align-items: center; justify-content: center;
}
.casino-logo-wrap img { width: 100%; height: 100%; object-fit: contain; }
.casino-name { font-size: 1.15rem; font-weight: 700; }
.casino-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.85rem;
  color: var(--mid-gray);
  margin-top: 4px;
}
.casino-rating .stars { color: var(--orange); }
.casino-bonus {
  background: rgba(255,107,0,0.07);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin-bottom: 16px;
}
.casino-bonus-label { font-size: 0.75rem; color: var(--mid-gray); text-transform: uppercase; letter-spacing: 0.5px; }
.casino-bonus-value { font-size: 1.1rem; font-weight: 800; color: var(--orange); }
.casino-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.tag {
  font-size: 0.75rem;
  padding: 4px 10px;
  background: var(--light-gray);
  border-radius: 20px;
  color: #555;
  font-weight: 500;
}
.tag-orange { background: rgba(255,107,0,0.1); color: var(--orange); }
.casino-card-footer { display: flex; gap: 12px; }
.casino-card-footer .btn { flex: 1; justify-content: center; font-size: 0.9rem; padding: 11px 16px; }
.rank-badge {
  position: absolute;
  top: 16px; right: 16px;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.rank-badge-gold { background: linear-gradient(135deg, #FFD700, #FFA500); }
.rank-badge-silver { background: linear-gradient(135deg, #C0C0C0, #A0A0A0); }
.rank-badge-bronze { background: linear-gradient(135deg, #CD7F32, #A0522D); }

/* --- Section Header --- */
.section-header { text-align: center; max-width: 680px; margin: 0 auto 16px; }
.section-header .eyebrow {
  display: inline-block;
  color: var(--orange);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-header h2 { margin-bottom: 16px; }
.section-header p { color: #666; }

/* --- Features / How It Works --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 28px;
  margin-top: 48px;
}
.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--card-shadow);
  border: 1px solid rgba(255,107,0,0.06);
  transition: var(--transition);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--card-shadow-hover); }
.feature-icon {
  width: 64px; height: 64px;
  background: rgba(255,107,0,0.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
  transition: var(--transition);
}
.feature-card:hover .feature-icon { background: var(--orange); }
.feature-card h3 { margin-bottom: 10px; }
.feature-card p { font-size: 0.95rem; }

/* --- Game Cards (Crash Games) --- */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 48px;
}
.game-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
  cursor: pointer;
  position: relative;
}
.game-card:hover { transform: translateY(-6px) scale(1.02); box-shadow: var(--card-shadow-hover); }
.game-card-img {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--light-gray);
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem;
  position: relative;
  overflow: hidden;
}
.game-card-img img { width: 100%; height: 100%; object-fit: cover; }
.game-card-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  padding: 20px 14px 14px;
  color: #fff;
}
.game-card-name { font-weight: 700; font-size: 0.95rem; }
.game-card-rtp { font-size: 0.75rem; opacity: 0.8; }
.game-card-badge {
  position: absolute;
  top: 10px; left: 10px;
}

/* --- Game Hero Image (individual crash game pages) --- */
.game-hero-img {
  display: flex;
  justify-content: center;
  margin: 24px auto 28px;
  max-width: 280px;
}
.game-hero-img img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.4);
  display: block;
}

/* --- Floating Particles (animated) --- */
.particles-wrap { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.particle {
  position: absolute;
  border-radius: 50%;
  background: var(--orange);
  opacity: 0.07;
  animation: floatParticle linear infinite;
}
@keyframes floatParticle {
  0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10% { opacity: 0.07; }
  90% { opacity: 0.07; }
  100% { transform: translateY(-100px) rotate(720deg); opacity: 0; }
}

/* --- Pulse Ring Animation --- */
@keyframes pulseRing {
  0% { transform: scale(0.8); opacity: 0.8; }
  100% { transform: scale(2.2); opacity: 0; }
}
.pulse-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid var(--orange);
  animation: pulseRing 2s ease-out infinite;
}

/* --- Rocket / plane animation --- */
@keyframes rocketFly {
  0% { transform: translate(0, 0) rotate(-30deg); }
  50% { transform: translate(60px, -80px) rotate(-35deg); }
  100% { transform: translate(0, 0) rotate(-30deg); }
}
.rocket-anim { animation: rocketFly 4s ease-in-out infinite; display: inline-block; font-size: 2.5rem; }

/* --- Scroll reveal --- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* --- FAQ --- */
.faq-list { max-width: 800px; margin: 48px auto 0; }
.faq-item {
  border-bottom: 1px solid rgba(255,107,0,0.12);
  padding: 0;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 22px 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: var(--transition);
}
.faq-question:hover { color: var(--orange); }
.faq-chevron {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(255,107,0,0.1);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
  color: var(--orange);
  font-size: 1rem;
}
.faq-item.open .faq-chevron { background: var(--orange); color: #fff; transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}
.faq-answer-inner { padding: 0 0 20px; color: #555; line-height: 1.7; }
.faq-item.open .faq-answer { max-height: 400px; }

/* --- Newsletter / CTA Banner --- */
.cta-banner {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  border-radius: var(--radius);
  padding: 64px 48px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-banner h2 { color: #fff; margin-bottom: 12px; }
.cta-banner p { color: rgba(255,255,255,0.85); margin-bottom: 32px; font-size: 1.1rem; }
.cta-banner .btn-white {
  background: #fff;
  color: var(--orange);
  font-weight: 800;
}
.cta-banner .btn-white:hover { background: var(--off-white); transform: translateY(-2px); }

/* --- Footer --- */
.footer {
  background: #111;
  color: rgba(255,255,255,0.65);
  border-top: 3px solid var(--orange);
}

/* Trust bar */
.footer-trust-bar {
  background: rgba(255,107,0,0.08);
  border-bottom: 1px solid rgba(255,107,0,0.15);
  padding: 12px 20px;
}
.footer-trust-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-trust-item {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.75);
  font-weight: 500;
}
.footer-trust-divider {
  color: rgba(255,107,0,0.4);
  font-weight: 300;
}

/* Main footer body */
.footer-main { padding: 56px 20px 0; }
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 3fr;
  gap: 60px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

/* Brand column */
.footer-brand { display: flex; flex-direction: column; gap: 16px; }
.footer-logo { color: #fff !important; font-size: 1.15rem; display: flex; align-items: center; gap: 10px; font-weight: 700; }
.footer-logo:hover { color: var(--orange) !important; }
.footer-brand p { font-size: 0.875rem; line-height: 1.75; color: rgba(255,255,255,0.6); max-width: 280px; }
.footer-quicklinks { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.footer-quicklink {
  display: inline-flex;
  align-items: center;
  font-size: 0.82rem;
  color: var(--orange);
  font-weight: 600;
  transition: var(--transition);
  gap: 6px;
}
.footer-quicklink:hover { color: #fff; }
.footer-quicklink::before { content: '→'; font-size: 0.75rem; }

/* Nav columns */
.footer-nav-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.footer-col h4 {
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--orange);
  display: inline-block;
}
.footer-col-icon { margin-right: 4px; }
.footer-col ul { display: flex; flex-direction: column; gap: 9px; list-style: none; padding: 0; margin: 0; }
.footer-col ul a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.footer-col ul a:hover { color: var(--orange); transform: translateX(3px); }
.footer-score {
  background: rgba(255,107,0,0.15);
  color: var(--orange);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  border: 1px solid rgba(255,107,0,0.2);
  flex-shrink: 0;
}

/* RG logos strip */
.footer-rg-strip {
  background: rgba(255,255,255,0.02);
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding: 24px 20px;
}
.footer-rg-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}
.footer-rg-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
  flex-shrink: 0;
}
.footer-rg-logos {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-rg-logos a { display: flex; align-items: center; opacity: 0.45; transition: opacity 0.2s; }
.footer-rg-logos a:hover { opacity: 0.9; }
.footer-rg-logos img { height: 28px; width: auto; object-fit: contain; filter: grayscale(100%) brightness(200%); }

/* Footer bottom */
.footer-bottom { padding: 28px 20px 36px; }
.footer-bottom-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 40px;
  align-items: flex-start;
  flex-wrap: wrap;
}
.footer-legal { flex: 1; min-width: 280px; }
.footer-legal p { font-size: 0.78rem; line-height: 1.7; color: rgba(255,255,255,0.45); }
.footer-legal a { color: var(--orange); }
.footer-legal a:hover { color: #fff; }
.footer-bottom-right { display: flex; flex-direction: column; gap: 14px; align-items: flex-end; flex-shrink: 0; }
.footer-cert-badges { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.footer-cert {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  padding: 4px 12px;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.55);
  font-weight: 500;
  white-space: nowrap;
}
.footer-bottom-links { display: flex; gap: 16px; flex-wrap: wrap; justify-content: flex-end; }
.footer-bottom-links a { font-size: 0.78rem; color: rgba(255,255,255,0.45); transition: var(--transition); }
.footer-bottom-links a:hover { color: var(--orange); }
.footer-copyright { font-size: 0.75rem; color: rgba(255,255,255,0.3); text-align: right; }

/* --- Responsible Gambling Bar --- */
.rg-bar {
  background: #111;
  text-align: center;
  padding: 10px 20px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}
.rg-bar a { color: var(--orange); }

/* --- Mobile --- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-buttons { justify-content: center; }
  .hero-stats { justify-content: center; }
  .crash-visual { height: 300px; }
  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-nav-cols { grid-template-columns: repeat(2, 1fr); gap: 28px; }
  .footer-brand p { max-width: 100%; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .footer-bottom-right { align-items: flex-start; }
  .footer-cert-badges { justify-content: flex-start; }
  .footer-bottom-links { justify-content: flex-start; }
  .footer-copyright { text-align: left; }
}
@media (max-width: 600px) {
  .section { padding: 56px 0; }
  .cta-banner { padding: 40px 24px; }
  .footer-nav-cols { grid-template-columns: 1fr 1fr; gap: 24px; }
  .casino-grid { grid-template-columns: 1fr; }
  .hero-stats { flex-direction: column; gap: 16px; }
  .footer-trust-inner { gap: 8px; }
  .footer-trust-divider { display: none; }
  .footer-rg-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer-bottom-inner { flex-direction: column; gap: 24px; }
}

/* --- Mobile Nav Open --- */
.nav-mobile-open .nav-links {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 70px; left: 0; right: 0;
  background: #fff;
  padding: 24px 20px 32px;
  gap: 20px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
  z-index: 999;
}
