/* style.css — CrocoSlots Casino — generated 2026-05 */

/* ── Brand Color ── */
:root {
  --accent:       #00c853;   /* CrocoSlots green */
  --accent-dark:  #009624;
  --accent-light: color-mix(in srgb, var(--accent) 70%, white);
  --accent-hover: color-mix(in srgb, var(--accent) 85%, white);
  --bg:           #0a0f0a;
  --bg2:          #121a12;
  --bg3:          #1a2a1a;
  --text:         #e0e8e0;
  --text-muted:   #7a9a7a;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 18px; scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  font-size: 1rem;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { list-style: none; }
ol { padding-left: 1.4em; }

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800&display=swap');

/* ── CTA Button ── */
.cta-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  font-weight: 800;
  padding: 15px 36px;
  border-radius: 8px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  font-size: 1.08rem;
  text-decoration: none;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 20px rgba(0,200,83,0.35);
}
.cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,200,83,0.5);
  text-decoration: none;
  color: #fff;
}
.cta-btn-lg {
  padding: 18px 48px;
  font-size: 1.18rem;
}

/* ── Header & Navigation ── */
header {
  background: rgba(10,15,10,0.96);
  backdrop-filter: blur(10px);
  padding: 0 16px;
  position: sticky;
  top: 0;
  z-index: 200;
  border-bottom: 1px solid rgba(0,200,83,0.15);
}
.nav-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 14px;
}
.logo {
  font-size: 1.28rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo-croc { font-size: 1.5em; }

/* Desktop nav links */
.nav-links { display: flex; gap: 18px; list-style: none; align-items: center; }
.nav-links a { color: var(--text); font-size: 0.98rem; font-weight: 700; transition: color 0.2s; white-space: nowrap; }
.nav-links a:hover, .nav-links a.active { color: var(--accent); text-decoration: none; }
.nav-cta { background: var(--accent); color: #000 !important; padding: 8px 16px; border-radius: 6px; font-weight: 800 !important; }
.nav-cta:hover { background: var(--accent-hover); }

/* Language dropdown */
.lang-switcher {
  position: relative;
  margin-left: 16px;
  flex: 0 0 auto;
  overflow: visible;
  border: 0;
  border-radius: 0;
  margin-bottom: 0;
}
.lang-switcher summary {
  min-width: 58px;
  min-height: 36px;
  padding: 7px 30px 7px 12px;
  border: 1px solid rgba(0,200,83,0.36);
  border-radius: 8px;
  background: rgba(0,200,83,0.08);
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.lang-switcher summary::-webkit-details-marker { display: none; }
.lang-switcher summary::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-65%) rotate(45deg);
  transition: transform 0.2s ease;
}
.lang-switcher[open] summary::after { transform: translateY(-35%) rotate(225deg); }
.lang-switcher summary:hover,
.lang-switcher[open] summary {
  border-color: var(--accent);
  background: rgba(0,200,83,0.14);
}
.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 92px;
  padding: 6px;
  border: 1px solid rgba(0,200,83,0.28);
  border-radius: 10px;
  background: rgba(10,15,10,0.98);
  box-shadow: 0 14px 34px rgba(0,0,0,0.58), 0 0 24px rgba(0,200,83,0.12);
  z-index: 260;
}
.lang-menu a {
  display: block;
  padding: 9px 12px;
  border-radius: 7px;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 750;
  text-align: center;
}
.lang-menu a:hover,
.lang-menu a.cur {
  color: #061006;
  background: var(--accent);
  text-decoration: none;
}

/* ── Burger Button ── */
.burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--text);
}
.burger span { display: block; width: 24px; height: 2px; background: currentColor; margin: 5px 0; transition: all 0.3s; }
.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 dropdown ── */
@media (max-width: 860px) {
  .burger { display: block; }
  .nav-links {
    display: none;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--bg2);
    padding: 12px 0;
    box-shadow: 0 6px 24px rgba(0,0,0,0.7);
    border-bottom: 1px solid rgba(0,200,83,0.15);
  }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: 14px 20px; font-size: 1.04rem; }
  .nav-links a:hover { background: var(--bg3); }
  .nav-cta { margin: 8px 20px; border-radius: 6px; text-align: center; }
  .lang-switcher { margin-left: 6px; }
  .lang-switcher summary { min-width: 52px; min-height: 34px; padding: 7px 28px 7px 10px; font-size: 0.84rem; }
  .lang-menu { right: 0; }
}

