/* layout-d3f4.css - 6777bd Website Core Styles */
/* All classes use gf4c- prefix for namespace isolation */
/* Color palette: #E9ECEF #DDA0DD #F8F8FF #1B263B #FF69B4 #9932CC */

:root {
  --gf4c-bg-dark: #1B263B;
  --gf4c-bg-card: #243447;
  --gf4c-bg-light: #2d4059;
  --gf4c-text-light: #E9ECEF;
  --gf4c-text-muted: #a0aec0;
  --gf4c-pink: #FF69B4;
  --gf4c-plum: #DDA0DD;
  --gf4c-purple: #9932CC;
  --gf4c-ghost: #F8F8FF;
  --gf4c-accent: #FF69B4;
  --gf4c-gold: #FFD700;
  --gf4c-radius: 0.8rem;
  --gf4c-radius-sm: 0.5rem;
  --gf4c-shadow: 0 0.2rem 0.8rem rgba(0,0,0,0.3);
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 62.5%; scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: var(--gf4c-bg-dark);
  color: var(--gf4c-text-light);
  line-height: 1.5rem;
  font-size: 1.4rem;
  max-width: 430px;
  margin: 0 auto;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { text-decoration: none; color: var(--gf4c-pink); }
img { max-width: 100%; height: auto; display: block; }

/* Container */
.gf4c-container { width: 100%; padding: 0 1.2rem; }
.gf4c-wrapper { padding: 1rem 0; }

/* Header */
.gf4c-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(135deg, var(--gf4c-bg-dark) 0%, #1a1a3e 100%);
  border-bottom: 0.2rem solid var(--gf4c-purple);
  max-width: 430px; margin: 0 auto;
}
.gf4c-header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.6rem 1rem; max-width: 430px; margin: 0 auto;
}
.gf4c-logo-area { display: flex; align-items: center; gap: 0.6rem; cursor: pointer; }
.gf4c-logo-area img { width: 2.8rem; height: 2.8rem; border-radius: 0.4rem; }
.gf4c-logo-text { font-size: 1.6rem; font-weight: 700; color: var(--gf4c-gold); letter-spacing: 0.05rem; }
.gf4c-header-actions { display: flex; gap: 0.6rem; align-items: center; }
.gf4c-btn-register {
  background: linear-gradient(135deg, var(--gf4c-pink), var(--gf4c-purple));
  color: #fff; border: none; padding: 0.5rem 1.2rem; border-radius: 2rem;
  font-size: 1.2rem; font-weight: 600; cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  min-height: 3.2rem; min-width: 5.5rem;
}
.gf4c-btn-register:hover { transform: scale(1.05); box-shadow: 0 0.3rem 1rem rgba(255,105,180,0.4); }
.gf4c-btn-login {
  background: transparent; color: var(--gf4c-plum); border: 0.15rem solid var(--gf4c-plum);
  padding: 0.5rem 1.2rem; border-radius: 2rem; font-size: 1.2rem; font-weight: 600;
  cursor: pointer; transition: all 0.2s; min-height: 3.2rem; min-width: 5.5rem;
}
.gf4c-btn-login:hover { background: var(--gf4c-plum); color: var(--gf4c-bg-dark); }
.gf4c-menu-toggle {
  background: none; border: none; color: var(--gf4c-text-light);
  font-size: 2rem; cursor: pointer; padding: 0.4rem; display: flex; align-items: center;
}

/* Mobile Menu */
.gf4c-mobile-menu {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 9999;
  background: rgba(27,38,59,0.97); display: none; flex-direction: column;
  padding-top: 5rem;
}
.gf4c-mobile-menu.gf4c-menu-active { display: flex; }
.gf4c-menu-close {
  position: absolute; top: 1rem; right: 1.2rem; background: none;
  border: none; color: var(--gf4c-text-light); font-size: 2.4rem; cursor: pointer;
}
.gf4c-menu-links { list-style: none; padding: 1rem 2rem; }
.gf4c-menu-links li { border-bottom: 0.1rem solid rgba(255,255,255,0.08); }
.gf4c-menu-links a {
  display: block; padding: 1.2rem 0.5rem; color: var(--gf4c-text-light);
  font-size: 1.5rem; transition: color 0.2s;
}
.gf4c-menu-links a:hover { color: var(--gf4c-pink); }

