/*!
 * f8net.cyou - Shared stylesheet
 * All custom classes/variables use the "gc63-" prefix.
 * Mobile-first: layout container is capped at 430px.
 * Comments in English; visible copy is Vietnamese (vi-VN).
 */

:root {
  --gc63-bg: #141414;
  --gc63-bg-2: #1f1a17;
  --gc63-surface: #2a201b;
  --gc63-primary: #FF6347;
  --gc63-secondary: #F4A460;
  --gc63-accent: #FFD700;
  --gc63-highlight: #FFF176;
  --gc63-text: #CCCCCC;
  --gc63-text-strong: #FFFFFF;
  --gc63-border: rgba(255, 215, 0, 0.18);
  --gc63-radius: 14px;
  --gc63-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 62.5%; }           /* 1rem = 10px */
body {
  margin: 0;
  padding: 0;
  background: var(--gc63-bg);
  color: var(--gc63-text);
  font-family: "Be Vietnam Pro", "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 1.5rem;
  line-height: 1.5rem;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--gc63-accent); text-decoration: none; }

/* Layout wrapper: mobile-first, hard-capped at 430px for mobile optimisation */
.gc63-wrapper {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  position: relative;
  background: var(--gc63-bg);
  min-height: 100vh;
  overflow: hidden;
}

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

.gc63-main { padding-bottom: 9rem; }

/* ---------- Header ---------- */
.gc63-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: linear-gradient(135deg, #141414 0%, #2a201b 100%);
  border-bottom: 1px solid var(--gc63-border);
  box-shadow: var(--gc63-shadow);
}
.gc63-header-inner {
  max-width: 430px;
  margin: 0 auto;
  height: 5.6rem;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
}
.gc63-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
}
.gc63-logo img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
}
.gc63-logo-text {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--gc63-accent);
  letter-spacing: 0.3px;
}
.gc63-logo-text span { color: var(--gc63-primary); }

.gc63-header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.gc63-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  height: 3.6rem;
  padding: 0 1.2rem;
  border: none;
  border-radius: 999px;
  font-size: 1.3rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  min-width: 44px;
  min-height: 44px;
  text-decoration: none;
  color: #fff;
  font-family: inherit;
}
.gc63-btn:hover { transform: translateY(-1px); }
.gc63-btn:active { transform: scale(0.97); }
.gc63-btn--primary { background: linear-gradient(135deg, #FF6347, #FFD700); box-shadow: 0 4px 12px rgba(255, 99, 71, 0.4); }
.gc63-btn--ghost { background: transparent; border: 1px solid var(--gc63-accent); color: var(--gc63-accent); }

.gc63-nav-toggle {
  height: 3.6rem;
  width: 3.6rem;
  border-radius: 10px;
  background: transparent;
  color: var(--gc63-text-strong);
  border: 1px solid var(--gc63-border);
  cursor: pointer;
  font-size: 1.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
}
.gc63-nav-toggle--active { background: var(--gc63-primary); color: #fff; }

/* Expandable nav menu */
.gc63-nav-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease;
  background: #1a1411;
  border-top: 1px solid transparent;
}
.gc63-nav-menu--open {
  max-height: 420px;
  border-top-color: var(--gc63-border);
}
.gc63-nav-menu-inner {
  max-width: 430px;
  margin: 0 auto;
  padding: 0.8rem 1rem 1.2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}
.gc63-nav-link {
  display: block;
  padding: 0.9rem 1rem;
  background: var(--gc63-surface);
  border: 1px solid var(--gc63-border);
  border-radius: 10px;
  color: var(--gc63-text-strong);
  font-size: 1.25rem;
  font-weight: 600;
}
.gc63-nav-link:hover { background: var(--gc63-primary); color: #fff; }

/* ---------- Hero / Carousel ---------- */
.gc63-hero { margin-top: 6rem; }
.gc63-carousel {
  position: relative;
  border-radius: var(--gc63-radius);
  overflow: hidden;
  box-shadow: var(--gc63-shadow);
  background: #000;
}
.gc63-carousel-track {
  display: flex;
  scroll-snap-type: x mandatory;
}
.gc63-slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  opacity: 0;
  transition: opacity 0.6s ease;
  position: relative;
}
.gc63-slide--active { opacity: 1; }
.gc63-slide img { width: 100%; height: 190px; object-fit: cover; }
.gc63-slide-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 0.8rem 1rem;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
}
.gc63-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.6rem 0;
}
.gc63-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255, 215, 0, 0.3);
}
.gc63-dot--active { background: var(--gc63-accent); }

