/* phpopular Main CSS - All classes use g1c0- prefix */
/* Color palette: #DA70D6 | #34495E | #2C3E50 | #CC99FF | #BDC3C7 */

/* === CSS Variables === */
:root {
  --g1c0-primary: #DA70D6;
  --g1c0-secondary: #CC99FF;
  --g1c0-bg-dark: #2C3E50;
  --g1c0-bg-deep: #1a2332;
  --g1c0-bg-card: #34495E;
  --g1c0-text-light: #BDC3C7;
  --g1c0-text-white: #F0F0F5;
  --g1c0-accent: #DA70D6;
  --g1c0-accent-hover: #E898E4;
  --g1c0-gold: #F0C040;
  --g1c0-green: #2ECC71;
  --g1c0-radius: 0.8rem;
  --g1c0-radius-sm: 0.4rem;
  --g1c0-shadow: 0 2px 12px rgba(0,0,0,0.3);
  --g1c0-transition: all 0.3s ease;
  font-size: 62.5%;
}

/* === Reset & Base === */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--g1c0-bg-deep);
  color: var(--g1c0-text-light);
  font-size: 1.5rem;
  line-height: 1.5rem;
  max-width: 430px;
  margin: 0 auto;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}
a { text-decoration: none; color: var(--g1c0-secondary); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* === Header === */
.g1c0-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  background: linear-gradient(135deg, var(--g1c0-bg-dark) 0%, #1a252f 100%);
  z-index: 1000;
  border-bottom: 2px solid var(--g1c0-primary);
  padding: 0.8rem 1rem;
}
.g1c0-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.g1c0-logo-area {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.g1c0-logo-area img { width: 28px; height: 28px; border-radius: 4px; }
.g1c0-logo-text {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--g1c0-primary);
  letter-spacing: 0.5px;
}
.g1c0-header-btns {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.g1c0-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.2rem;
  border: none;
  border-radius: var(--g1c0-radius-sm);
  font-size: 1.3rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--g1c0-transition);
  white-space: nowrap;
}
.g1c0-btn-register {
  background: linear-gradient(135deg, var(--g1c0-primary), var(--g1c0-secondary));
  color: #fff;
}
.g1c0-btn-register:hover { transform: scale(1.05); box-shadow: 0 0 12px rgba(218,112,214,0.5); }
.g1c0-btn-login {
  background: transparent;
  border: 1.5px solid var(--g1c0-primary);
  color: var(--g1c0-primary);
}
.g1c0-btn-login:hover { background: var(--g1c0-primary); color: #fff; }
.g1c0-menu-toggle {
  background: none;
  border: none;
  color: var(--g1c0-text-light);
  font-size: 2rem;
  cursor: pointer;
  padding: 0.3rem;
  display: flex;
  align-items: center;
}

/* === Mobile Menu === */
.g1c0-mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  background: var(--g1c0-bg-deep);
  border-top: 1px solid rgba(218,112,214,0.2);
}
.g1c0-menu-active { overflow: visible; }
.g1c0-mobile-menu ul {
  padding: 0.8rem 1rem;
}
.g1c0-mobile-menu li {
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.g1c0-mobile-menu li:last-child { border-bottom: none; }
.g1c0-mobile-menu a {
  display: block;
  padding: 1rem 0.5rem;
  color: var(--g1c0-text-light);
  font-size: 1.4rem;
  transition: var(--g1c0-transition);
}
.g1c0-mobile-menu a:hover { color: var(--g1c0-primary); padding-left: 1rem; }

/* === Carousel === */
.g1c0-carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--g1c0-radius);
  margin: 0.8rem;
}
.g1c0-carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}
.g1c0-slide {
  min-width: 100%;
  cursor: pointer;
  position: relative;
}
.g1c0-slide img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: var(--g1c0-radius);
}
.g1c0-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.6rem 0;
}
.g1c0-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--g1c0-bg-card);
  cursor: pointer;
  transition: var(--g1c0-transition);
}
.g1c0-dot-active { background: var(--g1c0-primary); transform: scale(1.3); }

/* === Main Content === */
.g1c0-main {
  padding-top: 56px;
  padding-bottom: 1rem;
}
@media (max-width: 768px) {
  .g1c0-main { padding-bottom: 80px; }
}

/* === Sections === */
.g1c0-section {
  padding: 1.5rem 1rem;
}
.g1c0-section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--g1c0-text-white);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--g1c0-primary);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.g1c0-section-title i, .g1c0-section-title .material-icons {
  color: var(--g1c0-primary);
  font-size: 2rem;
}

