/*
 * playtime gaming - Core Stylesheet
 * File: css/theme-c1d4.css
 * Class prefix: gd42-
 * Palette: #141414 (bg) | #BDB76B (primary) | #98FB98 (accent) | #7CFC00 (highlight) | #FFB347 (warm)
 * Mobile-first, max-width 430px, rem units (root 62.5%)
 */
:root {
  --gd42-bg: #141414; --gd42-bg-2: #1d1d1d; --gd42-bg-3: #262626;
  --gd42-primary: #BDB76B; --gd42-accent: #98FB98; --gd42-highlight: #7CFC00; --gd42-warm: #FFB347;
  --gd42-text: #f5f5f0; --gd42-text-dim: #c8c8be; --gd42-border: rgba(189, 183, 107, 0.25);
  --gd42-radius: 1.2rem; --gd42-radius-sm: 0.8rem;
  --gd42-shadow: 0 0.4rem 1.6rem rgba(0, 0, 0, 0.45);
  --gd42-shadow-glow: 0 0 1.2rem rgba(124, 252, 0, 0.35);
}
* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html { font-size: 62.5%; scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', 'Helvetica Neue', Arial, system-ui, sans-serif;
  background: var(--gd42-bg); color: var(--gd42-text); line-height: 1.5rem;
  font-size: 1.4rem; overflow-x: hidden; max-width: 430px; margin: 0 auto;
  position: relative; min-height: 100vh;
}
img { max-width: 100%; display: block; }
a { color: var(--gd42-accent); text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* HEADER */
.gd42-header {
  position: fixed; top: 0; left: 0; right: 0; max-width: 430px; margin: 0 auto;
  background: rgba(20, 20, 20, 0.96); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gd42-border); z-index: 1000;
  padding: 0.8rem 1rem; display: flex; align-items: center; justify-content: space-between; gap: 0.6rem;
}
.gd42-brand { display: flex; align-items: center; gap: 0.6rem; min-width: 0; }
.gd42-brand img { width: 2.8rem; height: 2.8rem; border-radius: 0.6rem; }
.gd42-brand-name {
  font-size: 1.5rem; font-weight: 700; color: var(--gd42-primary);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.gd42-brand-name b { color: var(--gd42-highlight); }
.gd42-header-actions { display: flex; align-items: center; gap: 0.5rem; }
.gd42-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  padding: 0.7rem 1.2rem; border-radius: var(--gd42-radius-sm); font-size: 1.25rem;
  font-weight: 700; min-height: 4rem; white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s;
}
.gd42-btn:active { transform: scale(0.95); }
.gd42-btn-login { background: transparent; border: 1.5px solid var(--gd42-primary); color: var(--gd42-primary); }
.gd42-btn-register {
  background: linear-gradient(135deg, var(--gd42-highlight), var(--gd42-warm));
  color: #141414; box-shadow: var(--gd42-shadow-glow);
}
.gd42-menu-btn {
  width: 3.6rem; height: 3.6rem; display: flex; align-items: center; justify-content: center;
  border-radius: 0.6rem; background: var(--gd42-bg-3); color: var(--gd42-primary); font-size: 1.8rem;
}

/* MOBILE MENU */
.gd42-mobile-menu {
  position: fixed; top: 5.2rem; left: 0; right: 0; max-width: 430px; margin: 0 auto;
  background: var(--gd42-bg-2); border-bottom: 1px solid var(--gd42-border);
  max-height: 0; overflow: hidden; transition: max-height 0.3s ease; z-index: 9999;
}
.gd42-mobile-menu.gd42-menu-open { max-height: 60rem; }
.gd42-menu-list { list-style: none; padding: 0.6rem 0; }
.gd42-menu-list li a {
  display: flex; align-items: center; gap: 0.8rem; padding: 1rem 1.4rem;
  color: var(--gd42-text); font-size: 1.35rem; border-left: 3px solid transparent;
  transition: background 0.15s, border-color 0.15s;
}
.gd42-menu-list li a:active { background: var(--gd42-bg-3); border-left-color: var(--gd42-highlight); }
.gd42-menu-list li a i { color: var(--gd42-primary); width: 2rem; text-align: center; }

/* MAIN */
.gd42-main { padding-top: 5.6rem; }
.gd42-section { padding: 1.6rem 1rem; }
.gd42-section-title {
  font-size: 1.6rem; font-weight: 700; color: var(--gd42-primary);
  margin-bottom: 0.8rem; display: flex; align-items: center; gap: 0.5rem;
}
.gd42-section-title i { color: var(--gd42-highlight); }
.gd42-h1 { font-size: 1.9rem; font-weight: 800; color: var(--gd42-text); line-height: 2.4rem; margin-bottom: 0.6rem; }
.gd42-lead { color: var(--gd42-text-dim); font-size: 1.3rem; margin-bottom: 1rem; }

