/* =====================================================================
 * Hann Online Casino APK - Shared stylesheet (mobile-first)
 * Class prefix: g0a4-
 * Palette: #1C2833 (dark bg) | #20B2AA (primary teal) | #DAA520 (gold)
 *          #7CFC00 (lime accent) | #F8F9FA (light text) | #FFEBCD (soft)
 * ===================================================================== */

:root {
  --g0a4-primary: #20B2AA;
  --g0a4-bg: #1C2833;
  --g0a4-bg-2: #243447;
  --g0a4-bg-3: #0f1822;
  --g0a4-gold: #DAA520;
  --g0a4-lime: #7CFC00;
  --g0a4-text: #F8F9FA;
  --g0a4-soft: #FFEBCD;
  --g0a4-muted: #9fb2c2;
  --g0a4-radius: 1.2rem;
  --g0a4-shadow: 0 .4rem 1.4rem rgba(0, 0, 0, .35);
  --g0a4-header-h: 5.6rem;
  --g0a4-nav-h: 6.2rem;
}

/* ---- Base reset ----------------------------------------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
html { font-size: 62.5%; }

body {
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, system-ui, sans-serif;
  background: radial-gradient(1200px 600px at 50% -10%, #2a3a4d 0%, var(--g0a4-bg) 55%, var(--g0a4-bg-3) 100%);
  color: var(--g0a4-text);
  line-height: 1.5rem;
  font-size: 1.5rem;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--g0a4-lime); text-decoration: none; }
a:hover { color: var(--g0a4-gold); }

/* ---- Page container (mobile-first, max-width 430px) ----- */
.g0a4-wrapper {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  position: relative;
  background: var(--g0a4-bg);
  min-height: 100vh;
  box-shadow: 0 0 4rem rgba(0, 0, 0, .45);
}

.g0a4-container {
  width: 100%;
  padding: 0 1.4rem;
}

main.g0a4-main {
  padding-top: calc(var(--g0a4-header-h) + .8rem);
  padding-bottom: calc(var(--g0a4-nav-h) + 1.6rem);
}

