/**
 * okgame.cfd - Design Stylesheet
 * All classes prefixed with g1c8-
 * CSS variables prefixed with --g1c8-
 */

:root {
  --g1c8-primary: #EE82EE;
  --g1c8-bg: #0D1117;
  --g1c8-bg-card: #161B22;
  --g1c8-bg-light: #1C2333;
  --g1c8-text: #FFF8DC;
  --g1c8-text-muted: #BDB76B;
  --g1c8-accent-warm: #CD853F;
  --g1c8-accent-muted: #BDB76B;
  --g1c8-border: #2D333B;
  --g1c8-radius: 1.2rem;
  --g1c8-radius-sm: 0.8rem;
  --g1c8-shadow: 0 0.4rem 1.2rem rgba(0,0,0,0.4);
  --g1c8-transition: all 0.3s ease;
  font-size: 62.5%;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background-color: var(--g1c8-bg);
  color: var(--g1c8-text);
  font-size: 1.6rem;
  line-height: 1.6;
  max-width: 430px;
  margin: 0 auto;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* === HEADER === */
.g1c8-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 1000;
  background: linear-gradient(135deg, var(--g1c8-bg) 0%, var(--g1c8-bg-light) 100%);
  border-bottom: 0.2rem solid var(--g1c8-primary);
  padding: 0.8rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.g1c8-header-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
}

.g1c8-header-logo img {
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 0.6rem;
}

.g1c8-header-brand {
  font-size: 2rem;
  font-weight: 800;
  color: var(--g1c8-primary);
  text-transform: uppercase;
  letter-spacing: 0.05rem;
}

.g1c8-header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.g1c8-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.4rem;
  border: none;
  border-radius: var(--g1c8-radius-sm);
  font-size: 1.3rem;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: var(--g1c8-transition);
  min-height: 4.4rem;
  min-width: 4.4rem;
}

.g1c8-btn-register {
  background: linear-gradient(135deg, var(--g1c8-primary), #DA70D6);
  color: var(--g1c8-bg);
}

.g1c8-btn-register:hover {
  transform: scale(1.05);
  box-shadow: 0 0 1.2rem rgba(238,130,238,0.5);
}

.g1c8-btn-login {
  background: transparent;
  color: var(--g1c8-primary);
  border: 0.15rem solid var(--g1c8-primary);
}

.g1c8-btn-login:hover {
  background: rgba(238,130,238,0.15);
}

.g1c8-menu-toggle {
  background: transparent;
  border: none;
  color: var(--g1c8-text);
  font-size: 2.4rem;
  cursor: pointer;
  padding: 0.6rem;
  min-width: 4.4rem;
  min-height: 4.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* === MOBILE MENU === */
.g1c8-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: var(--g1c8-transition);
}

.g1c8-overlay-active {
  opacity: 1;
  visibility: visible;
}

.g1c8-mobile-menu {
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100%;
  background: var(--g1c8-bg-card);
  z-index: 9999;
  transition: right 0.35s ease;
  padding: 2rem;
  overflow-y: auto;
}

.g1c8-menu-open {
  right: 0;
}

.g1c8-menu-closed {
  right: -280px;
}

.g1c8-menu-close {
  background: transparent;
  border: none;
  color: var(--g1c8-text);
  font-size: 2.4rem;
  cursor: pointer;
  position: absolute;
  top: 1rem;
  right: 1rem;
  min-width: 4.4rem;
  min-height: 4.4rem;
}

.g1c8-menu-links {
  list-style: none;
  margin-top: 4rem;
}

.g1c8-menu-links li {
  border-bottom: 0.1rem solid var(--g1c8-border);
}

.g1c8-menu-links a {
  display: block;
  padding: 1.4rem 0;
  color: var(--g1c8-text);
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 500;
  transition: var(--g1c8-transition);
}

.g1c8-menu-links a:hover {
  color: var(--g1c8-primary);
  padding-left: 1rem;
}

/* === MAIN CONTENT === */
.g1c8-main {
  padding-top: 7rem;
  padding-bottom: 2rem;
}

/* === BANNER CAROUSEL === */
.g1c8-banner {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 0 0 var(--g1c8-radius) var(--g1c8-radius);
}

.g1c8-banner-slide {
  display: none;
  width: 100%;
  cursor: pointer;
}

.g1c8-slide-active {
  display: block;
}

.g1c8-banner-slide img {
  width: 100%;
  height: auto;
  display: block;
}

.g1c8-banner-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.6rem;
}

.g1c8-banner-dot {
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  border: none;
  transition: var(--g1c8-transition);
}

.g1c8-dot-active {
  background: var(--g1c8-primary);
  transform: scale(1.3);
}

