/* =========================================================================
   play time - core stylesheet
   All custom classes use the ga19- prefix for namespace isolation.
   Palette: #212F3D (dark background) | #8B0000 (brand red) | #F08080 (light)
   Mobile-first, max-width 430px, rem-based (root 62.5%).
   ========================================================================= */

:root {
  --ga19-bg: #212F3D;
  --ga19-bg-2: #18242f;
  --ga19-bg-3: #0f1922;
  --ga19-primary: #8B0000;
  --ga19-primary-2: #b92626;
  --ga19-light: #F08080;
  --ga19-text: #f5f6f8;
  --ga19-text-dim: #c6ced8;
  --ga19-border: rgba(240, 128, 128, 0.25);
  --ga19-gold: #ffcf5c;
  --ga19-shadow: 0 6px 22px rgba(0, 0, 0, 0.35);
  --ga19-radius: 14px;
}

* { 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;
  background: var(--ga19-bg);
  color: var(--ga19-text);
  line-height: 1.5;
  font-size: 1.6rem;
  overflow-x: hidden;
}

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

a { color: var(--ga19-light); text-decoration: none; }

/* ---------- Layout container ---------- */
.ga19-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1.4rem;
}

.ga19-wrapper {
  padding-top: 6rem;
  padding-bottom: 2rem;
}

@media (min-width: 769px) {
  .ga19-container { max-width: 960px; }
}

/* ---------- Header ---------- */
.ga19-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(135deg, #18242f 0%, #212F3D 100%);
  border-bottom: 1px solid var(--ga19-border);
  box-shadow: var(--ga19-shadow);
}

.ga19-header-row {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 1.2rem;
  gap: 0.8rem;
}

.ga19-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
}

.ga19-logo img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

.ga19-logo-text {
  font-weight: 800;
  font-size: 1.7rem;
  color: var(--ga19-light);
  letter-spacing: 0.4px;
  white-space: nowrap;
}

.ga19-header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.ga19-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: none;
  border-radius: 999px;
  padding: 0.7rem 1.3rem;
  font-size: 1.3rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease;
  min-height: 36px;
  line-height: 1;
}

.ga19-btn-login {
  background: transparent;
  color: var(--ga19-light);
  border: 1px solid var(--ga19-light);
}

.ga19-btn-register {
  background: linear-gradient(135deg, var(--ga19-primary) 0%, var(--ga19-primary-2) 100%);
  color: #fff;
  box-shadow: 0 4px 12px rgba(139, 0, 0, 0.5);
}

.ga19-btn:hover { transform: translateY(-1px); }
.ga19-btn:active { transform: scale(0.96); }

.ga19-menu-btn {
  background: transparent;
  border: 1px solid var(--ga19-border);
  color: var(--ga19-light);
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.6rem;
}

/* ---------- Mobile expandable menu ---------- */
.ga19-mobile-menu {
  display: none;
  background: var(--ga19-bg-2);
  border-top: 1px solid var(--ga19-border);
  padding: 0.8rem 1.2rem 1.2rem;
}
.ga19-mobile-menu.ga19-open { display: block; }
.ga19-mobile-menu a {
  display: block;
  padding: 0.9rem 0.6rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  color: var(--ga19-text);
  font-size: 1.4rem;
}
.ga19-mobile-menu a:hover { color: var(--ga19-light); }

/* ---------- Hero carousel ---------- */
.ga19-hero {
  margin-top: 1.2rem;
  border-radius: var(--ga19-radius);
  overflow: hidden;
  position: relative;
  box-shadow: var(--ga19-shadow);
}

.ga19-slides { position: relative; }

.ga19-slide {
  display: none;
  cursor: pointer;
  position: relative;
}
.ga19-slide.ga19-active { display: block; }
.ga19-slide img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.ga19-slide-caption {
  position: absolute;
  left: 1.2rem;
  bottom: 1.2rem;
  background: rgba(15, 25, 34, 0.78);
  padding: 0.6rem 1rem;
  border-radius: 10px;
  font-weight: 700;
  color: var(--ga19-light);
}