/* Carousel */
.gf4c-carousel { position: relative; overflow: hidden; margin-top: 5.2rem; border-radius: 0; }
.gf4c-carousel-slide {
  display: none; width: 100%; cursor: pointer; position: relative;
}
.gf4c-carousel-slide.gf4c-slide-active { display: block; }
.gf4c-carousel-slide img { width: 100%; height: auto; aspect-ratio: 16/8; object-fit: cover; }
.gf4c-carousel-dots {
  position: absolute; bottom: 0.8rem; left: 50%; transform: translateX(-50%);
  display: flex; gap: 0.6rem; z-index: 5;
}
.gf4c-carousel-dot {
  width: 0.8rem; height: 0.8rem; border-radius: 50%;
  background: rgba(255,255,255,0.4); cursor: pointer; transition: background 0.3s;
}
.gf4c-carousel-dot.gf4c-dot-active { background: var(--gf4c-pink); }

/* Section */
.gf4c-section { padding: 1.5rem 1rem; }
.gf4c-section-title {
  font-size: 1.6rem; font-weight: 700; margin-bottom: 1rem;
  color: var(--gf4c-gold); border-left: 0.3rem solid var(--gf4c-pink);
  padding-left: 0.8rem;
}
.gf4c-section-subtitle {
  font-size: 1.3rem; color: var(--gf4c-text-muted); margin-bottom: 0.8rem;
}

