/* ═══════════════════════════════════════════════
   711CUCI — style.css
   Theme: Light | Green #1a7a4a | Red #d42b2b
═══════════════════════════════════════════════ */

:root {
  --brand:       #1a7a4a;
  --brand-dark:  #145c37;
  --brand-light: #eaf5ef;
  --accent:      #d42b2b;
  --bg:          #ffffff;
  --bg-alt:      #f6f8f7;
  --text:        #1c1c1c;
  --muted:       #5c6b63;
  --border:      #dde8e3;
  --header-h:    66px;
  --max:         1160px;
  --radius:      8px;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ── CONTAINER ── */
.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: 5px;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  border: 2px solid transparent;
  transition: background .18s, color .18s, border-color .18s, box-shadow .18s, transform .12s;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}
.btn-primary:hover {
  background: var(--brand-dark);
  border-color: var(--brand-dark);
  box-shadow: 0 4px 12px rgba(26,122,74,.3);
}
.btn-outline {
  background: transparent;
  color: var(--brand);
  border-color: var(--brand);
}
.btn-outline:hover { background: var(--brand); color: #fff; }
.btn-white {
  background: #fff;
  color: var(--brand);
  border-color: #fff;
}
.btn-white:hover { background: var(--brand-light); border-color: var(--brand-light); }
.btn-lg { padding: 13px 30px; font-size: 0.88rem; }

/* ── HEADER ── */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  background: #fff;
  border-bottom: 3px solid var(--brand);
  box-shadow: 0 2px 8px rgba(0,0,0,.07);
  transition: box-shadow .25s;
}
#site-header.scrolled { box-shadow: 0 3px 16px rgba(0,0,0,.12); }

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.header-logo img { height: 42px; width: auto; object-fit: contain; }

#main-nav { display: none; align-items: center; gap: 22px; }
#main-nav a {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.83rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  transition: color .18s, border-color .18s;
}
#main-nav a:hover { color: var(--brand); border-bottom-color: var(--brand); }

.header-ctas { display: flex; align-items: center; gap: 10px; }

.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px; padding: 6px;
}
.hamburger span {
  display: block; height: 2px; border-radius: 2px;
  background: var(--brand);
  transition: all .28s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

#mobile-nav {
  display: none;
  flex-direction: column;
  position: fixed;
  top: var(--header-h); left: 0; right: 0;
  background: #fff;
  border-bottom: 2px solid var(--brand);
  box-shadow: 0 6px 20px rgba(0,0,0,.1);
  padding: 12px 20px 20px;
  z-index: 99;
}
#mobile-nav.open { display: flex; }
#mobile-nav a {
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text);
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
  transition: color .18s;
}
#mobile-nav a:hover { color: var(--brand); }

/* mobile: logo + Play Now + hamburger; hide Login button */
.header-ctas .btn { display: none; }
.mobile-play-btn { display: inline-flex !important; }

@media (min-width: 880px) {
  #main-nav { display: flex; }
  .hamburger { display: none; }
  .header-ctas .btn { display: inline-flex; }
  .mobile-play-btn { display: none !important; }
}

/* ── HERO SLIDER ── */
#hero {
  margin-top: var(--header-h);
  position: relative;
  overflow: hidden;
  background: #111;
  width: 100%;
  height: 56.25vw; /* 16:9 ratio based on viewport width */
  max-height: 620px;
  min-height: 180px;
}
.slider-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform .5s cubic-bezier(.77,0,.18,1);
  will-change: transform;
}
.slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  position: relative;
}
.slide img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: left top;
  display: block;
}
.slide-ctas {
  position: absolute;
  bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 12px; flex-wrap: wrap; justify-content: center;
}

.slider-arrow {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  z-index: 10;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.88);
  color: var(--brand);
  font-size: 1.7rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 10px rgba(0,0,0,.2);
  transition: background .18s;
}
.slider-arrow:hover { background: var(--brand); color: #fff; }
.slider-arrow.prev { left: 14px; }
.slider-arrow.next { right: 14px; }

.slider-dots {
  position: absolute;
  bottom: 12px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 10;
}
.dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: rgba(255,255,255,.5);
  transition: background .25s, transform .25s;
}
.dot.active { background: #fff; transform: scale(1.35); }

@media (max-width: 600px) {
  .slide-ctas { bottom: 14px; }
  .btn-lg { padding: 10px 18px; font-size: 0.8rem; }
  .slide img { object-position: left center; }
  .slider-arrow { width: 32px; height: 32px; font-size: 1.1rem; }
  .slider-arrow.prev { left: 6px; }
  .slider-arrow.next { right: 6px; }
  .slider-dots { bottom: 6px; }
  .slider-dots .dot { width: 6px; height: 6px; }
}

/* ── HERO CTAs ── */
#hero-ctas {
  display: flex;
  justify-content: center;
  gap: 14px;
  padding: 18px 16px;
  background: var(--bg);
}
#hero-ctas .btn { min-width: 140px; }