/* === SECTIONS === */
.g1c8-section {
  padding: 2rem 1.4rem;
}

.g1c8-section-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--g1c8-text);
  margin-bottom: 1.6rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.g1c8-section-title .material-icons {
  color: var(--g1c8-primary);
  font-size: 2.4rem;
}

/* === CATEGORY TABS === */
.g1c8-cat-tabs {
  display: flex;
  gap: 0.6rem;
  overflow-x: auto;
  padding: 0 1.4rem 1rem;
  scrollbar-width: none;
}

.g1c8-cat-tabs::-webkit-scrollbar { display: none; }

.g1c8-cat-tab {
  padding: 0.8rem 1.6rem;
  background: var(--g1c8-bg-card);
  color: var(--g1c8-text-muted);
  border: 0.1rem solid var(--g1c8-border);
  border-radius: 2rem;
  font-size: 1.3rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: var(--g1c8-transition);
  min-height: 4.4rem;
  display: flex;
  align-items: center;
}

.g1c8-cat-tab:hover {
  border-color: var(--g1c8-primary);
  color: var(--g1c8-primary);
}

.g1c8-tab-active {
  background: linear-gradient(135deg, var(--g1c8-primary), #DA70D6);
  color: var(--g1c8-bg);
  border-color: transparent;
}

/* === GAME GRID === */
.g1c8-game-section {
  display: none;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 0 1.4rem 2rem;
}

.g1c8-section-active {
  display: grid;
}

.g1c8-game-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: var(--g1c8-transition);
  border-radius: var(--g1c8-radius-sm);
  padding: 0.6rem;
}

.g1c8-game-item:hover {
  background: var(--g1c8-bg-card);
  transform: translateY(-0.3rem);
}

.g1c8-game-item img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: var(--g1c8-radius-sm);
  margin-bottom: 0.4rem;
}

