/* ===========================================================
   Online Casino Games - Theme CSS (theme-0bfc.css)
   All custom classes use the gfc9- prefix.
   Palette: #0097A7 | #008000 | #48D1CC | #141414 | #40E0D0
   =========================================================== */

:root {
  --gfc9-primary: #0097A7;
  --gfc9-secondary: #008000;
  --gfc9-accent: #48D1CC;
  --gfc9-deep: #141414;
  --gfc9-glow: #40E0D0;
  --gfc9-bg: #0d1b1f;
  --gfc9-bg-alt: #112a2f;
  --gfc9-card: #15302f;
  --gfc9-text: #eafafa;
  --gfc9-muted: #9fd6d2;
  --gfc9-border: rgba(72, 209, 204, 0.22);
  --gfc9-radius: 14px;
  --gfc9-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  --gfc9-gradient: linear-gradient(135deg, #0097A7 0%, #008000 100%);
  --gfc9-hero-gradient: linear-gradient(160deg, #0a1518 0%, #112a2f 60%, #1d4a4a 100%);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, system-ui, sans-serif;
  background: var(--gfc9-bg);
  color: var(--gfc9-text);
  line-height: 1.5;
  font-size: 1.5rem;
  overflow-x: hidden;
  min-height: 100vh;
}

img { max-width: 100%; display: block; }

a { color: var(--gfc9-accent); text-decoration: none; }
a:hover { color: var(--gfc9-glow); }

h1, h2, h3, h4 { line-height: 1.25; font-weight: 700; color: #ffffff; }

.gfc9-container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 14px;
}

.gfc9-hidden { display: none !important; }

/* ================= HEADER ================= */
.gfc9-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(13, 27, 31, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gfc9-border);
  transition: box-shadow .25s ease, background .25s ease;
}
.gfc9-header-scrolled {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.55);
  background: rgba(13, 27, 31, 0.98);
}
.gfc9-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 14px;
  max-width: 1180px;
  margin: 0 auto;
}
.gfc9-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.gfc9-logo img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--gfc9-gradient);
  padding: 4px;
}
.gfc9-logo-text {
  font-size: 1.55rem;
  font-weight: 800;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: .2px;
}
.gfc9-logo-text span { color: var(--gfc9-glow); }

.gfc9-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.gfc9-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: none;
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 1.3rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: .4px;
}
.gfc9-btn:active { transform: scale(0.96); }
.gfc9-btn-primary {
  background: var(--gfc9-gradient);
  color: #fff;
  box-shadow: 0 4px 14px rgba(0, 151, 167, 0.55);
}
.gfc9-btn-outline {
  background: transparent;
  color: var(--gfc9-accent);
  border: 1.5px solid var(--gfc9-accent);
}
.gfc9-btn-outline:hover { background: rgba(72, 209, 204, 0.12); color: #fff; }

.gfc9-burger {
  width: 40px;
  height: 40px;
  border: 1px solid var(--gfc9-border);
  border-radius: 10px;
  background: transparent;
  color: #fff;
  font-size: 1.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.gfc9-burger-active { background: rgba(72, 209, 204, 0.18); }

/* Desktop nav */
.gfc9-nav {
  display: none;
  align-items: center;
  gap: 18px;
}
.gfc9-nav a {
  color: var(--gfc9-muted);
  font-size: 1.35rem;
  font-weight: 600;
  padding: 6px 4px;
  position: relative;
}
.gfc9-nav a:hover { color: #fff; }
.gfc9-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -2px;
  height: 2px;
  background: var(--gfc9-glow);
  transition: right .2s ease;
}
.gfc9-nav a:hover::after { right: 0; }

/* Mobile menu drawer */
.gfc9-menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  pointer-events: none;
  z-index: 9998;
  transition: opacity .25s ease;
}
.gfc9-backdrop-show { opacity: 1; pointer-events: auto; }

.gfc9-mobile-menu {
  position: fixed;
  top: 0; right: -85%;
  width: 78%;
  max-width: 320px;
  height: 100vh;
  background: var(--gfc9-bg-alt);
  z-index: 9999;
  padding: 70px 18px 30px;
  transition: right .28s ease;
  overflow-y: auto;
  border-left: 1px solid var(--gfc9-border);
}
.gfc9-menu-open { right: 0; }
.gfc9-mobile-menu a {
  display: block;
  padding: 12px 12px;
  border-radius: 10px;
  color: var(--gfc9-text);
  font-size: 1.45rem;
  font-weight: 600;
  border-bottom: 1px solid rgba(72, 209, 204, 0.12);
}
.gfc9-mobile-menu a:hover { background: rgba(72, 209, 204, 0.1); color: #fff; }
.gfc9-mobile-menu h4 {
  margin: 18px 6px 8px;
  color: var(--gfc9-glow);
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ================= MAIN ================= */
.gfc9-main {
  padding-top: 62px;
}
@media (max-width: 768px) {
  .gfc9-main { padding-bottom: 86px; }
}

/* ================= HERO / CAROUSEL ================= */
.gfc9-hero {
  position: relative;
  margin: 14px 0 8px;
}
.gfc9-carousel {
  position: relative;
  border-radius: var(--gfc9-radius);
  overflow: hidden;
  box-shadow: var(--gfc9-shadow);
  background: var(--gfc9-hero-gradient);
}
.gfc9-carousel-track {
  position: relative;
  width: 100%;
  height: 220px;
}
@media (min-width: 600px) { .gfc9-carousel-track { height: 320px; } }
@media (min-width: 992px) { .gfc9-carousel-track { height: 380px; } }

.gfc9-carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .6s ease;
  cursor: pointer;
}
.gfc9-carousel-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.gfc9-slide-active { opacity: 1; }

.gfc9-carousel-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 22px;
  background: linear-gradient(90deg, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.35) 60%, rgba(0,0,0,0) 100%);
  pointer-events: none;
}
.gfc9-carousel-overlay h2 {
  font-size: 2rem;
  margin-bottom: 8px;
  max-width: 70%;
}
@media (min-width: 600px) { .gfc9-carousel-overlay h2 { font-size: 2.8rem; } }
.gfc9-carousel-overlay p {
  font-size: 1.25rem;
  color: var(--gfc9-muted);
  max-width: 65%;
  margin-bottom: 14px;
}
.gfc9-carousel-overlay .gfc9-btn { pointer-events: auto; align-self: flex-start; }