/* CAROUSEL */
.gd42-carousel {
  position: relative; width: 100%; height: 17rem; border-radius: var(--gd42-radius);
  overflow: hidden; box-shadow: var(--gd42-shadow); margin-bottom: 1rem;
}
.gd42-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.6s ease; cursor: pointer; }
.gd42-slide.gd42-slide-active { opacity: 1; }
.gd42-slide img { width: 100%; height: 100%; object-fit: cover; }
.gd42-slide-overlay { position: absolute; left: 1rem; bottom: 1.2rem; right: 1rem; background: linear-gradient(transparent, rgba(0,0,0,0.7)); padding-top: 2rem; }
.gd42-slide-overlay h2 { font-size: 1.5rem; color: var(--gd42-highlight); margin-bottom: 0.2rem; }
.gd42-slide-overlay p { font-size: 1.1rem; color: var(--gd42-text); }
.gd42-dots { position: absolute; bottom: 0.6rem; left: 50%; transform: translateX(-50%); display: flex; gap: 0.5rem; z-index: 2; }
.gd42-dot { width: 0.7rem; height: 0.7rem; border-radius: 50%; background: rgba(255,255,255,0.4); transition: background 0.2s, transform 0.2s; }
.gd42-dot.gd42-dot-active { background: var(--gd42-highlight); transform: scale(1.25); }

/* HERO CTA */
.gd42-hero-cta { display: flex; gap: 0.7rem; margin-bottom: 1rem; }
.gd42-cta-primary {
  flex: 1; background: linear-gradient(135deg, var(--gd42-highlight), var(--gd42-warm));
  color: #141414; font-weight: 800; font-size: 1.35rem; padding: 1.1rem;
  border-radius: var(--gd42-radius-sm); text-align: center; box-shadow: var(--gd42-shadow-glow);
}
.gd42-cta-secondary {
  flex: 1; background: var(--gd42-bg-3); border: 1.5px solid var(--gd42-primary);
  color: var(--gd42-primary); font-weight: 700; font-size: 1.3rem; padding: 1.1rem;
  border-radius: var(--gd42-radius-sm); text-align: center;
}

/* GAME GRID */
.gd42-cat-block { margin-bottom: 1.4rem; }
.gd42-cat-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.7rem; }
.gd42-cat-head h2 { font-size: 1.45rem; font-weight: 700; color: var(--gd42-primary); display: flex; align-items: center; gap: 0.4rem; }
.gd42-cat-head h2 i { color: var(--gd42-highlight); }
.gd42-cat-link { font-size: 1.1rem; color: var(--gd42-accent); font-weight: 600; }
.gd42-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.7rem; }
.gd42-game {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  background: var(--gd42-bg-2); border: 1px solid var(--gd42-border);
  border-radius: var(--gd42-radius-sm); padding: 0.6rem 0.4rem; min-height: 8rem;
  transition: transform 0.15s, border-color 0.15s;
}
.gd42-game:active { transform: scale(0.96); border-color: var(--gd42-highlight); }
.gd42-game img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 0.5rem; margin-bottom: 0.4rem; }
.gd42-game span { font-size: 1.05rem; color: var(--gd42-text); line-height: 1.2rem; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }

/* CARD / FEATURE */
.gd42-card { background: var(--gd42-bg-2); border: 1px solid var(--gd42-border); border-radius: var(--gd42-radius); padding: 1.2rem; margin-bottom: 1rem; }
.gd42-card h3 { font-size: 1.4rem; color: var(--gd42-primary); margin-bottom: 0.6rem; display: flex; align-items: center; gap: 0.4rem; }
.gd42-card h3 i { color: var(--gd42-highlight); }
.gd42-card p { color: var(--gd42-text-dim); font-size: 1.25rem; line-height: 1.7rem; margin-bottom: 0.5rem; }
.gd42-card p b { color: var(--gd42-accent); }
.gd42-card p strong { color: var(--gd42-highlight); }
.gd42-text-link { color: var(--gd42-warm); font-weight: 700; border-bottom: 1px dashed var(--gd42-warm); }