/* === Game Grid === */
.g1c0-game-section { margin-bottom: 1rem; }
.g1c0-game-section-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--g1c0-primary);
  padding: 0.8rem 1rem 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.g1c0-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
  padding: 0.5rem 0.8rem;
}
.g1c0-game-item {
  text-align: center;
  cursor: pointer;
  transition: var(--g1c0-transition);
  border-radius: var(--g1c0-radius-sm);
  padding: 0.4rem;
}
.g1c0-game-item:hover { transform: translateY(-2px); background: rgba(218,112,214,0.1); }
.g1c0-game-item img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--g1c0-radius-sm);
  margin-bottom: 0.3rem;
  border: 1px solid rgba(218,112,214,0.2);
}
.g1c0-game-name {
  font-size: 1rem;
  color: var(--g1c0-text-light);
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* === Promo CTA === */
.g1c0-cta-box {
  background: linear-gradient(135deg, var(--g1c0-primary), var(--g1c0-secondary));
  border-radius: var(--g1c0-radius);
  padding: 1.5rem;
  text-align: center;
  margin: 1rem;
  cursor: pointer;
  transition: var(--g1c0-transition);
}
.g1c0-cta-box:hover { transform: scale(1.02); box-shadow: 0 4px 20px rgba(218,112,214,0.4); }
.g1c0-cta-title {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}
.g1c0-cta-text {
  font-size: 1.3rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 1rem;
}
.g1c0-cta-btn {
  display: inline-block;
  background: #fff;
  color: var(--g1c0-primary);
  padding: 0.7rem 2rem;
  border-radius: 2rem;
  font-size: 1.4rem;
  font-weight: 700;
}

/* === Content Cards === */
.g1c0-card {
  background: var(--g1c0-bg-card);
  border-radius: var(--g1c0-radius);
  padding: 1.2rem;
  margin: 0.8rem 1rem;
  border: 1px solid rgba(218,112,214,0.15);
}
.g1c0-card h3 {
  font-size: 1.6rem;
  color: var(--g1c0-primary);
  margin-bottom: 0.6rem;
}
.g1c0-card p {
  font-size: 1.3rem;
  line-height: 2rem;
  color: var(--g1c0-text-light);
}

/* === Features Grid === */
.g1c0-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
  padding: 0.5rem 0;
}
.g1c0-feature-item {
  background: rgba(218,112,214,0.08);
  border-radius: var(--g1c0-radius-sm);
  padding: 1rem;
  text-align: center;
  border: 1px solid rgba(218,112,214,0.12);
}
.g1c0-feature-item i, .g1c0-feature-item .material-icons {
  font-size: 2.2rem;
  color: var(--g1c0-primary);
  margin-bottom: 0.4rem;
}
.g1c0-feature-item h4 {
  font-size: 1.2rem;
  color: var(--g1c0-text-white);
  margin-bottom: 0.3rem;
}
.g1c0-feature-item p {
  font-size: 1.1rem;
  color: var(--g1c0-text-light);
  line-height: 1.4;
}

/* === Footer === */
.g1c0-footer {
  background: var(--g1c0-bg-dark);
  padding: 2rem 1rem 1rem;
  border-top: 2px solid var(--g1c0-primary);
  margin-bottom: 0;
}
@media (max-width: 768px) {
  .g1c0-footer { margin-bottom: 60px; }
}
.g1c0-footer-desc {
  font-size: 1.2rem;
  color: var(--g1c0-text-light);
  line-height: 1.8rem;
  margin-bottom: 1rem;
  text-align: center;
}
.g1c0-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.g1c0-footer-link {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: rgba(218,112,214,0.15);
  border-radius: 2rem;
  color: var(--g1c0-text-light);
  font-size: 1.1rem;
  transition: var(--g1c0-transition);
}
.g1c0-footer-link:hover { background: var(--g1c0-primary); color: #fff; }
.g1c0-footer-copy {
  text-align: center;
  font-size: 1.1rem;
  color: rgba(189,195,199,0.6);
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}

/* === Bottom Navigation === */
.g1c0-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 60px;
  background: linear-gradient(180deg, var(--g1c0-bg-dark) 0%, #141d28 100%);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  border-top: 2px solid var(--g1c0-primary);
  box-shadow: 0 -4px 16px rgba(0,0,0,0.4);
}
@media (min-width: 769px) {
  .g1c0-bottom-nav { display: none; }
}
.g1c0-bottom-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 56px;
  background: none;
  border: none;
  color: var(--g1c0-text-light);
  cursor: pointer;
  transition: var(--g1c0-transition);
  padding: 0.3rem;
  position: relative;
}
.g1c0-bottom-nav-btn i,
.g1c0-bottom-nav-btn .material-icons,
.g1c0-bottom-nav-btn ion-icon,
.g1c0-bottom-nav-btn bi {
  font-size: 22px;
  margin-bottom: 2px;
  transition: var(--g1c0-transition);
}
.g1c0-bottom-nav-btn span {
  font-size: 1rem;
  line-height: 1.1;
}
.g1c0-bottom-nav-btn:hover,
.g1c0-bottom-nav-btn.g1c0-nav-active {
  color: var(--g1c0-primary);
}
.g1c0-bottom-nav-btn:hover i,
.g1c0-bottom-nav-btn:hover .material-icons,
.g1c0-bottom-nav-btn.g1c0-nav-active i,
.g1c0-bottom-nav-btn.g1c0-nav-active .material-icons {
  transform: scale(1.15);
  color: var(--g1c0-primary);
}
.g1c0-btn-active {
  color: var(--g1c0-accent-hover) !important;
  transform: scale(0.92);
}

