/* =============================================================
 * okay game (okaygame.click) - core stylesheet
 * All custom class names use the "g575-" prefix.
 * Root font-size: 62.5% => 1rem = 10px for easier rem math.
 * Palette: #2C3E50 #ECF0F1 #34495E #5D5D5D + amber accent.
 * =========================================================== */

:root {
  --g575-primary: #2C3E50;
  --g575-secondary: #34495E;
  --g575-bg: #1c2a36;
  --g575-bg-alt: #243447;
  --g575-surface: #2C3E50;
  --g575-text: #ECF0F1;
  --g575-text-muted: #B4C0CA;
  --g575-gray: #5D5D5D;
  --g575-accent: #F5B041;
  --g575-accent-2: #E67E22;
  --g575-success: #2ECC71;
  --g575-danger: #E74C3C;
  --g575-border: rgba(236, 240, 241, 0.12);
  --g575-radius: 14px;
  --g575-radius-sm: 10px;
  --g575-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  --g575-header-h: 6rem;
}

*, *::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", Roboto, Arial, sans-serif;
  font-size: 1.5rem;
  line-height: 1.5;
  color: var(--g575-text);
  background: var(--g575-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.g575-container { width: 100%; max-width: 430px; margin: 0 auto; padding: 0 1.2rem; }
.g575-wrapper { padding-top: var(--g575-header-h); }

/* ---------- Header ---------- */
.g575-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--g575-header-h);
  background: var(--g575-surface);
  border-bottom: 2px solid var(--g575-accent);
  box-shadow: var(--g575-shadow);
  z-index: 1000;
  display: flex;
  align-items: center;
}
.g575-header-inner {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}
.g575-brand { display: flex; align-items: center; gap: 0.8rem; color: var(--g575-text); }
.g575-brand img { width: 3rem; height: 3rem; border-radius: 8px; }
.g575-brand-name { font-size: 1.7rem; font-weight: 700; letter-spacing: 0.3px; }
.g575-brand-name span { color: var(--g575-accent); }

.g575-header-actions { display: flex; align-items: center; gap: 0.6rem; }
.g575-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 3.6rem;
  padding: 0 1.2rem;
  border: none;
  border-radius: var(--g575-radius-sm);
  font-size: 1.3rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.15s ease;
  color: #fff;
  background: var(--g575-gray);
}
.g575-btn:hover { text-decoration: none; transform: translateY(-1px); filter: brightness(1.08); }
.g575-btn:active { transform: translateY(0); }
.g575-btn-primary { background: linear-gradient(135deg, var(--g575-accent), var(--g575-accent-2)); color: #2C3E50; }
.g575-btn-outline { background: transparent; border: 1.5px solid var(--g575-accent); color: var(--g575-accent); }
.g575-btn-block { display: flex; width: 100%; }
.g575-btn-lg { min-height: 4.4rem; font-size: 1.5rem; }

.g575-icon-btn {
  background: transparent;
  border: none;
  color: var(--g575-text);
  font-size: 2rem;
  width: 3.6rem;
  height: 3.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  cursor: pointer;
}

/* ---------- Mobile slide-down menu ---------- */
.g575-mobile-menu {
  position: fixed;
  top: var(--g575-header-h);
  left: 0; right: 0;
  background: var(--g575-secondary);
  border-bottom: 1px solid var(--g575-border);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.32s ease;
  z-index: 9999;
}
.g575-mobile-menu.g575-menu-open { max-height: 80vh; overflow-y: auto; }
.g575-mobile-menu-inner { padding: 0.8rem 1.2rem 1.6rem; display: grid; gap: 0.4rem; }
.g575-mobile-menu a {
  color: var(--g575-text);
  padding: 1rem 0.8rem;
  border-radius: 8px;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  border-bottom: 1px solid var(--g575-border);
}
.g575-mobile-menu a:hover { background: rgba(245, 176, 65, 0.12); text-decoration: none; }

/* ---------- Section + headings ---------- */
.g575-section { padding: 2.4rem 0 1.2rem; }
.g575-section-alt { background: var(--g575-bg-alt); border-radius: var(--g575-radius); padding: 2rem; margin: 1.2rem 0; }
.g575-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0 0 1.2rem;
  color: var(--g575-text);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.g575-section-title::before {
  content: "";
  width: 4px;
  height: 1.6rem;
  background: var(--g575-accent);
  border-radius: 2px;
}
.g575-eyebrow { color: var(--g575-accent); font-size: 1.2rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.2px; }
.g575-lead { color: var(--g575-text-muted); font-size: 1.4rem; line-height: 1.6; }
.g575-text-muted { color: var(--g575-text-muted); }

/* ---------- Carousel ---------- */
.g575-carousel {
  position: relative;
  border-radius: var(--g575-radius);
  overflow: hidden;
  box-shadow: var(--g575-shadow);
  margin: 1.2rem 0;
}
.g575-carousel-viewport { overflow: hidden; }
.g575-carousel-track { display: flex; transition: transform 0.6s ease; }
.g575-carousel-slide { min-width: 100%; position: relative; cursor: pointer; }
.g575-carousel-slide img { width: 100%; height: 200px; object-fit: cover; }
.g575-carousel-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1rem 1.2rem;
  background: linear-gradient(to top, rgba(28,42,54,0.92), transparent);
  color: var(--g575-text);
}
.g575-carousel-caption strong { color: var(--g575-accent); font-size: 1.5rem; display: block; }
.g575-carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(28,42,54,0.65);
  color: var(--g575-text);
  border: none;
  width: 3rem; height: 3rem;
  border-radius: 50%;
  font-size: 1.6rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.g575-carousel-nav.g575-prev { left: 6px; }