@media (max-width: 380px) {
  header { padding: 0 10px; }
  .logo { font-size: 1.05rem; gap: 5px; }
  .logo-croc { font-size: 1.25em; }
  .burger { padding: 6px; }
  .lang-switcher summary { min-width: 48px; padding-left: 9px; font-size: 0.78rem; }
  .lang-menu a { font-size: 0.82rem; padding: 8px 10px; }
}

/* ── Layout ── */
main { max-width: 1140px; margin: 0 auto; padding: 32px 16px 48px; }
section { margin-bottom: 56px; }
h1 { font-size: 2.55rem; color: var(--accent); margin-bottom: 20px; line-height: 1.18; font-weight: 800; }
h2 { font-size: 1.8rem; color: var(--accent-light); margin-bottom: 16px; line-height: 1.25; font-weight: 750; }
h3 { font-size: 1.28rem; color: #aaccaa; margin-bottom: 12px; line-height: 1.3; font-weight: 750; }
p { margin-bottom: 16px; color: var(--text); font-size: 1.08rem; }
strong { color: #fff; }

/* ── Hero ── */
.hero {
  text-align: center;
  padding: 56px 20px 48px;
  background: radial-gradient(ellipse at 50% 0%, rgba(0,200,83,0.12) 0%, transparent 65%),
              linear-gradient(180deg, var(--bg2) 0%, var(--bg) 100%);
  border-radius: 16px;
  margin-bottom: 48px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  border: 1px solid rgba(0,200,83,0.15);
  pointer-events: none;
}
.hero h1 { font-size: 3rem; }
.hero .hero-sub { font-size: 1.18rem; color: #9fbd9f; max-width: 720px; margin: 0 auto 30px; line-height: 1.6; }
.hero .bonus-badge {
  display: inline-block;
  background: linear-gradient(135deg, rgba(0,200,83,0.2), rgba(0,200,83,0.05));
  border: 1px solid rgba(0,200,83,0.4);
  border-radius: 10px;
  padding: 12px 24px;
  margin-bottom: 28px;
  font-size: 1.32rem;
  font-weight: 800;
  color: var(--accent);
}

/* ── Brand Banner ── */
.brand-banner {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto 32px;
  display: block;
  position: relative;
  aspect-ratio: 2048 / 520;
  border-radius: 16px;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(0,200,83,0.28);
  background: #090d09;
  box-shadow:
    0 16px 46px rgba(0,0,0,0.62),
    0 0 0 1px rgba(255,255,255,0.04) inset,
    0 0 34px rgba(0,200,83,0.14);
}
.brand-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,0.04) 0%, transparent 55%, rgba(0,0,0,0.08) 100%);
}
.brand-banner img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center bottom;
  border-radius: inherit;
  transform: scale(1.005);
  filter: saturate(1.08) contrast(1.04) brightness(1);
  transition: transform 0.45s ease, filter 0.45s ease;
}
.brand-banner:hover img {
  transform: scale(1.025);
  filter: saturate(1.14) contrast(1.06) brightness(1.04);
}

@media (prefers-reduced-motion: reduce) {
  .brand-banner img { transition: none; }
  .brand-banner:hover img { transform: scale(1.005); }
}

/* ── Hero Game Strip ── */
.hero-game-strip {
  max-width: 1040px;
  margin: -22px auto 48px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  gap: 10px;
}
.hero-game-strip a {
  display: block;
  position: relative;
  aspect-ratio: 2 / 3;
  border-radius: 9px;
  overflow: hidden;
  background: #071007;
  border: 1px solid rgba(0,200,83,0.24);
  box-shadow: 0 8px 20px rgba(0,0,0,0.38);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.hero-game-strip a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 56%, rgba(0,0,0,0.55) 100%);
  pointer-events: none;
}
.hero-game-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
}
.hero-game-strip a:hover {
  transform: translateY(-5px);
  border-color: rgba(0,200,83,0.72);
  box-shadow: 0 16px 34px rgba(0,0,0,0.5), 0 0 22px rgba(0,200,83,0.22);
  text-decoration: none;
}

