/**
 * jiliee.cfd - Core Stylesheet
 * Prefix: g950-
 * Color Palette: #2D2D2D (dark bg) | #FFB3FF (pink accent) | #6F4E37 (brown) | #DEE2E6 (light text)
 * Mobile-first design, max-width 430px
 */

/* === CSS Variables === */
:root {
  --g950-bg: #2D2D2D;
  --g950-bg-alt: #1A1A1A;
  --g950-bg-card: #363636;
  --g950-accent: #FFB3FF;
  --g950-accent-dark: #D98ED9;
  --g950-brown: #6F4E37;
  --g950-brown-light: #8B6F55;
  --g950-text: #DEE2E6;
  --g950-text-muted: #A0A4A8;
  --g950-white: #FFFFFF;
  --g950-border: #4A4A4A;
  --g950-radius: 8px;
  --g950-radius-lg: 12px;
  --g950-shadow: 0 2px 8px rgba(0,0,0,0.3);
  --g950-font: 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: 62.5%;
}

/* === Reset & Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--g950-font);
  background: var(--g950-bg);
  color: var(--g950-text);
  font-size: 1.4rem;
  line-height: 1.5;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--g950-accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--g950-white); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* === Header === */
.g950-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 1000;
  background: linear-gradient(135deg, var(--g950-bg-alt) 0%, #2D2D2D 100%);
  border-bottom: 2px solid var(--g950-brown);
  padding: 0 1rem;
}
.g950-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 52px;
}
.g950-logo-area {
  display: flex;
  align-items: center;
  gap: 8px;
}
.g950-logo-area img { width: 28px; height: 28px; border-radius: 4px; }
.g950-logo-area span { font-size: 1.8rem; font-weight: 700; color: var(--g950-accent); letter-spacing: 1px; }
.g950-header-btns {
  display: flex;
  align-items: center;
  gap: 8px;
}
.g950-btn-register {
  background: linear-gradient(135deg, var(--g950-accent), var(--g950-accent-dark));
  color: var(--g950-bg-alt);
  border: none;
  padding: 6px 14px;
  border-radius: var(--g950-radius);
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s;
}
.g950-btn-register:hover { transform: scale(1.05); box-shadow: 0 0 12px rgba(255,179,255,0.4); }
.g950-btn-login {
  background: transparent;
  color: var(--g950-accent);
  border: 1px solid var(--g950-accent);
  padding: 5px 14px;
  border-radius: var(--g950-radius);
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.g950-btn-login:hover { background: rgba(255,179,255,0.1); }
.g950-menu-toggle {
  background: none;
  border: none;
  color: var(--g950-text);
  font-size: 2rem;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
}

/* === Mobile Menu === */
.g950-mobile-menu {
  display: none;
  position: fixed;
  top: 54px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  background: var(--g950-bg-alt);
  border-bottom: 2px solid var(--g950-brown);
  z-index: 9999;
  padding: 1rem;
  animation: g950-slideDown 0.25s ease-out;
}
@keyframes g950-slideDown {
  from { opacity: 0; transform: translateX(-50%) translateY(-10px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}
.g950-mobile-menu a {
  display: block;
  padding: 10px 12px;
  color: var(--g950-text);
  font-size: 1.4rem;
  border-bottom: 1px solid var(--g950-border);
  transition: background 0.2s, color 0.2s;
}
.g950-mobile-menu a:hover { background: rgba(255,179,255,0.08); color: var(--g950-accent); }

/* === Main Content === */
.g950-main {
  padding-top: 60px;
  padding-bottom: 20px;
}
@media (max-width: 768px) {
  .g950-main { padding-bottom: 80px; }
}

/* === Carousel === */
.g950-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 0 0 var(--g950-radius-lg) var(--g950-radius-lg);
}
.g950-carousel-slide {
  display: none;
  width: 100%;
  cursor: pointer;
}
.g950-carousel-slide img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/7;
  object-fit: cover;
}
.g950-carousel-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}
.g950-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
.g950-dot-active { background: var(--g950-accent); }

/* === Section === */
.g950-section {
  padding: 1.5rem 1rem;
}
.g950-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--g950-accent);
  margin-bottom: 1rem;
  padding-left: 8px;
  border-left: 3px solid var(--g950-brown);
}
.g950-section-title i { margin-right: 6px; }

/* === Game Grid === */
.g950-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.g950-game-item {
  text-align: center;
  cursor: pointer;
  border-radius: var(--g950-radius);
  overflow: hidden;
  background: var(--g950-bg-card);
  transition: transform 0.15s, box-shadow 0.2s;
}
.g950-game-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255,179,255,0.15);
}
.g950-game-item img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: var(--g950-radius) var(--g950-radius) 0 0;
}
.g950-game-name {
  font-size: 1.05rem;
  color: var(--g950-text);
  padding: 4px 2px 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* === Category Label === */
.g950-cat-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, var(--g950-brown), var(--g950-brown-light));
  color: var(--g950-white);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

/* === Content Blocks === */
.g950-content-block {
  background: var(--g950-bg-card);
  border-radius: var(--g950-radius-lg);
  padding: 1.5rem;
  margin-bottom: 1rem;
  border: 1px solid var(--g950-border);
}
.g950-content-block h2 {
  font-size: 1.6rem;
  color: var(--g950-accent);
  margin-bottom: 0.8rem;
}
.g950-content-block h3 {
  font-size: 1.4rem;
  color: var(--g950-brown-light);
  margin-bottom: 0.6rem;
}
.g950-content-block p {
  font-size: 1.3rem;
  line-height: 1.5;
  color: var(--g950-text);
  margin-bottom: 0.8rem;
}
.g950-content-block ul {
  padding-left: 1.5rem;
  list-style: disc;
}
.g950-content-block li {
  font-size: 1.3rem;
  line-height: 1.5;
  color: var(--g950-text);
  margin-bottom: 0.4rem;
}

