/* CashReels777 - Thème vert / reels / cash */
:root {
  --primary: #059669;
  --primary-light: #34d399;
  --accent: #fbbf24;
  --bg-dark: #022c22;
  --card-bg: rgba(6, 50, 40, 0.92);
  --white: #fff;
  --border: rgba(5, 150, 105, 0.45);
  --shadow: 0 4px 24px rgba(5, 150, 105, 0.2);
  --radius: 10px;
  --transition: 0.2s ease;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, sans-serif;
  background: linear-gradient(165deg, #022c22 0%, #064e3b 40%, #022c22 100%);
  color: var(--white);
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
}

body.has-bg-image {
  background-color: var(--bg-dark);
  background-image: url('../img/background.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse at 70% 20%, rgba(251, 191, 36, 0.08) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse 85% 75% at 50% 45%, transparent 45%, rgba(0,0,0,0.2) 100%);
  pointer-events: none;
  z-index: 0;
}

.wrap { position: relative; z-index: 1; max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* CashReels777: BEM header — site-header__inner, __logo, __nav, __notice */
.site-header {
  background: linear-gradient(180deg, rgba(4, 120, 87, 0.98) 0%, rgba(2, 44, 34, 0.98) 100%);
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 2px solid var(--accent);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.site-header__logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: 0.03em;
}

.site-header__logo:hover { color: var(--primary-light); }

.site-header__nav { flex: 1 1 auto; display: flex; justify-content: center; min-width: 0; }

.nav-menu { display: flex; list-style: none; gap: 4px; flex-wrap: wrap; justify-content: center; }
.nav-menu a {
  color: var(--white);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.9rem;
  transition: background var(--transition), color var(--transition);
}
.nav-menu a:hover { background: rgba(5, 150, 105, 0.4); color: var(--accent); }

.site-header__notice { font-size: 0.72rem; color: var(--primary-light); opacity: 0.9; flex-shrink: 0; }
.site-header__notice a { color: var(--accent); text-decoration: underline; }

.menu-toggle { display: none; background: none; border: none; color: var(--white); font-size: 1.4rem; cursor: pointer; padding: 8px; }
@media (max-width: 768px) {
  .site-header__inner { justify-content: space-between; }
  .site-header__nav { order: 3; width: 100%; }
  .menu-toggle { display: block; }
  .nav-menu { display: none; width: 100%; flex-direction: column; }
  .nav-menu.is-open { display: flex; }
}

main { padding: 28px 0 40px; }

.hero {
  text-align: center;
  padding: 36px 20px;
  margin-bottom: 36px;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  background: var(--card-bg);
  box-shadow: var(--shadow);
}

.hero h1 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); color: var(--accent); margin-bottom: 10px; }
.hero p { font-size: 1.05rem; max-width: 580px; margin: 0 auto; color: rgba(255,255,255,0.9); }

/* Casino showcase — accent block with green/gold glow */
.casino-showcase {
  margin-bottom: 44px;
  padding: 30px 24px 32px;
  background: linear-gradient(145deg, rgba(5, 150, 105, 0.2) 0%, rgba(2, 44, 34, 0.95) 50%, rgba(251, 191, 36, 0.06) 100%);
  border: 2px solid rgba(5, 150, 105, 0.6);
  border-radius: 16px;
  box-shadow: 0 0 50px rgba(5, 150, 105, 0.2), 0 0 30px rgba(251, 191, 36, 0.1), inset 0 1px 0 rgba(255,255,255,0.08);
}

.casino-showcase .section-title {
  font-size: 1.55rem;
  color: var(--accent);
  text-align: center;
  margin-bottom: 24px;
  text-shadow: 0 0 24px rgba(251, 191, 36, 0.4);
}

/* Bento grid with rank numbers - CashReels777 */
.bento-operators {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: minmax(180px, auto);
  gap: 22px;
  margin-bottom: 0;
}

.bento-card {
  background: linear-gradient(165deg, rgba(6, 50, 40, 0.98) 0%, rgba(2, 44, 34, 0.99) 100%);
  border: 2px solid rgba(5, 150, 105, 0.55);
  border-radius: 14px;
  padding: 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  box-shadow: 0 4px 24px rgba(0,0,0,0.3), 0 0 25px rgba(5, 150, 105, 0.15);
}

.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4), 0 0 40px rgba(5, 150, 105, 0.3), 0 0 20px rgba(251, 191, 36, 0.15);
  border-color: rgba(251, 191, 36, 0.5);
}