/* ── Trust Bar ── */
.trust-bar {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 20px 0;
  border-top: 1px solid #1a2a1a;
  border-bottom: 1px solid #1a2a1a;
  margin: 32px 0;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 600;
}
.trust-item .ti-icon { font-size: 1.5rem; }
.trust-item strong { color: var(--accent); }

/* ── Tables ── */
table { width: 100%; border-collapse: collapse; margin-bottom: 22px; font-size: 1.02rem; }
th, td { padding: 13px 16px; text-align: left; border-bottom: 1px solid #1a2a1a; }
th { background: var(--bg3); color: var(--accent); font-weight: 700; white-space: nowrap; }
tr:hover td { background: rgba(0,200,83,0.04); }
@media (max-width: 600px) {
  table, thead, tbody, th, td, tr { display: block; }
  thead tr { display: none; }
  td { padding: 11px 14px; border-bottom: none; }
  td::before { content: attr(data-label); font-weight: 700; color: var(--accent); display: block; font-size: 0.9rem; margin-bottom: 3px; }
  tr { border: 1px solid #1a2a1a; border-radius: 8px; margin-bottom: 10px; overflow: hidden; }
}

/* ── Game Cards Grid ── */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(155px, 1fr));
  gap: 16px;
}
.game-card {
  background: var(--bg2);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #1a2a1a;
  transition: transform 0.2s, border-color 0.2s;
}
.game-card:hover { transform: translateY(-4px); border-color: rgba(0,200,83,0.3); }
.game-card img { width: 100%; aspect-ratio: 2/3; object-fit: cover; }
.game-card-info { padding: 8px 10px 10px; }
.game-card-info p:first-child { font-weight: 700; color: #e0e8e0; font-size: 1rem; line-height: 1.3; }
.game-card-info p:last-child { color: var(--text-muted); font-size: 0.92rem; line-height: 1.3; margin: 0; }
@media (max-width: 400px) { .games-grid { grid-template-columns: repeat(2, 1fr); } }

/* ── Info Card (bonus steps, etc.) ── */
.info-card {
  background: var(--bg2);
  border: 1px solid #1a2a1a;
  border-radius: 12px;
  padding: 24px 28px;
  margin-bottom: 20px;
}
.steps-list { counter-reset: step; list-style: none; padding: 0; }
.steps-list li {
  counter-increment: step;
  padding: 14px 0 14px 52px;
  position: relative;
  border-bottom: 1px solid #1a2a1a;
  color: var(--text);
  font-size: 1.05rem;
}
.steps-list li:last-child { border-bottom: none; }
.steps-list li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 12px;
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Provider Grid ── */
.providers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
  margin: 20px 0;
}
.provider-chip {
  background: var(--bg2);
  border: 1px solid #1a2a1a;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
  text-align: center;
  transition: border-color 0.2s, color 0.2s;
}
.provider-chip:hover { border-color: var(--accent); color: var(--accent); }

/* ── FAQ Accordion ── */
details:not(.lang-switcher) {
  border: 1px solid #1a2a1a;
  border-radius: 8px;
  margin-bottom: 10px;
  overflow: hidden;
  transition: border-color 0.2s;
}
details:not(.lang-switcher):hover { border-color: rgba(0,200,83,0.3); }
details:not(.lang-switcher)[open] { border-color: rgba(0,200,83,0.25); }
details:not(.lang-switcher) summary {
  padding: 17px 20px;
  cursor: pointer;
  font-weight: 700;
  background: var(--bg2);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.08rem;
  line-height: 1.45;
}
details:not(.lang-switcher) summary::after { content: "+"; color: var(--accent); font-size: 1.4rem; line-height: 1; }
details:not(.lang-switcher)[open] summary::after { content: "−"; }
details:not(.lang-switcher) .faq-body { padding: 18px 20px; background: var(--bg); }
details:not(.lang-switcher) .faq-body p { margin-bottom: 8px; }
details:not(.lang-switcher) .faq-body p:last-child { margin-bottom: 0; }

