/**
 * Hanna PH - Main Stylesheet
 * All classes use gc6b- prefix, CSS variables use --gc6b- prefix
 * Mobile-first design, max-width 430px
 */

/* ===== CSS VARIABLES ===== */
:root {
  --gc6b-bg: #1E1E1E;
  --gc6b-bg-light: #2A2A2A;
  --gc6b-bg-card: #252525;
  --gc6b-text: #FFB3BA;
  --gc6b-text-muted: #D4A0A7;
  --gc6b-text-dim: #9E7A81;
  --gc6b-primary: #FFB3BA;
  --gc6b-accent: #FF8A94;
  --gc6b-accent2: #FF6B7A;
  --gc6b-border: rgba(255,179,186,0.12);
  --gc6b-btn-bg: linear-gradient(135deg, #FF6B7A, #FFB3BA);
  --gc6b-btn-text: #1E1E1E;
  --gc6b-shadow: 0 0.2rem 0.8rem rgba(0,0,0,0.3);
  --gc6b-radius: 0.8rem;
  --gc6b-header-h: 5.6rem;
  --gc6b-bottom-h: 6rem;
  font-size: 62.5%;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background-color: var(--gc6b-bg);
  color: var(--gc6b-text);
  font-size: 1.4rem;
  line-height: 1.5rem;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

a:hover {
  text-decoration: underline;
}

/* ===== HEADER ===== */
.gc6b-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--gc6b-header-h);
  background: var(--gc6b-bg);
  border-bottom: 0.1rem solid var(--gc6b-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.2rem;
  z-index: 1000;
}

.gc6b-header-left {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.gc6b-logo {
  width: 3rem;
  height: 3rem;
  border-radius: 0.5rem;
}

.gc6b-site-name {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gc6b-primary);
  white-space: nowrap;
}

.gc6b-header-right {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.gc6b-btn-register, .gc6b-btn-login {
  padding: 0.5rem 1.2rem;
  border-radius: 2rem;
  font-size: 1.2rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, opacity 0.2s;
  white-space: nowrap;
}

.gc6b-btn-register {
  background: var(--gc6b-btn-bg);
  color: var(--gc6b-btn-text);
}

.gc6b-btn-login {
  background: transparent;
  color: var(--gc6b-primary);
  border: 0.1rem solid var(--gc6b-primary);
}

.gc6b-btn-register:hover, .gc6b-btn-login:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

.gc6b-menu-toggle {
  background: transparent;
  border: none;
  color: var(--gc6b-primary);
  font-size: 2rem;
  cursor: pointer;
  padding: 0.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== MOBILE MENU ===== */
.gc6b-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.gc6b-overlay-active {
  opacity: 1;
  visibility: visible;
}

.gc6b-mobile-menu {
  position: fixed;
  top: 0;
  right: -80%;
  width: 80%;
  max-width: 30rem;
  height: 100%;
  background: var(--gc6b-bg-light);
  z-index: 9999;
  transition: right 0.3s ease;
  overflow-y: auto;
}

.gc6b-menu-open {
  right: 0;
}

.gc6b-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 1.6rem;
  border-bottom: 0.1rem solid var(--gc6b-border);
}

.gc6b-menu-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gc6b-primary);
}

.gc6b-menu-close {
  background: transparent;
  border: none;
  color: var(--gc6b-text);
  font-size: 2rem;
  cursor: pointer;
}

.gc6b-menu-links {
  list-style: none;
  padding: 1rem 0;
}

.gc6b-menu-links li a {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 1.6rem;
  color: var(--gc6b-text);
  font-size: 1.4rem;
  transition: background 0.2s;
}

.gc6b-menu-links li a:hover {
  background: var(--gc6b-bg-card);
  text-decoration: none;
}

.gc6b-menu-links li a i,
.gc6b-menu-links li a .material-icons {
  font-size: 1.8rem;
  width: 2.4rem;
  text-align: center;
  color: var(--gc6b-primary);
}

/* ===== MAIN CONTENT ===== */
.gc6b-main {
  margin-top: var(--gc6b-header-h);
  padding: 0 1rem 2rem;
  max-width: 43rem;
  margin-left: auto;
  margin-right: auto;
}

/* ===== CAROUSEL ===== */
.gc6b-carousel {
  position: relative;
  width: 100%;
  border-radius: var(--gc6b-radius);
  overflow: hidden;
  cursor: pointer;
  margin-bottom: 1.5rem;
}

.gc6b-slide {
  display: none;
  width: 100%;
}