/* === Text Utilities === */
.g1c0-text-center { text-align: center; }
.g1c0-text-primary { color: var(--g1c0-primary); }
.g1c0-text-gold { color: var(--g1c0-gold); }
.g1c0-text-bold { font-weight: 700; }
.g1c0-mt-1 { margin-top: 0.8rem; }
.g1c0-mb-1 { margin-bottom: 0.8rem; }
.g1c0-py-1 { padding: 0.8rem 0; }

/* === Promo Link Styles === */
.g1c0-promo-text {
  color: var(--g1c0-primary);
  font-weight: 600;
  cursor: pointer;
  transition: var(--g1c0-transition);
  border-bottom: 1px dashed var(--g1c0-primary);
}
.g1c0-promo-text:hover { color: var(--g1c0-accent-hover); }

/* === Winner Marquee === */
.g1c0-winner-strip {
  background: rgba(218,112,214,0.1);
  border-radius: var(--g1c0-radius-sm);
  padding: 0.6rem 1rem;
  margin: 0.5rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow: hidden;
}
.g1c0-winner-strip i { color: var(--g1c0-gold); font-size: 1.4rem; }
.g1c0-winner-text {
  font-size: 1.2rem;
  color: var(--g1c0-gold);
  white-space: nowrap;
}

/* === Payment Icons === */
.g1c0-payment-row {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.8rem 0;
}
.g1c0-payment-item {
  background: rgba(255,255,255,0.06);
  border-radius: var(--g1c0-radius-sm);
  padding: 0.5rem 0.8rem;
  font-size: 1.2rem;
  color: var(--g1c0-text-light);
}

/* === Testimonials === */
.g1c0-testimonial {
  background: rgba(218,112,214,0.06);
  border-left: 3px solid var(--g1c0-primary);
  border-radius: 0 var(--g1c0-radius-sm) var(--g1c0-radius-sm) 0;
  padding: 0.8rem 1rem;
  margin: 0.5rem 0;
}
.g1c0-testimonial-name {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--g1c0-primary);
}
.g1c0-testimonial-text {
  font-size: 1.2rem;
  color: var(--g1c0-text-light);
  margin-top: 0.3rem;
  line-height: 1.6;
}

/* === FAQ === */
.g1c0-faq-item {
  background: var(--g1c0-bg-card);
  border-radius: var(--g1c0-radius-sm);
  padding: 1rem;
  margin: 0.5rem 0;
}
.g1c0-faq-q {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--g1c0-primary);
  margin-bottom: 0.4rem;
}
.g1c0-faq-a {
  font-size: 1.2rem;
  color: var(--g1c0-text-light);
  line-height: 1.6;
}

/* === Help Page Content === */
.g1c0-help-content h2 {
  font-size: 1.8rem;
  color: var(--g1c0-primary);
  margin: 1.2rem 0 0.6rem;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid rgba(218,112,214,0.2);
}
.g1c0-help-content h3 {
  font-size: 1.5rem;
  color: var(--g1c0-text-white);
  margin: 1rem 0 0.5rem;
}
.g1c0-help-content p {
  font-size: 1.3rem;
  line-height: 2rem;
  color: var(--g1c0-text-light);
  margin-bottom: 0.8rem;
}
.g1c0-help-content ul {
  padding-left: 1.5rem;
  margin-bottom: 0.8rem;
}
.g1c0-help-content li {
  font-size: 1.3rem;
  line-height: 2rem;
  color: var(--g1c0-text-light);
  list-style: disc;
}
.g1c0-step-list {
  counter-reset: g1c0-step;
  padding-left: 0;
}
.g1c0-step-list li {
  list-style: none;
  counter-increment: g1c0-step;
  position: relative;
  padding-left: 3rem;
  margin-bottom: 1rem;
}
.g1c0-step-list li::before {
  content: counter(g1c0-step);
  position: absolute;
  left: 0;
  top: 0;
  width: 2.2rem;
  height: 2.2rem;
  background: var(--g1c0-primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
}

/* === Animation === */
@keyframes g1c0-fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.g1c0-section-visible {
  animation: g1c0-fadeIn 0.5s ease forwards;
}