/* ---- Header --------------------------------------------- */
.g0a4-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, rgba(15, 24, 34, .97), rgba(28, 40, 51, .92));
  backdrop-filter: blur(8px);
  border-bottom: .1rem solid rgba(218, 165, 32, .35);
}
.g0a4-header-inner {
  max-width: 430px;
  margin: 0 auto;
  height: var(--g0a4-header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.2rem;
  gap: .8rem;
}
.g0a4-logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  min-width: 0;
}
.g0a4-logo img {
  width: 2.8rem;
  height: 2.8rem;
  border-radius: .6rem;
  box-shadow: 0 0 .8rem rgba(32, 178, 170, .65);
}
.g0a4-logo-text {
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: .02em;
  color: var(--g0a4-soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.g0a4-logo-text b { color: var(--g0a4-gold); }

.g0a4-header-actions {
  display: flex;
  align-items: center;
  gap: .6rem;
}
.g0a4-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  min-height: 3.6rem;
  padding: 0 1.2rem;
  border-radius: 2rem;
  font-weight: 700;
  font-size: 1.3rem;
  border: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
  text-decoration: none;
  white-space: nowrap;
}
.g0a4-btn:active { transform: scale(.96); }
.g0a4-btn-primary {
  background: linear-gradient(135deg, var(--g0a4-gold), #f0c14b);
  color: #1C2833;
  box-shadow: 0 .3rem .8rem rgba(218, 165, 32, .45);
}
.g0a4-btn-secondary {
  background: linear-gradient(135deg, var(--g0a4-primary), #159c95);
  color: var(--g0a4-text);
  box-shadow: 0 .3rem .8rem rgba(32, 178, 170, .4);
}
.g0a4-btn-ghost {
  background: transparent;
  color: var(--g0a4-text);
  border: .12rem solid rgba(248, 249, 250, .35);
}
.g0a4-btn-block {
  display: flex;
  width: 100%;
  min-height: 4.4rem;
  font-size: 1.5rem;
}

/* Menu toggle button */
.g0a4-menu-btn {
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, .08);
  border: .1rem solid rgba(248, 249, 250, .2);
  color: var(--g0a4-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.8rem;
}
.g0a4-menu-btn-active { background: var(--g0a4-primary); }

/* ---- Mobile menu drawer --------------------------------- */
.g0a4-mobile-menu {
  position: fixed;
  top: 0;
  right: 100%;
  width: 84%;
  max-width: 360px;
  height: 100vh;
  background: var(--g0a4-bg-3);
  z-index: 9999;
  padding: calc(var(--g0a4-header-h) + 1rem) 1.6rem 2rem;
  transform: translateX(-100%);
  transition: transform .28s ease;
  overflow-y: auto;
  border-right: .15rem solid var(--g0a4-gold);
}
.g0a4-mobile-menu.g0a4-menu-open { transform: translateX(0); }
.g0a4-mobile-menu h4 {
  font-size: 1.3rem;
  color: var(--g0a4-gold);
  margin: 1.6rem 0 .8rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.g0a4-mobile-menu a {
  display: block;
  padding: 1rem 1.2rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, .05);
  margin-bottom: .6rem;
  color: var(--g0a4-text);
  font-size: 1.4rem;
  font-weight: 600;
}
.g0a4-mobile-menu a:active { background: var(--g0a4-primary); color: #fff; }

/* ---- Sections ------------------------------------------- */
.g0a4-section {
  padding: 2rem 1.4rem;
}
.g0a4-section-title {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--g0a4-soft);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: .6rem;
}
.g0a4-section-title i { color: var(--g0a4-gold); }
.g0a4-section-title small {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--g0a4-muted);
}
.g0a4-divider {
  height: .2rem;
  background: linear-gradient(90deg, transparent, var(--g0a4-primary), transparent);
  margin: 0 1.4rem;
  opacity: .55;
}

/* ---- Hero carousel -------------------------------------- */
.g0a4-hero {
  position: relative;
  border-radius: var(--g0a4-radius);
  overflow: hidden;
  margin: 1.2rem 0 0;
  box-shadow: var(--g0a4-shadow);
}
.g0a4-slides { position: relative; }
.g0a4-slide {
  position: relative;
  display: none;
  cursor: pointer;
}
.g0a4-slide img { width: 100%; height: 18rem; object-fit: cover; }
.g0a4-slide-active { display: block; }
.g0a4-slide-caption {
  position: absolute;
  left: 1.2rem;
  right: 1.2rem;
  bottom: 1.2rem;
  background: linear-gradient(0deg, rgba(0,0,0,.85), rgba(0,0,0,0));
  padding: 2.4rem 1.2rem 1rem;
  border-radius: 1rem;
}
.g0a4-slide-caption h2 {
  font-size: 1.7rem;
  color: var(--g0a4-gold);
  margin-bottom: .3rem;
}
.g0a4-slide-caption p { font-size: 1.2rem; color: var(--g0a4-text); }
.g0a4-dots {
  position: absolute;
  bottom: .8rem;
  right: 1.2rem;
  display: flex;
  gap: .5rem;
}
.g0a4-dot {
  width: .8rem; height: .8rem; border-radius: 50%;
  background: rgba(248, 249, 250, .45);
  cursor: pointer;
}
.g0a4-dot-active { background: var(--g0a4-lime); width: 1.8rem; border-radius: .4rem; }

/* ---- H1 / intro ---------------------------------------- */
.g0a4-h1 {
  font-size: 2.2rem;
  line-height: 2.8rem;
  font-weight: 800;
  margin: 1.6rem 0 .6rem;
  color: var(--g0a4-text);
}
.g0a4-h1 b { color: var(--g0a4-lime); }
.g0a4-lead {
  font-size: 1.35rem;
  color: var(--g0a4-muted);
  margin-bottom: 1rem;
}
.g0a4-lead b { color: var(--g0a4-gold); }

/* ---- Game grid ----------------------------------------- */
.g0a4-cat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 1.8rem 0 1rem;
}
.g0a4-cat-head h3 {
  font-size: 1.55rem;
  color: var(--g0a4-soft);
  display: inline-flex;
  align-items: center;
  gap: .5rem;
}
.g0a4-cat-head h3 i { color: var(--g0a4-primary); }
.g0a4-cat-tag {
  font-size: 1.1rem;
  color: var(--g0a4-gold);
  background: rgba(218, 165, 32, .14);
  padding: .3rem .8rem;
  border-radius: 1rem;
}
.g0a4-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .8rem;
}
.g0a4-game {
  background: var(--g0a4-bg-2);
  border-radius: 1rem;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  border: .1rem solid rgba(255, 255, 255, .05);
  transition: transform .15s ease, box-shadow .15s ease;
}
.g0a4-game:active { transform: scale(.95); }
.g0a4-game img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #0b1218;
}
.g0a4-game-name {
  display: block;
  font-size: 1.1rem;
  text-align: center;
  padding: .5rem .3rem;
  color: var(--g0a4-text);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.g0a4-game-hot {
  position: absolute;
  top: .4rem;
  left: .4rem;
  background: var(--g0a4-gold);
  color: #1C2833;
  font-size: .95rem;
  font-weight: 800;
  padding: .15rem .5rem;
  border-radius: .6rem;
}

/* ---- Cards --------------------------------------------- */
.g0a4-card {
  background: var(--g0a4-bg-2);
  border-radius: var(--g0a4-radius);
  padding: 1.6rem;
  margin-bottom: 1.2rem;
  box-shadow: var(--g0a4-shadow);
  border: .1rem solid rgba(32, 178, 170, .15);
}
.g0a4-card h3 {
  font-size: 1.5rem;
  color: var(--g0a4-soft);
  margin-bottom: .8rem;
}
.g0a4-card p { font-size: 1.3rem; color: var(--g0a4-muted); margin-bottom: .6rem; }
.g0a4-card ul { padding-left: 1.4rem; color: var(--g0a4-muted); font-size: 1.25rem; }
.g0a4-card li { margin-bottom: .4rem; }

.g0a4-steps {
  counter-reset: step;
  list-style: none;
  padding-left: 0;
}
.g0a4-steps li {
  position: relative;
  padding: .8rem 0 .8rem 3.4rem;
  font-size: 1.3rem;
  color: var(--g0a4-text);
  border-bottom: .1rem dashed rgba(255, 255, 255, .08);
}
.g0a4-steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0; top: .8rem;
  width: 2.4rem; height: 2.4rem;
  background: var(--g0a4-primary);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 1.2rem;
}

