/**
 * 55577.click - Theme Stylesheet
 * Prefix: g536-
 * Color: #141414 (bg) | #F5DEB3 (text/wheat)
 * Mobile-first design, max-width 430px
 */

:root {
  --g536-primary: #F5DEB3;
  --g536-bg: #141414;
  --g536-text: #F5DEB3;
  --g536-accent: #D4A843;
  --g536-dark: #0a0a0a;
  --g536-card: #1e1e1e;
  --g536-border: #2a2a2a;
  --g536-muted: #8a8070;
  --g536-success: #4CAF50;
  --g536-danger: #E53935;
  --g536-header-bg: #111111;
  --g536-nav-bg: #181818;
  --g536-gradient: linear-gradient(135deg, #D4A843 0%, #F5DEB3 100%);
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 62.5%; scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', Helvetica Neue, Arial, sans-serif;
  background: var(--g536-bg);
  color: var(--g536-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

/* Container */
.g536-container { max-width: 430px; margin: 0 auto; padding: 0 1rem; width: 100%; }
.g536-wrapper { padding: 0 1.2rem; }

/* Header */
.g536-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: var(--g536-header-bg);
  border-bottom: 1px solid var(--g536-border);
  height: 5.2rem;
}
.g536-header-inner {
  max-width: 430px; margin: 0 auto; height: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 1rem;
}
.g536-logo-area { display: flex; align-items: center; gap: 0.6rem; }
.g536-logo-icon { width: 2.8rem; height: 2.8rem; border-radius: 0.5rem; }
.g536-logo-text { font-size: 1.8rem; font-weight: 700; color: var(--g536-primary); }
.g536-header-btns { display: flex; align-items: center; gap: 0.6rem; }
.g536-btn-register {
  background: var(--g536-gradient); color: var(--g536-bg);
  border: none; padding: 0.6rem 1.4rem; border-radius: 2rem;
  font-size: 1.2rem; font-weight: 700; cursor: pointer;
  transition: transform 0.2s, opacity 0.2s;
}
.g536-btn-register:hover { transform: scale(1.05); opacity: 0.9; }
.g536-btn-login {
  background: transparent; color: var(--g536-primary);
  border: 1px solid var(--g536-primary); padding: 0.5rem 1.2rem;
  border-radius: 2rem; font-size: 1.2rem; font-weight: 600; cursor: pointer;
  transition: background 0.2s;
}
.g536-btn-login:hover { background: rgba(245, 222, 179, 0.1); }
.g536-menu-toggle {
  background: none; border: none; color: var(--g536-primary);
  font-size: 2rem; cursor: pointer; padding: 0.4rem;
  display: flex; align-items: center; justify-content: center;
}

/* Mobile Menu */
.g536-menu-overlay {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.7); z-index: 9998;
  opacity: 0; visibility: hidden; transition: all 0.3s;
}
.g536-overlay-active { opacity: 1; visibility: visible; }
.g536-mobile-menu {
  position: fixed; top: 0; left: -280px; width: 280px; height: 100%;
  background: var(--g536-dark); z-index: 9999;
  transition: left 0.3s ease; overflow-y: auto;
}
.g536-menu-active { left: 0; }
.g536-menu-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.4rem 1.2rem; border-bottom: 1px solid var(--g536-border);
}
.g536-menu-title { font-size: 1.6rem; font-weight: 700; color: var(--g536-primary); }
.g536-menu-close {
  background: none; border: none; color: var(--g536-text);
  font-size: 2.2rem; cursor: pointer; line-height: 1;
}
.g536-menu-links { list-style: none; padding: 0.8rem 0; }
.g536-menu-links li a {
  display: block; padding: 1.2rem 1.6rem; color: var(--g536-text);
  text-decoration: none; font-size: 1.4rem; border-bottom: 1px solid var(--g536-border);
  transition: background 0.2s, color 0.2s;
}
.g536-menu-links li a:hover { background: rgba(245, 222, 179, 0.08); color: var(--g536-primary); }

/* Slider / Carousel */
.g536-slider { position: relative; overflow: hidden; border-radius: 0.8rem; margin: 1rem 0; }
.g536-slide { display: none; width: 100%; cursor: pointer; transition: opacity 0.5s; }
.g536-slide img { width: 100%; height: auto; display: block; border-radius: 0.8rem; }
.g536-slider-dots { display: flex; justify-content: center; gap: 0.6rem; margin-top: 0.6rem; }
.g536-slider-dot {
  width: 0.8rem; height: 0.8rem; border-radius: 50%;
  background: var(--g536-border); cursor: pointer; border: none;
  transition: background 0.3s;
}
.g536-dot-active { background: var(--g536-primary); }

/* Section Headings */
.g536-section { margin: 2rem 0; }
.g536-section-title {
  font-size: 1.8rem; font-weight: 700; color: var(--g536-primary);
  margin-bottom: 1.2rem; padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--g536-accent);
}
.g536-section-title i { margin-right: 0.5rem; }

