/* ============================================================
 * jilipark - style-e112.css
 * Mobile-first casino gaming website styles.
 * All custom classes use the g120- prefix.
 * Palette: #1A1A2E | #40E0D0 | #00FFFF | #7FFF00 | #FFFFFF | #ADFF2F
 * ============================================================ */

:root {
  --g120-bg: #1A1A2E;
  --g120-bg-soft: #232347;
  --g120-bg-card: #20203f;
  --g120-primary: #40E0D0;
  --g120-cyan: #00FFFF;
  --g120-green: #7FFF00;
  --g120-lime: #ADFF2F;
  --g120-text: #FFFFFF;
  --g120-text-soft: #c7c7e0;
  --g120-muted: #8a8aae;
  --g120-gold: #FFD24A;
  --g120-radius: 14px;
  --g120-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  --g120-shadow-glow: 0 0 18px rgba(64, 224, 208, 0.45);
  --g120-header-h: 62px;
  --g120-bottom-h: 62px;
}

* { 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, sans-serif;
  background: radial-gradient(circle at 20% 0%, #232347 0%, var(--g120-bg) 55%);
  color: var(--g120-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  min-height: 100vh;
  overflow-x: hidden;
}

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

a { color: var(--g120-cyan); text-decoration: none; }
a:hover { color: var(--g120-lime); }

.g120-container { width: 100%; max-width: 430px; margin: 0 auto; padding: 0 1.2rem; }
.g120-wrapper { width: 100%; max-width: 430px; margin: 0 auto; }

/* ===== Header ===== */
.g120-header {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--g120-header-h);
  background: rgba(26, 26, 46, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(64, 224, 208, 0.25);
  z-index: 1000;
  transition: box-shadow .25s ease, background .25s ease;
}
.g120-header-scrolled { box-shadow: 0 4px 18px rgba(0,0,0,0.4); background: rgba(26,26,46,0.98); }
.g120-header-inner {
  max-width: 430px; margin: 0 auto; height: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 1rem;
}
.g120-logo { display: flex; align-items: center; gap: .6rem; color: var(--g120-text); }
.g120-logo img { width: 30px; height: 30px; border-radius: 8px; }
.g120-logo-text { font-size: 1.8rem; font-weight: 800; letter-spacing: .5px; }
.g120-logo-text span { color: var(--g120-primary); }
.g120-header-actions { display: flex; align-items: center; gap: .5rem; }
.g120-btn {
  border: none; border-radius: 20px; cursor: pointer;
  font-size: 1.3rem; font-weight: 700; padding: .6rem 1.2rem;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  min-height: 36px; display: inline-flex; align-items: center; gap: .4rem;
}
.g120-btn:active { transform: scale(0.96); }
.g120-btn-login { background: transparent; color: var(--g120-primary); border: 1px solid var(--g120-primary); }
.g120-btn-login:hover { background: rgba(64,224,208,0.15); }
.g120-btn-register { background: linear-gradient(135deg, var(--g120-green), var(--g120-lime)); color: #102010; box-shadow: 0 0 12px rgba(127,255,0,0.35); }
.g120-btn-register:hover { box-shadow: 0 0 18px rgba(127,255,0,0.55); }
.g120-menu-toggle {
  background: transparent; border: none; color: var(--g120-text);
  font-size: 2rem; cursor: pointer; display: flex; align-items: center;
  min-width: 40px; min-height: 40px; justify-content: center;
}

/* ===== Mobile menu ===== */
.g120-mobile-menu {
  position: fixed; top: 0; right: -85%;
  width: 85%; max-width: 320px; height: 100vh;
  background: var(--g120-bg-soft);
  z-index: 9999; padding: 1.5rem 1.2rem;
  transition: right .3s ease; overflow-y: auto;
  border-left: 1px solid rgba(64,224,208,0.2);
}
.g120-menu-open { right: 0; }
.g120-menu-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.55);
  z-index: 9998; display: none;
}
.g120-menu-open + .g120-menu-overlay,
.g120-menu-open ~ .g120-menu-overlay { display: block; }
.g120-menu-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; }
.g120-menu-close { background: transparent; border: none; color: var(--g120-text); font-size: 2.2rem; cursor: pointer; }
.g120-menu-list { list-style: none; }
.g120-menu-list li { margin-bottom: .8rem; }
.g120-menu-list a {
  display: block; padding: 1rem 1rem; color: var(--g120-text);
  background: var(--g120-bg-card); border-radius: 10px;
  font-size: 1.5rem; font-weight: 600; border-left: 3px solid var(--g120-primary);
}
.g120-menu-list a:hover { color: var(--g120-lime); border-left-color: var(--g120-lime); }
.g120-menu-cta { margin-top: 1.5rem; display: flex; flex-direction: column; gap: .8rem; }

