/* f1686 - Core stylesheet */
/* All custom classes use the gd6c- prefix for namespace isolation */

:root {
  --gd6c-primary: #FFD700;
  --gd6c-bg: #34495E;
  --gd6c-text: #E5E5E5;
  --gd6c-muted: #D3D3D3;
  --gd6c-dim: #808080;
  --gd6c-dark: #2c3e50;
  --gd6c-darker: #1f2d3a;
  --gd6c-accent: #FFD700;
  --gd6c-danger: #e74c3c;
  --gd6c-success: #27ae60;
  --gd6c-header-h: 5.4rem;
  --gd6c-bottomnav-h: 6.2rem;
}

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

html { font-size: 62.5%; -webkit-text-size-adjust: 100%; }

body {
  font-family: "Segoe UI", "Inter", "Roboto", system-ui, sans-serif;
  background: var(--gd6c-darker);
  color: var(--gd6c-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--gd6c-primary); text-decoration: none; }
img { max-width: 100%; display: block; }

/* Header */
.gd6c-header {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--gd6c-header-h);
  background: linear-gradient(90deg, #1f2d3a 0%, #34495E 60%, #1f2d3a 100%);
  border-bottom: 2px solid var(--gd6c-primary);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 1.2rem; z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.45);
}

.gd6c-header-inner { display: flex; align-items: center; gap: 1rem; }

.gd6c-logo {
  width: 3.2rem; height: 3.2rem; border-radius: 50%;
  background: var(--gd6c-primary);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; color: #1f2d3a; font-size: 1.6rem;
}
.gd6c-logo img { width: 3.2rem; height: 3.2rem; border-radius: 50%; }

.gd6c-site-name {
  font-size: 1.8rem; font-weight: 800; color: var(--gd6c-primary);
  letter-spacing: 0.5px;
}

.gd6c-header-actions { display: flex; align-items: center; gap: 0.8rem; }

.gd6c-hamburger {
  background: transparent; border: none; color: var(--gd6c-primary);
  font-size: 2.4rem; cursor: pointer; padding: 0 0.4rem;
}

.gd6c-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.4rem; padding: 0.8rem 1.6rem; border-radius: 2rem;
  font-weight: 700; font-size: 1.3rem; cursor: pointer;
  border: none; transition: transform .15s, box-shadow .15s;
  min-height: 3.6rem;
}
.gd6c-btn:hover { transform: translateY(-1px); }
.gd6c-btn-register {
  background: var(--gd6c-primary); color: #1f2d3a;
  box-shadow: 0 3px 8px rgba(255,215,0,0.35);
}
.gd6c-btn-login {
  background: transparent; color: var(--gd6c-primary);
  border: 1px solid var(--gd6c-primary);
}

/* Mobile menu */
.gd6c-mobile-menu {
  position: fixed; top: 0; right: -85%;
  width: 75%; max-width: 320px; height: 100vh;
  background: var(--gd6c-darker);
  border-left: 2px solid var(--gd6c-primary);
  padding: var(--gd6c-header-h) 1rem 1rem;
  z-index: 9999; transition: right .28s ease;
  overflow-y: auto;
}
.gd6c-mobile-menu.gd6c-open { right: 0; }
.gd6c-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.55);
  z-index: 9998; opacity: 0; pointer-events: none;
  transition: opacity .28s;
}
.gd6c-overlay.gd6c-show { opacity: 1; pointer-events: auto; }

.gd6c-menu-list { list-style: none; }
.gd6c-menu-list li { margin-bottom: 0.6rem; }
.gd6c-menu-list a {
  display: flex; align-items: center; gap: 0.8rem;
  padding: 1rem 1.2rem; border-radius: 0.8rem;
  color: var(--gd6c-text); font-weight: 600;
  background: rgba(255,255,255,0.04);
  transition: background .15s;
}
.gd6c-menu-list a:hover, .gd6c-menu-list a:focus {
  background: rgba(255,215,0,0.15); color: var(--gd6c-primary);
}
.gd6c-menu-list .material-icons,
.gd6c-menu-list i { font-size: 2rem; color: var(--gd6c-primary); }

.gd6c-menu-actions {
  display: flex; flex-direction: column; gap: 0.8rem; margin-top: 1rem;
}
.gd6c-menu-actions .gd6c-btn { width: 100%; }