/* ---------- Sections ---------- */
.gc63-section {
  padding: 1.6rem 0;
}
.gc63-section-title {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--gc63-text-strong);
  margin: 0 0 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.gc63-section-title i { color: var(--gc63-accent); font-size: 1.6rem; }
.gc63-h1 {
  font-size: 2rem;
  font-weight: 900;
  color: var(--gc63-text-strong);
  line-height: 1.25;
  margin: 0 0 0.6rem;
}
.gc63-h1 span { color: var(--gc63-accent); }
.gc63-lead { font-size: 1.4rem; color: var(--gc63-text); line-height: 1.6; }
.gc63-text-link { color: var(--gc63-accent); font-weight: 700; border-bottom: 1px dashed var(--gc63-accent); }

/* ---------- Game grid ---------- */
.gc63-game-cat-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--gc63-highlight);
  margin: 1.2rem 0 0.8rem;
  padding-left: 0.6rem;
  border-left: 4px solid var(--gc63-primary);
}
.gc63-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
}
.gc63-card {
  background: var(--gc63-surface);
  border: 1px solid var(--gc63-border);
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  display: block;
}
.gc63-card:hover { transform: translateY(-2px); box-shadow: var(--gc63-shadow); }
.gc63-card img { width: 100%; height: 78px; object-fit: cover; background: #000; }
.gc63-card-name {
  display: block;
  padding: 0.4rem 0.3rem;
  font-size: 1.1rem;
  color: var(--gc63-text-strong);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------- Feature / info cards ---------- */
.gc63-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}
.gc63-info-card {
  background: var(--gc63-bg-2);
  border: 1px solid var(--gc63-border);
  border-radius: 12px;
  padding: 1rem;
}
.gc63-info-card i { font-size: 1.8rem; color: var(--gc63-primary); }
.gc63-info-card h3 { margin: 0.4rem 0 0.3rem; font-size: 1.3rem; color: var(--gc63-text-strong); }
.gc63-info-card p { margin: 0; font-size: 1.2rem; color: var(--gc63-text); line-height: 1.4; }

/* ---------- Promo banner ---------- */
.gc63-promo {
  background: linear-gradient(135deg, #FF6347, #FFD700);
  color: #141414;
  border-radius: var(--gc63-radius);
  padding: 1.2rem;
  text-align: center;
  box-shadow: var(--gc63-shadow);
}
.gc63-promo h3 { margin: 0 0 0.4rem; font-size: 1.5rem; }
.gc63-promo p { margin: 0 0 0.8rem; font-size: 1.2rem; }
.gc63-promo .gc63-btn { background: #141414; color: var(--gc63-accent); }

/* ---------- RTP table ---------- */
.gc63-rtp-row {
  display: flex;
  justify-content: space-between;
  padding: 0.6rem 0;
  border-bottom: 1px dashed var(--gc63-border);
  font-size: 1.25rem;
}
.gc63-rtp-row span:last-child { color: var(--gc63-highlight); font-weight: 700; }

/* ---------- Testimonials ---------- */
.gc63-quote {
  background: var(--gc63-bg-2);
  border-left: 3px solid var(--gc63-secondary);
  padding: 0.8rem 1rem;
  border-radius: 8px;
  margin-bottom: 0.6rem;
  font-size: 1.2rem;
}
.gc63-quote strong { color: var(--gc63-highlight); }

/* ---------- Payment / winners ---------- */
.gc63-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.gc63-pill {
  background: var(--gc63-surface);
  border: 1px solid var(--gc63-border);
  border-radius: 999px;
  padding: 0.5rem 0.9rem;
  font-size: 1.15rem;
  color: var(--gc63-text-strong);
}
.gc63-winner {
  display: flex; justify-content: space-between;
  padding: 0.5rem 0; font-size: 1.2rem;
  border-bottom: 1px solid var(--gc63-border);
}
.gc63-winner span:last-child { color: var(--gc63-accent); font-weight: 700; }

/* ---------- FAQ ---------- */
.gc63-faq { border: 1px solid var(--gc63-border); border-radius: 10px; overflow: hidden; margin-bottom: 0.6rem; background: var(--gc63-bg-2); }
.gc63-faq summary { padding: 0.9rem 1rem; font-size: 1.25rem; font-weight: 700; color: var(--gc63-text-strong); cursor: pointer; list-style: none; }
.gc63-faq summary::after { content: "+"; float: right; color: var(--gc63-accent); }
.gc63-faq[open] summary::after { content: "-"; }
.gc63-faq p { padding: 0 1rem 0.9rem; margin: 0; font-size: 1.2rem; color: var(--gc63-text); }

/* ---------- Footer ---------- */
.gc63-footer {
  background: #0f0c0a;
  border-top: 1px solid var(--gc63-border);
  padding: 1.6rem 0 1rem;
  margin-top: 1.5rem;
}
.gc63-footer p { font-size: 1.2rem; color: var(--gc63-text); line-height: 1.6; margin: 0 0 0.8rem; }
.gc63-footer-links {
  display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem;
}
.gc63-footer-links a {
  flex: 1 1 45%;
  background: var(--gc63-surface);
  border: 1px solid var(--gc63-border);
  border-radius: 8px;
  padding: 0.6rem 0.7rem;
  font-size: 1.15rem;
  color: var(--gc63-text-strong);
  text-align: center;
}
.gc63-footer-links a:hover { background: var(--gc63-primary); color: #fff; }
.gc63-copy { font-size: 1.1rem; color: #777; text-align: center; }

/* ---------- Mobile bottom nav (5 buttons) ---------- */
.gc63-bottomnav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: 60px;
  z-index: 1000;
  background: linear-gradient(180deg, #1f1a17 0%, #0f0c0a 100%);
  border-top: 1px solid var(--gc63-border);
  box-shadow: 0 -4px 14px rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: space-around;
  align-items: center;
}
.gc63-bottomnav-item {
  flex: 1;
  min-width: 60px;
  min-height: 60px;
  background: transparent;
  border: none;
  color: var(--gc63-text);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-size: 1.05rem;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.15s ease, transform 0.15s ease;
  font-family: inherit;
}
.gc63-bottomnav-item .material-icons,
.gc63-bottomnav-item i { font-size: 24px; }
.gc63-bottomnav-item:hover { color: var(--gc63-accent); transform: translateY(-1px); }
.gc63-bottomnav-item:active { transform: scale(0.92); }
.gc63-bottomnav-item--active { color: var(--gc63-accent); }
.gc63-bottomnav-badge {
  position: absolute;
  top: 6px; right: 22%;
  background: var(--gc63-primary);
  color: #fff;
  font-size: 0.85rem;
  border-radius: 999px;
  padding: 0 5px;
  line-height: 1.4;
}
.gc63-bottomnav-item { position: relative; }

/* ---------- Desktop: hide bottom nav, widen wrapper ---------- */
@media (min-width: 769px) {
  .gc63-bottomnav { display: none; }
  .gc63-wrapper, .gc63-container, .gc63-header-inner, .gc63-nav-menu-inner { max-width: 430px; }
  .gc63-main { padding-bottom: 2rem; }
}
@media (max-width: 768px) {
  .gc63-main { padding-bottom: 80px; }
}
