/* ============================================================
   online casino games - Core stylesheet
   Every custom class uses the gc1f- prefix.
   Color palette: #2E4057 / #4A4A4A / #006400 (dark)
                  #D3D3D3 / #708090 / #00FF7F (light accents)
   Mobile first, max-width 430px primary target.
   ============================================================ */

:root {
  --gc1f-bg:        #2E4057;
  --gc1f-bg-2:      #4A4A4A;
  --gc1f-bg-3:      #1c2a3a;
  --gc1f-primary:   #006400;
  --gc1f-accent:    #00FF7F;
  --gc1f-muted:     #708090;
  --gc1f-soft:      #D3D3D3;
  --gc1f-text:      #f4f6f8;
  --gc1f-card:      #34495e;
  --gc1f-card-2:    #3a4f63;
  --gc1f-border:    rgba(0, 255, 127, 0.18);
  --gc1f-shadow:    0 4px 18px rgba(0, 0, 0, 0.35);
  --gc1f-radius:    14px;
  --gc1f-header-h:  56px;
  --gc1f-nav-h:     60px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  font-size: 62.5%;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  background: linear-gradient(180deg, var(--gc1f-bg) 0%, var(--gc1f-bg-2) 100%);
  color: var(--gc1f-text);
  line-height: 1.5;
  font-size: 1.5rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--gc1f-accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---------- Layout containers ---------- */
.gc1f-wrapper {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 14px;
}
.gc1f-container {
  width: 100%;
  padding: 14px;
}
.gc1f-section {
  padding: 22px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.gc1f-section-title {
  font-size: 2rem;
  margin: 0 0 14px;
  color: var(--gc1f-text);
  display: flex;
  align-items: center;
  gap: 8px;
}
.gc1f-section-title i { color: var(--gc1f-accent); }
.gc1f-section-title small {
  font-size: 1.2rem;
  color: var(--gc1f-muted);
  font-weight: 400;
  margin-left: auto;
}
.gc1f-lead {
  color: var(--gc1f-soft);
  font-size: 1.45rem;
  margin: 0 0 14px;
}

/* ---------- Header ---------- */
.gc1f-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--gc1f-header-h);
  background: linear-gradient(90deg, var(--gc1f-bg-3), var(--gc1f-bg-2));
  border-bottom: 1px solid var(--gc1f-border);
  z-index: 1000;
  transition: box-shadow .25s ease, background .25s ease;
}
.gc1f-header-scrolled { box-shadow: 0 6px 18px rgba(0,0,0,.45); }
.gc1f-header-inner {
  max-width: 430px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
}
.gc1f-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gc1f-text);
  font-weight: 700;
  font-size: 1.6rem;
}
.gc1f-brand img { width: 30px; height: 30px; border-radius: 8px; }
.gc1f-brand span { color: var(--gc1f-accent); }
.gc1f-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.gc1f-hamburger {
  width: 38px; height: 38px;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--gc1f-border);
  border-radius: 10px;
  color: var(--gc1f-accent);
  font-size: 1.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* ---------- Buttons ---------- */
