/**
 * phjion.cfd - Main Stylesheet
 * Prefix: g2f0-
 * Color Palette: #FFF176 | #DDA0DD | #DA70D6 | #808080 | #273746 | #E65100
 * Mobile-first responsive design, max-width: 430px
 */

/* === CSS Variables === */
:root {
  --g2f0-primary: #E65100;
  --g2f0-secondary: #DA70D6;
  --g2f0-accent: #FFF176;
  --g2f0-light-purple: #DDA0DD;
  --g2f0-gray: #808080;
  --g2f0-dark: #273746;
  --g2f0-bg: #1a1a2e;
  --g2f0-bg-light: #16213e;
  --g2f0-bg-card: #1e2a45;
  --g2f0-text: #f0f0f0;
  --g2f0-text-muted: #a0a8b8;
  --g2f0-border: #2a3a55;
  --g2f0-gradient: linear-gradient(135deg, #E65100, #DA70D6);
  --g2f0-radius: 8px;
  --g2f0-radius-lg: 12px;
  --g2f0-shadow: 0 4px 15px rgba(0,0,0,0.3);
  --g2f0-header-h: 56px;
  --g2f0-bottom-h: 60px;
  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: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 1.6rem;
  line-height: 1.5rem;
  background: var(--g2f0-bg);
  color: var(--g2f0-text);
  overflow-x: hidden;
  max-width: 430px;
  margin: 0 auto;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--g2f0-accent); text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* === Header === */
.g2f0-header {
  position: fixed; top: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 430px; height: var(--g2f0-header-h);
  background: var(--g2f0-dark); border-bottom: 2px solid var(--g2f0-primary);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 1.2rem; z-index: 1000;
}
.g2f0-logo-wrap {
  display: flex; align-items: center; gap: 0.8rem; cursor: pointer;
}
.g2f0-logo-wrap img { width: 32px; height: 32px; border-radius: 4px; }
.g2f0-logo-text { font-size: 2rem; font-weight: 800; color: var(--g2f0-accent); letter-spacing: 1px; }
.g2f0-header-actions { display: flex; align-items: center; gap: 0.6rem; }
.g2f0-btn-reg {
  background: var(--g2f0-primary); color: #fff; border: none;
  padding: 0.6rem 1.4rem; border-radius: 20px; font-size: 1.3rem;
  font-weight: 700; cursor: pointer; transition: all 0.3s;
}
.g2f0-btn-reg:hover { background: #ff6d1a; transform: scale(1.05); }
.g2f0-btn-login {
  background: transparent; color: var(--g2f0-accent); border: 1.5px solid var(--g2f0-accent);
  padding: 0.5rem 1.2rem; border-radius: 20px; font-size: 1.3rem;
  font-weight: 600; cursor: pointer; transition: all 0.3s;
}
.g2f0-btn-login:hover { background: rgba(255,241,118,0.1); }
.g2f0-menu-btn {
  background: none; border: none; color: var(--g2f0-text); font-size: 2.4rem;
  cursor: pointer; padding: 0.4rem; display: flex; align-items: center;
}

/* === Mobile Menu === */
.g2f0-menu-overlay {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.6); z-index: 9998; opacity: 0;
  pointer-events: none; transition: opacity 0.3s;
}
.g2f0-overlay-active { opacity: 1; pointer-events: auto; }
.g2f0-mobile-menu {
  position: fixed; top: 0; right: -280px; width: 280px; height: 100%;
  background: var(--g2f0-bg-light); z-index: 9999;
  transition: right 0.35s ease; padding: 2rem 1.5rem; overflow-y: auto;
}
.g2f0-menu-active { right: 0; }
.g2f0-menu-close {
  background: none; border: none; color: var(--g2f0-text);
  font-size: 2.8rem; cursor: pointer; position: absolute;
  top: 1rem; right: 1.2rem;
}
.g2f0-menu-title {
  font-size: 1.8rem; font-weight: 700; color: var(--g2f0-accent);
  margin-bottom: 2rem; padding-bottom: 1rem; border-bottom: 1px solid var(--g2f0-border);
}
.g2f0-menu-link {
  display: block; padding: 1.2rem 0; color: var(--g2f0-text);
  font-size: 1.5rem; border-bottom: 1px solid var(--g2f0-border);
  transition: color 0.2s, padding-left 0.2s;
}
.g2f0-menu-link:hover { color: var(--g2f0-accent); padding-left: 0.8rem; }

/* === Main Content === */
.g2f0-main {
  padding-top: calc(var(--g2f0-header-h) + 0.8rem);
  padding-bottom: 1.5rem;
  min-height: 100vh;
}
@media (max-width: 768px) {
  .g2f0-main { padding-bottom: calc(var(--g2f0-bottom-h) + 1.5rem); }
}

/* === Carousel === */
.g2f0-carousel {
  position: relative; width: 100%; overflow: hidden;
  border-radius: var(--g2f0-radius-lg); margin-bottom: 1.5rem;
}
.g2f0-carousel-slide {
  display: none; width: 100%; cursor: pointer;
}
.g2f0-carousel-slide img { width: 100%; height: auto; border-radius: var(--g2f0-radius-lg); }
.g2f0-slide-active { display: block; }
.g2f0-carousel-dots {
  position: absolute; bottom: 1rem; left: 50%; transform: translateX(-50%);
  display: flex; gap: 0.6rem;
}
.g2f0-carousel-dot {
  width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.4);
  cursor: pointer; transition: all 0.3s; border: none;
}
.g2f0-dot-active { background: var(--g2f0-accent); transform: scale(1.3); }