/* ── SEO CONTENT ── */
#seo-content {
  padding: 56px 0 80px;
  background: var(--bg);
}
#seo-content .container { max-width: 900px; }
#seo-content a:not(.btn) {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
#seo-content a:not(.btn):hover {
  color: var(--brand-dark);
}

h1 {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: clamp(1.45rem, 3.5vw, 2rem);
  line-height: 1.25;
  color: var(--text);
  margin-bottom: 16px;
}
.intro {
  font-size: 1.05rem;
  color: var(--muted);
  margin-bottom: 48px;
  max-width: 820px;
}

.content-section {
  padding-bottom: 44px;
  margin-bottom: 44px;
  border-bottom: 1px solid var(--border);
}
.content-section:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }

h2 {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: clamp(1.2rem, 2.8vw, 1.55rem);
  color: var(--text);
  margin-bottom: 14px;
  padding-left: 14px;
  border-left: 4px solid var(--brand);
  line-height: 1.3;
}
h3 {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: clamp(1rem, 2.2vw, 1.12rem);
  color: var(--brand-dark);
  margin: 26px 0 10px;
}
p { color: var(--muted); margin-bottom: 14px; }
strong { color: var(--text); font-weight: 700; }

ul, ol {
  padding-left: 22px;
  margin-bottom: 16px;
  color: var(--muted);
}
ul { list-style: disc; }
ol { list-style: decimal; }
li { margin-bottom: 7px; line-height: 1.75; }
li strong { color: var(--text); }

/* ── TABLES ── */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 18px 0 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
table { width: 100%; border-collapse: collapse; min-width: 380px; }
thead tr { background: var(--brand); }
th {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  padding: 12px 14px;
  text-align: left;
}
td {
  padding: 11px 14px;
  color: var(--muted);
  font-size: 0.92rem;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}
tr:last-child td { border-bottom: none; }
tr:nth-child(even) td { background: var(--bg-alt); }
td:first-child { color: var(--text); font-weight: 600; }

/* ── FAQ ── */
.faq-list { display: flex; flex-direction: column; gap: 8px; margin-top: 18px; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .2s;
}
.faq-item.open { border-color: var(--brand); }
.faq-q {
  width: 100%; text-align: left;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 15px 16px;
  background: var(--bg-alt);
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
  transition: background .18s;
}
.faq-q:hover { background: var(--brand-light); }
.faq-item.open .faq-q { background: var(--brand-light); color: var(--brand-dark); }
.faq-icon {
  flex-shrink: 0;
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 2px solid var(--brand);
  color: var(--brand);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; font-weight: 400;
  transition: transform .28s, background .18s, color .18s;
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--brand); color: #fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .32s ease; background: #fff; }
.faq-a-inner { padding: 14px 16px; color: var(--muted); font-size: 0.93rem; line-height: 1.75; }
.faq-item.open .faq-a { max-height: 320px; }

/* ── FOOTER ── */
#site-footer {
  background: #0d2a1a;
  color: rgba(255,255,255,.75);
  padding: 48px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
@media (min-width: 600px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }

.footer-logo img { height: 44px; width: auto; object-fit: contain; margin-bottom: 14px; }
.footer-brand p { font-size: 0.86rem; color: rgba(255,255,255,.6); max-width: 280px; line-height: 1.65; margin-bottom: 8px; }
.rg-notice {
  font-size: 0.78rem;
  color: rgba(255,210,80,.7);
  border: 1px solid rgba(255,210,80,.2);
  border-radius: 6px;
  padding: 9px 12px;
  margin-top: 10px;
  line-height: 1.55;
}

