/* ============================================================
 * jollibee 777 - layout-5709.css
 * Mobile-first gaming website styles.
 * All custom classes use the g093- prefix.
 * Root font-size 62.5% => 1rem = 10px for easy rem math.
 * ============================================================ */

:root {
  --g093-bg: #1C2833;
  --g093-bg-alt: #0F1820;
  --g093-bg-card: #22323F;
  --g093-text: #E8F5E8;
  --g093-text-dim: #A6C6B5;
  --g093-primary: #00CED1;
  --g093-secondary: #4DB6AC;
  --g093-accent: #008B8B;
  --g093-border: rgba(0, 206, 209, 0.18);
  --g093-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
  --g093-radius: 14px;
  --g093-header-h: 6rem;
  --g093-bottom-h: 6.4rem;
}

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

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

body {
  font-family: "Helvetica Neue", "Segoe UI", "Roboto", Arial, sans-serif;
  background: var(--g093-bg);
  color: var(--g093-text);
  line-height: 1.5;
  font-size: 1.5rem;
  max-width: 430px;
  margin: 0 auto;
  position: relative;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--g093-primary); text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* ---------- Layout containers ---------- */
.g093-container { width: 100%; max-width: 430px; margin: 0 auto; padding: 0 1.2rem; }
.g093-wrapper { padding-top: var(--g093-header-h); padding-bottom: var(--g093-bottom-h); min-height: 100vh; }
.g093-section { padding: 2.4rem 1.2rem; }
.g093-section--alt { background: var(--g093-bg-alt); }

/* ---------- Section titles ---------- */
.g093-section-head { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 1.4rem; }
.g093-section-head i { color: var(--g093-primary); font-size: 2.2rem; }
.g093-section-title { font-size: 2rem; font-weight: 800; letter-spacing: 0.3px; }
.g093-section-sub { color: var(--g093-text-dim); font-size: 1.3rem; margin-top: 0.4rem; }
.g093-divider { height: 3px; width: 56px; background: linear-gradient(90deg, var(--g093-primary), var(--g093-secondary)); border-radius: 2px; margin: 0.6rem 0 1.4rem; }

/* ---------- Header ---------- */
.g093-header {
  position: fixed; top: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 430px; height: var(--g093-header-h);
  background: linear-gradient(180deg, rgba(15,24,32,0.98), rgba(28,40,51,0.96));
  border-bottom: 1px solid var(--g093-border);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 1rem; z-index: 1000; backdrop-filter: blur(8px);
}
.g093-logo { display: flex; align-items: center; gap: 0.6rem; }
.g093-logo-img { width: 3.2rem; height: 3.2rem; border-radius: 8px; }
.g093-logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.g093-logo-text strong { font-size: 1.6rem; color: var(--g093-primary); font-weight: 800; letter-spacing: 0.4px; }
.g093-logo-text span { font-size: 1rem; color: var(--g093-text-dim); }

.g093-header-actions { display: flex; align-items: center; gap: 0.5rem; }
.g093-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  font-size: 1.3rem; font-weight: 700; padding: 0.7rem 1.2rem; border-radius: 999px;
  min-height: 44px; transition: transform 0.15s ease, filter 0.15s ease;
}
.g093-btn:active { transform: scale(0.95); }
.g093-btn--login { background: transparent; color: var(--g093-primary); border: 1.5px solid var(--g093-primary); }
.g093-btn--register { background: linear-gradient(135deg, var(--g093-primary), var(--g093-accent)); color: #04201f; box-shadow: 0 4px 14px rgba(0,206,209,0.35); }
.g093-btn--block { width: 100%; padding: 1.1rem; font-size: 1.5rem; }
.g093-btn--lg { padding: 1.2rem 2rem; font-size: 1.6rem; }

.g093-icon-btn { width: 44px; height: 44px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; color: var(--g093-primary); background: rgba(0,206,209,0.1); }
.g093-icon-btn i { font-size: 2rem; }

/* ---------- Mobile slide menu ---------- */
.g093-menu-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,0.55); z-index: 9998; opacity: 0; visibility: hidden; transition: opacity 0.25s ease; }
.g093-menu-backdrop--show { opacity: 1; visibility: visible; }
.g093-mobile-menu {
  position: fixed; top: 0; right: -80%; width: 80%; max-width: 320px; height: 100vh;
  background: var(--g093-bg-alt); z-index: 9999; padding: 2rem 1.6rem; overflow-y: auto;
  transition: right 0.28s ease; border-left: 1px solid var(--g093-border);
}
.g093-mobile-menu--open { right: 0; }
.g093-mobile-menu h3 { color: var(--g093-primary); font-size: 1.4rem; margin: 1.4rem 0 0.8rem; text-transform: uppercase; letter-spacing: 1px; }
.g093-mobile-menu a, .g093-mobile-menu button.g093-menu-link {
  display: flex; align-items: center; gap: 1rem; padding: 1.1rem 0.6rem; width: 100%;
  border-bottom: 1px solid rgba(255,255,255,0.05); color: var(--g093-text); font-size: 1.5rem; text-align: left;
}
.g093-mobile-menu a i, .g093-mobile-menu button.g093-menu-link i { color: var(--g093-secondary); font-size: 1.8rem; width: 2.2rem; text-align: center; }
.g093-menu-close { position: absolute; top: 1rem; right: 1rem; }