.gc1f-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 1.35rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  text-decoration: none;
}
.gc1f-btn:hover { text-decoration: none; transform: translateY(-1px); }
.gc1f-btn-primary {
  background: linear-gradient(135deg, var(--gc1f-primary), #00b04a);
  color: #fff;
  box-shadow: 0 6px 14px rgba(0,100,0,.35);
}
.gc1f-btn-accent {
  background: linear-gradient(135deg, var(--gc1f-accent), #00c66d);
  color: #0c2418;
  box-shadow: 0 6px 14px rgba(0,255,127,.3);
}
.gc1f-btn-ghost {
  background: rgba(255,255,255,.06);
  color: var(--gc1f-text);
  border: 1px solid var(--gc1f-border);
}
.gc1f-btn-block { display: flex; width: 100%; }
.gc1f-btn-lg { min-height: 48px; font-size: 1.55rem; }

/* ---------- Mobile menu drawer ---------- */
.gc1f-mobile-menu {
  position: fixed;
  top: 0; right: -85%;
  width: 78%;
  height: 100%;
  background: var(--gc1f-bg-3);
  z-index: 9999;
  padding: 80px 18px 30px;
  transition: right .28s ease;
  overflow-y: auto;
  border-left: 1px solid var(--gc1f-border);
}
.gc1f-menu-open { right: 0; }
.gc1f-mobile-menu h4 {
  color: var(--gc1f-accent);
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin: 20px 0 8px;
}
.gc1f-mobile-menu a {
  display: block;
  padding: 12px 12px;
  color: var(--gc1f-soft);
  border-radius: 8px;
  border-bottom: 1px solid rgba(255,255,255,.05);
  font-size: 1.45rem;
}
.gc1f-mobile-menu a:hover { background: rgba(0,255,127,.08); color: var(--gc1f-text); }
.gc1f-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  opacity: 0;
  visibility: hidden;
  z-index: 9998;
  transition: opacity .25s ease;
}
.gc1f-backdrop-show { opacity: 1; visibility: visible; }
.gc1f-no-scroll { overflow: hidden; }

/* ---------- Hero / carousel ---------- */
.gc1f-hero {
  margin-top: var(--gc1f-header-h);
  position: relative;
  overflow: hidden;
}
.gc1f-carousel {
  position: relative;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  aspect-ratio: 16/9;
  border-radius: 0 0 18px 18px;
  overflow: hidden;
  box-shadow: var(--gc1f-shadow);
}
.gc1f-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .5s ease;
}
.gc1f-slide img { width: 100%; height: 100%; object-fit: cover; }
.gc1f-slide-active { opacity: 1; }
.gc1f-slide-caption {
  position: absolute;
  left: 14px; right: 14px; bottom: 16px;
  background: linear-gradient(0deg, rgba(0,0,0,.75), rgba(0,0,0,0));
  color: #fff;
  padding: 22px 14px 12px;
  border-radius: 10px;
}
.gc1f-slide-caption h2 { margin: 0 0 6px; font-size: 1.8rem; color: var(--gc1f-accent); }
.gc1f-slide-caption p { margin: 0 0 8px; font-size: 1.3rem; color: var(--gc1f-soft); }
.gc1f-dots {
  position: absolute;
  bottom: 8px; left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 6px;
}
.gc1f-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.35);
  border: none; cursor: pointer;
}
.gc1f-dot-active { background: var(--gc1f-accent); }

/* ---------- Hero CTA bar ---------- */
.gc1f-cta-bar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 14px 0;
}

/* ---------- Filter chips ---------- */
.gc1f-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 0 12px;
  scrollbar-width: none;
}
.gc1f-chips::-webkit-scrollbar { display: none; }
.gc1f-chip {
  white-space: nowrap;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--gc1f-border);
  color: var(--gc1f-soft);
  font-size: 1.3rem;
  cursor: pointer;
}
.gc1f-chip-active {
  background: var(--gc1f-primary);
  color: #fff;
  border-color: var(--gc1f-primary);
}

/* ---------- Game grid ---------- */
.gc1f-game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.gc1f-game-card {
  background: var(--gc1f-card);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.05);
  transition: transform .15s ease, box-shadow .2s ease;
  cursor: pointer;
  display: block;
}
.gc1f-game-card:hover { transform: translateY(-2px); box-shadow: var(--gc1f-shadow); text-decoration: none; }
.gc1f-game-thumb {
  width: 100%;
  aspect-ratio: 1/1;
  background: #1c2a3a;
  position: relative;
  overflow: hidden;
}
.gc1f-game-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gc1f-game-thumb::after {
  content: "\f144";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gc1f-accent);
  font-size: 2.4rem;
  opacity: 0;
  background: rgba(0,0,0,.45);
  transition: opacity .2s ease;
}
.gc1f-game-card:hover .gc1f-game-thumb::after { opacity: 1; }
.gc1f-game-name {
  font-size: 1.15rem;
  padding: 8px 6px;
  color: var(--gc1f-soft);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------- Category badge ---------- */
.gc1f-cat-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(0,255,127,.12);
  color: var(--gc1f-accent);
  font-size: 1.2rem;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: .05em;
}