.g575-carousel-nav.g575-next { right: 6px; }
.g575-carousel-dots { position: absolute; bottom: 8px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; }
.g575-carousel-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(236,240,241,0.45);
  border: none; cursor: pointer; padding: 0;
}
.g575-carousel-dot.g575-dot-active { background: var(--g575-accent); width: 18px; border-radius: 4px; }

/* ---------- Game grid ---------- */
.g575-game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 0.8rem 0;
}
.g575-game-card {
  background: var(--g575-surface);
  border: 1px solid var(--g575-border);
  border-radius: var(--g575-radius-sm);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  display: block;
  color: var(--g575-text);
}
.g575-game-card:hover {
  text-decoration: none;
  transform: translateY(-3px);
  border-color: var(--g575-accent);
  box-shadow: 0 8px 20px rgba(245,176,65,0.18);
}
.g575-game-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; background: #16212c; }
.g575-game-name {
  font-size: 1.15rem;
  font-weight: 600;
  padding: 0.6rem 0.5rem 0.7rem;
  text-align: center;
  color: var(--g575-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.g575-game-badge {
  position: absolute;
  top: 6px; left: 6px;
  background: var(--g575-accent);
  color: #2C3E50;
  font-size: 1rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 6px;
}
.g575-game-card-wrap { position: relative; }

/* ---------- Filter chips ---------- */
.g575-filter-bar { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 0.6rem 0 1rem; }
.g575-filter-btn {
  padding: 0.6rem 1.2rem;
  border-radius: 20px;
  border: 1px solid var(--g575-border);
  background: var(--g575-surface);
  color: var(--g575-text-muted);
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
}
.g575-filter-btn.g575-filter-active {
  background: var(--g575-accent);
  color: #2C3E50;
  border-color: var(--g575-accent);
}

/* ---------- Cards / generic ---------- */
.g575-card {
  background: var(--g575-surface);
  border: 1px solid var(--g575-border);
  border-radius: var(--g575-radius);
  padding: 1.6rem;
  margin: 1rem 0;
  box-shadow: var(--g575-shadow);
}
.g575-card h3 { margin: 0 0 0.6rem; font-size: 1.5rem; color: var(--g575-text); }
.g575-card p { margin: 0 0 0.6rem; color: var(--g575-text-muted); font-size: 1.35rem; }

.g575-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.g575-stat {
  background: var(--g575-bg-alt);
  border-radius: var(--g575-radius-sm);
  padding: 1.2rem;
  text-align: center;
}
.g575-stat-num { font-size: 2rem; font-weight: 800; color: var(--g575-accent); display: block; }
.g575-stat-label { font-size: 1.15rem; color: var(--g575-text-muted); }

.g575-list { padding-left: 1.2rem; color: var(--g575-text-muted); }
.g575-list li { margin: 0.4rem 0; }
.g575-faq-item { border-bottom: 1px solid var(--g575-border); padding: 1rem 0; }
.g575-faq-item h3 { margin: 0 0 0.4rem; font-size: 1.4rem; color: var(--g575-accent); }
.g575-faq-item p { margin: 0; color: var(--g575-text-muted); }

/* ---------- Testimonial / winners ---------- */
.g575-pill { display: inline-flex; align-items: center; gap: 0.4rem; background: var(--g575-bg-alt); color: var(--g575-text); padding: 0.4rem 0.9rem; border-radius: 20px; font-size: 1.15rem; }
.g575-winner-row { display: flex; align-items: center; justify-content: space-between; padding: 0.7rem 0; border-bottom: 1px dashed var(--g575-border); }
.g575-winner-row:last-child { border-bottom: none; }
.g575-winner-name { font-weight: 700; color: var(--g575-text); }
.g575-winner-amount { color: var(--g575-success); font-weight: 700; }

/* ---------- Payment / app CTA ---------- */
.g575-pay-row { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.g575-pay-chip {
  background: var(--g575-bg-alt);
  border: 1px solid var(--g575-border);
  border-radius: 8px;
  padding: 0.6rem 1rem;
  font-size: 1.2rem;
  color: var(--g575-text);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.g575-cta-banner {
  background: linear-gradient(135deg, var(--g575-accent), var(--g575-accent-2));
  color: #2C3E50;
  border-radius: var(--g575-radius);
  padding: 1.8rem;
  text-align: center;
  margin: 1.6rem 0;
}
.g575-cta-banner h2 { margin: 0 0 0.6rem; font-size: 1.8rem; }

/* ---------- Footer ---------- */
.g575-footer {
  background: #16212c;
  border-top: 2px solid var(--g575-accent);
  padding: 2.4rem 0 8rem;
  margin-top: 2rem;
}
.g575-footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem 1rem;
  margin: 1.2rem 0;
}
.g575-footer-links a { color: var(--g575-text-muted); font-size: 1.25rem; }
.g575-footer-links a:hover { color: var(--g575-accent); }
.g575-footer-brand { color: var(--g575-text-muted); font-size: 1.25rem; line-height: 1.6; }
.g575-footer-promo { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 1rem 0; }
.g575-copyright { color: var(--g575-text-muted); font-size: 1.15rem; text-align: center; margin-top: 1.2rem; }

/* ---------- Bottom nav (mobile only) ---------- */
.g575-bottomnav {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  height: 6rem;
  background: var(--g575-surface);
  border-top: 2px solid var(--g575-accent);
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  z-index: 1000;
  box-shadow: 0 -4px 14px rgba(0,0,0,0.4);
}
.g575-bottomnav-btn {
  flex: 1;
  min-width: 6rem;
  background: transparent;
  border: none;
  color: var(--g575-text-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-size: 1.05rem;
  cursor: pointer;
  padding: 4px 2px;
  transition: color 0.15s ease, transform 0.15s ease;
}
.g575-bottomnav-btn .g575-bn-icon { font-size: 2.2rem; line-height: 1; }
.g575-bottomnav-btn .g575-bn-icon.material-icons { font-size: 2.2rem; }
.g575-bottomnav-btn:hover { color: var(--g575-text); }
.g575-bottomnav-btn:active { transform: scale(0.92); }
.g575-bottomnav-btn.g575-bottomnav-current { color: var(--g575-accent); }
.g575-bottomnav-btn.g575-bottomnav-promo { color: var(--g575-accent); }

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


/* ---------- Desktop: hide bottom nav, widen container ---------- */
@media (min-width: 769px) {
  .g575-container { max-width: 960px; }
  .g575-game-grid { grid-template-columns: repeat(6, 1fr); }
  .g575-grid-2 { grid-template-columns: repeat(4, 1fr); }
  .g575-bottomnav { display: none; }
  .g575-footer { padding-bottom: 2.4rem; }
}

@media (max-width: 768px) {
  main { padding-bottom: 80px; }
  .g575-carousel-slide img { height: 180px; }
}

@media (max-width: 360px) {
  .g575-game-grid { grid-template-columns: repeat(2, 1fr); }
  .g575-brand-name { font-size: 1.4rem; }
}