/* Game Grid */
.g536-game-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem; margin: 1rem 0;
}
.g536-game-item {
  text-align: center; cursor: pointer;
  transition: transform 0.2s;
}
.g536-game-item:hover { transform: translateY(-3px); }
.g536-game-item img {
  width: 100%; aspect-ratio: 1; border-radius: 0.8rem;
  border: 2px solid var(--g536-border); object-fit: cover;
  transition: border-color 0.2s;
}
.g536-game-item:hover img { border-color: var(--g536-accent); }
.g536-game-name {
  font-size: 1.1rem; margin-top: 0.4rem; color: var(--g536-text);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* Category Label */
.g536-cat-label {
  font-size: 1.5rem; font-weight: 700; color: var(--g536-accent);
  margin: 1.6rem 0 0.8rem; display: flex; align-items: center; gap: 0.5rem;
}

/* Cards */
.g536-card {
  background: var(--g536-card); border-radius: 1rem;
  padding: 1.4rem; margin-bottom: 1.2rem;
  border: 1px solid var(--g536-border);
}
.g536-card-title {
  font-size: 1.5rem; font-weight: 700; color: var(--g536-primary);
  margin-bottom: 0.8rem;
}
.g536-card p { font-size: 1.3rem; line-height: 1.8rem; color: var(--g536-muted); }

/* Promo Buttons */
.g536-promo-btn {
  display: inline-block; background: var(--g536-gradient);
  color: var(--g536-bg); font-weight: 700; font-size: 1.3rem;
  padding: 0.8rem 2rem; border-radius: 2rem; cursor: pointer;
  border: none; text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.g536-promo-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(212, 168, 67, 0.3);
}

/* Text Link */
.g536-text-link {
  color: var(--g536-accent); text-decoration: underline;
  cursor: pointer; font-weight: 600;
}
.g536-text-link:hover { color: var(--g536-primary); }

/* Bottom Nav */
.g536-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  background: var(--g536-header-bg);
  border-top: 1px solid var(--g536-border);
  display: flex; justify-content: space-around; align-items: center;
  height: 6rem; padding: 0;
}
.g536-bottom-nav-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 6rem; min-height: 5rem; background: none; border: none;
  color: var(--g536-muted); cursor: pointer; transition: color 0.2s, transform 0.2s;
  padding: 0.4rem;
}
.g536-bottom-nav-btn:hover { color: var(--g536-primary); transform: scale(1.08); }
.g536-bottom-nav-btn .g536-nav-icon { font-size: 2.4rem; line-height: 1; }
.g536-bottom-nav-btn .g536-nav-label { font-size: 1rem; margin-top: 0.2rem; }
.g536-nav-active { color: var(--g536-primary) !important; }
.g536-nav-active .g536-nav-icon { filter: drop-shadow(0 0 4px rgba(245, 222, 179, 0.5)); }

/* Footer */
.g536-footer {
  background: var(--g536-dark); padding: 2rem 1rem 8rem;
  border-top: 1px solid var(--g536-border); margin-top: 2rem;
}
.g536-footer-brand { text-align: center; margin-bottom: 1.5rem; }
.g536-footer-brand h3 { font-size: 1.6rem; color: var(--g536-primary); margin-bottom: 0.6rem; }
.g536-footer-brand p { font-size: 1.2rem; color: var(--g536-muted); line-height: 1.6rem; }
.g536-footer-links {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 0.8rem; margin: 1.2rem 0;
}
.g536-footer-links a {
  color: var(--g536-accent); text-decoration: none; font-size: 1.2rem;
  padding: 0.4rem 0.8rem; border: 1px solid var(--g536-border);
  border-radius: 2rem; transition: all 0.2s;
}
.g536-footer-links a:hover { background: rgba(245, 222, 179, 0.1); border-color: var(--g536-accent); }
.g536-footer-copy {
  text-align: center; font-size: 1.1rem; color: var(--g536-muted);
  margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--g536-border);
}

/* Info blocks */
.g536-info-block { margin-bottom: 1.4rem; }
.g536-info-block h3 { font-size: 1.4rem; color: var(--g536-accent); margin-bottom: 0.5rem; }
.g536-info-block p, .g536-info-block li { font-size: 1.2rem; color: var(--g536-muted); line-height: 1.7rem; }
.g536-info-block ul { padding-left: 1.6rem; }

/* Highlight box */
.g536-highlight {
  background: linear-gradient(135deg, rgba(212,168,67,0.1), rgba(245,222,179,0.05));
  border: 1px solid var(--g536-accent); border-radius: 1rem;
  padding: 1.4rem; margin: 1.2rem 0; text-align: center;
}

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

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

/* Winner showcase */
.g536-winner-row { display: flex; align-items: center; gap: 0.8rem; padding: 0.6rem 0; }
.g536-winner-amount { color: var(--g536-success); font-weight: 700; font-size: 1.3rem; }

/* Responsive */
@media (min-width: 769px) {
  .g536-bottom-nav { display: none; }
  .g536-container { max-width: 430px; }
}
@media (max-width: 768px) {
  body { padding-top: 5.2rem; }
  main { padding-bottom: 7rem; }
}