.g1c8-game-name {
  font-size: 1.1rem;
  color: var(--g1c8-text);
  text-align: center;
  line-height: 1.3;
  font-weight: 500;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* === INFO MODULES === */
.g1c8-module {
  background: var(--g1c8-bg-card);
  border-radius: var(--g1c8-radius);
  padding: 2rem 1.6rem;
  margin: 0 1.4rem 1.6rem;
  border: 0.1rem solid var(--g1c8-border);
}

.g1c8-module-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--g1c8-primary);
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.g1c8-module p {
  color: var(--g1c8-text);
  line-height: 1.7;
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

.g1c8-module ul {
  padding-left: 1.6rem;
  margin-bottom: 1rem;
}

.g1c8-module li {
  color: var(--g1c8-text);
  line-height: 1.7;
  margin-bottom: 0.6rem;
  font-size: 1.4rem;
}

.g1c8-promo-text {
  color: var(--g1c8-primary);
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  transition: var(--g1c8-transition);
}

.g1c8-promo-text:hover {
  color: var(--g1c8-accent-warm);
  text-decoration: underline;
}

/* === CTA BUTTONS === */
.g1c8-cta {
  display: block;
  text-align: center;
  padding: 1.4rem 2rem;
  background: linear-gradient(135deg, var(--g1c8-primary), #DA70D6);
  color: var(--g1c8-bg);
  font-size: 1.6rem;
  font-weight: 800;
  border-radius: var(--g1c8-radius);
  text-decoration: none;
  cursor: pointer;
  transition: var(--g1c8-transition);
  margin: 1rem 1.4rem;
  min-height: 4.4rem;
}

.g1c8-cta:hover {
  transform: scale(1.03);
  box-shadow: 0 0 2rem rgba(238,130,238,0.4);
}

.g1c8-cta-warm {
  background: linear-gradient(135deg, var(--g1c8-accent-warm), #DAA520);
}

/* === FOOTER === */
.g1c8-footer {
  background: var(--g1c8-bg-card);
  padding: 3rem 1.4rem 2rem;
  border-top: 0.2rem solid var(--g1c8-primary);
  margin-top: 2rem;
}

.g1c8-footer-brand {
  text-align: center;
  margin-bottom: 2rem;
}

.g1c8-footer-brand h3 {
  font-size: 2rem;
  color: var(--g1c8-primary);
  margin-bottom: 0.6rem;
}

.g1c8-footer-brand p {
  font-size: 1.3rem;
  color: var(--g1c8-text-muted);
  line-height: 1.6;
}

.g1c8-footer-partners {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
  padding: 1rem 0;
  border-top: 0.1rem solid var(--g1c8-border);
  border-bottom: 0.1rem solid var(--g1c8-border);
}

.g1c8-footer-partners img {
  height: 2.8rem;
  opacity: 0.7;
  transition: var(--g1c8-transition);
}

.g1c8-footer-partners img:hover {
  opacity: 1;
}

.g1c8-footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.g1c8-footer-links a {
  color: var(--g1c8-text-muted);
  text-decoration: none;
  font-size: 1.2rem;
  transition: var(--g1c8-transition);
  padding: 0.4rem 0;
}

.g1c8-footer-links a:hover {
  color: var(--g1c8-primary);
}

.g1c8-footer-copy {
  text-align: center;
  font-size: 1.2rem;
  color: var(--g1c8-text-muted);
  padding-top: 1rem;
  border-top: 0.1rem solid var(--g1c8-border);
}

/* === BOTTOM MOBILE NAV === */
.g1c8-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 6rem;
  background: linear-gradient(180deg, var(--g1c8-bg-light), var(--g1c8-bg));
  border-top: 0.15rem solid var(--g1c8-primary);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  padding: 0 0.4rem;
}

.g1c8-bottom-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 6rem;
  min-height: 5.2rem;
  background: transparent;
  border: none;
  color: var(--g1c8-text-muted);
  cursor: pointer;
  transition: var(--g1c8-transition);
  border-radius: var(--g1c8-radius-sm);
  padding: 0.4rem;
  gap: 0.2rem;
}

.g1c8-bottom-btn:hover,
.g1c8-bottom-btn:active {
  color: var(--g1c8-primary);
  background: rgba(238,130,238,0.1);
}

.g1c8-bottom-btn .g1c8-nav-icon {
  font-size: 2.2rem;
  line-height: 1;
}

.g1c8-bottom-btn .g1c8-nav-label {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
}

.g1c8-bottom-btn.g1c8-active {
  color: var(--g1c8-primary);
}

/* === RESPONSIVE === */
@media (min-width: 769px) {
  .g1c8-bottom-nav {
    display: none;
  }
}

@media (max-width: 768px) {
  .g1c8-main {
    padding-bottom: 8rem;
  }
}

/* === UTILITIES === */
.g1c8-text-center { text-align: center; }
.g1c8-text-warm { color: var(--g1c8-accent-warm); }
.g1c8-text-primary { color: var(--g1c8-primary); }
.g1c8-text-muted { color: var(--g1c8-text-muted); }
.g1c8-mt-1 { margin-top: 1rem; }
.g1c8-mb-1 { margin-bottom: 1rem; }
.g1c8-mb-2 { margin-bottom: 2rem; }
.g1c8-hidden { display: none; }

/* === FAQ ACCORDION === */
.g1c8-faq-item {
  border-bottom: 0.1rem solid var(--g1c8-border);
  padding: 1.2rem 0;
}

.g1c8-faq-q {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--g1c8-text);
  margin-bottom: 0.6rem;
  display: flex;
  gap: 0.6rem;
}

.g1c8-faq-a {
  font-size: 1.4rem;
  color: var(--g1c8-text-muted);
  line-height: 1.7;
  padding-left: 2rem;
}

/* === WINNERS TICKER === */
.g1c8-winners {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 1rem 0;
  scrollbar-width: none;
}

.g1c8-winners::-webkit-scrollbar { display: none; }

.g1c8-winner-card {
  flex: 0 0 auto;
  width: 14rem;
  background: var(--g1c8-bg-light);
  border-radius: var(--g1c8-radius-sm);
  padding: 1rem;
  text-align: center;
  border: 0.1rem solid var(--g1c8-border);
}

.g1c8-winner-name {
  font-size: 1.2rem;
  color: var(--g1c8-primary);
  font-weight: 600;
}

.g1c8-winner-game {
  font-size: 1.1rem;
  color: var(--g1c8-text-muted);
  margin: 0.4rem 0;
}

.g1c8-winner-amount {
  font-size: 1.4rem;
  color: var(--g1c8-accent-warm);
  font-weight: 800;
}

/* === STEP LIST === */
.g1c8-steps {
  counter-reset: g1c8step;
  list-style: none;
}

.g1c8-steps li {
  counter-increment: g1c8step;
  position: relative;
  padding-left: 4rem;
  margin-bottom: 1.4rem;
  font-size: 1.4rem;
  color: var(--g1c8-text);
  line-height: 1.6;
}

.g1c8-steps li::before {
  content: counter(g1c8step);
  position: absolute;
  left: 0;
  top: 0;
  width: 2.8rem;
  height: 2.8rem;
  background: linear-gradient(135deg, var(--g1c8-primary), #DA70D6);
  color: var(--g1c8-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.4rem;
}