.gc6b-slide img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.gc6b-slide-active {
  display: block;
}

.gc6b-carousel-dots {
  position: absolute;
  bottom: 0.8rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.6rem;
}

.gc6b-dot {
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: background 0.3s;
}

.gc6b-dot-active {
  background: var(--gc6b-primary);
}

/* ===== HERO TEXT ===== */
.gc6b-hero-text {
  margin-bottom: 2rem;
}

.gc6b-hero-text h1 {
  font-size: 2rem;
  line-height: 2.6rem;
  margin-bottom: 1rem;
  color: var(--gc6b-primary);
}

.gc6b-hero-text p {
  font-size: 1.4rem;
  line-height: 2.2rem;
  color: var(--gc6b-text-muted);
  margin-bottom: 1.2rem;
}

/* ===== SECTION TITLES ===== */
.gc6b-section-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gc6b-primary);
  margin: 2rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 0.2rem solid var(--gc6b-accent);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

/* ===== GAME GRID ===== */
.gc6b-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.gc6b-game-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s;
  padding: 0.5rem;
  border-radius: var(--gc6b-radius);
}

.gc6b-game-item:hover {
  transform: scale(1.05);
  background: var(--gc6b-bg-card);
}

.gc6b-game-icon {
  width: 6rem;
  height: 6rem;
  border-radius: 0.8rem;
  margin-bottom: 0.4rem;
  object-fit: cover;
}

.gc6b-game-name {
  font-size: 1.1rem;
  color: var(--gc6b-text-muted);
  line-height: 1.4rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ===== CARDS ===== */
.gc6b-card {
  background: var(--gc6b-bg-card);
  border-radius: var(--gc6b-radius);
  padding: 1.6rem;
  margin-bottom: 1.5rem;
  border: 0.1rem solid var(--gc6b-border);
}

.gc6b-card h2 {
  font-size: 1.6rem;
  color: var(--gc6b-primary);
  margin-bottom: 1rem;
  line-height: 2rem;
}

.gc6b-card h3 {
  font-size: 1.4rem;
  color: var(--gc6b-accent);
  margin: 1rem 0 0.5rem;
}

.gc6b-text-content {
  font-size: 1.3rem;
  line-height: 2rem;
  color: var(--gc6b-text-muted);
}

.gc6b-text-content p {
  margin-bottom: 0.8rem;
}

/* ===== PROMO BUTTON ===== */
.gc6b-promo-btn {
  display: inline-block;
  background: var(--gc6b-btn-bg);
  color: var(--gc6b-btn-text);
  border: none;
  padding: 1rem 2.4rem;
  border-radius: 2.5rem;
  font-size: 1.4rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  text-align: center;
}

.gc6b-promo-btn:hover {
  transform: scale(1.05);
  box-shadow: var(--gc6b-shadow);
}

.gc6b-promo-btn-outline {
  background: transparent;
  color: var(--gc6b-primary);
  border: 0.15rem solid var(--gc6b-primary);
}

.gc6b-promo-link {
  color: var(--gc6b-accent);
  cursor: pointer;
  font-weight: 600;
  text-decoration: underline;
}

/* ===== WINNER ITEMS ===== */
.gc6b-winner-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem;
  border-bottom: 0.1rem solid var(--gc6b-border);
}

.gc6b-winner-avatar {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: var(--gc6b-bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gc6b-primary);
  font-size: 1.4rem;
  flex-shrink: 0;
}

.gc6b-winner-info {
  flex: 1;
}

.gc6b-winner-name {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--gc6b-text);
}

.gc6b-winner-game {
  font-size: 1.1rem;
  color: var(--gc6b-text-dim);
}

.gc6b-winner-amount {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gc6b-accent);
}

/* ===== TESTIMONIALS ===== */
.gc6b-testimonial {
  background: var(--gc6b-bg-light);
  border-radius: var(--gc6b-radius);
  padding: 1.2rem;
  margin-bottom: 1rem;
  border-left: 0.3rem solid var(--gc6b-accent);
}

.gc6b-testimonial-text {
  font-size: 1.3rem;
  line-height: 2rem;
  color: var(--gc6b-text-muted);
  font-style: italic;
}

.gc6b-testimonial-author {
  font-size: 1.2rem;
  color: var(--gc6b-text-dim);
  margin-top: 0.5rem;
}

/* ===== FOOTER ===== */
.gc6b-footer {
  background: var(--gc6b-bg-light);
  padding: 2rem 1.2rem;
  border-top: 0.1rem solid var(--gc6b-border);
  max-width: 43rem;
  margin: 0 auto;
}