/* ===== Main / sections ===== */
main { padding-top: calc(var(--g120-header-h) + 6px); padding-bottom: 0; }
@media (max-width: 768px) { main { padding-bottom: calc(var(--g120-bottom-h) + 14px); } }
.g120-section { padding: 2rem 0; }
.g120-section-title {
  font-size: 2rem; font-weight: 800; margin-bottom: 1rem;
  color: var(--g120-text); position: relative; padding-left: 1.2rem;
}
.g120-section-title::before {
  content: ""; position: absolute; left: 0; top: 4px; bottom: 4px;
  width: 4px; border-radius: 4px; background: linear-gradient(var(--g120-primary), var(--g120-cyan));
}
.g120-section-title span { color: var(--g120-primary); }
.g120-section-sub { color: var(--g120-text-soft); margin-bottom: 1.2rem; font-size: 1.35rem; }

/* ===== Carousel ===== */
.g120-carousel {
  position: relative; border-radius: var(--g120-radius); overflow: hidden;
  box-shadow: var(--g120-shadow); aspect-ratio: 16/9;
}
.g120-carousel-track { position: relative; width: 100%; height: 100%; }
.g120-carousel-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity var(--g120-carousel-fade, 650ms) ease;
}
.g120-carousel-slide img { width: 100%; height: 100%; object-fit: cover; }
.g120-carousel-active { opacity: 1; }
.g120-carousel-overlay {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1rem 1.2rem; background: linear-gradient(transparent, rgba(0,0,0,0.75));
  display: flex; flex-direction: column; gap: .5rem;
}
.g120-carousel-title { font-size: 1.7rem; font-weight: 800; color: var(--g120-text); }
.g120-carousel-link { color: var(--g120-lime); font-weight: 700; font-size: 1.3rem; cursor: pointer; }
.g120-carousel-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(0,0,0,0.4); color: var(--g120-text); border: none;
  width: 34px; height: 34px; border-radius: 50%; font-size: 1.6rem; cursor: pointer;
}
.g120-carousel-prev { left: 8px; }
.g120-carousel-next { right: 8px; }
.g120-carousel-dots { position: absolute; bottom: 8px; right: 10px; display: flex; gap: .4rem; }
.g120-carousel-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.5); cursor: pointer; }
.g120-dot-active { background: var(--g120-lime); }

/* ===== Filter buttons ===== */
.g120-filter-bar { display: flex; gap: .6rem; overflow-x: auto; padding: .5rem 0 1rem; -webkit-overflow-scrolling: touch; }
.g120-filter-bar::-webkit-scrollbar { display: none; }
.g120-filter-btn {
  flex: 0 0 auto; padding: .55rem 1.1rem; border-radius: 18px;
  background: var(--g120-bg-card); color: var(--g120-text-soft);
  border: 1px solid rgba(64,224,208,0.25); cursor: pointer; font-size: 1.25rem; font-weight: 600;
}
.g120-filter-active { background: linear-gradient(135deg, var(--g120-primary), var(--g120-cyan)); color: #072; border-color: transparent; }

/* ===== Game grid ===== */
.g120-game-section { margin-bottom: 2rem; }
.g120-game-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem;
}
.g120-game-card {
  background: var(--g120-bg-card); border-radius: 12px; overflow: hidden;
  cursor: pointer; position: relative; border: 1px solid rgba(64,224,208,0.15);
  transition: transform .15s ease, box-shadow .2s ease;
}
.g120-game-card:active { transform: scale(0.97); }
.g120-game-card img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.g120-game-name {
  font-size: 1.15rem; font-weight: 600; color: var(--g120-text);
  padding: .5rem .4rem; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.g120-game-badge {
  position: absolute; top: 6px; left: 6px; background: var(--g120-green);
  color: #102010; font-size: 1rem; font-weight: 800; padding: .15rem .5rem; border-radius: 6px;
}
.g120-game-tag-hot { background: #ff5b5b; color: #fff; }
.g120-game-tag-new { background: var(--g120-cyan); color: #072; }

/* ===== Info / feature cards ===== */
.g120-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; }
.g120-feature-card {
  background: var(--g120-bg-card); border-radius: 12px; padding: 1.2rem;
  border: 1px solid rgba(64,224,208,0.18);
}
.g120-feature-icon { font-size: 2.2rem; color: var(--g120-primary); margin-bottom: .5rem; }
.g120-feature-title { font-size: 1.35rem; font-weight: 700; margin-bottom: .3rem; }
.g120-feature-text { font-size: 1.2rem; color: var(--g120-text-soft); }

/* ===== RTP / stats ===== */
.g120-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; }
.g120-stat-card { background: var(--g120-bg-card); border-radius: 12px; padding: 1rem; text-align: center; }
.g120-stat-num { font-size: 2rem; font-weight: 800; color: var(--g120-lime); }
.g120-stat-label { font-size: 1.15rem; color: var(--g120-text-soft); margin-top: .3rem; }

/* ===== Promo banner ===== */
.g120-promo-banner {
  background: linear-gradient(135deg, rgba(64,224,208,0.18), rgba(127,255,0,0.18));
  border: 1px solid rgba(64,224,208,0.4); border-radius: var(--g120-radius);
  padding: 1.4rem; text-align: center; margin: 1rem 0;
}
.g120-promo-banner h3 { font-size: 1.7rem; color: var(--g120-lime); margin-bottom: .4rem; }
.g120-promo-banner p { color: var(--g120-text-soft); margin-bottom: .8rem; font-size: 1.25rem; }

/* ===== Testimonials ===== */
.g120-testimonial {
  background: var(--g120-bg-card); border-radius: 12px; padding: 1.2rem; margin-bottom: .8rem;
  border-left: 3px solid var(--g120-primary);
}
.g120-testimonial-name { font-weight: 700; color: var(--g120-lime); font-size: 1.3rem; }
.g120-testimonial-stars { color: var(--g120-gold); margin: .3rem 0; font-size: 1.2rem; }
.g120-testimonial-text { color: var(--g120-text-soft); font-size: 1.25rem; }

/* ===== Payment methods ===== */
.g120-pay-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; }
.g120-pay-item {
  background: var(--g120-bg-card); border-radius: 10px; padding: .8rem .4rem;
  text-align: center; font-size: 1.1rem; color: var(--g120-text-soft); border: 1px solid rgba(64,224,208,0.15);
}
.g120-pay-item .material-icons, .g120-pay-item i { font-size: 1.8rem; color: var(--g120-primary); }

