/**
 * super ace - Core Stylesheet
 * Mobile-first design with gc6f- prefix for namespace isolation
 * Color scheme: Dark bg (#0C0C0C) | Cyan accent (#00FFFF) | Gold (#B8860B)
 */

/* CSS Variables */
:root {
  --gc6f-primary: #00FFFF;
  --gc6f-bg: #0C0C0C;
  --gc6f-bg-alt: #1A1A1A;
  --gc6f-dark: #2F2F2F;
  --gc6f-text: #E0E0E0;
  --gc6f-text-muted: #999999;
  --gc6f-gold: #B8860B;
  --gc6f-gold-light: #DAA520;
  --gc6f-white: #FFFFFF;
  --gc6f-border: #333333;
  --gc6f-radius: 8px;
  --gc6f-radius-lg: 12px;
  --gc6f-shadow: 0 2px 8px rgba(0, 255, 255, 0.1);
  --gc6f-shadow-gold: 0 2px 12px rgba(184, 134, 11, 0.2);
  --gc6f-transition: all 0.3s ease;
  font-size: 62.5%;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--gc6f-bg);
  color: var(--gc6f-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  max-width: 430px;
  margin: 0 auto;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--gc6f-primary); text-decoration: none; transition: var(--gc6f-transition); }
a:hover { color: var(--gc6f-gold-light); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* Container & Wrapper */
.gc6f-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1.2rem;
}
.gc6f-wrapper {
  padding-top: 6rem;
}

/* Header */
.gc6f-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 5.6rem;
  background: linear-gradient(180deg, #0C0C0C 0%, #1A1A1A 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
  z-index: 1000;
  border-bottom: 1px solid var(--gc6f-border);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}
.gc6f-logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
}
.gc6f-logo-wrap img {
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 6px;
}
.gc6f-logo-text {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gc6f-primary);
  letter-spacing: 0.5px;
}
.gc6f-header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.gc6f-btn-register, .gc6f-btn-login {
  padding: 0.5rem 1rem;
  border-radius: var(--gc6f-radius);
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--gc6f-transition);
  text-transform: uppercase;
}
.gc6f-btn-register {
  background: linear-gradient(135deg, var(--gc6f-gold) 0%, var(--gc6f-gold-light) 100%);
  color: #000;
}
.gc6f-btn-register:hover { transform: scale(1.05); box-shadow: var(--gc6f-shadow-gold); }
.gc6f-btn-login {
  background: transparent;
  color: var(--gc6f-primary);
  border: 1px solid var(--gc6f-primary);
}
.gc6f-btn-login:hover { background: rgba(0, 255, 255, 0.1); }
.gc6f-menu-toggle {
  background: none;
  border: none;
  color: var(--gc6f-text);
  font-size: 2rem;
  cursor: pointer;
  padding: 0.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mobile Menu */
.gc6f-mobile-menu {
  position: fixed;
  top: 0;
  right: -280px;
  width: 260px;
  height: 100vh;
  background: var(--gc6f-bg-alt);
  z-index: 9999;
  transition: right 0.3s ease;
  padding: 6rem 1.5rem 2rem;
  overflow-y: auto;
}
.gc6f-menu-active { right: 0; }
.gc6f-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.gc6f-overlay-active { opacity: 1; pointer-events: auto; }
.gc6f-menu-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--gc6f-text);
  font-size: 2.2rem;
  cursor: pointer;
}
.gc6f-menu-links {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.gc6f-menu-link {
  display: block;
  padding: 1rem 0;
  color: var(--gc6f-text);
  font-size: 1.4rem;
  border-bottom: 1px solid var(--gc6f-border);
  transition: var(--gc6f-transition);
}
.gc6f-menu-link:hover { color: var(--gc6f-primary); padding-left: 0.5rem; }

/* Carousel */
.gc6f-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: var(--gc6f-radius-lg);
  margin-bottom: 1.5rem;
}
.gc6f-slide {
  display: none;
  width: 100%;
  cursor: pointer;
}
.gc6f-slide-active { display: block; }
.gc6f-slide img { width: 100%; border-radius: var(--gc6f-radius-lg); }
.gc6f-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}
.gc6f-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: var(--gc6f-transition);
}
.gc6f-dot-active { background: var(--gc6f-primary); transform: scale(1.2); }