/* FAQ */
.gd42-faq-item { border-bottom: 1px solid var(--gd42-border); padding: 0.9rem 0; }
.gd42-faq-item:last-child { border-bottom: none; }
.gd42-faq-q { font-weight: 700; color: var(--gd42-primary); font-size: 1.3rem; margin-bottom: 0.4rem; display: flex; gap: 0.5rem; }
.gd42-faq-q i { color: var(--gd42-highlight); flex-shrink: 0; margin-top: 0.3rem; }
.gd42-faq-a { color: var(--gd42-text-dim); font-size: 1.2rem; line-height: 1.6rem; padding-left: 1.8rem; }

/* RTP TABLE */
.gd42-rtp-row { display: flex; justify-content: space-between; align-items: center; padding: 0.7rem 0; border-bottom: 1px solid var(--gd42-border); font-size: 1.2rem; }
.gd42-rtp-row:last-child { border-bottom: none; }
.gd42-rtp-name { color: var(--gd42-text); font-weight: 600; flex: 1; }
.gd42-rtp-bar { flex: 1.2; height: 0.6rem; background: var(--gd42-bg-3); border-radius: 0.3rem; margin: 0 0.7rem; overflow: hidden; }
.gd42-rtp-fill { height: 100%; background: linear-gradient(90deg, var(--gd42-highlight), var(--gd42-warm)); border-radius: 0.3rem; }
.gd42-rtp-val { color: var(--gd42-accent); font-weight: 700; min-width: 4rem; text-align: right; }

/* TESTIMONIALS */
.gd42-testi { background: var(--gd42-bg-2); border-left: 3px solid var(--gd42-highlight); border-radius: 0.6rem; padding: 1rem; margin-bottom: 0.8rem; }
.gd42-testi p { color: var(--gd42-text); font-size: 1.2rem; font-style: italic; margin-bottom: 0.5rem; }
.gd42-testi .gd42-testi-user { color: var(--gd42-primary); font-size: 1.1rem; font-weight: 700; }

/* WINNERS */
.gd42-winner { display: flex; align-items: center; gap: 0.7rem; padding: 0.7rem; background: var(--gd42-bg-2); border-radius: 0.6rem; margin-bottom: 0.5rem; }
.gd42-winner i { color: var(--gd42-warm); font-size: 1.6rem; }
.gd42-winner .gd42-winner-name { flex: 1; font-size: 1.2rem; color: var(--gd42-text); }
.gd42-winner .gd42-winner-amt { color: var(--gd42-highlight); font-weight: 800; font-size: 1.25rem; }

/* ACHIEVEMENTS / HIGHLIGHTS / TRICKS */
.gd42-chip-row { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-top: 0.6rem; }
.gd42-chip { background: var(--gd42-bg-3); border: 1px solid var(--gd42-border); border-radius: 0.6rem; padding: 0.7rem 0.9rem; font-size: 1.15rem; color: var(--gd42-text); display: flex; align-items: center; gap: 0.4rem; }
.gd42-chip i { color: var(--gd42-highlight); }
.gd42-step { display: flex; gap: 0.7rem; align-items: flex-start; padding: 0.6rem 0; border-bottom: 1px solid var(--gd42-border); }
.gd42-step:last-child { border-bottom: none; }
.gd42-step-num { width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--gd42-highlight); color: #141414; font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.gd42-step-txt { font-size: 1.2rem; color: var(--gd42-text-dim); line-height: 1.6rem; }
.gd42-step-txt b { color: var(--gd42-accent); }

/* PAYMENT */
.gd42-pay-row { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-top: 0.6rem; }
.gd42-pay-chip { background: var(--gd42-bg-3); border: 1px solid var(--gd42-border); border-radius: 2rem; padding: 0.5rem 1rem; font-size: 1.1rem; color: var(--gd42-text-dim); display: flex; align-items: center; gap: 0.3rem; }
.gd42-pay-chip i { color: var(--gd42-accent); }

/* APP CTA */
.gd42-app-cta { background: linear-gradient(135deg, rgba(124,252,0,0.12), rgba(255,179,71,0.12)); border: 1px solid var(--gd42-border); border-radius: var(--gd42-radius); padding: 1.3rem; text-align: center; }
.gd42-app-cta h3 { color: var(--gd42-highlight); font-size: 1.5rem; margin-bottom: 0.5rem; }
.gd42-app-cta p { color: var(--gd42-text-dim); font-size: 1.2rem; margin-bottom: 0.9rem; }
.gd42-app-btn { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--gd42-highlight); color: #141414; font-weight: 800; padding: 1rem 1.6rem; border-radius: var(--gd42-radius-sm); font-size: 1.3rem; }