.bento-card-rank {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--accent) 0%, #d97706 100%);
  color: var(--bg-dark);
  font-weight: 800;
  font-size: 1.1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(251, 191, 36, 0.5);
}

.bento-card-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-size: 0.95rem;
  letter-spacing: 1px;
  color: var(--accent);
  text-shadow: 0 0 10px rgba(251, 191, 36, 0.35);
}

.bento-card-score {
  padding: 3px 10px;
  background: rgba(251, 191, 36, 0.2);
  color: var(--accent);
  font-weight: 800;
  font-size: 0.9rem;
  border-radius: 8px;
  border: 1px solid rgba(251, 191, 36, 0.4);
  margin-left: 6px;
}

.bento-card-logo { height: 48px; max-width: 130px; object-fit: contain; margin-bottom: 12px; }
.bento-card-title { font-size: 1.2rem; color: var(--accent); font-weight: 700; margin-bottom: 8px; text-shadow: 0 0 12px rgba(251, 191, 36, 0.2); }
.bento-card-desc { font-size: 0.88rem; color: rgba(255,255,255,0.85); flex-grow: 1; margin-bottom: 14px; line-height: 1.45; }
.bento-card-cta .btn {
  display: inline-block;
  padding: 12px 20px;
  background: linear-gradient(135deg, var(--primary) 0%, #047857 100%);
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  border-radius: 8px;
  font-size: 0.92rem;
  transition: opacity var(--transition), box-shadow var(--transition);
  box-shadow: 0 0 18px rgba(5, 150, 105, 0.35);
}
.bento-card-cta .btn:hover { opacity: 0.95; box-shadow: 0 0 28px rgba(5, 150, 105, 0.5); }

.bento-card:nth-child(1) { grid-column: span 1; }
.bento-card:nth-child(2) { grid-column: span 1; }
.bento-card:nth-child(3) { grid-column: span 1; }
.bento-card:nth-child(4) { grid-column: span 2; }
.bento-card:nth-child(5) { grid-column: span 1; }

@media (max-width: 700px) {
  .bento-operators { grid-template-columns: 1fr; }
  .bento-card:nth-child(n) { grid-column: span 1; }
}

.section-block {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 24px;
  border: 1px solid var(--border);
}

.section-block h2 { font-size: 1.3rem; color: var(--accent); margin-bottom: 14px; padding-bottom: 8px; border-bottom: 1px solid var(--border); }
.section-block h3 { font-size: 1.05rem; margin: 14px 0 6px; color: var(--primary-light); }
.section-block p, .section-block li { color: rgba(255,255,255,0.88); margin-bottom: 6px; }
.section-block ul { margin-left: 18px; }

.regulators-block { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; justify-content: center; padding: 20px 0; }
.regulator-item {
  flex: 1 1 200px;
  max-width: 260px;
  text-align: center;
  padding: 18px;
  background: rgba(2, 44, 34, 0.9);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}
.regulator-item img { height: 52px; max-width: 110px; object-fit: contain; margin-bottom: 10px; }
.regulator-item a { color: var(--accent); text-decoration: none; font-weight: 600; }
.regulator-item a:hover { text-decoration: underline; }
.regulator-item p { font-size: 0.82rem; color: rgba(255,255,255,0.8); }

.faq-list { list-style: none; margin-left: 0; }
.faq-list li { margin-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 10px; }
.faq-list summary { cursor: pointer; font-weight: 600; color: var(--primary-light); }
.faq-list .faq-answer { color: rgba(255,255,255,0.85); font-size: 0.92rem; }

.warning-box {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  border-radius: var(--radius);
  padding: 18px;
  margin: 18px 0;
}
.warning-box strong { color: #f87171; }

/* CashReels777: BEM footer — footer__row, footer__col, footer__badges, footer__copy */
.site-footer {
  background: linear-gradient(0deg, rgba(4, 120, 87, 0.25) 0%, rgba(2, 44, 34, 0.98) 100%);
  padding: 36px 0 20px;
  margin-top: 40px;
  border-top: 2px solid var(--accent);
}

.footer__row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px 32px;
  margin-bottom: 24px;
}

.footer__col { min-width: 0; }

.footer__col-title { font-size: 0.95rem; color: var(--accent); margin-bottom: 10px; }

.footer__col ul { list-style: none; padding: 0; margin: 0; }

.footer__col a { color: rgba(255,255,255,0.85); text-decoration: none; font-size: 0.88rem; display: block; padding: 3px 0; }
.footer__col a:hover { color: var(--primary-light); }

.footer__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: center;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 20px;
}

