/*!
 * jlph app - core stylesheet
 * Mobile-first (max-width: 430px), color palette:
 * #8B0000 (dark red) | #CD853F (peru) | #E0F2F1 (mint) | #F5DEB3 (wheat) | #CCCCCC (silver) | #333333 (charcoal)
 * All custom classes use the "gd94-" prefix to avoid collisions.
 */
/* ---------- Design tokens ---------- */
:root {
  --gd94-primary: #8B0000;
  --gd94-primary-700: #5c0000;
  --gd94-accent: #CD853F;
  --gd94-mint: #E0F2F1;
  --gd94-wheat: #F5DEB3;
  --gd94-silver: #CCCCCC;
  --gd94-text: #333333;
  --gd94-bg: #1a0606;
  --gd94-bg-soft: #2a0d0d;
  --gd94-card: #ffffff;
  --gd94-text-light: #fff7ec;
  --gd94-radius: 14px;
  --gd94-radius-sm: 8px;
  --gd94-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
  --gd94-header-h: 56px;
  --gd94-bottom-nav-h: 62px;
}
/* ---------- Reset ---------- */
* { box-sizing: border-box; }
html { font-size: 62.5%; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.6rem;
  line-height: 1.5;
  color: var(--gd94-text-light);
  background: radial-gradient(circle at top, #3a0f0f 0%, #1a0606 55%, #0e0303 100%);
  min-height: 100vh;
} img { max-width: 100%; display: block; }
a { color: var(--gd94-wheat); text-decoration: none; }
a:hover { color: #fff; }
.gd94-skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--gd94-wheat);
  color: var(--gd94-primary);
  padding: 8px 12px;
  z-index: 2000;
}
.gd94-skip-link:focus { left: 8px; top: 8px; }

/* ---------- Layout helpers ---------- */
.gd94-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 14px;
}
.gd94-wrapper { padding-top: calc(var(--gd94-header-h) + 10px); }
.gd94-section { margin: 22px 0; }
.gd94-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.gd94-card {
  background: var(--gd94-card);
  color: var(--gd94-text);
  border-radius: var(--gd94-radius);
  padding: 14px;
  box-shadow: var(--gd94-shadow);
}

/* ---------- Header / Top navigation ---------- */
.gd94-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--gd94-header-h);
  background: linear-gradient(90deg, var(--gd94-primary) 0%, var(--gd94-primary-700) 100%);
  border-bottom: 2px solid var(--gd94-accent);
  z-index: 1000;
  display: flex;
  align-items: center;
}
.gd94-header-inner {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.gd94-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 700;
  font-size: 1.7rem;
  white-space: nowrap;
}
.gd94-brand img { width: 28px; height: 28px; border-radius: 6px; }
.gd94-header-spacer { flex: 1; }

.gd94-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 14px;
  border: none;
  border-radius: 20px;
  font-size: 1.35rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.gd94-btn:active { transform: scale(.96); }
.gd94-btn-register {
  background: linear-gradient(180deg, #FFD27A, var(--gd94-accent));
  color: var(--gd94-primary-700);
  box-shadow: 0 3px 0 #8a5a23;
}
.gd94-btn-login {
  background: #fff;
  color: var(--gd94-primary);
  box-shadow: 0 3px 0 #b98a4d;
}
.gd94-btn-hero {
  background: linear-gradient(180deg, #FFD27A, var(--gd94-accent));
  color: var(--gd94-primary-700);
  padding: 12px 26px;
  font-size: 1.6rem;
  box-shadow: 0 4px 0 #8a5a23, var(--gd94-shadow);
}
.gd94-btn-ghost {
  background: transparent;
  border: 1.5px solid var(--gd94-wheat);
  color: var(--gd94-wheat);
}
.gd94-nav-action {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
  padding: 6px 8px;
}

/* Expandable menu */
.gd94-menu-toggle { display: inline-flex; }
.gd94-nav-menu {
  position: absolute;
  top: var(--gd94-header-h);
  left: 0;
  right: 0;
  background: var(--gd94-primary-700);
  border-bottom: 2px solid var(--gd94-accent);
  display: none;
  flex-direction: column;
  padding: 6px 0;
  z-index: 999;
}
.gd94-nav-menu.gd94-menu-open { display: flex; }
.gd94-nav-menu a {
  color: #fff;
  padding: 12px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 1.45rem;
}
.gd94-nav-menu a:hover { background: rgba(205, 133, 63, 0.25); }

/* ---------- Hero carousel ---------- */
.gd94-carousel {
  position: relative;
  border-radius: var(--gd94-radius);
  overflow: hidden;
  box-shadow: var(--gd94-shadow);
  background: #000;
}
.gd94-carousel-track { position: relative; }
.gd94-carousel-slide {
  position: relative;
  display: none;
  cursor: pointer;
}
.gd94-carousel-slide.gd94-slide-active { display: block; }
.gd94-carousel-slide img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.gd94-carousel-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 14px;
  background: linear-gradient(0deg, rgba(0,0,0,0.78) 30%, rgba(0,0,0,0));
  color: #fff;
}
.gd94-carousel-dots {
  position: absolute;
  bottom: 8px;
  right: 12px;
  display: flex;
  gap: 6px;
}
.gd94-carousel-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  border: none; padding: 0; cursor: pointer;
}
.gd94-carousel-dot.gd94-dot-active { background: var(--gd94-accent); }

/* ---------- Section titles ---------- */
.gd94-section-title {
  font-size: 2rem;
  margin: 0 0 12px;
  color: var(--gd94-wheat);
  display: flex;
  align-items: center;
  gap: 8px;
}
.gd94-section-title i { color: var(--gd94-accent); }
.gd94-subtitle { color: var(--gd94-silver); font-size: 1.4rem; margin: 0 0 14px; }