/* Section & Card */
.gc6f-section {
  padding: 1.5rem 0;
}
.gc6f-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gc6f-white);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--gc6f-gold);
}
.gc6f-card {
  background: var(--gc6f-bg-alt);
  border-radius: var(--gc6f-radius-lg);
  padding: 1.2rem;
  margin-bottom: 1rem;
  border: 1px solid var(--gc6f-border);
  transition: var(--gc6f-transition);
}
.gc6f-card:hover { border-color: var(--gc6f-primary); box-shadow: var(--gc6f-shadow); }

/* Game Grid */
.gc6f-category-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gc6f-primary);
  margin: 1.5rem 0 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.gc6f-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
}
.gc6f-game-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: var(--gc6f-transition);
  padding: 0.4rem;
  border-radius: var(--gc6f-radius);
}
.gc6f-game-item:hover { transform: translateY(-2px); background: rgba(0, 255, 255, 0.05); }
.gc6f-game-item img {
  width: 5.5rem;
  height: 5.5rem;
  border-radius: var(--gc6f-radius);
  margin-bottom: 0.3rem;
  border: 1px solid var(--gc6f-border);
}
.gc6f-game-name {
  font-size: 1rem;
  color: var(--gc6f-text-muted);
  text-align: center;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 6rem;
}

/* Buttons */
.gc6f-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.6rem;
  border-radius: var(--gc6f-radius);
  font-size: 1.3rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--gc6f-transition);
  text-decoration: none;
}
.gc6f-btn-primary {
  background: linear-gradient(135deg, var(--gc6f-gold) 0%, var(--gc6f-gold-light) 100%);
  color: #000;
}
.gc6f-btn-primary:hover { transform: scale(1.05); box-shadow: var(--gc6f-shadow-gold); }
.gc6f-btn-accent {
  background: linear-gradient(135deg, #00CCCC 0%, var(--gc6f-primary) 100%);
  color: #000;
}
.gc6f-btn-accent:hover { transform: scale(1.05); box-shadow: var(--gc6f-shadow); }
.gc6f-btn-outline {
  background: transparent;
  border: 1px solid var(--gc6f-primary);
  color: var(--gc6f-primary);
}
.gc6f-btn-outline:hover { background: rgba(0, 255, 255, 0.1); }
.gc6f-btn-block { width: 100%; }
.gc6f-btn-lg { padding: 1rem 2rem; font-size: 1.5rem; }

/* Promo Link */
.gc6f-promo-link {
  color: var(--gc6f-gold-light);
  font-weight: 600;
  cursor: pointer;
  transition: var(--gc6f-transition);
}
.gc6f-promo-link:hover { color: var(--gc6f-primary); text-decoration: underline; }

/* Footer */
.gc6f-footer {
  background: var(--gc6f-bg-alt);
  padding: 2rem 0 8rem;
  border-top: 1px solid var(--gc6f-border);
  margin-top: 2rem;
}
.gc6f-footer-brand {
  font-size: 1.3rem;
  color: var(--gc6f-text-muted);
  line-height: 1.6;
  margin-bottom: 1.2rem;
}
.gc6f-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.2rem;
}
.gc6f-footer-links a {
  font-size: 1.2rem;
  color: var(--gc6f-text-muted);
}
.gc6f-footer-links a:hover { color: var(--gc6f-primary); }
.gc6f-footer-promo {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.2rem;
}
.gc6f-footer-copyright {
  font-size: 1.1rem;
  color: var(--gc6f-text-muted);
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid var(--gc6f-border);
}

/* Bottom Navigation */
.gc6f-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 60px;
  background: linear-gradient(180deg, #1A1A1A 0%, #0C0C0C 100%);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  border-top: 1px solid var(--gc6f-border);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.5);
}
.gc6f-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 54px;
  background: none;
  border: none;
  color: var(--gc6f-text-muted);
  cursor: pointer;
  transition: var(--gc6f-transition);
  font-size: 1rem;
  gap: 2px;
  border-radius: 8px;
}
.gc6f-nav-btn:hover { color: var(--gc6f-primary); background: rgba(0, 255, 255, 0.05); }
.gc6f-nav-btn .gc6f-nav-icon { font-size: 2.2rem; line-height: 1; }
.gc6f-nav-btn .gc6f-nav-label { font-size: 1rem; }
.gc6f-nav-active {
  color: var(--gc6f-primary) !important;
  background: rgba(0, 255, 255, 0.08) !important;
}
.gc6f-nav-active::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 2px;
  background: var(--gc6f-primary);
  border-radius: 0 0 2px 2px;
}

