/* =========================================================
 * ga8.click - design.css
 * Mobile-first gaming portal stylesheet
 * Prefix: v6b6-
 * Palette: #FA8072 | #6C757D | #2C3E50
 * ========================================================= */

:root {
  --v6b6-primary: #FA8072;
  --v6b6-primary-dark: #e0614f;
  --v6b6-neutral: #6C757D;
  --v6b6-neutral-light: #8a929a;
  --v6b6-bg: #2C3E50;
  --v6b6-bg-deep: #1c2a38;
  --v6b6-bg-light: #34495e;
  --v6b6-text: #f5f6f7;
  --v6b6-text-muted: #c7ccd1;
  --v6b6-gold: #f6c453;
  --v6b6-shadow: 0 0.4rem 1.2rem rgba(0, 0, 0, 0.32);
  --v6b6-radius: 1.2rem;
  --v6b6-radius-sm: 0.8rem;
}

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

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

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

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

a {
  color: var(--v6b6-primary);
  text-decoration: none;
}

/* ===== Layout containers ===== */
.v6b6-wrapper {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  position: relative;
}

.v6b6-container {
  padding: 0 1.2rem;
  width: 100%;
}

.v6b6-section {
  padding: 2rem 1.2rem;
}

.v6b6-section-alt {
  background: var(--v6b6-bg-deep);
}

/* ===== Header ===== */
.v6b6-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 1000;
  background: linear-gradient(135deg, var(--v6b6-bg-deep) 0%, var(--v6b6-bg-light) 100%);
  border-bottom: 0.2rem solid var(--v6b6-primary);
  box-shadow: var(--v6b6-shadow);
}

.v6b6-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 1rem;
  gap: 0.6rem;
}

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

.v6b6-logo img {
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 0.6rem;
  flex-shrink: 0;
}

.v6b6-logo-text {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--v6b6-primary);
  letter-spacing: 0.05rem;
  white-space: nowrap;
}

.v6b6-header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.v6b6-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: none;
  border-radius: var(--v6b6-radius-sm);
  padding: 0.6rem 1rem;
  font-size: 1.3rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease;
  min-height: 3.6rem;
  font-family: inherit;
}

.v6b6-btn:active {
  transform: scale(0.94);
}

.v6b6-btn-primary {
  background: linear-gradient(135deg, var(--v6b6-primary) 0%, var(--v6b6-primary-dark) 100%);
  color: #fff;
  box-shadow: 0 0.3rem 0.8rem rgba(250, 128, 114, 0.35);
}

.v6b6-btn-secondary {
  background: transparent;
  color: var(--v6b6-text);
  border: 0.15rem solid var(--v6b6-neutral);
}

.v6b6-btn-ghost {
  background: transparent;
  color: var(--v6b6-text);
  padding: 0.4rem;
  min-height: 0;
}

.v6b6-menu-btn {
  font-size: 1.8rem;
  color: var(--v6b6-text);
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.4rem 0.6rem;
  min-height: 3.2rem;
}

/* ===== Mobile menu drawer ===== */
.v6b6-mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background: var(--v6b6-bg-deep);
  z-index: 9999;
  transform: translateX(100%);
  transition: transform 0.28s ease;
  padding: 5rem 1.2rem 2rem;
  overflow-y: auto;
  box-shadow: -0.4rem 0 1.6rem rgba(0, 0, 0, 0.5);
}

.v6b6-mobile-menu.v6b6-open {
  transform: translateX(0);
}

.v6b6-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 9998;
  display: none;
}

.v6b6-menu-overlay.v6b6-open {
  display: block;
}

.v6b6-menu-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: transparent;
  border: none;
  color: var(--v6b6-text);
  font-size: 2rem;
  cursor: pointer;
}

.v6b6-mobile-menu .v6b6-menu-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--v6b6-primary);
  margin-bottom: 1.2rem;
}

.v6b6-mobile-menu ul {
  list-style: none;
}

.v6b6-mobile-menu li {
  margin-bottom: 0.6rem;
}

.v6b6-mobile-menu a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1rem;
  border-radius: var(--v6b6-radius-sm);
  background: var(--v6b6-bg-light);
  color: var(--v6b6-text);
  font-size: 1.4rem;
  font-weight: 600;
}

.v6b6-mobile-menu a:active {
  background: var(--v6b6-primary-dark);
}

.v6b6-mobile-menu a .material-icons,
.v6b6-mobile-menu a i {
  font-size: 1.8rem;
  color: var(--v6b6-primary);
}

/* ===== Hero / Carousel ===== */
.v6b6-hero {
  margin-top: 5.4rem;
}

.v6b6-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 0 0 var(--v6b6-radius) var(--v6b6-radius);
}

.v6b6-carousel-track {
  display: flex;
  transition: transform 0.45s ease;
}

