/* ============================================================
 * nustar-gaming.cfd - style-d6ff.css
 * All custom classes use the "gff0-" prefix.
 * Palette: #0097A7 (primary) | #80CBC4 (light)
 *          #2E4057 (dark bg)  | #00E5FF (accent)
 * ============================================================ */

:root {
  --gff0-primary: #0097A7;
  --gff0-light:   #80CBC4;
  --gff0-dark:    #2E4057;
  --gff0-accent:  #00E5FF;
  --gff0-bg:      #0f2030;
  --gff0-bg-2:    #16314a;
  --gff0-card:    #1c3a55;
  --gff0-text:    #eaf6f8;
  --gff0-muted:   #9fc4cf;
  --gff0-gold:    #ffd166;
  --gff0-danger:  #ff5a7a;
  --gff0-radius:  14px;
  --gff0-shadow:  0 10px 26px rgba(0,0,0,.35);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body {
  margin: 0;
  padding: 0;
  background: linear-gradient(160deg, var(--gff0-bg) 0%, var(--gff0-dark) 100%);
  color: var(--gff0-text);
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, system-ui, sans-serif;
  font-size: 62.5%;            /* 1rem = 10px */
  line-height: 1.5;
  overflow-x: hidden;
  scroll-behavior: smooth;
}
img { max-width: 100%; display: block; }
a { color: var(--gff0-accent); text-decoration: none; }
a:hover { color: var(--gff0-light); }

/* ---------- Layout helpers ---------- */
.gff0-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1.4rem;
}
.gff0-wrapper { width: 100%; max-width: 430px; margin: 0 auto; }
.gff0-section { padding: 3.2rem 0 1.6rem; }
.gff0-section-alt { background: rgba(0,151,167,.07); }

.gff0-h1 {
  font-size: 2.4rem;
  font-weight: 800;
  margin: 0 0 1rem;
  color: #fff;
  line-height: 1.25;
}
.gff0-h2 {
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 1.2rem;
  color: var(--gff0-light);
}
.gff0-h3 {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 1.6rem 0 0.8rem;
  color: var(--gff0-accent);
}
.gff0-lead { font-size: 1.45rem; color: var(--gff0-muted); }
.gff0-p    { font-size: 1.4rem; color: var(--gff0-text); margin: 0 0 1rem; }
.gff0-muted{ color: var(--gff0-muted); }
.gff0-center { text-align: center; }

