/* dkgame.click - Core Stylesheet */
/* All classes use g905- prefix for namespace isolation */

:root {
  --g905-primary: #D2691E;
  --g905-primary-light: #E8923E;
  --g905-primary-dark: #A8521A;
  --g905-bg: #2D2D2D;
  --g905-bg-dark: #1A1A1A;
  --g905-bg-card: #3A3A3A;
  --g905-text: #F5F0EB;
  --g905-text-muted: #BFBFBF;
  --g905-accent: #FFD700;
  --g905-border: #4A4A4A;
  --g905-success: #4CAF50;
  --g905-danger: #E74C3C;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 62.5%; scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: var(--g905-bg);
  color: var(--g905-text);
  line-height: 1.5rem;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
}
a { color: var(--g905-primary-light); text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* Header */
.g905-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--g905-bg-dark); border-bottom: 2px solid var(--g905-primary);
  max-width: 430px; margin: 0 auto;
}
.g905-header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.8rem 1rem; max-width: 430px; margin: 0 auto;
}
.g905-logo-wrap {
  display: flex; align-items: center; gap: 0.6rem; cursor: pointer;
}
.g905-logo-wrap img { width: 28px; height: 28px; border-radius: 4px; }
.g905-logo-text { font-size: 1.6rem; font-weight: 700; color: var(--g905-primary-light); }
.g905-header-btns { display: flex; gap: 0.6rem; align-items: center; }
.g905-btn-register, .g905-btn-login {
  padding: 0.5rem 1.2rem; border-radius: 2rem; font-size: 1.2rem;
  font-weight: 600; cursor: pointer; border: none; transition: all 0.2s;
}
.g905-btn-register {
  background: var(--g905-primary); color: #fff;
}
.g905-btn-register:hover { background: var(--g905-primary-light); transform: scale(1.05); }
.g905-btn-login {
  background: transparent; color: var(--g905-primary-light);
  border: 1.5px solid var(--g905-primary);
}
.g905-btn-login:hover { background: var(--g905-primary); color: #fff; }
.g905-menu-toggle {
  background: none; border: none; color: var(--g905-text);
  font-size: 2rem; cursor: pointer; padding: 0.4rem;
  display: none;
}

/* Mobile Menu */
.g905-menu-overlay {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6); z-index: 9998; display: none;
}
.g905-overlay-active { display: block; }
.g905-mobile-menu {
  position: fixed; top: 0; right: -280px; width: 280px; height: 100vh;
  background: var(--g905-bg-dark); z-index: 9999; transition: right 0.3s ease;
  padding: 2rem 1.5rem; overflow-y: auto;
}
.g905-menu-active { right: 0; }
.g905-mobile-menu .g905-menu-close {
  background: none; border: none; color: var(--g905-text);
  font-size: 2.4rem; cursor: pointer; position: absolute; top: 1rem; right: 1rem;
}
.g905-mobile-menu a {
  display: block; padding: 1.2rem 0; font-size: 1.4rem;
  color: var(--g905-text); border-bottom: 1px solid var(--g905-border);
  transition: color 0.2s;
}
.g905-mobile-menu a:hover { color: var(--g905-primary-light); }

/* Desktop nav links */
.g905-nav-links { display: flex; gap: 1rem; align-items: center; }
.g905-nav-links a { font-size: 1.2rem; color: var(--g905-text-muted); transition: color 0.2s; }
.g905-nav-links a:hover { color: var(--g905-primary-light); }

@media (max-width: 768px) {
  .g905-nav-links { display: none; }
  .g905-menu-toggle { display: block; }
}

/* Main content */
.g905-main { padding-top: 6rem; }
@media (max-width: 768px) {
  .g905-main { padding-bottom: 80px; }
}

/* Carousel */
.g905-carousel {
  position: relative; width: 100%; overflow: hidden;
  border-radius: 0 0 1rem 1rem;
}
.g905-slide {
  display: none; width: 100%; cursor: pointer;
}
.g905-slide-active { display: block; }
.g905-slide img { width: 100%; height: auto; }

/* Section */
.g905-section {
  padding: 1.5rem 1rem;
}
.g905-section-title {
  font-size: 1.8rem; font-weight: 700; color: var(--g905-primary-light);
  margin-bottom: 1rem; padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--g905-primary-dark);
}