/* Content Modules */
.gc6f-module-box {
  background: var(--gc6f-bg-alt);
  border: 1px solid var(--gc6f-border);
  border-radius: var(--gc6f-radius-lg);
  padding: 1.2rem;
  margin-bottom: 1.2rem;
}
.gc6f-module-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gc6f-white);
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.gc6f-module-text {
  font-size: 1.3rem;
  color: var(--gc6f-text-muted);
  line-height: 1.6;
  margin-bottom: 0.8rem;
}
.gc6f-faq-item {
  margin-bottom: 0.8rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--gc6f-border);
}
.gc6f-faq-item:last-child { border-bottom: none; }
.gc6f-faq-q {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--gc6f-primary);
  margin-bottom: 0.4rem;
}
.gc6f-faq-a {
  font-size: 1.2rem;
  color: var(--gc6f-text-muted);
  line-height: 1.5;
}
.gc6f-step-list {
  counter-reset: step-counter;
}
.gc6f-step-item {
  counter-increment: step-counter;
  padding: 0.8rem 0 0.8rem 3rem;
  position: relative;
  border-bottom: 1px solid var(--gc6f-border);
}
.gc6f-step-item:last-child { border-bottom: none; }
.gc6f-step-item::before {
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 0.8rem;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--gc6f-gold);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
}
.gc6f-highlight-box {
  background: linear-gradient(135deg, rgba(0, 255, 255, 0.08) 0%, rgba(184, 134, 11, 0.08) 100%);
  border: 1px solid var(--gc6f-gold);
  border-radius: var(--gc6f-radius-lg);
  padding: 1rem;
  margin: 1rem 0;
  text-align: center;
}
.gc6f-testimonial {
  background: var(--gc6f-bg-alt);
  border-left: 3px solid var(--gc6f-gold);
  padding: 0.8rem 1rem;
  margin-bottom: 0.8rem;
  border-radius: 0 var(--gc6f-radius) var(--gc6f-radius) 0;
}
.gc6f-testimonial-name {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--gc6f-primary);
  margin-bottom: 0.3rem;
}
.gc6f-testimonial-text {
  font-size: 1.2rem;
  color: var(--gc6f-text-muted);
  line-height: 1.5;
}
.gc6f-rtp-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--gc6f-border);
  font-size: 1.2rem;
}
.gc6f-rtp-row:last-child { border-bottom: none; }
.gc6f-rtp-bar {
  height: 6px;
  border-radius: 3px;
  background: var(--gc6f-border);
  flex: 1;
  margin: 0 0.8rem;
}
.gc6f-rtp-fill {
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--gc6f-gold) 0%, var(--gc6f-primary) 100%);
}
.gc6f-winner-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--gc6f-border);
}
.gc6f-winner-item:last-child { border-bottom: none; }
.gc6f-winner-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--gc6f-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gc6f-gold);
  font-size: 1.4rem;
}
.gc6f-winner-info { flex: 1; }
.gc6f-winner-name { font-size: 1.1rem; color: var(--gc6f-text); }
.gc6f-winner-game { font-size: 1rem; color: var(--gc6f-text-muted); }
.gc6f-winner-amount { font-size: 1.3rem; font-weight: 700; color: var(--gc6f-gold-light); }
.gc6f-badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
}
.gc6f-badge-gold { background: var(--gc6f-gold); color: #000; }
.gc6f-badge-cyan { background: var(--gc6f-primary); color: #000; }

/* Scroll to top */
.gc6f-scroll-top {
  position: fixed;
  bottom: 7rem;
  right: 1.5rem;
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 50%;
  background: var(--gc6f-dark);
  border: 1px solid var(--gc6f-primary);
  color: var(--gc6f-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  cursor: pointer;
  z-index: 999;
  transition: var(--gc6f-transition);
  opacity: 0.8;
}
.gc6f-scroll-top:hover { opacity: 1; background: rgba(0, 255, 255, 0.15); }

/* Desktop: hide bottom nav */
@media (min-width: 769px) {
  .gc6f-bottom-nav { display: none; }
  .gc6f-wrapper { padding-bottom: 0; }
}
/* Mobile: bottom padding for nav clearance */
@media (max-width: 768px) {
  .gc6f-wrapper { padding-bottom: 80px; }
}