/* FOOTER */
.gd42-footer { background: var(--gd42-bg-2); border-top: 1px solid var(--gd42-border); padding: 1.6rem 1rem 6rem; margin-top: 1rem; }
.gd42-footer p { color: var(--gd42-text-dim); font-size: 1.15rem; line-height: 1.6rem; margin-bottom: 0.8rem; }
.gd42-footer-links { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1rem; }
.gd42-footer-links a { font-size: 1.1rem; color: var(--gd42-accent); padding: 0.3rem 0.7rem; background: var(--gd42-bg-3); border-radius: 0.5rem; border: 1px solid var(--gd42-border); }
.gd42-footer-copy { font-size: 1.05rem; color: var(--gd42-text-dim); text-align: center; border-top: 1px solid var(--gd42-border); padding-top: 0.8rem; }

/* BOTTOM NAV */
.gd42-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; max-width: 430px; margin: 0 auto;
  height: 6rem; background: rgba(20, 20, 20, 0.98); backdrop-filter: blur(10px);
  border-top: 1px solid var(--gd42-border); display: flex; justify-content: space-around;
  align-items: center; z-index: 1000; box-shadow: 0 -0.4rem 1rem rgba(0,0,0,0.4);
}
.gd42-navbtn { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.2rem; min-width: 6rem; min-height: 6rem; color: var(--gd42-text-dim); transition: color 0.15s, transform 0.15s; position: relative; }
.gd42-navbtn i { font-size: 2.2rem; }
.gd42-navbtn span { font-size: 1rem; font-weight: 600; }
.gd42-navbtn:active { transform: scale(0.9); }
.gd42-navbtn.gd42-navbtn-active { color: var(--gd42-highlight); }
.gd42-navbtn.gd42-navbtn-active::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 2.2rem; height: 0.25rem; background: var(--gd42-highlight); border-radius: 0 0 0.3rem 0.3rem; }
.gd42-navbtn-promo { color: var(--gd42-warm); }
.gd42-navbtn-promo i { color: var(--gd42-warm); }

/* BACK TO TOP */
.gd42-top-btn { position: fixed; bottom: 7rem; right: 1.2rem; width: 4rem; height: 4rem; border-radius: 50%; background: var(--gd42-primary); color: #141414; font-size: 1.8rem; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.2s, transform 0.2s; z-index: 999; box-shadow: var(--gd42-shadow); }
.gd42-top-btn.gd42-top-show { opacity: 1; pointer-events: auto; }
.gd42-top-btn:active { transform: scale(0.9); }

/* CONTENT PAGES */
.gd42-page-hero { padding: 1.4rem 1rem 0.6rem; }
.gd42-page-hero img { width: 100%; border-radius: var(--gd42-radius); box-shadow: var(--gd42-shadow); margin-bottom: 1rem; }
.gd42-kicker { display: inline-flex; align-items: center; gap: 0.4rem; color: #141414; background: var(--gd42-primary); border-radius: 2rem; padding: 0.4rem 0.9rem; font-size: 1.1rem; font-weight: 800; margin-bottom: 0.8rem; }
.gd42-mini-list { list-style: none; display: grid; gap: 0.7rem; }
.gd42-mini-list li { background: var(--gd42-bg-3); border: 1px solid var(--gd42-border); border-radius: 0.7rem; padding: 0.8rem; color: var(--gd42-text-dim); font-size: 1.2rem; line-height: 1.6rem; }
.gd42-mini-list li b { color: var(--gd42-accent); }
.gd42-inline-stat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.6rem; margin: 0.8rem 0; }
.gd42-stat-box { background: var(--gd42-bg-3); border: 1px solid var(--gd42-border); border-radius: 0.8rem; padding: 0.9rem 0.5rem; text-align: center; }
.gd42-stat-box strong { display: block; color: var(--gd42-highlight); font-size: 1.45rem; line-height: 1.8rem; }
.gd42-stat-box span { color: var(--gd42-text-dim); font-size: 1rem; }

/* UTIL */
.gd42-lazy { opacity: 0; transition: opacity 0.3s; }
.gd42-lazy[src] { opacity: 1; }
img[src] { opacity: 1; }
.gd42-divider { height: 1px; background: var(--gd42-border); margin: 1rem 0; }

/* RESPONSIVE */
@media (min-width: 769px) {
  .gd42-bottom-nav { display: none; }
  .gd42-top-btn { bottom: 1.5rem; }
  .gd42-footer { padding-bottom: 2rem; }
}
@media (max-width: 768px) { .gd42-main { padding-bottom: 7rem; } }
@media (max-width: 360px) { .gd42-grid { grid-template-columns: repeat(2, 1fr); } .gd42-brand-name { font-size: 1.3rem; } }