/* Game Grid */
.gf4c-game-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.6rem;
}
.gf4c-game-item { text-align: center; cursor: pointer; transition: transform 0.2s; }
.gf4c-game-item:hover { transform: scale(1.05); }
.gf4c-game-item img {
  width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: var(--gf4c-radius-sm);
  border: 0.15rem solid var(--gf4c-bg-light); margin-bottom: 0.3rem;
}
.gf4c-game-name {
  font-size: 1rem; color: var(--gf4c-text-light); line-height: 1.2rem;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* Category Header */
.gf4c-cat-header {
  display: flex; align-items: center; gap: 0.6rem;
  margin-bottom: 0.8rem; margin-top: 0.5rem;
}
.gf4c-cat-icon { font-size: 1.8rem; }
.gf4c-cat-title { font-size: 1.4rem; font-weight: 600; color: var(--gf4c-plum); }

/* Card */
.gf4c-card {
  background: var(--gf4c-bg-card); border-radius: var(--gf4c-radius);
  padding: 1.2rem; margin-bottom: 1rem; box-shadow: var(--gf4c-shadow);
  border: 0.1rem solid rgba(153,50,204,0.2);
}

/* Buttons */
.gf4c-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.8rem 1.6rem; border-radius: 2rem; font-size: 1.3rem;
  font-weight: 600; cursor: pointer; border: none; transition: all 0.2s;
  min-height: 4rem; text-decoration: none;
}
.gf4c-btn-primary {
  background: linear-gradient(135deg, var(--gf4c-pink), var(--gf4c-purple));
  color: #fff;
}
.gf4c-btn-primary:hover { box-shadow: 0 0.4rem 1.2rem rgba(255,105,180,0.5); transform: translateY(-0.1rem); }
.gf4c-btn-outline {
  background: transparent; border: 0.15rem solid var(--gf4c-pink); color: var(--gf4c-pink);
}
.gf4c-btn-outline:hover { background: var(--gf4c-pink); color: #fff; }

/* Promo Link */
.gf4c-promo-link {
  color: var(--gf4c-pink); font-weight: 700; cursor: pointer;
  text-decoration: underline; transition: color 0.2s;
}
.gf4c-promo-link:hover { color: var(--gf4c-plum); }

/* Footer */
.gf4c-footer {
  background: linear-gradient(180deg, var(--gf4c-bg-card) 0%, #111a2b 100%);
  padding: 2rem 1rem; margin-top: 2rem; border-top: 0.15rem solid var(--gf4c-purple);
}
.gf4c-footer-brand { text-align: center; margin-bottom: 1.5rem; }
.gf4c-footer-brand p { font-size: 1.2rem; color: var(--gf4c-text-muted); line-height: 1.6rem; margin-top: 0.5rem; }
.gf4c-footer-links { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; margin-bottom: 1.5rem; }
.gf4c-footer-links a {
  background: var(--gf4c-bg-light); color: var(--gf4c-text-light); padding: 0.5rem 1rem;
  border-radius: 1.5rem; font-size: 1.1rem; transition: all 0.2s;
}
.gf4c-footer-links a:hover { background: var(--gf4c-pink); color: #fff; }
.gf4c-footer-copy { text-align: center; font-size: 1rem; color: var(--gf4c-text-muted); padding-top: 1rem; border-top: 0.1rem solid rgba(255,255,255,0.08); }

/* Bottom Navigation */
.gf4c-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  background: linear-gradient(135deg, #111a2b 0%, var(--gf4c-bg-dark) 100%);
  border-top: 0.15rem solid var(--gf4c-purple);
  display: flex; justify-content: space-around; align-items: center;
  height: 58px; max-width: 430px; margin: 0 auto;
  box-shadow: 0 -0.3rem 1rem rgba(0,0,0,0.4);
}
.gf4c-bottom-nav-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: none; border: none; color: var(--gf4c-text-muted); cursor: pointer;
  min-width: 60px; min-height: 54px; padding: 0.3rem 0; transition: all 0.2s;
  font-size: 1rem; gap: 0.2rem;
}
.gf4c-bottom-nav-btn:hover, .gf4c-bottom-nav-btn.gf4c-nav-active {
  color: var(--gf4c-pink);
}
.gf4c-bottom-nav-btn .gf4c-nav-icon { font-size: 2.2rem; }
.gf4c-bottom-nav-btn .gf4c-nav-label { font-size: 1rem; }

/* Content area */
.gf4c-main { padding-top: 5.2rem; }

/* Typography */
.gf4c-h1 { font-size: 2rem; font-weight: 700; color: var(--gf4c-gold); margin-bottom: 1rem; line-height: 2.4rem; }
.gf4c-h2 { font-size: 1.7rem; font-weight: 600; color: var(--gf4c-plum); margin-bottom: 0.8rem; }
.gf4c-h3 { font-size: 1.4rem; font-weight: 600; color: var(--gf4c-pink); margin-bottom: 0.6rem; }
.gf4c-text { font-size: 1.3rem; line-height: 1.7rem; color: var(--gf4c-text-light); margin-bottom: 0.8rem; }
.gf4c-text-sm { font-size: 1.1rem; color: var(--gf4c-text-muted); }

/* Winner list */
.gf4c-winner-list { display: flex; flex-direction: column; gap: 0.5rem; }
.gf4c-winner-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.6rem 0.8rem; background: var(--gf4c-bg-light); border-radius: var(--gf4c-radius-sm);
  font-size: 1.1rem;
}
.gf4c-winner-name { color: var(--gf4c-plum); font-weight: 600; }
.gf4c-winner-amount { color: var(--gf4c-gold); font-weight: 700; }

/* Payment icons */
.gf4c-payment-row { display: flex; gap: 0.8rem; flex-wrap: wrap; justify-content: center; margin-top: 0.8rem; }
.gf4c-payment-item {
  background: var(--gf4c-bg-light); padding: 0.5rem 1rem; border-radius: var(--gf4c-radius-sm);
  font-size: 1.1rem; color: var(--gf4c-text-light);
}

/* Responsive */
@media (min-width: 769px) {
  .gf4c-bottom-nav { display: none; }
}
@media (max-width: 768px) {
  .gf4c-main { padding-bottom: 70px; }
}