/* ===== Winners ===== */
.g120-winner {
  display: flex; justify-content: space-between; align-items: center;
  background: var(--g120-bg-card); border-radius: 10px; padding: .8rem 1rem; margin-bottom: .6rem;
}
.g120-winner-name { font-weight: 700; font-size: 1.3rem; }
.g120-winner-game { color: var(--g120-text-soft); font-size: 1.15rem; }
.g120-winner-amount { color: var(--g120-gold); font-weight: 800; font-size: 1.4rem; }

/* ===== FAQ ===== */
.g120-faq-item { background: var(--g120-bg-card); border-radius: 10px; margin-bottom: .6rem; overflow: hidden; border: 1px solid rgba(64,224,208,0.15); }
.g120-faq-q {
  width: 100%; text-align: left; background: transparent; border: none; color: var(--g120-text);
  padding: 1rem; font-size: 1.35rem; font-weight: 700; cursor: pointer; display: flex; justify-content: space-between; align-items: center;
}
.g120-faq-q .g120-faq-icon { color: var(--g120-primary); transition: transform .2s ease; }
.g120-faq-a { max-height: 0; overflow: hidden; transition: max-height .25s ease; padding: 0 1rem; color: var(--g120-text-soft); font-size: 1.25rem; }
.g120-faq-open .g120-faq-a { max-height: 320px; padding: 0 1rem 1rem; }
.g120-faq-open .g120-faq-icon { transform: rotate(45deg); }