/* ---- RTP table ---------------------------------------- */
.g0a4-rtp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.2rem;
  margin-top: .6rem;
}
.g0a4-rtp-table th, .g0a4-rtp-table td {
  padding: .8rem .6rem;
  text-align: center;
  border-bottom: .1rem solid rgba(255,255,255,.08);
}
.g0a4-rtp-table th { color: var(--g0a4-gold); font-weight: 700; }
.g0a4-rtp-table td { color: var(--g0a4-text); }
.g0a4-rtp-high { color: var(--g0a4-lime); font-weight: 800; }

/* ---- Testimonials ------------------------------------- */
.g0a4-testi {
  background: var(--g0a4-bg-2);
  border-left: .4rem solid var(--g0a4-lime);
  padding: 1.2rem;
  border-radius: .8rem;
  margin-bottom: .8rem;
}
.g0a4-testi p { font-size: 1.25rem; color: var(--g0a4-text); font-style: italic; }
.g0a4-testi span { display: block; margin-top: .5rem; font-size: 1.1rem; color: var(--g0a4-gold); font-weight: 700; }

/* ---- Payment chips ------------------------------------ */
.g0a4-chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.g0a4-chip {
  background: var(--g0a4-bg-3);
  border: .1rem solid rgba(218,165,32,.4);
  color: var(--g0a4-soft);
  padding: .6rem 1rem;
  border-radius: 1rem;
  font-size: 1.2rem;
  font-weight: 700;
  display: inline-flex; align-items: center; gap: .4rem;
}

/* ---- Winners ------------------------------------------- */
.g0a4-winner {
  display: flex; align-items: center; justify-content: space-between;
  padding: .8rem 1rem;
  background: var(--g0a4-bg-2);
  border-radius: .8rem;
  margin-bottom: .5rem;
  font-size: 1.2rem;
}
.g0a4-winner b { color: var(--g0a4-lime); }