/* Layout */
.gd6c-main { padding-top: var(--gd6c-header-h); }
.gd6c-container { width: 100%; max-width: 430px; margin: 0 auto; padding: 0 1.2rem; }
.gd6c-section { padding: 2.2rem 0; }
.gd6c-section-title {
  font-size: 1.8rem; font-weight: 800; color: var(--gd6c-primary);
  margin-bottom: 1rem; padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(255,215,0,0.25);
}
.gd6c-section-title i, .gd6c-section-title .material-icons {
  margin-right: 0.5rem; vertical-align: middle;
}
.gd6c-text { color: var(--gd6c-text); margin-bottom: 1rem; line-height: 1.6rem; }
.gd6c-text strong { color: var(--gd6c-primary); }

/* Hero / carousel */
.gd6c-hero { position: relative; overflow: hidden; border-radius: 1rem; }
.gd6c-carousel { position: relative; border-radius: 1rem; overflow: hidden; }
.gd6c-slide {
  display: none; position: relative; cursor: pointer;
  border-radius: 1rem; overflow: hidden;
}
.gd6c-slide.gd6c-active { display: block; }
.gd6c-slide img { width: 100%; height: auto; display: block; }
.gd6c-slide-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1rem 1.2rem; color: #fff; font-weight: 700;
  background: linear-gradient(transparent, rgba(0,0,0,0.75));
  font-size: 1.5rem;
}
.gd6c-carousel-dots {
  display: flex; justify-content: center; gap: 0.5rem;
  margin-top: 0.8rem;
}
.gd6c-carousel-dots span {
  width: 0.8rem; height: 0.8rem; border-radius: 50%;
  background: rgba(255,215,0,0.35); cursor: pointer;
}
.gd6c-carousel-dots span.gd6c-active { background: var(--gd6c-primary); }