.ga19-dots {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  display: flex;
  gap: 0.5rem;
}
.ga19-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  cursor: pointer;
  border: none;
}
.ga19-dot.ga19-active { background: var(--ga19-gold); }

/* ---------- Section titles ---------- */
.ga19-section {
  margin: 2.2rem 0 1.2rem;
}
.ga19-section-title {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--ga19-light);
  margin: 0 0 0.2rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.ga19-section-sub {
  color: var(--ga19-text-dim);
  font-size: 1.3rem;
  margin: 0 0 1rem;
}

/* ---------- Promo text link / CTA ---------- */
.ga19-cta-link {
  font-weight: 800;
  color: var(--ga19-gold);
  cursor: pointer;
  border-bottom: 1px dashed var(--ga19-gold);
}
.ga19-cta-link:hover { color: #ffe39b; }

.ga19-cta-box {
  background: linear-gradient(135deg, var(--ga19-primary) 0%, #5a0000 100%);
  border-radius: var(--ga19-radius);
  padding: 1.6rem;
  text-align: center;
  margin: 1.6rem 0;
  box-shadow: var(--ga19-shadow);
}
.ga19-cta-box h3 {
  margin: 0 0 0.4rem;
  color: #fff;
  font-size: 1.7rem;
}
.ga19-cta-box p {
  margin: 0 0 1rem;
  color: #ffe1c4;
  font-size: 1.3rem;
}
.ga19-cta-box .ga19-btn {
  background: var(--ga19-gold);
  color: #4a1a00;
  padding: 0.9rem 2rem;
  font-size: 1.5rem;
}

/* ---------- Search box ---------- */
.ga19-search {
  width: 100%;
  padding: 0.9rem 1.2rem;
  border-radius: 10px;
  border: 1px solid var(--ga19-border);
  background: var(--ga19-bg-2);
  color: var(--ga19-text);
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

/* ---------- Game grid ---------- */
.ga19-game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}

.ga19-game-card {
  background: var(--ga19-bg-2);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.05);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  display: flex;
  flex-direction: column;
}
.ga19-game-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(139, 0, 0, 0.35);
  border-color: var(--ga19-light);
}
.ga19-game-card img {
  width: 100%;
  height: 84px;
  object-fit: cover;
}
.ga19-game-name {
  font-size: 1.15rem;
  padding: 0.4rem 0.5rem;
  text-align: center;
  color: var(--ga19-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (min-width: 769px) {
  .ga19-game-grid { grid-template-columns: repeat(6, 1fr); }
  .ga19-game-card img { height: 120px; }
}

/* ---------- Cards / info blocks ---------- */
.ga19-card {
  background: var(--ga19-bg-2);
  border-radius: var(--ga19-radius);
  padding: 1.5rem;
  margin-bottom: 1.2rem;
  border: 1px solid rgba(255,255,255,0.05);
}
.ga19-card h2, .ga19-card h3 {
  color: var(--ga19-light);
  margin-top: 0;
}
.ga19-card p { color: var(--ga19-text-dim); font-size: 1.35rem; }

.ga19-feature-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
  margin: 0.8rem 0;
}
.ga19-feature {
  background: var(--ga19-bg-3);
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
}
.ga19-feature .material-icons,
.ga19-feature .fas { font-size: 2.4rem; color: var(--ga19-light); }
.ga19-feature b { display: block; margin-top: 0.4rem; font-size: 1.3rem; color: #fff; }

/* ---------- Testimonials ---------- */
.ga19-testimonials {
  display: grid;
  gap: 0.8rem;
}
.ga19-testimonial {
  background: var(--ga19-bg-3);
  border-left: 3px solid var(--ga19-light);
  padding: 0.9rem 1.1rem;
  border-radius: 8px;
  font-size: 1.3rem;
  color: var(--ga19-text-dim);
}
.ga19-testimonial b { color: var(--ga19-gold); display: block; margin-bottom: 0.3rem; }

/* ---------- Payment ---------- */
.ga19-payment-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.ga19-payment {
  background: var(--ga19-bg-3);
  border-radius: 8px;
  padding: 0.6rem 1rem;
  font-size: 1.2rem;
  color: var(--ga19-text-dim);
  border: 1px solid var(--ga19-border);
}

/* ---------- Winners ---------- */
.ga19-winners {
  display: grid;
  gap: 0.6rem;
}
.ga19-winner {
  display: flex;
  justify-content: space-between;
  background: var(--ga19-bg-3);
  padding: 0.7rem 1rem;
  border-radius: 8px;
  font-size: 1.3rem;
}
.ga19-winner b { color: var(--ga19-gold); }

/* ---------- Footer ---------- */
.ga19-footer {
  background: var(--ga19-bg-3);
  margin-top: 2rem;
  padding: 2rem 1.4rem;
  border-top: 1px solid var(--ga19-border);
}
.ga19-footer-brand {
  color: var(--ga19-text-dim);
  font-size: 1.3rem;
  margin-bottom: 1rem;
}
.ga19-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.2rem;
  margin-bottom: 1rem;
}
.ga19-footer-links a {
  color: var(--ga19-text);
  font-size: 1.25rem;
}
.ga19-footer-links a:hover { color: var(--ga19-light); }
.ga19-footer-promos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1rem;
}
.ga19-footer-promos .ga19-btn {
  padding: 0.6rem 1.1rem;
  font-size: 1.2rem;
}
.ga19-copyright {
  color: var(--ga19-text-dim);
  font-size: 1.2rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 1rem;
}