.gfc9-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  border: none;
  width: 36px; height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4;
  transition: background .2s;
}
.gfc9-carousel-arrow:hover { background: rgba(0, 151, 167, 0.7); }
.gfc9-carousel-prev { left: 8px; }
.gfc9-carousel-next { right: 8px; }

.gfc9-carousel-dots {
  position: absolute;
  bottom: 10px; left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 6px;
  z-index: 4;
}
.gfc9-carousel-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  border: none;
  cursor: pointer;
}
.gfc9-dot-active { background: var(--gfc9-glow); width: 22px; border-radius: 6px; }

/* ================= SECTIONS ================= */
.gfc9-section {
  padding: 22px 0;
}
.gfc9-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}
.gfc9-section-title {
  font-size: 1.85rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.gfc9-section-title i { color: var(--gfc9-glow); }
.gfc9-section-title small {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--gfc9-muted);
}
.gfc9-section-link {
  font-size: 1.2rem;
  color: var(--gfc9-accent);
  font-weight: 600;
}

.gfc9-intro {
  background: var(--gfc9-card);
  border: 1px solid var(--gfc9-border);
  border-radius: var(--gfc9-radius);
  padding: 18px;
  margin-bottom: 18px;
  box-shadow: var(--gfc9-shadow);
}
.gfc9-intro h1 {
  font-size: 2rem;
  margin-bottom: 10px;
  background: var(--gfc9-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.gfc9-intro p {
  font-size: 1.4rem;
  color: var(--gfc9-muted);
  margin-bottom: 8px;
}

/* Filter chips */
.gfc9-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}
.gfc9-filter-chip {
  border: 1px solid var(--gfc9-border);
  background: rgba(72, 209, 204, 0.06);
  color: var(--gfc9-text);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s;
}
.gfc9-filter-chip:hover { background: rgba(72, 209, 204, 0.18); }
.gfc9-chip-active {
  background: var(--gfc9-gradient);
  color: #fff;
  border-color: transparent;
}

/* Game grids */
.gfc9-game-group { margin-bottom: 26px; }
.gfc9-game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
@media (min-width: 600px) { .gfc9-game-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 992px) { .gfc9-game-grid { grid-template-columns: repeat(6, 1fr); } }

.gfc9-game-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: var(--gfc9-card);
  border: 1px solid var(--gfc9-border);
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease;
  aspect-ratio: 1 / 1;
}
.gfc9-game-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(0, 151, 167, 0.35);
}
.gfc9-game-card img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.gfc9-game-card-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 100%);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 600;
  padding: 18px 6px 5px;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.gfc9-game-card-badge {
  position: absolute;
  top: 6px; left: 6px;
  background: var(--gfc9-gradient);
  color: #fff;
  font-size: 0.95rem;
  padding: 2px 7px;
  border-radius: 6px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
}