/* ---------- Header ---------- */
.gff0-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: linear-gradient(90deg, rgba(46,64,87,.96), rgba(0,151,167,.96));
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0,229,255,.25);
}
.gff0-header-inner {
  max-width: 430px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 6rem;
  padding: 0 1.2rem;
}
.gff0-brand { display: flex; align-items: center; gap: 0.8rem; min-width: 0; }
.gff0-brand img { width: 2.8rem; height: 2.8rem; border-radius: 8px; }
.gff0-brand-name {
  font-size: 1.55rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: .2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gff0-brand-name span { color: var(--gff0-accent); }
.gff0-header-actions { display: flex; align-items: center; gap: 0.6rem; }
.gff0-icon-btn {
  width: 3.6rem; height: 3.6rem;
  border: none;
  border-radius: 10px;
  background: rgba(0,229,255,.15);
  color: #fff;
  font-size: 1.8rem;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.gff0-icon-btn:hover { background: rgba(0,229,255,.32); }

/* ---------- Buttons ---------- */
.gff0-btn {
  display: inline-flex;
  align-items: center; justify-content: center;
  gap: 0.5rem;
  border: none;
  border-radius: 999px;
  padding: 0.9rem 1.6rem;
  font-size: 1.35rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .2s;
  text-decoration: none;
  line-height: 1;
}
.gff0-btn-primary {
  background: linear-gradient(90deg, var(--gff0-accent), var(--gff0-primary));
  color: #062430;
  box-shadow: 0 6px 16px rgba(0,229,255,.35);
}
.gff0-btn-primary:hover { transform: translateY(-1px); color: #062430; }
.gff0-btn-ghost {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(0,229,255,.6);
}
.gff0-btn-ghost:hover { background: rgba(0,229,255,.12); color: #fff; }
.gff0-btn-gold {
  background: linear-gradient(90deg, #ffd166, #ff9e3d);
  color: #3a1d00;
  box-shadow: 0 6px 16px rgba(255,154,60,.35);
}
.gff0-btn-block { width: 100%; }
.gff0-btn-sm { padding: 0.6rem 1.1rem; font-size: 1.2rem; }

/* Inline text link inside body that triggers affiliate */
.gff0-cta-link {
  color: var(--gff0-accent);
  font-weight: 800;
  border-bottom: 2px dashed rgba(0,229,255,.5);
  cursor: pointer;
}
.gff0-cta-link:hover { color: var(--gff0-light); }

/* ---------- Mobile menu ---------- */
.gff0-menu-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.55);
  opacity: 0; visibility: hidden;
  transition: opacity .25s ease;
  z-index: 9998;
}
.gff0-overlay-visible { opacity: 1; visibility: visible; }
.gff0-mobile-menu {
  position: fixed;
  top: 0; right: -82%;
  width: 78%; max-width: 320px;
  height: 100vh;
  background: linear-gradient(180deg, #14304a, #0f2030);
  z-index: 9999;
  padding: 2.4rem 1.6rem;
  transform: translateX(0);
  transition: right .3s ease;
  overflow-y: auto;
  border-left: 1px solid rgba(0,229,255,.2);
}
.gff0-menu-open { right: 0; }
.gff0-menu-title {
  font-size: 1.7rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 1.2rem;
}
.gff0-menu-list { list-style: none; padding: 0; margin: 0; }
.gff0-menu-list li { margin: 0.4rem 0; }
.gff0-menu-list a {
  display: block;
  padding: 1rem 1.2rem;
  border-radius: 10px;
  background: rgba(0,151,167,.12);
  color: #fff;
  font-size: 1.4rem;
  font-weight: 600;
}
.gff0-menu-list a:hover { background: rgba(0,229,255,.22); color: #fff; }
.gff0-menu-cta { margin-top: 1.6rem; display: flex; flex-direction: column; gap: 0.8rem; }

/* ---------- Spacer for fixed header ---------- */
.gff0-header-spacer { height: 6rem; }

/* ---------- Hero / Carousel ---------- */
.gff0-carousel {
  position: relative;
  border-radius: var(--gff0-radius);
  overflow: hidden;
  box-shadow: var(--gff0-shadow);
}
.gff0-slides { position: relative; }
.gff0-slide {
  display: none;
  position: relative;
  cursor: pointer;
}
.gff0-slide img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.gff0-slide-active { display: block; }
.gff0-slide-cap {
  position: absolute;
  left: 1.2rem; right: 1.2rem; bottom: 1.2rem;
  background: linear-gradient(90deg, rgba(0,151,167,.85), rgba(46,64,87,.85));
  border-radius: 10px;
  padding: 1rem 1.2rem;
}
.gff0-slide-cap h3 { margin: 0 0 0.3rem; font-size: 1.5rem; color: #fff; }
.gff0-slide-cap p { margin: 0; font-size: 1.2rem; color: var(--gff0-light); }
.gff0-dots {
  display: flex; justify-content: center;
  gap: 0.6rem;
  padding: 0.8rem 0 0;
}
.gff0-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,.35);
  border: none; cursor: pointer;
}
.gff0-dot-active { background: var(--gff0-accent); transform: scale(1.25); }
.gff0-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,.4);
  color: #fff;
  border: none;
  width: 3.2rem; height: 3.2rem;
  border-radius: 50%;
  font-size: 1.6rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.gff0-carousel-arrow:hover { background: rgba(0,229,255,.6); }
.gff0-arrow-prev { left: 0.8rem; }
.gff0-arrow-next { right: 0.8rem; }

/* ---------- Hero CTA ---------- */
.gff0-hero { padding: 1.4rem 0 0.4rem; }
.gff0-hero-cta { display: flex; gap: 0.8rem; margin-top: 1.4rem; flex-wrap: wrap; }

/* ---------- Game category blocks ---------- */
.gff0-cat-block { margin: 2.4rem 0 1rem; }
.gff0-cat-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1rem;
}
.gff0-cat-head h2 {
  display: flex; align-items: center; gap: 0.6rem;
  font-size: 1.8rem; color: var(--gff0-light); margin: 0;
}
.gff0-cat-head .gff0-cat-link {
  font-size: 1.2rem; color: var(--gff0-accent); font-weight: 700;
}

.gff0-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
}
.gff0-card {
  background: var(--gff0-card);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(0,229,255,.12);
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, border-color .2s;
  text-align: center;
}
.gff0-card:hover {
  transform: translateY(-2px);
  border-color: rgba(0,229,255,.55);
  box-shadow: 0 8px 18px rgba(0,229,255,.18);
}
.gff0-card img {
  width: 100%; height: 92px; object-fit: cover;
  background: #0a1a28;
}
.gff0-card-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  padding: 0.5rem 0.4rem 0.6rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Compact grid variant (smaller icons) */
.gff0-grid-compact { grid-template-columns: repeat(4, 1fr); gap: 0.6rem; }
.gff0-grid-compact .gff0-card img { height: 70px; }
.gff0-grid-compact .gff0-card-name { font-size: 1rem; }

/* ---------- Filter chips ---------- */
.gff0-chips {
  display: flex; gap: 0.6rem; flex-wrap: wrap;
  margin: 1rem 0 0.6rem;
}
.gff0-chip {
  border: 1px solid rgba(0,229,255,.35);
  background: rgba(0,151,167,.1);
  color: #fff;
  border-radius: 999px;
  padding: 0.5rem 1.1rem;
  font-size: 1.15rem;
  cursor: pointer;
}
.gff0-chip-active {
  background: linear-gradient(90deg, var(--gff0-accent), var(--gff0-primary));
  color: #062430;
  border-color: transparent;
  font-weight: 700;
}

/* ---------- Feature / info cards ---------- */
.gff0-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
}
.gff0-info-card {
  background: rgba(0,151,167,.08);
  border: 1px solid rgba(0,229,255,.18);
  border-radius: 12px;
  padding: 1.2rem;
}
.gff0-info-card .gff0-ico {
  font-size: 2.2rem; color: var(--gff0-accent); margin-bottom: 0.5rem;
}
.gff0-info-card h3 { margin: 0 0 0.4rem; font-size: 1.3rem; color: #fff; }
.gff0-info-card p { margin: 0; font-size: 1.2rem; color: var(--gff0-muted); }

/* ---------- RTP table ---------- */
.gff0-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.25rem;
  background: rgba(0,0,0,.18);
  border-radius: 10px;
  overflow: hidden;
}
.gff0-table th, .gff0-table td {
  padding: 0.8rem 0.9rem;
  text-align: left;
  border-bottom: 1px solid rgba(0,229,255,.12);
}
.gff0-table th { background: rgba(0,151,167,.25); color: #fff; }
.gff0-table td .gff0-bar {
  display: inline-block; width: 60px; height: 6px;
  background: rgba(255,255,255,.15); border-radius: 3px; overflow: hidden;
  vertical-align: middle; margin-left: 0.5rem;
}
.gff0-table td .gff0-bar i {
  display: block; height: 100%;
  background: linear-gradient(90deg, var(--gff0-accent), var(--gff0-gold));
}

/* ---------- Testimonials ---------- */
.gff0-quote {
  background: var(--gff0-card);
  border-left: 4px solid var(--gff0-accent);
  border-radius: 10px;
  padding: 1.1rem 1.2rem;
  margin-bottom: 0.9rem;
}
.gff0-quote p { margin: 0 0 0.5rem; font-size: 1.25rem; color: #fff; }
.gff0-quote small { color: var(--gff0-muted); font-size: 1.1rem; }

/* ---------- Payment / winners ---------- */
.gff0-pills {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
}
.gff0-pill {
  background: rgba(0,229,255,.12);
  border: 1px solid rgba(0,229,255,.3);
  color: #fff;
  border-radius: 999px;
  padding: 0.45rem 1rem;
  font-size: 1.15rem;
}
.gff0-winner-row {
  display: flex; justify-content: space-between;
  padding: 0.7rem 0.9rem;
  background: rgba(0,151,167,.08);
  border-radius: 8px;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}
.gff0-winner-row b { color: var(--gff0-gold); }

/* ---------- App download CTA ---------- */
.gff0-app-cta {
  background: linear-gradient(135deg, rgba(0,229,255,.18), rgba(0,151,167,.22));
  border: 1px solid rgba(0,229,255,.35);
  border-radius: var(--gff0-radius);
  padding: 1.6rem;
  text-align: center;
}
.gff0-app-cta h3 { margin: 0 0 0.6rem; color: #fff; }
.gff0-app-cta p { margin: 0 0 1.2rem; color: var(--gff0-muted); font-size: 1.3rem; }

/* ---------- FAQ ---------- */
.gff0-faq-item {
  background: var(--gff0-card);
  border: 1px solid rgba(0,229,255,.15);
  border-radius: 10px;
  margin-bottom: 0.7rem;
  overflow: hidden;
}
.gff0-faq-q {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 1rem 1.2rem;
  color: #fff;
  font-size: 1.3rem;
  font-weight: 700;
  cursor: pointer;
}
.gff0-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease, padding .25s ease;
  padding: 0 1.2rem;
  color: var(--gff0-muted);
  font-size: 1.2rem;
}
.gff0-faq-open .gff0-faq-a {
  max-height: 360px;
  padding: 0 1.2rem 1rem;
}
.gff0-faq-open { border-color: rgba(0,229,255,.5); }

/* ---------- Footer ---------- */
.gff0-footer {
  background: linear-gradient(180deg, #0f2030, #081623);
  border-top: 1px solid rgba(0,229,255,.2);
  padding: 2.4rem 0 1rem;
}
.gff0-footer-brand { font-size: 1.4rem; color: var(--gff0-muted); margin-bottom: 1rem; }
.gff0-footer-links {
  display: flex; flex-wrap: wrap; gap: 0.6rem 1.2rem;
  margin-bottom: 1rem;
}
.gff0-footer-links a {
  color: var(--gff0-light);
  font-size: 1.2rem;
}
.gff0-footer-links a:hover { color: var(--gff0-accent); }
.gff0-footer-cta { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 0.8rem 0 1.2rem; }
.gff0-footer-copy {
  font-size: 1.1rem; color: var(--gff0-muted); text-align: center; padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,.08);
}

/* ---------- Mobile bottom nav ---------- */
.gff0-bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: 6rem;
  background: linear-gradient(180deg, rgba(46,64,87,.98), rgba(15,32,48,.99));
  border-top: 1px solid rgba(0,229,255,.3);
  display: flex; justify-content: space-around; align-items: center;
  z-index: 1000;
  padding-bottom: env(safe-area-inset-bottom);
}
.gff0-bottom-nav a, .gff0-bottom-nav button {
  flex: 1;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  background: transparent;
  border: none;
  color: var(--gff0-muted);
  font-size: 1.05rem;
  font-weight: 600;
  min-width: 60px; min-height: 56px;
  cursor: pointer;
  text-decoration: none;
  transition: color .2s, transform .15s;
  gap: 0.2rem;
}
.gff0-bottom-nav a:hover, .gff0-bottom-nav button:hover { color: #fff; transform: translateY(-1px); }
.gff0-bottom-nav .gff0-bn-ico {
  font-size: 2.2rem; line-height: 1;
}
.gff0-bottom-nav .gff0-bn-active { color: var(--gff0-accent); }
.gff0-bottom-nav .gff0-bn-promo { color: var(--gff0-gold); }

/* ---------- Back to top ---------- */
.gff0-to-top {
  position: fixed;
  right: 1.2rem; bottom: 7rem;
  width: 4rem; height: 4rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gff0-accent), var(--gff0-primary));
  color: #062430;
  border: none;
  font-size: 1.8rem;
  font-weight: 700;
  cursor: pointer;
  opacity: 0; visibility: hidden;
  transition: opacity .25s ease, visibility .25s ease;
  z-index: 999;
  box-shadow: var(--gff0-shadow);
}
.gff0-to-top-visible { opacity: 1; visibility: visible; }

/* ---------- Reveal animation ---------- */
.gff0-reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.gff0-revealed { opacity: 1; transform: translateY(0); }

/* ---------- Bottom padding (mobile nav clearance) ---------- */
.gff0-main { padding-bottom: 80px; }

/* ---------- Desktop adaptations ---------- */
@media (min-width: 768px) {
  body { background: linear-gradient(160deg, #0c1a28, #16314a); }
  .gff0-container, .gff0-wrapper, .gff0-header-inner, .gff0-footer-inner { max-width: 720px; }
  .gff0-bottom-nav { display: none; }
  .gff0-main { padding-bottom: 20px; }
  .gff0-grid { grid-template-columns: repeat(5, 1fr); }
  .gff0-grid-compact { grid-template-columns: repeat(6, 1fr); }
  .gff0-info-grid { grid-template-columns: repeat(3, 1fr); }
  .gff0-slide img { height: 320px; }
}

@media (min-width: 1024px) {
  .gff0-container, .gff0-wrapper, .gff0-header-inner { max-width: 980px; }
}

/* ---------- Accessibility ---------- */
.gff0-visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
:focus-visible { outline: 2px solid var(--gff0-accent); outline-offset: 2px; }