/* === Promo Buttons === */
.g950-promo-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--g950-accent), var(--g950-accent-dark));
  color: var(--g950-bg-alt);
  padding: 10px 24px;
  border-radius: var(--g950-radius);
  font-size: 1.3rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s;
  text-align: center;
}
.g950-promo-btn:hover {
  transform: scale(1.04);
  box-shadow: 0 0 16px rgba(255,179,255,0.35);
  color: var(--g950-bg-alt);
}
.g950-promo-text {
  color: var(--g950-accent);
  font-weight: 600;
  cursor: pointer;
  border-bottom: 1px dashed var(--g950-accent);
  transition: color 0.2s;
}
.g950-promo-text:hover { color: var(--g950-white); }

/* === Footer === */
.g950-footer {
  background: var(--g950-bg-alt);
  border-top: 2px solid var(--g950-brown);
  padding: 2rem 1rem 6rem;
  text-align: center;
}
.g950-footer-brand {
  font-size: 1.3rem;
  color: var(--g950-text-muted);
  margin-bottom: 1rem;
  line-height: 1.5;
}
.g950-footer-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.g950-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  justify-content: center;
  margin-bottom: 1rem;
}
.g950-footer-links a {
  font-size: 1.2rem;
  color: var(--g950-text-muted);
}
.g950-footer-links a:hover { color: var(--g950-accent); }
.g950-copyright {
  font-size: 1.1rem;
  color: var(--g950-text-muted);
  border-top: 1px solid var(--g950-border);
  padding-top: 1rem;
}

/* === Bottom Navigation === */
.g950-bnav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 60px;
  background: linear-gradient(180deg, #1A1A1A 0%, #111111 100%);
  border-top: 2px solid var(--g950-brown);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  padding: 0 4px;
}
.g950-bnav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 56px;
  background: none;
  border: none;
  color: var(--g950-text-muted);
  cursor: pointer;
  transition: color 0.2s, transform 0.15s;
  padding: 4px 0;
  text-decoration: none;
}
.g950-bnav-btn i, .g950-bnav-btn .material-icons {
  font-size: 22px;
  margin-bottom: 2px;
  transition: color 0.2s;
}
.g950-bnav-btn span {
  font-size: 1rem;
  font-weight: 500;
}
.g950-bnav-btn:hover, .g950-bnav-active {
  color: var(--g950-accent);
  transform: scale(1.08);
}
.g950-bnav-active i, .g950-bnav-active .material-icons {
  color: var(--g950-accent);
}
@media (min-width: 769px) {
  .g950-bnav { display: none; }
}

/* === Testimonial === */
.g950-testimonial {
  background: var(--g950-bg-card);
  border-radius: var(--g950-radius-lg);
  padding: 1.2rem;
  margin-bottom: 0.8rem;
  border-left: 3px solid var(--g950-accent);
}
.g950-testimonial-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--g950-accent);
  margin-bottom: 4px;
}
.g950-testimonial-text {
  font-size: 1.2rem;
  color: var(--g950-text);
  line-height: 1.4;
}

/* === Winner Display === */
.g950-winner-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: var(--g950-bg-card);
  border-radius: var(--g950-radius);
  margin-bottom: 6px;
  font-size: 1.2rem;
}
.g950-winner-name { color: var(--g950-accent); font-weight: 600; }
.g950-winner-amount { color: var(--g950-brown-light); font-weight: 700; }
.g950-winner-game { color: var(--g950-text-muted); font-size: 1.1rem; }

/* === Payment Icons === */
.g950-payment-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.g950-payment-item {
  background: var(--g950-bg-card);
  border-radius: var(--g950-radius);
  padding: 8px 14px;
  font-size: 1.1rem;
  color: var(--g950-text-muted);
  border: 1px solid var(--g950-border);
}

/* === FAQ === */
.g950-faq-item {
  background: var(--g950-bg-card);
  border-radius: var(--g950-radius);
  padding: 1rem 1.2rem;
  margin-bottom: 0.8rem;
  border: 1px solid var(--g950-border);
}
.g950-faq-q {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--g950-accent);
  margin-bottom: 0.5rem;
}
.g950-faq-a {
  font-size: 1.2rem;
  color: var(--g950-text);
  line-height: 1.5;
}

/* === Responsive Helpers === */
.g950-text-center { text-align: center; }
.g950-mt-1 { margin-top: 1rem; }
.g950-mb-1 { margin-bottom: 1rem; }
.g950-mb-2 { margin-bottom: 2rem; }

/* === Scrollbar === */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--g950-bg); }
::-webkit-scrollbar-thumb { background: var(--g950-brown); border-radius: 4px; }

/* === Partner Logos === */
.g950-partners {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 1rem 0;
}
.g950-partners img {
  height: 24px;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.g950-partners img:hover { opacity: 1; }

/* === Achievement Badge === */
.g950-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(111,78,55,0.2);
  border: 1px solid var(--g950-brown);
  border-radius: 20px;
  padding: 4px 10px;
  font-size: 1.1rem;
  color: var(--g950-brown-light);
}