.gc6b-footer-brand {
  font-size: 1.2rem;
  line-height: 1.8rem;
  color: var(--gc6b-text-dim);
  margin-bottom: 1.5rem;
}

.gc6b-footer-promos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
  justify-content: center;
}

.gc6b-footer-promos .gc6b-promo-btn {
  font-size: 1.1rem;
  padding: 0.6rem 1.2rem;
}

.gc6b-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.2rem;
  margin-bottom: 1.5rem;
  justify-content: center;
}

.gc6b-footer-links a {
  font-size: 1.2rem;
  color: var(--gc6b-text-muted);
}

.gc6b-footer-copy {
  text-align: center;
  font-size: 1.1rem;
  color: var(--gc6b-text-dim);
}

/* ===== BOTTOM NAVIGATION ===== */
.gc6b-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--gc6b-bottom-h);
  background: var(--gc6b-bg);
  border-top: 0.1rem solid var(--gc6b-border);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  padding: 0 0.5rem;
}

.gc6b-bottom-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 5.5rem;
  min-height: 5rem;
  background: transparent;
  border: none;
  color: var(--gc6b-text-dim);
  cursor: pointer;
  transition: color 0.2s, transform 0.2s;
  text-decoration: none;
  padding: 0.3rem;
  border-radius: 0.6rem;
}

.gc6b-bottom-nav-btn:hover {
  color: var(--gc6b-primary);
  transform: scale(1.1);
}

.gc6b-bottom-nav-btn:active {
  transform: scale(0.95);
}

.gc6b-nav-active {
  color: var(--gc6b-accent2) !important;
  background: rgba(255,107,122,0.08);
}

.gc6b-nav-icon {
  font-size: 2.4rem;
  line-height: 1;
  margin-bottom: 0.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gc6b-nav-icon .material-icons {
  font-size: 2.4rem;
}

.gc6b-nav-label {
  font-size: 1rem;
  line-height: 1.2;
}

/* ===== MOBILE PADDING ===== */
@media (max-width: 768px) {
  .gc6b-main {
    padding-bottom: 7rem;
  }
  .gc6b-footer {
    padding-bottom: 7rem;
  }
}

/* ===== DESKTOP: HIDE BOTTOM NAV ===== */
@media (min-width: 769px) {
  .gc6b-bottom-nav {
    display: none;
  }
  .gc6b-main {
    padding-bottom: 2rem;
  }
  .gc6b-footer {
    padding-bottom: 2rem;
  }
}

/* ===== PAYMENT ICONS ===== */
.gc6b-payment-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin: 1rem 0;
}

.gc6b-payment-item {
  background: var(--gc6b-bg-light);
  border-radius: 0.6rem;
  padding: 0.8rem 1.2rem;
  font-size: 1.3rem;
  color: var(--gc6b-text-muted);
  border: 0.1rem solid var(--gc6b-border);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ===== FAQ ITEMS ===== */
.gc6b-faq-item {
  margin-bottom: 1.2rem;
  padding: 1rem;
  background: var(--gc6b-bg-light);
  border-radius: var(--gc6b-radius);
  border-left: 0.3rem solid var(--gc6b-accent);
}

.gc6b-faq-q {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gc6b-primary);
  margin-bottom: 0.5rem;
}

.gc6b-faq-a {
  font-size: 1.3rem;
  color: var(--gc6b-text-muted);
  line-height: 2rem;
}

/* ===== SAFETY LIST ===== */
.gc6b-safety-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.2rem;
  padding: 1rem;
  background: var(--gc6b-bg-light);
  border-radius: var(--gc6b-radius);
}

.gc6b-safety-icon {
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 50%;
  background: rgba(255,179,186,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gc6b-primary);
  font-size: 1.6rem;
  flex-shrink: 0;
}

.gc6b-safety-text h3 {
  font-size: 1.3rem;
  color: var(--gc6b-primary);
  margin-bottom: 0.3rem;
}

.gc6b-safety-text p {
  font-size: 1.2rem;
  color: var(--gc6b-text-muted);
  line-height: 1.8rem;
}

/* ===== APP DOWNLOAD CTA ===== */
.gc6b-app-cta {
  text-align: center;
  padding: 1.5rem 0;
}

.gc6b-app-btns {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  margin-top: 1.2rem;
}

.gc6b-app-btns .gc6b-promo-btn {
  width: 100%;
  max-width: 28rem;
}