/* ---------- Feature cards ---------- */
.gc1f-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.gc1f-feature {
  background: var(--gc1f-card);
  border: 1px solid var(--gc1f-border);
  border-radius: var(--gc1f-radius);
  padding: 16px;
}
.gc1f-feature i { font-size: 2.4rem; color: var(--gc1f-accent); margin-bottom: 8px; }
.gc1f-feature h3 { margin: 0 0 6px; font-size: 1.45rem; color: var(--gc1f-text); }
.gc1f-feature p { margin: 0; font-size: 1.25rem; color: var(--gc1f-soft); }

/* ---------- RTP / data bars ---------- */
.gc1f-rtp-row {
  display: grid;
  grid-template-columns: 90px 1fr 60px;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px dashed rgba(255,255,255,.08);
}
.gc1f-rtp-name { font-size: 1.25rem; color: var(--gc1f-soft); }
.gc1f-rtp-bar {
  height: 8px;
  background: rgba(255,255,255,.08);
  border-radius: 4px;
  overflow: hidden;
}
.gc1f-rtp-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gc1f-primary), var(--gc1f-accent));
}
.gc1f-rtp-value { font-size: 1.25rem; color: var(--gc1f-accent); text-align: right; font-weight: 600; }

/* ---------- Testimonial ---------- */
.gc1f-testimonial {
  background: var(--gc1f-card);
  border-left: 3px solid var(--gc1f-accent);
  border-radius: 10px;
  padding: 14px;
  margin-bottom: 10px;
}
.gc1f-testimonial p { margin: 0 0 6px; color: var(--gc1f-soft); font-size: 1.3rem; }
.gc1f-testimonial .gc1f-stars { color: #ffce3a; font-size: 1.2rem; }
.gc1f-testimonial cite { color: var(--gc1f-muted); font-size: 1.15rem; font-style: normal; }

/* ---------- Winners ---------- */
.gc1f-winners {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.gc1f-winner {
  background: var(--gc1f-card);
  border-radius: 10px;
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.gc1f-winner i { color: var(--gc1f-accent); font-size: 1.8rem; }
.gc1f-winner b { color: var(--gc1f-text); font-size: 1.25rem; }
.gc1f-winner small { display: block; color: var(--gc1f-muted); font-size: 1.1rem; }

/* ---------- Payment ---------- */
.gc1f-pay-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.gc1f-pay {
  background: var(--gc1f-card);
  border-radius: 10px;
  padding: 10px 4px;
  text-align: center;
  color: var(--gc1f-soft);
  font-size: 1.1rem;
}
.gc1f-pay i { font-size: 1.9rem; color: var(--gc1f-accent); display: block; margin-bottom: 4px; }

/* ---------- App download ---------- */
.gc1f-app-card {
  background: linear-gradient(135deg, var(--gc1f-primary), #003d00);
  border-radius: var(--gc1f-radius);
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--gc1f-border);
}
.gc1f-app-card .gc1f-app-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.6rem; color: var(--gc1f-accent);
  flex-shrink: 0;
}
.gc1f-app-card h3 { margin: 0 0 4px; color: #fff; font-size: 1.6rem; }
.gc1f-app-card p { margin: 0; color: var(--gc1f-soft); font-size: 1.25rem; }

/* ---------- FAQ ---------- */
.gc1f-faq-item {
  background: var(--gc1f-card);
  border-radius: 10px;
  margin-bottom: 8px;
  border: 1px solid rgba(255,255,255,.05);
  overflow: hidden;
}
.gc1f-faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: var(--gc1f-text);
  font-size: 1.35rem;
  padding: 14px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.gc1f-faq-q i { color: var(--gc1f-accent); transition: transform .2s ease; }
.gc1f-faq-open .gc1f-faq-q i { transform: rotate(45deg); }
.gc1f-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease;
  padding: 0 14px;
  color: var(--gc1f-soft);
  font-size: 1.25rem;
}
.gc1f-faq-open .gc1f-faq-a { max-height: 320px; padding: 0 14px 14px; }

/* ---------- Steps ---------- */
.gc1f-steps { counter-reset: step; padding: 0; list-style: none; margin: 0; }
.gc1f-steps li {
  position: relative;
  padding: 12px 12px 12px 48px;
  margin-bottom: 8px;
  background: var(--gc1f-card);
  border-radius: 10px;
  border-left: 3px solid var(--gc1f-accent);
}
.gc1f-steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 10px; top: 12px;
  width: 28px; height: 28px;
  background: var(--gc1f-primary);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.3rem;
}
.gc1f-steps b { color: var(--gc1f-accent); }

/* ---------- SEO article ---------- */
.gc1f-article { color: var(--gc1f-soft); font-size: 1.35rem; line-height: 1.65; }
.gc1f-article h2 { color: var(--gc1f-text); font-size: 1.8rem; margin: 18px 0 8px; }
.gc1f-article h3 { color: var(--gc1f-accent); font-size: 1.5rem; margin: 14px 0 6px; }
.gc1f-article p { margin: 0 0 10px; }
.gc1f-article ul { padding-left: 20px; }
.gc1f-article li { margin-bottom: 6px; }

/* ---------- Footer ---------- */
.gc1f-footer {
  background: var(--gc1f-bg-3);
  padding: 26px 0 100px;
  border-top: 1px solid var(--gc1f-border);
  margin-top: 20px;
}
.gc1f-footer h4 {
  color: var(--gc1f-accent);
  font-size: 1.35rem;
  margin: 16px 0 8px;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.gc1f-footer p { color: var(--gc1f-soft); font-size: 1.25rem; margin: 0 0 8px; }
.gc1f-footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin: 8px 0;
}
.gc1f-footer-links a {
  color: var(--gc1f-soft);
  font-size: 1.2rem;
  padding: 4px 0;
}
.gc1f-footer-promo {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: 12px 0;
}
.gc1f-footer-copy {
  text-align: center;
  color: var(--gc1f-muted);
  font-size: 1.15rem;
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.06);
}