.footer-col h5 {
  font-family: 'Nunito', sans-serif;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6fcf97;
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.footer-col ul a { font-size: 0.88rem; color: rgba(255,255,255,.55); transition: color .18s; }
.footer-col ul a:hover { color: #fff; }

.footer-payments {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.payment-label {
  font-family: 'Nunito', sans-serif;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  white-space: nowrap;
}
.payment-icons { display: flex; flex-wrap: wrap; gap: 8px; }
.payment-icon {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 5px;
  padding: 6px 12px;
  font-size: 0.76rem;
  font-weight: 600;
  color: rgba(255,255,255,.65);
  font-family: 'Nunito', sans-serif;
}

.footer-bottom {
  padding: 18px 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  text-align: center;
}
@media (min-width: 640px) { .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; } }
.footer-bottom p { font-size: 0.78rem; color: rgba(255,255,255,.35); margin: 0; }
.footer-bottom a { color: rgba(255,255,255,.45); transition: color .18s; }
.footer-bottom a:hover { color: #fff; }

/* ── SCROLL FADE ── */
.fade-up { opacity: 0; transform: translateY(20px); transition: opacity .55s ease, transform .55s ease; }
.fade-up.visible { opacity: 1; transform: none; }

/* ── LOGIN PAGE ── */
#login-page {
  min-height: calc(100vh - var(--header-h) - 280px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  background: var(--bg-alt);
  margin-top: var(--header-h);
}
.login-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 32px rgba(0,0,0,.09);
  padding: 44px 40px 40px;
  width: 100%;
  max-width: 420px;
  border-top: 4px solid var(--brand);
}
.login-card .login-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 28px;
}
.login-card .login-logo img { height: 48px; width: auto; }
.login-card h1 {
  font-size: 1.35rem;
  text-align: center;
  margin-bottom: 6px;
  color: var(--text);
}
.login-card .login-sub {
  text-align: center;
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 28px;
}
.form-group {
  margin-bottom: 18px;
}
.form-group label {
  display: block;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--text);
  margin-bottom: 7px;
  letter-spacing: 0.02em;
}
.form-group input {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  background: #fff;
  transition: border-color .18s, box-shadow .18s;
  outline: none;
}
.form-group input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(26,122,74,.1);
}
.form-group input::placeholder { color: #aab5af; }
.login-forgot {
  display: block;
  text-align: right;
  font-size: 0.8rem;
  color: var(--brand);
  margin-top: -10px;
  margin-bottom: 22px;
  transition: color .18s;
}
.login-forgot:hover { color: var(--brand-dark); }
.login-card .btn-login {
  width: 100%;
  padding: 13px;
  font-size: 0.92rem;
  border-radius: var(--radius);
  margin-bottom: 16px;
}
.login-divider {
  text-align: center;
  color: var(--muted);
  font-size: 0.8rem;
  margin-bottom: 14px;
  position: relative;
}
.login-divider::before, .login-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 38%;
  height: 1px;
  background: var(--border);
}
.login-divider::before { left: 0; }
.login-divider::after { right: 0; }
.login-register {
  text-align: center;
  font-size: 0.88rem;
  color: var(--muted);
}
.login-register a {
  color: var(--brand);
  font-weight: 700;
  transition: color .18s;
}
.login-register a:hover { color: var(--brand-dark); }

@media (max-width: 480px) {
  .login-card { padding: 32px 22px 28px; }
}

/* ── PROMO BANNERS (bonus page) ── */
#promo-banners {
  background: var(--bg-alt);
  padding: 28px 0;
}
.promo-banner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.promo-banner-item {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.promo-banner-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
}
.promo-banner-item img {
  width: 100%;
  height: auto;
  display: block;
}
@media (max-width: 640px) {
  .promo-banner-grid { grid-template-columns: 1fr; gap: 12px; }
}

/* ── GAME PROMO BANNER (game page) ── */
.game-promo-banner {
  margin: 28px 0 0;
  border-radius: var(--radius);
  overflow: hidden;
}
.game-promo-banner a { display: block; }
.game-promo-banner img {
  width: 100%;
  height: auto;
  display: block;
  transition: opacity .2s;
}
.game-promo-banner a:hover img { opacity: .92; }

/* ── GAME GRID (game page) ── */
.game-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 20px;
}
.game-card {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .2s, box-shadow .2s;
}
.game-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0,0,0,.14);
}
.game-card img {
  width: 100%;
  height: auto;
  display: block;
}
@media (max-width: 880px) {
  .game-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 600px) {
  .game-grid { grid-template-columns: repeat(4, 1fr); gap: 8px; }
}

/* ── FOOTER PAYMENT ICONS ── */
.payment-icon-img {
  height: 32px;
  width: auto;
  object-fit: contain;
  border-radius: 4px;
  background: #fff;
  padding: 3px 6px;
}
@media (max-width: 600px) {
  .payment-icon-img { height: 26px; padding: 2px 4px; }
}

/* ── PAYMENT BANNER IMG (homepage) ── */
.payment-banner-img {
  margin-bottom: 24px;
  border-radius: var(--radius);
  overflow: hidden;
}
.payment-banner-img img {
  width: 100%;
  height: auto;
  display: block;
}