/* === Section Titles === */
.g2f0-section-title {
  font-size: 2rem; font-weight: 800; color: var(--g2f0-accent);
  margin: 2rem 0 1rem; padding: 0 1.2rem; position: relative;
}
.g2f0-section-title::after {
  content: ''; display: block; width: 50px; height: 3px;
  background: var(--g2f0-primary); margin-top: 0.5rem; border-radius: 2px;
}
.g2f0-section-subtitle {
  font-size: 1.4rem; color: var(--g2f0-text-muted); margin-bottom: 1.2rem;
  padding: 0 1.2rem;
}

/* === Game Grid === */
.g2f0-game-section { padding: 0 1rem; margin-bottom: 2rem; }
.g2f0-cat-title {
  font-size: 1.7rem; font-weight: 700; color: var(--g2f0-secondary);
  margin: 1.5rem 0 1rem; padding-left: 0.5rem;
  border-left: 3px solid var(--g2f0-primary);
}
.g2f0-game-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}
.g2f0-game-item {
  text-align: center; cursor: pointer; transition: transform 0.2s;
  border-radius: var(--g2f0-radius); overflow: hidden;
  background: var(--g2f0-bg-card); padding: 0.5rem;
}
.g2f0-game-item:hover { transform: translateY(-3px); }
.g2f0-game-item img {
  width: 100%; aspect-ratio: 1; border-radius: 6px; object-fit: cover;
  margin-bottom: 0.3rem;
}
.g2f0-game-item span {
  font-size: 1.1rem; color: var(--g2f0-text); display: block;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  line-height: 1.3;
}

/* === Content Blocks === */
.g2f0-content-block {
  padding: 1.5rem 1.2rem; margin: 1rem 0;
}
.g2f0-content-block h2 {
  font-size: 1.8rem; color: var(--g2f0-accent); margin-bottom: 1rem;
  font-weight: 700;
}
.g2f0-content-block h3 {
  font-size: 1.5rem; color: var(--g2f0-light-purple); margin: 1rem 0 0.5rem;
  font-weight: 600;
}
.g2f0-content-block p {
  color: var(--g2f0-text-muted); line-height: 2.4rem; margin-bottom: 0.8rem;
  font-size: 1.4rem;
}
.g2f0-content-block ul { padding-left: 1.5rem; margin-bottom: 1rem; }
.g2f0-content-block li {
  color: var(--g2f0-text-muted); line-height: 2.2rem; font-size: 1.4rem;
  margin-bottom: 0.4rem; position: relative; padding-left: 1rem;
}
.g2f0-content-block li::before {
  content: ''; position: absolute; left: 0; top: 1rem;
  width: 5px; height: 5px; border-radius: 50%; background: var(--g2f0-primary);
}

/* === CTA Button === */
.g2f0-cta-btn {
  display: inline-block; background: var(--g2f0-gradient);
  color: #fff; font-size: 1.5rem; font-weight: 700;
  padding: 1rem 2.5rem; border-radius: 30px; border: none;
  cursor: pointer; transition: all 0.3s; text-align: center;
  box-shadow: 0 4px 15px rgba(230,81,0,0.4);
}
.g2f0-cta-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(230,81,0,0.6); }
.g2f0-cta-wrap { text-align: center; padding: 1.5rem 0; }

/* === Promo Text Link === */
.g2f0-promo-link {
  color: var(--g2f0-primary); font-weight: 700; cursor: pointer;
  text-decoration: underline; transition: color 0.2s;
}
.g2f0-promo-link:hover { color: var(--g2f0-accent); }

/* === Footer === */
.g2f0-footer {
  background: var(--g2f0-dark); padding: 2rem 1.2rem 1.5rem;
  border-top: 2px solid var(--g2f0-primary); margin-top: 2rem;
}
.g2f0-footer-brand { font-size: 1.4rem; color: var(--g2f0-text-muted); line-height: 2.2rem; margin-bottom: 1.5rem; }
.g2f0-footer-links {
  display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1.5rem;
}
.g2f0-footer-link {
  background: var(--g2f0-bg-card); color: var(--g2f0-text);
  padding: 0.5rem 1rem; border-radius: 15px; font-size: 1.2rem;
  cursor: pointer; transition: all 0.3s; border: 1px solid var(--g2f0-border);
}
.g2f0-footer-link:hover { border-color: var(--g2f0-primary); color: var(--g2f0-accent); }
.g2f0-footer-copy {
  font-size: 1.2rem; color: var(--g2f0-gray); text-align: center;
  padding-top: 1rem; border-top: 1px solid var(--g2f0-border);
}