/* ================= FEATURES / HIGHLIGHTS ================= */
.gfc9-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (min-width: 768px) { .gfc9-feature-grid { grid-template-columns: repeat(4, 1fr); } }
.gfc9-feature {
  background: var(--gfc9-card);
  border: 1px solid var(--gfc9-border);
  border-radius: var(--gfc9-radius);
  padding: 16px;
  text-align: center;
}
.gfc9-feature i {
  font-size: 2.6rem;
  color: var(--gfc9-glow);
  margin-bottom: 8px;
}
.gfc9-feature h3 { font-size: 1.4rem; margin-bottom: 6px; }
.gfc9-feature p { font-size: 1.15rem; color: var(--gfc9-muted); }

/* ================= STEPS ================= */
.gfc9-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  counter-reset: step;
}
@media (min-width: 768px) { .gfc9-steps { grid-template-columns: repeat(4, 1fr); } }
.gfc9-step {
  background: var(--gfc9-card);
  border: 1px solid var(--gfc9-border);
  border-radius: var(--gfc9-radius);
  padding: 14px;
  position: relative;
  padding-left: 50px;
}
.gfc9-step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: 12px; left: 12px;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--gfc9-gradient);
  color: #fff;
  font-weight: 800;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gfc9-step h4 { font-size: 1.3rem; margin-bottom: 4px; color: var(--gfc9-glow); }
.gfc9-step p { font-size: 1.15rem; color: var(--gfc9-muted); }