/* ---------- Game grid ---------- */
.gd94-game-tile {
  background: var(--gd94-card);
  border-radius: var(--gd94-radius-sm);
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
  transition: transform .15s ease;
  text-align: center;
  color: var(--gd94-text);
}
.gd94-game-tile:active { transform: scale(.95); }
.gd94-game-tile img {
  width: 100%;
  height: 88px;
  object-fit: cover;
}
.gd94-game-tile span {
  display: block;
  padding: 6px 4px;
  font-size: 1.15rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------- Content / SEO text ---------- */
.gd94-prose { color: #f3e8d6; font-size: 1.45rem; line-height: 1.65; }
.gd94-prose p { margin: 0 0 12px; }
.gd94-prose h3 { color: var(--gd94-wheat); font-size: 1.7rem; margin: 16px 0 8px; }
.gd94-link-inline {
  color: var(--gd94-accent);
  font-weight: 700;
  border-bottom: 1px dashed var(--gd94-accent);
}
.gd94-link-inline:hover { color: #fff; border-bottom-color: #fff; }

/* ---------- Feature / steps grid ---------- */
.gd94-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.gd94-feature {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(205,133,63,0.35);
  border-radius: var(--gd94-radius-sm);
  padding: 12px;
  text-align: center;
}
.gd94-feature i { font-size: 26px; color: var(--gd94-accent); margin-bottom: 6px; }
.gd94-feature h4 { margin: 0 0 4px; font-size: 1.35rem; color: var(--gd94-wheat); }
.gd94-feature p { margin: 0; font-size: 1.2rem; color: var(--gd94-silver); }

.gd94-steps { counter-reset: step; padding: 0; list-style: none; margin: 0; }
.gd94-steps li {
  position: relative;
  padding: 10px 10px 10px 44px;
  margin-bottom: 8px;
  background: rgba(255,255,255,0.05);
  border-radius: var(--gd94-radius-sm);
  font-size: 1.35rem;
}
.gd94-steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 8px; top: 8px;
  width: 28px; height: 28px;
  background: var(--gd94-accent);
  color: var(--gd94-primary-700);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
}

/* ---------- Testimonials ---------- */
.gd94-testimonial {
  background: rgba(255,255,255,0.05);
  border-left: 4px solid var(--gd94-accent);
  border-radius: var(--gd94-radius-sm);
  padding: 12px;
  margin-bottom: 10px;
}
.gd94-testimonial .gd94-stars { color: #FFD27A; font-size: 1.3rem; }
.gd94-testimonial p { margin: 6px 0; font-size: 1.3rem; }
.gd94-testimonial cite { color: var(--gd94-silver); font-style: normal; font-size: 1.2rem; }

/* ---------- Payment / badges ---------- */
.gd94-badge-row { display: flex; flex-wrap: wrap; gap: 8px; }
.gd94-badge {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(205,133,63,0.4);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 1.2rem;
  color: var(--gd94-wheat);
  display: inline-flex; align-items: center; gap: 6px;
}
/* ---------- Footer ---------- */
.gd94-footer {
  margin-top: 30px;
  background: #0e0303;
  border-top: 2px solid var(--gd94-accent);
  padding: 22px 0 calc(var(--gd94-bottom-nav-h) + 20px);
  color: var(--gd94-silver);
  font-size: 1.3rem;
}
.gd94-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}
.gd94-footer-links a {
  background: rgba(205,133,63,0.18);
  border: 1px solid rgba(205,133,63,0.4);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 1.2rem;
  color: var(--gd94-wheat);
}
.gd94-footer-promo {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: 12px 0;
}
.gd94-footer-copy { color: #8a7a6a; font-size: 1.15rem; margin-top: 8px; }

/* ---------- Bottom navigation ---------- */
.gd94-bottom-nav {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  height: var(--gd94-bottom-nav-h);
  background: linear-gradient(180deg, #2a0d0d 0%, #1a0606 100%);
  border-top: 2px solid var(--gd94-accent);
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  z-index: 1000;
}
.gd94-bottom-nav a {
  flex: 1 1 0;
  min-width: 60px;
  min-height: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: var(--gd94-silver);
  font-size: 1.1rem;
  transition: color .15s ease, transform .15s ease;
}
.gd94-bottom-nav a i { font-size: 22px; }
.gd94-bottom-nav a:active { transform: scale(.92); }
.gd94-bottom-nav a:hover { color: var(--gd94-wheat); }
.gd94-bottom-nav a.gd94-active { color: var(--gd94-accent); }
.gd94-bottom-nav .material-symbols-outlined { font-size: 24px; }

/* ---------- Animation ---------- */
.gd94-ripple { animation: gd94-pulse .32s ease; }
@keyframes gd94-pulse {
  0% { transform: scale(1); }
  50% { transform: scale(.94); filter: brightness(1.15); }
  100% { transform: scale(1); }
}

/* ---------- Responsive ---------- */
@media (max-width: 430px) {
  .gd94-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .gd94-game-tile img { height: 76px; }
  .gd94-carousel-slide img { height: 180px; }
  .gd94-section-title { font-size: 1.8rem; }
  main { padding-bottom: 80px; }
}
@media (max-width: 360px) {
  .gd94-grid { grid-template-columns: repeat(2, 1fr); }
  .gd94-btn { padding: 0 10px; font-size: 1.25rem; }
}
@media (min-width: 769px) {
  .gd94-bottom-nav { display: none; }
  .gd94-footer { padding-bottom: 22px; }
  .gd94-container { max-width: 760px; }
  .gd94-grid { grid-template-columns: repeat(6, 1fr); }
}