.v6b6-carousel-slide {
  min-width: 100%;
  position: relative;
}

.v6b6-carousel-slide img {
  width: 100%;
  height: 18rem;
  object-fit: cover;
}

.v6b6-carousel-slide .v6b6-slide-caption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  background: rgba(44, 62, 80, 0.78);
  padding: 0.6rem 1rem;
  border-radius: var(--v6b6-radius-sm);
  font-size: 1.3rem;
  font-weight: 600;
  color: #fff;
}

.v6b6-carousel-dots {
  position: absolute;
  bottom: 0.8rem;
  right: 1rem;
  display: flex;
  gap: 0.4rem;
}

.v6b6-carousel-dots span {
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
}

.v6b6-carousel-dots span.v6b6-active {
  background: var(--v6b6-primary);
  width: 1.8rem;
  border-radius: 0.4rem;
}

/* ===== Section titles ===== */
.v6b6-section-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--v6b6-primary);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.v6b6-section-title i,
.v6b6-section-title .material-icons {
  font-size: 2rem;
}

.v6b6-subtitle {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--v6b6-text);
  margin: 1.4rem 0 0.8rem;
}

.v6b6-text-muted {
  color: var(--v6b6-text-muted);
}

/* ===== Game grid ===== */
.v6b6-game-block {
  margin-bottom: 1.6rem;
}

.v6b6-game-block-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.8rem;
}

.v6b6-game-block-header h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--v6b6-primary);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.v6b6-game-block-header h2 .material-icons {
  font-size: 1.9rem;
}

.v6b6-game-block-header .v6b6-tag {
  font-size: 1.1rem;
  color: var(--v6b6-neutral-light);
}

.v6b6-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
}

.v6b6-card {
  background: var(--v6b6-bg-light);
  border-radius: var(--v6b6-radius-sm);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  border: 0.1rem solid rgba(250, 128, 114, 0.12);
}

.v6b6-card:active {
  transform: scale(0.95);
  box-shadow: 0 0 0.6rem rgba(250, 128, 114, 0.4);
}

.v6b6-card-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #000;
}

.v6b6-card-name {
  font-size: 1.05rem;
  text-align: center;
  padding: 0.35rem 0.2rem 0.45rem;
  color: var(--v6b6-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2rem;
}

/* ===== Info / feature blocks ===== */
.v6b6-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
}

.v6b6-feature-item {
  background: var(--v6b6-bg-light);
  border-radius: var(--v6b6-radius-sm);
  padding: 1rem;
  text-align: center;
  border-left: 0.3rem solid var(--v6b6-primary);
}

.v6b6-feature-item i,
.v6b6-feature-item .material-icons {
  font-size: 2.4rem;
  color: var(--v6b6-primary);
  margin-bottom: 0.4rem;
}

.v6b6-feature-item h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.v6b6-feature-item p {
  font-size: 1.2rem;
  color: var(--v6b6-text-muted);
  line-height: 1.4rem;
}

/* ===== Promo banner ===== */
.v6b6-promo-banner {
  background: linear-gradient(135deg, var(--v6b6-primary) 0%, var(--v6b6-primary-dark) 100%);
  border-radius: var(--v6b6-radius);
  padding: 1.4rem 1.2rem;
  text-align: center;
  margin: 1.4rem 0;
  color: #fff;
}

.v6b6-promo-banner h3 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
}

.v6b6-promo-banner p {
  font-size: 1.25rem;
  margin-bottom: 0.8rem;
  opacity: 0.95;
}

.v6b6-promo-banner .v6b6-btn {
  background: #fff;
  color: var(--v6b6-primary-dark);
  font-weight: 800;
  padding: 0.7rem 1.6rem;
}

/* ===== Testimonial ===== */
.v6b6-testimonial {
  background: var(--v6b6-bg-light);
  border-radius: var(--v6b6-radius-sm);
  padding: 1rem 1.2rem;
  margin-bottom: 0.8rem;
  border-left: 0.3rem solid var(--v6b6-gold);
}

.v6b6-testimonial .v6b6-testi-head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.4rem;
}

.v6b6-testi-avatar {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  background: var(--v6b6-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
}

.v6b6-testi-name {
  font-weight: 700;
  font-size: 1.3rem;
}

.v6b6-testi-stars {
  color: var(--v6b6-gold);
  font-size: 1.1rem;
}

.v6b6-testi-text {
  font-size: 1.25rem;
  color: var(--v6b6-text-muted);
  line-height: 1.4rem;
}

/* ===== Payment / winners list ===== */
.v6b6-list-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 1rem;
  background: var(--v6b6-bg-light);
  border-radius: var(--v6b6-radius-sm);
  margin-bottom: 0.5rem;
}