/* ---- CTA banner --------------------------------------- */
.g0a4-cta {
  background: linear-gradient(135deg, var(--g0a4-primary), var(--g0a4-gold));
  border-radius: var(--g0a4-radius);
  padding: 2rem 1.4rem;
  text-align: center;
  margin: 1.6rem 0;
  color: #1C2833;
  box-shadow: var(--g0a4-shadow);
}
.g0a4-cta h3 { font-size: 1.8rem; color: #1C2833; margin-bottom: .4rem; }
.g0a4-cta p { font-size: 1.25rem; margin-bottom: 1rem; color: #243447; }
.g0a4-cta .g0a4-btn { background: #1C2833; color: var(--g0a4-gold); }

/* ---- Footer ------------------------------------------- */
.g0a4-footer {
  background: var(--g0a4-bg-3);
  padding: 2.4rem 1.4rem calc(var(--g0a4-nav-h) + 1.6rem);
  border-top: .15rem solid rgba(218, 165, 32, .3);
}
.g0a4-footer-brand {
  font-size: 1.3rem;
  color: var(--g0a4-muted);
  margin-bottom: 1.2rem;
}
.g0a4-footer-brand b { color: var(--g0a4-gold); }
.g0a4-footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .4rem .8rem;
  margin: 1rem 0;
}
.g0a4-footer-links a {
  font-size: 1.2rem;
  color: var(--g0a4-text);
  padding: .3rem 0;
}
.g0a4-footer-promos {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin: 1rem 0;
}
.g0a4-footer-promos .g0a4-btn { font-size: 1.15rem; min-height: 3.2rem; padding: 0 .9rem; }
.g0a4-footer-copy {
  font-size: 1.1rem;
  color: var(--g0a4-muted);
  text-align: center;
  border-top: .1rem solid rgba(255,255,255,.08);
  padding-top: 1rem;
  margin-top: 1rem;
}

/* ---- Bottom navigation -------------------------------- */
.g0a4-bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: var(--g0a4-nav-h);
  background: linear-gradient(180deg, rgba(28,40,51,.97), rgba(15,24,34,.99));
  border-top: .12rem solid var(--g0a4-gold);
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  z-index: 1000;
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.g0a4-bottom-nav-inner {
  max-width: 430px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  align-items: stretch;
}
.g0a4-nav-btn {
  flex: 1;
  min-width: 60px;
  min-height: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .2rem;
  background: none;
  border: none;
  color: var(--g0a4-muted);
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  transition: color .15s ease, transform .15s ease;
}
.g0a4-nav-btn i, .g0a4-nav-btn .material-icons,
.g0a4-nav-btn ion-icon, .g0a4-nav-btn .bi {
  font-size: 2.2rem;
}
.g0a4-nav-btn .material-icons { font-size: 2.2rem; }
.g0a4-nav-btn ion-icon { font-size: 2.2rem; }
.g0a4-nav-btn:active { transform: scale(.92); }
.g0a4-nav-btn:hover { color: var(--g0a4-lime); }
.g0a4-nav-btn.g0a4-nav-promo { color: var(--g0a4-gold); }
.g0a4-nav-btn.g0a4-nav-promo i { filter: drop-shadow(0 0 .4rem rgba(218,165,32,.6)); }
.g0a4-nav-btn.g0a4-nav-current { color: var(--g0a4-primary); }
.g0a4-nav-btn.g0a4-nav-current::before {
  content: '';
  position: absolute;
  top: 0;
  width: 2.4rem; height: .25rem;
  background: var(--g0a4-primary);
  border-radius: 0 0 .4rem .4rem;
}
.g0a4-nav-badge {
  position: absolute;
  top: .4rem; right: 1.4rem;
  background: #ff4d4d;
  color: #fff;
  font-size: .9rem;
  font-weight: 800;
  padding: 0 .4rem;
  border-radius: .8rem;
  min-width: 1.4rem;
  height: 1.4rem;
  line-height: 1.4rem;
  text-align: center;
}

/* ---- Duotone nav icon (two-tone glyph style) ---------- */
.g0a4-nav-duo {
  background: linear-gradient(135deg, var(--g0a4-gold) 45%, var(--g0a4-lime));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 .4rem rgba(218, 165, 32, .45));
}

/* ---- FAQ / review page helpers ------------------------ */
.g0a4-faq-item {
  background: var(--g0a4-bg-2);
  border-radius: 1rem;
  padding: 1.2rem 1.4rem;
  margin-bottom: .8rem;
  border-left: .3rem solid var(--g0a4-primary);
}
.g0a4-faq-item h3 {
  font-size: 1.4rem;
  color: var(--g0a4-soft);
  margin-bottom: .5rem;
  display: flex;
  align-items: flex-start;
  gap: .6rem;
}
.g0a4-faq-item h3 i { color: var(--g0a4-gold); margin-top: .2rem; }
.g0a4-faq-item p { font-size: 1.28rem; color: var(--g0a4-muted); }
.g0a4-faq-item p b { color: var(--g0a4-lime); }

/* ---- Rating stars / review meta ----------------------- */
.g0a4-stars { color: var(--g0a4-gold); font-size: 1.5rem; letter-spacing: .2rem; }
.g0a4-rate-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .7rem 0;
  border-bottom: .1rem dashed rgba(255, 255, 255, .08);
  font-size: 1.25rem;
  color: var(--g0a4-text);
}
.g0a4-rate-row .g0a4-stars { font-size: 1.2rem; letter-spacing: .1rem; }
.g0a4-pros li::marker { color: var(--g0a4-lime); }
.g0a4-cons li::marker { color: #ff7b7b; }

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

/* ---- Desktop adjustments ------------------------------ */
@media (min-width: 769px) {
  .g0a4-bottom-nav { display: none; }
  main.g0a4-main { padding-bottom: 3rem; }
  .g0a4-footer { padding-bottom: 2.4rem; }
}
@media (max-width: 768px) {
  main.g0a4-main { padding-bottom: calc(var(--g0a4-nav-h) + 1.6rem); }
}

@media (max-width: 360px) {
  .g0a4-grid { grid-template-columns: repeat(2, 1fr); }
  .g0a4-logo-text { font-size: 1.3rem; }
}