/* Game grid */
.g905-game-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem; padding: 0.5rem 0;
}
.g905-game-item {
  text-align: center; cursor: pointer; transition: transform 0.2s;
  border-radius: 0.8rem; padding: 0.5rem 0.2rem;
}
.g905-game-item:hover { transform: scale(1.05); }
.g905-game-item img {
  width: 60px; height: 60px; border-radius: 0.6rem;
  margin: 0 auto 0.3rem; border: 1.5px solid var(--g905-border);
}
.g905-game-item span {
  font-size: 1rem; color: var(--g905-text-muted);
  display: block; overflow: hidden; text-overflow: ellipsis;
  white-space: nowrap;
}

/* Category label */
.g905-cat-label {
  font-size: 1.4rem; font-weight: 600; color: var(--g905-accent);
  margin: 1.5rem 0 0.8rem; padding-left: 0.5rem;
  border-left: 3px solid var(--g905-primary);
}

/* Promo buttons */
.g905-promo-btn {
  display: inline-block; padding: 0.8rem 2rem;
  background: linear-gradient(135deg, var(--g905-primary), var(--g905-primary-light));
  color: #fff; font-size: 1.4rem; font-weight: 700;
  border-radius: 2.5rem; cursor: pointer; border: none;
  text-align: center; transition: all 0.3s;
}
.g905-promo-btn:hover { transform: scale(1.05); box-shadow: 0 4px 15px rgba(210,105,30,0.4); }

.g905-promo-link {
  color: var(--g905-accent); font-weight: 700;
  text-decoration: underline; cursor: pointer;
}
.g905-promo-link:hover { color: var(--g905-primary-light); }

/* Info card */
.g905-info-card {
  background: var(--g905-bg-card); border-radius: 1rem;
  padding: 1.5rem; margin-bottom: 1.2rem;
  border: 1px solid var(--g905-border);
}
.g905-info-card h3 {
  font-size: 1.5rem; color: var(--g905-primary-light); margin-bottom: 0.8rem;
}
.g905-info-card p {
  font-size: 1.3rem; color: var(--g905-text-muted); line-height: 1.8rem;
}

/* Footer */
.g905-footer {
  background: var(--g905-bg-dark); padding: 2rem 1rem 1rem;
  border-top: 2px solid var(--g905-primary-dark);
  margin-top: 2rem;
}
.g905-footer-brand {
  font-size: 1.3rem; color: var(--g905-text-muted);
  line-height: 1.8rem; margin-bottom: 1.5rem;
}
.g905-footer-links {
  display: flex; flex-wrap: wrap; gap: 0.8rem;
  margin-bottom: 1.5rem;
}
.g905-footer-links a {
  padding: 0.4rem 0.8rem; background: var(--g905-bg-card);
  border-radius: 0.4rem; font-size: 1.1rem; color: var(--g905-text-muted);
  border: 1px solid var(--g905-border);
}
.g905-footer-links a:hover { color: var(--g905-primary-light); border-color: var(--g905-primary); }
.g905-footer-copy {
  text-align: center; font-size: 1.1rem; color: var(--g905-text-muted);
  padding-top: 1rem; border-top: 1px solid var(--g905-border);
}

/* Bottom mobile nav */
.g905-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 1000; background: var(--g905-bg-dark);
  border-top: 2px solid var(--g905-primary-dark);
  max-width: 430px; margin: 0 auto;
  display: flex; justify-content: space-around; align-items: center;
  height: 60px; padding: 0 0.3rem;
}
.g905-bottom-btn {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; min-width: 60px; min-height: 54px;
  background: none; border: none; color: var(--g905-text-muted);
  cursor: pointer; transition: all 0.2s; border-radius: 0.6rem;
  padding: 0.3rem;
}
.g905-bottom-btn:hover, .g905-bottom-btn:focus {
  color: var(--g905-primary-light); background: rgba(210,105,30,0.1);
}
.g905-bottom-btn i, .g905-bottom-btn .material-icons,
.g905-bottom-btn ion-icon, .g905-bottom-btn bi {
  font-size: 22px; margin-bottom: 0.1rem;
}
.g905-bottom-btn span {
  font-size: 1rem; font-weight: 500;
}
.g905-bottom-btn.g905-active {
  color: var(--g905-primary-light);
}
.g905-bottom-btn.g905-active::after {
  content: ''; display: block; width: 20px; height: 2px;
  background: var(--g905-primary); margin: 0.1rem auto 0;
}

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