/* ---------- Hero carousel ---------- */
.g093-carousel { position: relative; border-radius: var(--g093-radius); overflow: hidden; margin: 1.2rem 0; box-shadow: var(--g093-shadow); }
.g093-carousel-viewport { overflow: hidden; }
.g093-carousel-track { display: flex; transition: transform 0.5s ease; }
.g093-slide { min-width: 100%; position: relative; }
.g093-slide img { width: 100%; height: 200px; object-fit: cover; }
.g093-slide-cap { position: absolute; left: 1.2rem; bottom: 1.2rem; right: 1.2rem; background: linear-gradient(transparent, rgba(0,0,0,0.75)); padding: 2rem 1rem 0.6rem; border-radius: 0 0 10px 10px; }
.g093-slide-cap h2 { font-size: 1.7rem; color: #fff; margin-bottom: 0.3rem; }
.g093-slide-cap p { font-size: 1.2rem; color: var(--g093-primary); }
.g093-carousel-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border-radius: 50%; background: rgba(0,0,0,0.45); color: #fff; display: flex; align-items: center; justify-content: center; z-index: 5; }
.g093-carousel-arrow i { font-size: 1.8rem; }
.g093-carousel-prev { left: 8px; }
.g093-carousel-next { right: 8px; }
.g093-carousel-dots { position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; z-index: 5; }
.g093-carousel-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.4); transition: all 0.2s; }
.g093-carousel-dot--active { background: var(--g093-primary); width: 22px; border-radius: 4px; }