/* === Bottom Navigation === */
.g2f0-bottom-nav {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 430px; height: var(--g2f0-bottom-h);
  background: var(--g2f0-dark); border-top: 2px solid var(--g2f0-primary);
  display: flex; justify-content: space-around; align-items: center;
  z-index: 1000; padding: 0 0.3rem;
}
.g2f0-bottom-nav-btn {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; min-width: 60px; min-height: 52px;
  background: none; border: none; cursor: pointer;
  color: var(--g2f0-text-muted); transition: all 0.25s;
  border-radius: 8px; padding: 0.3rem;
}
.g2f0-bottom-nav-btn:hover, .g2f0-bottom-nav-btn:focus {
  color: var(--g2f0-accent); background: rgba(255,241,118,0.08);
}
.g2f0-bottom-nav-btn span { font-size: 1rem; margin-top: 0.2rem; }
.g2f0-bottom-nav-btn .g2f0-nav-icon { font-size: 2.2rem; line-height: 1; }
.g2f0-bottom-nav-btn.g2f0-active { color: var(--g2f0-primary); }

@media (min-width: 769px) {
  .g2f0-bottom-nav { display: none; }
}

/* === Card Component === */
.g2f0-card {
  background: var(--g2f0-bg-card); border-radius: var(--g2f0-radius-lg);
  padding: 1.5rem; margin: 1rem 1.2rem; border: 1px solid var(--g2f0-border);
  box-shadow: var(--g2f0-shadow);
}
.g2f0-card h3 {
  font-size: 1.5rem; color: var(--g2f0-accent); margin-bottom: 0.8rem;
}
.g2f0-card p { color: var(--g2f0-text-muted); line-height: 2.2rem; font-size: 1.4rem; }

/* === Testimonial === */
.g2f0-testimonial {
  background: var(--g2f0-bg-card); border-radius: var(--g2f0-radius);
  padding: 1.2rem; margin: 0.8rem 1.2rem; border-left: 3px solid var(--g2f0-secondary);
}
.g2f0-testimonial-name { font-size: 1.3rem; color: var(--g2f0-accent); font-weight: 600; margin-bottom: 0.4rem; }
.g2f0-testimonial-text { font-size: 1.3rem; color: var(--g2f0-text-muted); line-height: 2rem; }

/* === Winner Display === */
.g2f0-winners-list { padding: 0 1.2rem; }
.g2f0-winner-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.8rem 1rem; background: var(--g2f0-bg-card); border-radius: 6px;
  margin-bottom: 0.5rem;
}
.g2f0-winner-name { font-size: 1.3rem; color: var(--g2f0-text); }
.g2f0-winner-game { font-size: 1.1rem; color: var(--g2f0-gray); }
.g2f0-winner-amount { font-size: 1.4rem; color: var(--g2f0-primary); font-weight: 700; }

/* === Payment Icons === */
.g2f0-payment-row {
  display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap;
  padding: 1rem 0;
}
.g2f0-payment-item {
  background: var(--g2f0-bg-card); padding: 0.6rem 1.2rem; border-radius: 6px;
  font-size: 1.2rem; color: var(--g2f0-text-muted); border: 1px solid var(--g2f0-border);
}

/* === Responsive Helpers === */
.g2f0-container { padding: 0 1.2rem; max-width: 430px; margin: 0 auto; }
.g2f0-text-center { text-align: center; }
.g2f0-mt-1 { margin-top: 1rem; }
.g2f0-mb-1 { margin-bottom: 1rem; }
.g2f0-hidden { display: none; }

/* === Help Page Styles === */
.g2f0-help-section { padding: 1.5rem 1.2rem; }
.g2f0-help-section h2 {
  font-size: 1.7rem; color: var(--g2f0-accent); margin-bottom: 0.8rem; font-weight: 700;
}
.g2f0-help-section h3 {
  font-size: 1.4rem; color: var(--g2f0-light-purple); margin: 1rem 0 0.5rem; font-weight: 600;
}
.g2f0-help-section p {
  color: var(--g2f0-text-muted); line-height: 2.3rem; font-size: 1.4rem; margin-bottom: 0.8rem;
}
.g2f0-help-section ul { padding-left: 1.5rem; margin-bottom: 1rem; }
.g2f0-help-section li {
  color: var(--g2f0-text-muted); line-height: 2.1rem; font-size: 1.4rem; margin-bottom: 0.3rem;
}

/* === FAQ Accordion === */
.g2f0-faq-item { margin-bottom: 0.8rem; }
.g2f0-faq-q {
  font-size: 1.4rem; font-weight: 600; color: var(--g2f0-accent);
  padding: 0.8rem; background: var(--g2f0-bg-card); border-radius: 6px;
  cursor: pointer;
}
.g2f0-faq-a {
  font-size: 1.3rem; color: var(--g2f0-text-muted); padding: 0.8rem;
  line-height: 2rem; border-left: 2px solid var(--g2f0-primary); margin: 0.5rem 0 0 0.5rem;
}

/* === Desktop Styles === */
@media (min-width: 769px) {
  body { max-width: 430px; }
  .g2f0-header { max-width: 430px; }
  .g2f0-footer { max-width: 430px; margin-left: auto; margin-right: auto; }
}