/* ---------- Mobile bottom navigation ---------- */
.ga19-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 62px;
  background: linear-gradient(180deg, #18242f 0%, #0f1922 100%);
  border-top: 1px solid var(--ga19-border);
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.35);
}
.ga19-bottom-nav a,
.ga19-bottom-nav button {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: var(--ga19-text-dim);
  font-size: 1rem;
  gap: 2px;
  cursor: pointer;
  min-width: 60px;
  min-height: 60px;
  transition: color 0.18s ease, transform 0.18s ease;
  padding: 0;
}
.ga19-bottom-nav .material-icons,
.ga19-bottom-nav .fas,
.ga19-bottom-nav .far,
.ga19-bottom-nav .ion-icon { font-size: 24px; }
.ga19-bottom-nav a:hover,
.ga19-bottom-nav button:hover { color: var(--ga19-light); }
.ga19-bottom-nav a:active,
.ga19-bottom-nav button:active { transform: scale(0.92); }
.ga19-bottom-nav .ga19-active {
  color: var(--ga19-gold);
}

/* mobile spacing for fixed bottom nav */
@media (max-width: 768px) {
  .ga19-wrapper { padding-bottom: 84px; }
  .ga19-footer { padding-bottom: 84px; }
}

/* hide bottom nav on desktop */
@media (min-width: 769px) {
  .ga19-bottom-nav { display: none; }
}

/* desktop top nav inline links */
.ga19-desktop-nav {
  display: none;
}
@media (min-width: 769px) {
  .ga19-desktop-nav {
    display: flex;
    gap: 1.4rem;
    align-items: center;
  }
  .ga19-desktop-nav a {
    color: var(--ga19-text);
    font-size: 1.35rem;
  }
  .ga19-desktop-nav a:hover { color: var(--ga19-light); }
}

/* utility */
.ga19-hidden { display: none !important; }
.ga19-text-gold { color: var(--ga19-gold); }
.ga19-mt-1 { margin-top: 0.6rem; }
.ga19-mb-1 { margin-bottom: 0.6rem; }