.footer__badges a { display: flex; align-items: center; gap: 8px; color: var(--primary-light); text-decoration: none; font-size: 0.88rem; }
.footer__badges a:hover { text-decoration: underline; }
.footer__badges img { height: 38px; width: auto; max-width: 90px; object-fit: contain; }

.footer__copy { font-size: 0.78rem; color: rgba(255,255,255,0.75); text-align: center; line-height: 1.6; margin: 0; }
.footer__copy a { color: var(--accent); text-decoration: underline; }

.overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.88); z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 20px; }
.overlay[hidden] { display: none; }
.modal-box {
  background: linear-gradient(160deg, #064e3b 0%, #022c22 100%);
  border: 2px solid var(--primary);
  border-radius: var(--radius);
  padding: 28px;
  max-width: 420px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}
.modal-box h2 { color: var(--accent); margin-bottom: 14px; font-size: 1.3rem; }
.modal-box p { color: rgba(255,255,255,0.9); margin-bottom: 18px; font-size: 0.92rem; }
.modal-buttons { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.modal-buttons button { padding: 11px 22px; border-radius: 6px; font-weight: 600; cursor: pointer; font-size: 0.95rem; border: none; transition: opacity var(--transition); }
.modal-buttons .btn-confirm { background: var(--primary); color: var(--white); }
.modal-buttons .btn-deny { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,0.5); }
.modal-buttons button:hover { opacity: 0.9; }

.cookie-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(2, 44, 34, 0.98);
  border-top: 2px solid var(--primary);
  padding: 14px 18px;
  z-index: 999;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.cookie-bar[hidden] { display: none; }
.cookie-bar p { flex: 1 1 260px; font-size: 0.88rem; color: rgba(255,255,255,0.9); }
.cookie-bar a { color: var(--accent); text-decoration: underline; }
.cookie-bar .cookie-buttons { display: flex; gap: 8px; }
.cookie-bar button { padding: 9px 16px; border-radius: 6px; font-weight: 600; cursor: pointer; border: none; font-size: 0.88rem; }
.cookie-bar .btn-accept { background: var(--primary); color: var(--white); }
.cookie-bar .btn-refuse { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,0.5); }

.page-content h1 { color: var(--accent); margin-bottom: 18px; font-size: 1.7rem; }
.page-content h2 { color: var(--primary-light); margin: 22px 0 10px; font-size: 1.2rem; }
.page-content p { margin-bottom: 10px; color: rgba(255,255,255,0.9); }
.page-content a { color: var(--accent); text-decoration: underline; }
.page-content a:hover { color: var(--primary-light); }
.contact-list { list-style: none; }
.contact-list li { margin-bottom: 10px; padding: 10px; background: rgba(255,255,255,0.05); border-radius: 6px; }
.contact-list a { text-decoration: none; }
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