.v6b6-list-row .v6b6-list-left {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.v6b6-list-row .v6b6-list-amount {
  color: var(--v6b6-gold);
  font-weight: 800;
  font-size: 1.3rem;
}

.v6b6-pay-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}

.v6b6-pay-item {
  background: var(--v6b6-bg-light);
  border-radius: 0.6rem;
  padding: 0.6rem 0.3rem;
  text-align: center;
  font-size: 1.05rem;
  color: var(--v6b6-text-muted);
}

.v6b6-pay-item i,
.v6b6-pay-item .material-icons {
  font-size: 1.6rem;
  color: var(--v6b6-primary);
}

/* ===== FAQ ===== */
.v6b6-faq-item {
  background: var(--v6b6-bg-light);
  border-radius: var(--v6b6-radius-sm);
  margin-bottom: 0.6rem;
  overflow: hidden;
}

.v6b6-faq-q {
  padding: 0.9rem 1rem;
  font-weight: 700;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.v6b6-faq-q .v6b6-faq-icon {
  color: var(--v6b6-primary);
  transition: transform 0.2s ease;
}

.v6b6-faq-item.v6b6-open .v6b6-faq-icon {
  transform: rotate(45deg);
}

.v6b6-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  padding: 0 1rem;
  font-size: 1.2rem;
  color: var(--v6b6-text-muted);
  line-height: 1.4rem;
}

.v6b6-faq-item.v6b6-open .v6b6-faq-a {
  max-height: 30rem;
  padding: 0 1rem 1rem;
}

/* ===== Inline promo text link ===== */
.v6b6-promo-link {
  color: var(--v6b6-primary);
  font-weight: 800;
  cursor: pointer;
}

/* ===== Footer ===== */
.v6b6-footer {
  background: var(--v6b6-bg-deep);
  padding: 2rem 1.2rem 7rem;
  margin-top: 1.6rem;
  border-top: 0.2rem solid var(--v6b6-primary);
}

.v6b6-footer-brand {
  font-size: 1.3rem;
  color: var(--v6b6-text-muted);
  line-height: 1.5rem;
  margin-bottom: 1rem;
}

.v6b6-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.v6b6-footer-links a {
  background: var(--v6b6-bg-light);
  color: var(--v6b6-text);
  padding: 0.4rem 0.8rem;
  border-radius: 0.5rem;
  font-size: 1.15rem;
}

.v6b6-footer-promo {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.v6b6-footer-promo button {
  flex: 1 1 calc(50% - 0.5rem);
  min-width: 12rem;
}

.v6b6-footer-copy {
  font-size: 1.1rem;
  color: var(--v6b6-neutral-light);
  text-align: center;
  border-top: 0.1rem solid rgba(255, 255, 255, 0.08);
  padding-top: 0.8rem;
}

/* ===== Mobile bottom nav ===== */
.v6b6-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 6rem;
  background: linear-gradient(180deg, var(--v6b6-bg-light) 0%, var(--v6b6-bg-deep) 100%);
  border-top: 0.2rem solid var(--v6b6-primary);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 -0.4rem 1rem rgba(0, 0, 0, 0.3);
}

.v6b6-bottom-nav-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  min-width: 60px;
  min-height: 60px;
  background: transparent;
  border: none;
  color: var(--v6b6-text-muted);
  cursor: pointer;
  transition: color 0.15s ease, transform 0.15s ease;
  padding: 0.3rem;
  font-family: inherit;
}

.v6b6-bottom-nav-btn:active {
  transform: scale(0.9);
}

.v6b6-bottom-nav-btn.v6b6-active {
  color: var(--v6b6-primary);
}

.v6b6-bottom-nav-btn i,
.v6b6-bottom-nav-btn .material-icons,
.v6b6-bottom-nav-btn .bi {
  font-size: 2.2rem;
  line-height: 1;
}

.v6b6-bottom-nav-btn span {
  font-size: 1.05rem;
  font-weight: 600;
}

.v6b6-bottom-nav-btn.v6b6-active span {
  color: var(--v6b6-primary);
}

/* ===== Desktop adjustments ===== */
@media (min-width: 769px) {
  body {
    max-width: 430px;
    box-shadow: 0 0 2rem rgba(0, 0, 0, 0.3);
    min-height: 100vh;
  }
  .v6b6-bottom-nav {
    display: none;
  }
  .v6b6-footer {
    padding-bottom: 2rem;
  }
}

@media (max-width: 768px) {
  main.v6b6-main {
    padding-bottom: 7rem;
  }
}

/* ===== Utility ===== */
.v6b6-text-center { text-align: center; }
.v6b6-mt-1 { margin-top: 1rem; }
.v6b6-mt-2 { margin-top: 2rem; }
.v6b6-hidden { display: none !important; }