/* ===== App download CTA ===== */
.g120-app-cta {
  background: linear-gradient(135deg, #20203f, #2a2a55);
  border-radius: var(--g120-radius); padding: 1.6rem; text-align: center;
  border: 1px solid rgba(127,255,0,0.3); margin: 1.5rem 0;
}
.g120-app-cta h3 { color: var(--g120-lime); font-size: 1.8rem; margin-bottom: .5rem; }
.g120-app-cta p { color: var(--g120-text-soft); margin-bottom: 1rem; font-size: 1.25rem; }
.g120-app-btns { display: flex; gap: .6rem; justify-content: center; flex-wrap: wrap; }
.g120-app-btn {
  background: var(--g120-green); color: #102010; font-weight: 800;
  padding: .8rem 1.4rem; border-radius: 24px; font-size: 1.3rem; border: none; cursor: pointer; display: inline-flex; align-items: center; gap: .4rem;
}

/* ===== Play now big CTA ===== */
.g120-play-cta {
  background: linear-gradient(135deg, var(--g120-primary), var(--g120-green));
  border-radius: var(--g120-radius); padding: 1.8rem; text-align: center; color: #062; margin: 1.5rem 0;
}
.g120-play-cta h3 { font-size: 2rem; font-weight: 800; margin-bottom: .5rem; }
.g120-play-cta p { font-size: 1.25rem; margin-bottom: 1rem; color: #062; }
.g120-play-cta .g120-btn { background: #062; color: var(--g120-lime); font-size: 1.5rem; padding: .8rem 2rem; }

/* ===== Text links ===== */
.g120-promo-link { color: var(--g120-lime); font-weight: 700; cursor: pointer; }
.g120-promo-link:hover { color: var(--g120-cyan); text-decoration: underline; }

/* ===== Footer ===== */
.g120-footer { background: #15152a; padding: 2rem 0 1.5rem; margin-top: 1.5rem; border-top: 1px solid rgba(64,224,208,0.2); }
.g120-footer-brand { font-size: 1.5rem; font-weight: 800; color: var(--g120-primary); margin-bottom: .5rem; }
.g120-footer-desc { color: var(--g120-text-soft); font-size: 1.2rem; margin-bottom: 1rem; line-height: 1.7rem; }
.g120-footer-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem; margin-bottom: 1rem; }
.g120-footer-links a { color: var(--g120-text-soft); font-size: 1.2rem; padding: .4rem 0; }
.g120-footer-links a:hover { color: var(--g120-lime); }
.g120-footer-cta-row { display: flex; gap: .6rem; flex-wrap: wrap; margin: 1rem 0; }
.g120-footer-cta-row .g120-btn { flex: 1 1 auto; justify-content: center; }
.g120-footer-copy { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 1rem; margin-top: 1rem; color: var(--g120-muted); font-size: 1.1rem; text-align: center; }
.g120-footer-pay { display: flex; gap: .5rem; flex-wrap: wrap; margin: .8rem 0; }
.g120-footer-pay span { background: var(--g120-bg-card); padding: .3rem .7rem; border-radius: 6px; font-size: 1.05rem; color: var(--g120-text-soft); }

/* ===== Mobile bottom nav ===== */
.g120-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0;
  height: var(--g120-bottom-nav-h, 62px);
  background: linear-gradient(180deg, #232347, #15152a);
  border-top: 1px solid rgba(64,224,208,0.35);
  display: flex; justify-content: space-around; align-items: center;
  z-index: 1000; padding: 4px 0;
}
.g120-bottom-btn {
  flex: 1; background: transparent; border: none; color: var(--g120-text-soft);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 60px; min-height: 56px; cursor: pointer; gap: 2px;
  transition: transform .15s ease, color .2s ease;
}
.g120-bottom-btn:active { transform: scale(0.92); }
.g120-bottom-btn .g120-nav-icon { font-size: 2.2rem; line-height: 1; }
.g120-bottom-btn .g120-nav-label { font-size: 1rem; font-weight: 600; }
.g120-bottom-btn.g120-active { color: var(--g120-lime); }
.g120-bottom-btn.g120-active .g120-nav-icon { text-shadow: 0 0 10px rgba(173,255,47,0.6); }
.g120-bottom-btn:hover { color: var(--g120-cyan); }

/* ===== Back to top ===== */
.g120-back-top {
  position: fixed; right: 14px; bottom: calc(var(--g120-bottom-nav-h, 62px) + 14px);
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--g120-primary); color: #062; border: none; cursor: pointer;
  font-size: 1.8rem; display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .25s ease, transform .15s ease; z-index: 999;
}
.g120-back-top-show { opacity: 1; pointer-events: auto; }
.g120-back-top:active { transform: scale(0.9); }

/* ===== Utility ===== */
.g120-no-scroll { overflow: hidden; }
.g120-text-center { text-align: center; }
.g120-mt-1 { margin-top: 1rem; }
.g120-mb-1 { margin-bottom: 1rem; }
.g120-divider { height: 1px; background: rgba(64,224,208,0.2); margin: 1.5rem 0; border: none; }
.g120-pill { display: inline-block; background: rgba(64,224,208,0.18); color: var(--g120-cyan); padding: .2rem .8rem; border-radius: 12px; font-size: 1.1rem; font-weight: 700; margin-bottom: .6rem; }

/* ===== Desktop rules ===== */
@media (min-width: 769px) {
  .g120-bottom-nav { display: none; }
  .g120-menu-toggle { display: none; }
  .g120-container, .g120-wrapper, .g120-header-inner { max-width: 430px; }
  .g120-back-top { bottom: 24px; }
  body { background: radial-gradient(circle at 30% 0%, #2a2a55 0%, var(--g120-bg) 60%); }
}

/* ===== Large touch targets ===== */
@media (max-width: 768px) {
  .g120-btn { min-height: 40px; padding: .7rem 1.3rem; }
  .g120-game-card { min-height: 44px; }
  .g120-carousel-arrow { width: 40px; height: 40px; }
}

/* ===== Accessibility focus ===== */
:focus-visible { outline: 2px solid var(--g120-cyan); outline-offset: 2px; }