/* ---------- Bottom nav ---------- */
.gc1f-bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: var(--gc1f-nav-h);
  background: linear-gradient(180deg, var(--gc1f-bg-2), var(--gc1f-bg-3));
  border-top: 1px solid var(--gc1f-border);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 -4px 16px rgba(0,0,0,.35);
}
.gc1f-nav-btn {
  flex: 1;
  min-width: 60px;
  min-height: var(--gc1f-nav-h);
  background: none;
  border: none;
  color: var(--gc1f-soft);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  cursor: pointer;
  font-size: 1.05rem;
  position: relative;
  transition: color .2s ease, transform .15s ease;
}
.gc1f-nav-btn i { font-size: 2rem; }
.gc1f-nav-btn .material-icons-outlined,
.gc1f-nav-btn .material-icons { font-size: 2.2rem; }
.gc1f-nav-btn:hover { color: var(--gc1f-accent); transform: translateY(-1px); }
.gc1f-nav-btn.gc1f-active { color: var(--gc1f-accent); }
.gc1f-nav-btn.gc1f-active::before {
  content: "";
  position: absolute;
  top: 0;
  width: 30px; height: 3px;
  background: var(--gc1f-accent);
  border-radius: 0 0 3px 3px;
}

/* ---------- Back to top ---------- */
.gc1f-to-top {
  position: fixed;
  right: 14px;
  bottom: calc(var(--gc1f-nav-h) + 14px);
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--gc1f-primary);
  color: #fff;
  border: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
  z-index: 999;
  box-shadow: var(--gc1f-shadow);
}
.gc1f-to-top-show { opacity: 1; visibility: visible; }

/* ---------- Section anchor offset (sticky header) ---------- */
.gc1f-anchor { scroll-margin-top: calc(var(--gc1f-header-h) + 10px); }

/* ---------- Desktop: hide bottom nav, widen container ---------- */
@media (min-width: 769px) {
  .gc1f-bottom-nav { display: none; }
  .gc1f-wrapper, .gc1f-header-inner, .gc1f-carousel {
    max-width: 960px;
  }
  .gc1f-game-grid { grid-template-columns: repeat(6, 1fr); }
  .gc1f-feature-grid { grid-template-columns: repeat(4, 1fr); }
  .gc1f-footer { padding-bottom: 30px; }
}

/* ---------- Bottom-nav clearance on mobile ---------- */
@media (max-width: 768px) {
  main, .gc1f-main { padding-bottom: calc(var(--gc1f-nav-h) + 16px); }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