/* Responsive adjustments */
@media (max-width: 360px) {
  .g905-game-grid { grid-template-columns: repeat(3, 1fr); }
  .g905-btn-register, .g905-btn-login { padding: 0.4rem 0.8rem; font-size: 1.1rem; }
}

/* Utility */
.g905-text-center { text-align: center; }
.g905-mt-1 { margin-top: 1rem; }
.g905-mb-1 { margin-bottom: 1rem; }
.g905-p-1 { padding: 1rem; }
.g905-hidden { display: none; }

/* FAQ */
.g905-faq-item { margin-bottom: 1rem; }
.g905-faq-q {
  font-size: 1.3rem; font-weight: 600; color: var(--g905-accent);
  margin-bottom: 0.3rem;
}
.g905-faq-a {
  font-size: 1.2rem; color: var(--g905-text-muted); line-height: 1.7rem;
  padding-left: 1rem; border-left: 2px solid var(--g905-border);
}

/* Winner list */
.g905-winner-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.6rem 0; border-bottom: 1px solid var(--g905-border);
  font-size: 1.2rem;
}
.g905-winner-name { color: var(--g905-text); font-weight: 500; }
.g905-winner-amount { color: var(--g905-accent); font-weight: 700; }
.g905-winner-game { color: var(--g905-text-muted); font-size: 1.1rem; }

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

/* Testimonial */
.g905-testimonial {
  background: var(--g905-bg-card); border-radius: 1rem;
  padding: 1.2rem; margin-bottom: 1rem;
  border-left: 3px solid var(--g905-primary);
}
.g905-testimonial p { font-size: 1.2rem; color: var(--g905-text-muted); line-height: 1.6rem; }
.g905-testimonial-author {
  font-size: 1.1rem; color: var(--g905-accent); margin-top: 0.5rem;
}

/* Feature grid */
.g905-feature-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1rem; padding: 0.5rem 0;
}
.g905-feature-card {
  background: var(--g905-bg-card); border-radius: 0.8rem;
  padding: 1.2rem; text-align: center; border: 1px solid var(--g905-border);
}
.g905-feature-card i, .g905-feature-card .material-icons {
  font-size: 2.4rem; color: var(--g905-primary); margin-bottom: 0.5rem;
}
.g905-feature-card h4 {
  font-size: 1.3rem; color: var(--g905-text); margin-bottom: 0.3rem;
}
.g905-feature-card p {
  font-size: 1.1rem; color: var(--g905-text-muted);
}

/* RTP table */
.g905-rtp-table {
  width: 100%; border-collapse: collapse; font-size: 1.2rem;
}
.g905-rtp-table th {
  background: var(--g905-primary-dark); color: #fff;
  padding: 0.6rem; text-align: left;
}
.g905-rtp-table td {
  padding: 0.6rem; border-bottom: 1px solid var(--g905-border);
  color: var(--g905-text-muted);
}
.g905-rtp-table tr:hover td { color: var(--g905-text); }

/* CTA banner */
.g905-cta-banner {
  background: linear-gradient(135deg, var(--g905-primary-dark), var(--g905-primary));
  border-radius: 1rem; padding: 2rem 1.5rem; text-align: center;
  margin: 1.5rem 0;
}
.g905-cta-banner h3 {
  font-size: 1.8rem; color: #fff; margin-bottom: 0.8rem;
}
.g905-cta-banner p {
  font-size: 1.3rem; color: rgba(255,255,255,0.85); margin-bottom: 1.2rem;
}

/* App download section */
.g905-app-section {
  background: var(--g905-bg-card); border-radius: 1rem;
  padding: 1.5rem; margin: 1.5rem 0; text-align: center;
  border: 1px solid var(--g905-border);
}
.g905-app-section h3 {
  font-size: 1.5rem; color: var(--g905-primary-light); margin-bottom: 0.8rem;
}
.g905-app-section p {
  font-size: 1.2rem; color: var(--g905-text-muted); margin-bottom: 1rem;
}