/* Game grid */
.gd6c-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}
.gd6c-card {
  background: rgba(255,255,255,0.05); border-radius: 0.8rem;
  overflow: hidden; cursor: pointer; transition: transform .15s, box-shadow .15s;
  border: 1px solid rgba(255,215,0,0.12);
}
.gd6c-card:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(255,215,0,0.18); }
.gd6c-card-img { width: 100%; aspect-ratio: 1/1; object-fit: cover; background: #000; }
.gd6c-card-name {
  padding: 0.5rem 0.4rem; font-size: 1.1rem; text-align: center;
  color: var(--gd6c-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.gd6c-card-type {
  display: block; text-align: center; font-size: 1rem;
  color: var(--gd6c-primary); font-weight: 700;
  padding-bottom: 0.4rem;
}

.gd6c-game-block { margin-bottom: 2rem; }
.gd6c-game-block .gd6c-section-title { font-size: 1.6rem; }
.gd6c-game-block .gd6c-grid { grid-template-columns: repeat(4, 1fr); }

/* Category tabs (decorative, no switching) */
.gd6c-cats { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1.4rem; }
.gd6c-cats .gd6c-cat {
  padding: 0.5rem 1rem; border-radius: 2rem; font-size: 1.2rem;
  background: rgba(255,255,255,0.06); color: var(--gd6c-text);
  border: 1px solid rgba(255,215,0,0.2);
}

/* Promo banner */
.gd6c-promo {
  background: linear-gradient(135deg, #34495E, #1f2d3a);
  border: 1px solid var(--gd6c-primary);
  border-radius: 1rem; padding: 1.4rem; margin: 1.4rem 0;
  display: flex; align-items: center; gap: 1rem;
}
.gd6c-promo-icon { font-size: 3rem; color: var(--gd6c-primary); }
.gd6c-promo-text { flex: 1; color: var(--gd6c-text); }
.gd6c-promo-text strong { color: var(--gd6c-primary); display: block; font-size: 1.4rem; }

/* Info / feature lists */
.gd6c-features { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.gd6c-feature {
  display: flex; gap: 1rem; padding: 1rem; border-radius: 0.8rem;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,215,0,0.12);
}
.gd6c-feature .gd6c-feature-icon { font-size: 2.2rem; color: var(--gd6c-primary); }
.gd6c-feature h3 { color: var(--gd6c-primary); font-size: 1.4rem; margin-bottom: 0.3rem; }
.gd6c-feature p { color: var(--gd6c-text); font-size: 1.25rem; line-height: 1.5rem; }

.gd6c-steps { counter-reset: step; list-style: none; }
.gd6c-steps li {
  position: relative; padding: 0.8rem 1rem 0.8rem 3.4rem;
  margin-bottom: 0.6rem; background: rgba(255,255,255,0.04);
  border-radius: 0.6rem; color: var(--gd6c-text);
  counter-increment: step;
}
.gd6c-steps li::before {
  content: counter(step); position: absolute; left: 0.8rem; top: 0.7rem;
  width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--gd6c-primary); color: #1f2d3a;
  font-weight: 800; display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}

.gd6c-faq-item {
  background: rgba(255,255,255,0.04); border-radius: 0.8rem;
  margin-bottom: 0.8rem; border: 1px solid rgba(255,215,0,0.12);
}
.gd6c-faq-q {
  padding: 1rem 1.2rem; font-weight: 700; color: var(--gd6c-primary);
  cursor: pointer; display: flex; justify-content: space-between; align-items: center;
}
.gd6c-faq-q .material-icons { font-size: 1.8rem; }
.gd6c-faq-a { padding: 0 1.2rem 1rem; color: var(--gd6c-text); display: none; }
.gd6c-faq-item.gd6c-open .gd6c-faq-a { display: block; }

.gd6c-testimonial {
  background: rgba(255,255,255,0.04); border-radius: 0.8rem;
  padding: 1rem; margin-bottom: 0.8rem;
  border-left: 3px solid var(--gd6c-primary);
}
.gd6c-testimonial p { color: var(--gd6c-text); font-style: italic; margin-bottom: 0.5rem; }
.gd6c-testimonial span { color: var(--gd6c-primary); font-weight: 700; font-size: 1.2rem; }

.gd6c-rtp-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.8rem 1rem; background: rgba(255,255,255,0.04);
  border-radius: 0.6rem; margin-bottom: 0.5rem;
}
.gd6c-rtp-row strong { color: var(--gd6c-primary); }
.gd6c-rtp-bar { flex: 1; height: 0.6rem; background: rgba(255,255,255,0.1); border-radius: 0.3rem; margin: 0 0.8rem; overflow: hidden; }
.gd6c-rtp-fill { height: 100%; background: var(--gd6c-primary); }

.gd6c-winners { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.6rem; }
.gd6c-winner {
  background: rgba(255,255,255,0.04); border-radius: 0.6rem;
  padding: 0.7rem; text-align: center;
  border: 1px solid rgba(255,215,0,0.12);
}
.gd6c-winner span { display: block; color: var(--gd6c-primary); font-weight: 800; font-size: 1.3rem; }
.gd6c-winner small { color: var(--gd6c-text); font-size: 1.1rem; }

.gd6c-payments { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.gd6c-payments span {
  padding: 0.6rem 1rem; background: rgba(255,255,255,0.06);
  border-radius: 0.5rem; color: var(--gd6c-text); font-size: 1.2rem;
  border: 1px solid rgba(255,215,0,0.18);
}

.gd6c-cta {
  background: linear-gradient(135deg, var(--gd6c-primary), #e6b800);
  color: #1f2d3a; border-radius: 1rem; padding: 1.4rem;
  text-align: center; margin: 1.4rem 0;
}
.gd6c-cta h3 { font-size: 1.6rem; margin-bottom: 0.5rem; }
.gd6c-cta p { color: #1f2d3a; margin-bottom: 1rem; font-weight: 600; }
.gd6c-cta .gd6c-btn { background: #1f2d3a; color: var(--gd6c-primary); }

.gd6c-link-inline { color: var(--gd6c-primary); font-weight: 700; border-bottom: 1px dashed var(--gd6c-primary); }
.gd6c-link-btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.7rem 1.4rem; border-radius: 2rem;
  background: var(--gd6c-primary); color: #1f2d3a; font-weight: 700;
  margin: 0.4rem 0; cursor: pointer;
}

.gd6c-list { list-style: none; }
.gd6c-list li { padding: 0.5rem 0 0.5rem 1.6rem; position: relative; color: var(--gd6c-text); }
.gd6c-list li::before {
  content: ""; position: absolute; left: 0; top: 1rem;
  width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--gd6c-primary);
}

.gd6c-note {
  background: rgba(231,76,60,0.12); border-left: 3px solid var(--gd6c-danger);
  padding: 0.8rem 1rem; border-radius: 0.5rem; color: var(--gd6c-text);
  font-size: 1.2rem; margin: 1rem 0;
}

/* Footer */
.gd6c-footer {
  background: #1a2533; color: var(--gd6c-text);
  padding: 2.2rem 1.2rem 8rem; margin-top: 2rem;
  border-top: 2px solid var(--gd6c-primary);
}
.gd6c-footer-brand { font-size: 1.6rem; font-weight: 800; color: var(--gd6c-primary); margin-bottom: 0.5rem; }
.gd6c-footer-text { color: var(--gd6c-muted); font-size: 1.2rem; margin-bottom: 1.2rem; line-height: 1.6rem; }
.gd6c-footer-links { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1.2rem; }
.gd6c-footer-links a {
  padding: 0.5rem 0.9rem; background: rgba(255,255,255,0.05);
  border-radius: 0.4rem; color: var(--gd6c-text); font-size: 1.1rem;
  border: 1px solid rgba(255,215,0,0.15);
}
.gd6c-footer-links a:hover { color: var(--gd6c-primary); border-color: var(--gd6c-primary); }
.gd6c-footer-promos { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1.2rem; }
.gd6c-footer-promos button {
  padding: 0.7rem 1.2rem; border-radius: 2rem; border: none;
  background: var(--gd6c-primary); color: #1f2d3a; font-weight: 700;
  font-size: 1.2rem; cursor: pointer;
}
.gd6c-footer-copy {
  border-top: 1px solid rgba(255,255,255,0.08); padding-top: 1rem;
  font-size: 1.1rem; color: var(--gd6c-dim); text-align: center;
}

/* Mobile bottom navigation */
.gd6c-bottomnav {
  position: fixed; bottom: 0; left: 0; right: 0;
  height: var(--gd6c-bottomnav-h);
  background: linear-gradient(180deg, #1f2d3a, #11181f);
  border-top: 2px solid var(--gd6c-primary);
  display: flex; justify-content: space-around; align-items: center;
  z-index: 1000; padding-bottom: env(safe-area-inset-bottom, 0);
}
.gd6c-bottomnav button {
  flex: 1; background: transparent; border: none;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.2rem; min-width: 60px; min-height: 60px;
  color: var(--gd6c-muted); cursor: pointer; transition: transform .15s, color .15s;
  padding: 0.4rem 0;
}
.gd6c-bottomnav button:active { transform: scale(0.92); }
.gd6c-bottomnav button i,
.gd6c-bottomnav button .material-icons,
.gd6c-bottomnav button ion-icon { font-size: 2.4rem; }
.gd6c-bottomnav button .gd6c-bn-label { font-size: 1rem; color: var(--gd6c-muted); }
.gd6c-bottomnav button.gd6c-active { color: var(--gd6c-primary); }
.gd6c-bottomnav button.gd6c-active i,
.gd6c-bottomnav button.gd6c-active .material-icons,
.gd6c-bottomnav button.gd6c-active .gd6c-bn-label { color: var(--gd6c-primary); }
.gd6c-bn-badge {
  position: absolute; top: 0.4rem; right: 1.4rem;
  background: var(--gd6c-danger); color: #fff; font-size: 0.9rem;
  border-radius: 0.8rem; padding: 0 0.4rem; min-width: 1.4rem; height: 1.4rem;
  display: flex; align-items: center; justify-content: center; font-weight: 700;
}

/* Desktop adjustments */
@media (min-width: 769px) {
  .gd6c-bottomnav { display: none; }
  .gd6c-container { max-width: 430px; }
  .gd6c-hamburger { display: none; }
}
@media (max-width: 768px) {
  .gd6c-main { padding-bottom: 7rem; }
}
@media (max-width: 360px) {
  .gd6c-grid { grid-template-columns: repeat(3, 1fr); }
  .gd6c-site-name { font-size: 1.5rem; }
  .gd6c-btn { padding: 0.6rem 1.1rem; font-size: 1.2rem; }
}