/* ================= WINNERS ================= */
.gfc9-winners {
  background: var(--gfc9-card);
  border: 1px solid var(--gfc9-border);
  border-radius: var(--gfc9-radius);
  padding: 14px;
  position: relative;
  overflow: hidden;
  min-height: 92px;
}
.gfc9-winner-row {
  display: none;
  align-items: center;
  gap: 12px;
}
.gfc9-winner-show { display: flex; }
.gfc9-winner-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--gfc9-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #fff;
}
.gfc9-winner-info { flex: 1; min-width: 0; }
.gfc9-winner-info b { color: #fff; font-size: 1.25rem; }
.gfc9-winner-info span { color: var(--gfc9-muted); font-size: 1.1rem; display: block; }
.gfc9-winner-amount { color: #ffe566; font-weight: 800; font-size: 1.35rem; }

/* ================= TESTIMONIALS ================= */
.gfc9-testimonials {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
@media (min-width: 768px) { .gfc9-testimonials { grid-template-columns: repeat(3, 1fr); } }
.gfc9-testimonial {
  background: var(--gfc9-card);
  border: 1px solid var(--gfc9-border);
  border-radius: var(--gfc9-radius);
  padding: 16px;
}
.gfc9-stars { color: #ffc940; margin-bottom: 6px; font-size: 1.2rem; }
.gfc9-testimonial p { font-size: 1.2rem; color: var(--gfc9-muted); font-style: italic; }
.gfc9-testimonial b { display: block; margin-top: 8px; color: var(--gfc9-glow); font-size: 1.2rem; }

/* ================= PAYMENTS ================= */
.gfc9-payments {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.gfc9-payment {
  background: var(--gfc9-card);
  border: 1px solid var(--gfc9-border);
  border-radius: 10px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 120px;
}
.gfc9-payment i { font-size: 1.6rem; color: var(--gfc9-glow); }
.gfc9-payment span { font-weight: 600; font-size: 1.2rem; }

/* ================= FAQ ================= */
.gfc9-faq-item {
  background: var(--gfc9-card);
  border: 1px solid var(--gfc9-border);
  border-radius: 12px;
  margin-bottom: 10px;
  overflow: hidden;
  cursor: pointer;
}
.gfc9-faq-q {
  padding: 14px 16px;
  font-weight: 700;
  font-size: 1.3rem;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.gfc9-faq-q i { color: var(--gfc9-glow); transition: transform .2s; }
.gfc9-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease, padding .25s ease;
  padding: 0 16px;
  color: var(--gfc9-muted);
  font-size: 1.2rem;
}
.gfc9-faq-open .gfc9-faq-a { max-height: 500px; padding: 0 16px 14px; }
.gfc9-faq-open .gfc9-faq-q i { transform: rotate(180deg); }

/* ================= CTA ================= */
.gfc9-cta {
  background: var(--gfc9-gradient);
  border-radius: var(--gfc9-radius);
  padding: 20px;
  text-align: center;
  margin: 18px 0;
  box-shadow: var(--gfc9-shadow);
}
.gfc9-cta h3 { font-size: 1.8rem; color: #fff; margin-bottom: 8px; }
.gfc9-cta p { color: rgba(255,255,255,0.9); margin-bottom: 12px; font-size: 1.25rem; }
.gfc9-cta .gfc9-btn {
  background: #fff;
  color: var(--gfc9-primary);
  font-size: 1.4rem;
}

/* ================= SEO TEXT BLOCK ================= */
.gfc9-seo-block {
  background: var(--gfc9-bg-alt);
  border: 1px solid var(--gfc9-border);
  border-radius: var(--gfc9-radius);
  padding: 18px;
  margin: 18px 0;
}
.gfc9-seo-block h2 { font-size: 1.7rem; margin-bottom: 10px; color: var(--gfc9-glow); }
.gfc9-seo-block h3 { font-size: 1.4rem; margin: 14px 0 6px; color: #fff; }
.gfc9-seo-block p { font-size: 1.25rem; color: var(--gfc9-muted); margin-bottom: 8px; }
.gfc9-seo-block ul { padding-left: 20px; margin-bottom: 10px; }
.gfc9-seo-block li { font-size: 1.2rem; color: var(--gfc9-muted); margin-bottom: 4px; }

/* ================= FOOTER ================= */
.gfc9-footer {
  background: #07121560;
  border-top: 1px solid var(--gfc9-border);
  padding: 26px 0 10px;
  margin-top: 20px;
}
.gfc9-footer-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (min-width: 768px) { .gfc9-footer-cols { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.gfc9-footer h4 {
  font-size: 1.3rem;
  color: var(--gfc9-glow);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.gfc9-footer p { font-size: 1.2rem; color: var(--gfc9-muted); margin-bottom: 6px; }
.gfc9-footer a {
  display: block;
  font-size: 1.2rem;
  color: var(--gfc9-muted);
  padding: 4px 0;
}
.gfc9-footer a:hover { color: #fff; }
.gfc9-footer-brand p { font-size: 1.2rem; line-height: 1.6; }

.gfc9-footer-promo {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
}
.gfc9-footer-promo .gfc9-btn {
  background: rgba(72, 209, 204, 0.12);
  border: 1px solid var(--gfc9-border);
  color: #fff;
  font-size: 1.15rem;
  padding: 7px 12px;
}

.gfc9-footer-bottom {
  border-top: 1px solid var(--gfc9-border);
  margin-top: 16px;
  padding-top: 12px;
  text-align: center;
  font-size: 1.1rem;
  color: var(--gfc9-muted);
}

/* ================= MOBILE BOTTOM NAV ================= */
.gfc9-bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: 62px;
  background: linear-gradient(180deg, rgba(20, 20, 20, 0.98), rgba(7, 18, 21, 1));
  border-top: 1px solid var(--gfc9-border);
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  z-index: 1000;
  box-shadow: 0 -4px 14px rgba(0,0,0,0.55);
}
.gfc9-bottom-btn {
  flex: 1;
  min-width: 60px;
  min-height: 60px;
  background: transparent;
  border: none;
  color: var(--gfc9-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  transition: color .15s ease, transform .15s ease;
}
.gfc9-bottom-btn i { font-size: 2.2rem; }
.gfc9-bottom-btn:active { transform: scale(0.92); }
.gfc9-bottom-btn:hover { color: var(--gfc9-glow); }
.gfc9-bottom-btn-active { color: var(--gfc9-glow); }
.gfc9-bottom-btn-active::before {
  content: "";
  position: absolute;
  top: 0;
  width: 36px; height: 3px;
  background: var(--gfc9-glow);
  border-radius: 0 0 4px 4px;
}
.gfc9-bottom-btn-promo {
  background: var(--gfc9-gradient);
  color: #fff;
  border-radius: 50%;
  width: 50px; height: 50px;
  margin-top: -18px;
  box-shadow: 0 4px 12px rgba(0, 151, 167, 0.6);
  align-self: center;
  flex: 0 0 auto;
}
.gfc9-bottom-btn-promo i { font-size: 2.4rem; }

/* ================= DESKTOP BREAKPOINTS ================= */
@media (min-width: 769px) {
  .gfc9-bottom-nav { display: none; }
  .gfc9-burger { display: none; }
  .gfc9-nav { display: flex; }
}
@media (max-width: 768px) {
  .gfc9-header-actions .gfc9-hide-mobile { display: none; }
  .gfc9-mobile-menu .gfc9-hide-mobile { display: none; }
}

/* Skip link for accessibility */
.gfc9-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--gfc9-glow);
  color: #000;
  padding: 8px 14px;
  z-index: 10000;
  border-radius: 0 0 8px 0;
}
.gfc9-skip:focus { left: 0; }