/* ---------- H1 hero ---------- */
.g093-h1-hero { padding: 1.6rem 1.2rem 0.4rem; }
.g093-h1-hero h1 { font-size: 2.4rem; font-weight: 900; line-height: 1.2; background: linear-gradient(135deg, var(--g093-primary), var(--g093-secondary)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.g093-h1-hero p { color: var(--g093-text-dim); margin-top: 0.6rem; font-size: 1.35rem; }

/* ---------- Game grid ---------- */
.g093-game-block { background: var(--g093-bg-card); border-radius: var(--g093-radius); padding: 1.2rem; margin: 1.2rem; border: 1px solid var(--g093-border); }
.g093-game-block-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.g093-game-block-title { display: flex; align-items: center; gap: 0.6rem; font-size: 1.7rem; font-weight: 800; }
.g093-game-block-title i { color: var(--g093-primary); font-size: 2rem; }
.g093-game-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.7rem; }
.g093-game-card { background: var(--g093-bg-alt); border-radius: 10px; overflow: hidden; cursor: pointer; transition: transform 0.18s ease, box-shadow 0.18s ease; border: 1px solid transparent; }
.g093-game-card:hover, .g093-game-card:focus { transform: translateY(-3px); border-color: var(--g093-primary); box-shadow: 0 6px 16px rgba(0,206,209,0.25); outline: none; }
.g093-game-img-wrap { position: relative; padding-top: 100%; background: #0a141a; }
.g093-game-img-wrap img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.g093-game-name { font-size: 1.15rem; font-weight: 600; padding: 0.5rem 0.4rem; text-align: center; color: var(--g093-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.g093-game-badge { position: absolute; top: 4px; left: 4px; background: var(--g093-accent); color: #fff; font-size: 0.9rem; padding: 2px 6px; border-radius: 4px; font-weight: 700; }
.g093-see-more { display: inline-flex; align-items: center; gap: 0.3rem; color: var(--g093-primary); font-size: 1.2rem; margin-top: 0.8rem; font-weight: 700; }

/* ---------- Feature / info cards ---------- */
.g093-card { background: var(--g093-bg-card); border-radius: var(--g093-radius); padding: 1.4rem; border: 1px solid var(--g093-border); margin-bottom: 1rem; }
.g093-card h3 { font-size: 1.6rem; margin-bottom: 0.6rem; color: var(--g093-primary); display: flex; align-items: center; gap: 0.5rem; }
.g093-card h3 i { font-size: 2rem; }
.g093-card p { color: var(--g093-text-dim); font-size: 1.3rem; line-height: 1.55; }
.g093-card a.g093-text-link { color: var(--g093-primary); font-weight: 700; border-bottom: 1px dashed var(--g093-secondary); }

.g093-feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
.g093-feature-item { background: var(--g093-bg-alt); padding: 1rem; border-radius: 10px; text-align: center; border: 1px solid var(--g093-border); }
.g093-feature-item i { font-size: 2.4rem; color: var(--g093-primary); margin-bottom: 0.4rem; display: block; }
.g093-feature-item strong { display: block; font-size: 1.3rem; color: var(--g093-text); }
.g093-feature-item span { font-size: 1.1rem; color: var(--g093-text-dim); }

/* ---------- FAQ accordion ---------- */
.g093-faq-list { display: flex; flex-direction: column; gap: 0.7rem; }
.g093-faq-item { background: var(--g093-bg-card); border-radius: 10px; border: 1px solid var(--g093-border); overflow: hidden; }
.g093-faq-question { display: flex; align-items: center; justify-content: space-between; padding: 1.1rem 1.2rem; width: 100%; text-align: left; font-size: 1.4rem; font-weight: 700; color: var(--g093-text); }
.g093-faq-question i { color: var(--g093-primary); transition: transform 0.25s; }
.g093-faq-item--open .g093-faq-question i { transform: rotate(45deg); }
.g093-faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; padding: 0 1.2rem; color: var(--g093-text-dim); font-size: 1.3rem; }
.g093-faq-item--open .g093-faq-answer { max-height: 320px; padding: 0 1.2rem 1.1rem; }

/* ---------- Testimonials ---------- */
.g093-testi-grid { display: grid; grid-template-columns: 1fr; gap: 0.8rem; }
.g093-testi { background: var(--g093-bg-card); padding: 1.2rem; border-radius: 10px; border-left: 3px solid var(--g093-primary); }
.g093-testi-stars { color: #FFD54F; margin-bottom: 0.4rem; font-size: 1.3rem; }
.g093-testi p { font-size: 1.25rem; color: var(--g093-text); margin-bottom: 0.5rem; }
.g093-testi cite { font-size: 1.1rem; color: var(--g093-secondary); font-style: normal; font-weight: 700; }

/* ---------- Payment chips ---------- */
.g093-chip-row { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.g093-chip { background: var(--g093-bg-alt); border: 1px solid var(--g093-border); border-radius: 999px; padding: 0.6rem 1rem; font-size: 1.2rem; color: var(--g093-text); display: inline-flex; align-items: center; gap: 0.4rem; }
.g093-chip i { color: var(--g093-primary); }

/* ---------- Winners ticker ---------- */
.g093-winner-list { display: flex; flex-direction: column; gap: 0.5rem; }
.g093-winner-row { display: flex; justify-content: space-between; align-items: center; background: var(--g093-bg-alt); padding: 0.7rem 1rem; border-radius: 8px; font-size: 1.2rem; border: 1px solid var(--g093-border); }
.g093-winner-row strong { color: var(--g093-primary); }
.g093-winner-row .g093-amt { color: #FFD54F; font-weight: 800; }

/* ---------- App download CTA ---------- */
.g093-app-cta { background: linear-gradient(135deg, var(--g093-accent), var(--g093-bg-card)); border-radius: var(--g093-radius); padding: 1.6rem; text-align: center; border: 1px solid var(--g093-border); }
.g093-app-cta h3 { color: #fff; font-size: 1.8rem; margin-bottom: 0.4rem; }
.g093-app-cta p { color: var(--g093-text); font-size: 1.3rem; margin-bottom: 1rem; }
.g093-app-cta-actions { display: flex; gap: 0.6rem; justify-content: center; flex-wrap: wrap; }

/* ---------- Category highlights ---------- */
.g093-cat-row { display: flex; justify-content: space-between; align-items: center; padding: 1rem; background: var(--g093-bg-alt); border-radius: 10px; margin-bottom: 0.6rem; border: 1px solid var(--g093-border); }
.g093-cat-row .g093-cat-info { display: flex; align-items: center; gap: 0.8rem; }
.g093-cat-row .g093-cat-info i { font-size: 2rem; color: var(--g093-primary); }
.g093-cat-row strong { font-size: 1.4rem; color: var(--g093-text); }
.g093-cat-row span { font-size: 1.1rem; color: var(--g093-text-dim); }

/* ---------- Footer ---------- */
.g093-footer { background: var(--g093-bg-alt); padding: 2.4rem 1.2rem 3rem; border-top: 1px solid var(--g093-border); }
.g093-footer-brand { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 0.8rem; }
.g093-footer-brand img { width: 2.8rem; height: 2.8rem; border-radius: 6px; }
.g093-footer-brand strong { color: var(--g093-primary); font-size: 1.6rem; }
.g093-footer p { color: var(--g093-text-dim); font-size: 1.2rem; margin-bottom: 1rem; line-height: 1.5; }
.g093-footer-links { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; margin: 0.8rem 0 1.2rem; }
.g093-footer-links a { color: var(--g093-text-dim); font-size: 1.2rem; }
.g093-footer-links a:hover { color: var(--g093-primary); }
.g093-footer-promos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.6rem; margin: 1rem 0; }
.g093-copyright { text-align: center; color: var(--g093-text-dim); font-size: 1.1rem; padding-top: 1.2rem; border-top: 1px solid rgba(255,255,255,0.06); }

/* ---------- Mobile bottom navigation ---------- */
.g093-bottom-nav {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 430px; height: var(--g093-bottom-h);
  background: linear-gradient(180deg, rgba(15,24,32,0.98), rgba(28,40,51,1));
  border-top: 1px solid var(--g093-border);
  display: flex; justify-content: space-around; align-items: stretch; z-index: 1000;
  box-shadow: 0 -4px 18px rgba(0,0,0,0.4);
}
.g093-bottom-nav-btn {
  flex: 1; min-width: 60px; min-height: 60px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 2px; color: var(--g093-text-dim);
  transition: color 0.18s ease, transform 0.18s ease; position: relative;
}
.g093-bottom-nav-btn i { font-size: 2.2rem; }
.g093-bottom-nav-btn span { font-size: 1.05rem; font-weight: 600; }
.g093-bottom-nav-btn:active { transform: scale(0.9); }
.g093-bottom-nav-btn--active { color: var(--g093-primary); }
.g093-bottom-nav-btn--active::before { content: ''; position: absolute; top: 0; width: 30px; height: 3px; border-radius: 0 0 4px 4px; background: var(--g093-primary); }
.g093-bottom-nav-btn--promo { color: #FFD54F; }
.g093-bottom-nav-btn--promo i { background: linear-gradient(135deg, var(--g093-primary), var(--g093-accent)); color: #04201f; width: 4.4rem; height: 4.4rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-top: -1.8rem; box-shadow: 0 4px 12px rgba(0,206,209,0.4); border: 3px solid var(--g093-bg); }

/* ---------- Utility ---------- */
.g093-center { text-align: center; }
.g093-mt { margin-top: 1.6rem; }
.g093-mb { margin-bottom: 1.6rem; }

/* ---------- Desktop: hide mobile-only chrome ---------- */
@media (min-width: 769px) {
  .g093-bottom-nav { display: none; }
  body { max-width: 480px; }
  .g093-wrapper { padding-bottom: 2rem; }
}

/* ---------- Larger phones ---------- */
@media (min-width: 376px) and (max-width: 430px) {
  .g093-game-grid { grid-template-columns: repeat(3, 1fr); gap: 0.8rem; }
  .g093-slide img { height: 220px; }
}

/* ---------- Small phones ---------- */
@media (max-width: 360px) {
  html { font-size: 58%; }
  .g093-game-grid { grid-template-columns: repeat(2, 1fr); }
  .g093-btn { padding: 0.6rem 0.9rem; font-size: 1.2rem; }
  .g093-logo-text strong { font-size: 1.4rem; }
}