/* ── Pros/Cons table ── */
.pros-cons td:first-child { color: #6fcf97; }
.pros-cons td:last-child { color: #eb5757; }

/* ── Footer ── */
footer {
  background: var(--bg2);
  border-top: 1px solid #1a2a1a;
  text-align: center;
  padding: 32px 20px;
  font-size: 0.98rem;
  color: #4a6a4a;
  margin-top: 64px;
}
footer a { color: #5a7a5a; }
footer a:hover { color: var(--accent); }
.footer-nav { margin: 12px 0; display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.footer-nav a { color: #5a7a5a; font-weight: 600; }
.footer-ledger { font-size: 0.92rem; color: #86a586; line-height: 1.6; max-width: 920px; margin: 12px auto 0; }
.footer-disclaimer { font-size: 0.92rem; color: #6f846f; margin-top: 14px; line-height: 1.65; max-width: 920px; margin-left: auto; margin-right: auto; border-top: 1px solid #1a2a1a; padding-top: 14px; }
.footer-logo { font-size: 1.28rem; font-weight: 800; color: var(--accent); margin-bottom: 10px; }

/* ── Section chips/badges ── */
.badge {
  display: inline-block;
  background: rgba(0,200,83,0.15);
  border: 1px solid rgba(0,200,83,0.3);
  color: var(--accent);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 12px;
}

/* ── Mobile Sticky CTA Bar ── */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  padding: 10px 16px 16px;
  z-index: 300;
  text-align: center;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.6);
}
.mobile-cta-bar a { color: #fff; font-weight: 800; font-size: 1.05rem; text-decoration: none; display: block; line-height: 1.3; }
.mobile-cta-bar a:hover { text-decoration: none; opacity: 0.92; }
.mobile-cta-bar .mcta-bonus { font-size: 1.12rem; font-weight: 800; display: block; }
.mobile-cta-bar .mcta-sub { display: none; }
@media (max-width: 768px) {
  .mobile-cta-bar { display: block; }
  body { padding-bottom: 76px; }
}

/* ── Responsive tweaks ── */
@media (max-width: 480px) {
  .hero { padding: 36px 14px 32px; }
  .brand-banner {
    aspect-ratio: 16 / 7;
    border-radius: 12px;
    margin-bottom: 24px;
  }
  .hero-game-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
    margin-bottom: 28px;
  }
  .cta-btn { width: 100%; display: block; padding: 16px; }
  main { padding: 20px 12px 40px; }
  .info-card { padding: 18px 16px; }
  html { font-size: 17px; }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.45rem; }
  h3 { font-size: 1.18rem; }
  .hero h1 { font-size: 2.2rem; }
  .hero .hero-sub { font-size: 1.08rem; }
}

/* ── E-E-A-T 2.0 Enhancements ── */

/* Last Updated Badge */
.last-updated {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  font-weight: 600;
}
.last-updated::before {
  content: '✓';
  color: var(--accent);
  font-weight: 800;
}

/* Author Box */
.author-box {
  background: var(--bg2);
  border: 1px solid #1a2a1a;
  border-radius: 12px;
  padding: 24px;
  margin: 48px 0;
  display: flex;
  gap: 20px;
  align-items: center;
}
.author-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  object-fit: cover;
  flex-shrink: 0;
}
.author-info h4 {
  margin: 0 0 4px;
  color: #fff;
  font-size: 1.15rem;
}
.author-info p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.author-info a {
  font-weight: 700;
  font-size: 0.9rem;
}

/* Expert Fact Block */
.expert-fact {
  border-left: 4px solid var(--accent);
  background: rgba(0,200,83,0.05);
  padding: 16px 20px;
  margin: 24px 0;
  font-style: italic;
  font-size: 1rem;
  color: #c0d0c0;
}

/* Verification Badges */
.verif-badges {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.v-badge {
  background: rgba(0,200,83,0.1);
  border: 1px solid rgba(0,200,83,0.2);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

@media (max-width: 600px) {
  .author-box { flex-direction: column; text-align: center; padding: 20px; }
  .author-img { width: 70px; height: 70px; }
}
