/* gk9.click - Main Stylesheet */
/* All classes prefixed with s520- */
/* Color palette: #CCCCCC #3A3A3A #FFCCCB #98FB98 #00FF00 #00FF7F */

:root {
  --s520-primary: #00FF7F;
  --s520-secondary: #00FF00;
  --s520-bg: #3A3A3A;
  --s520-bg-dark: #2a2a2a;
  --s520-bg-light: #4a4a4a;
  --s520-text: #CCCCCC;
  --s520-text-light: #98FB98;
  --s520-accent: #FFCCCB;
  --s520-white: #ffffff;
  --s520-border: #555555;
  --s520-radius: 1.2rem;
  --s520-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
  --s520-font: 'Segoe UI', Arial, sans-serif;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--s520-font);
  background-color: var(--s520-bg);
  color: var(--s520-text);
  line-height: 1.6;
  font-size: 1.5rem;
  max-width: 430px;
  margin: 0 auto;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--s520-primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

/* ========== HEADER ========== */
.s520-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  background: var(--s520-bg-dark);
  z-index: 1000;
  border-bottom: 2px solid var(--s520-primary);
  padding: 0.8rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.s520-header-left {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.s520-logo {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.s520-site-name {
  font-size: 2rem;
  font-weight: 700;
  color: var(--s520-primary);
  letter-spacing: 1px;
}

.s520-header-right {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.s520-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.4rem;
  border-radius: var(--s520-radius);
  font-size: 1.3rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  min-height: 36px;
}

.s520-btn-register {
  background: var(--s520-primary);
  color: var(--s520-bg-dark);
}

.s520-btn-register:hover {
  background: var(--s520-secondary);
  transform: scale(1.05);
}

.s520-btn-login {
  background: transparent;
  color: var(--s520-primary);
  border: 1.5px solid var(--s520-primary);
}

.s520-btn-login:hover {
  background: var(--s520-primary);
  color: var(--s520-bg-dark);
}

.s520-menu-btn {
  background: none;
  border: none;
  color: var(--s520-text);
  font-size: 2.2rem;
  cursor: pointer;
  padding: 0.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ========== MOBILE MENU ========== */
.s520-mobile-menu {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(calc(-50% - 430px));
  width: 100%;
  max-width: 430px;
  height: 100vh;
  background: var(--s520-bg-dark);
  z-index: 9999;
  transition: transform 0.3s ease;
  overflow-y: auto;
  padding: 2rem;
}

.s520-mobile-menu.s520-menu-open {
  transform: translateX(-50%);
}

.s520-menu-close {
  background: none;
  border: none;
  color: var(--s520-text);
  font-size: 2.4rem;
  cursor: pointer;
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.s520-menu-title {
  font-size: 2rem;
  color: var(--s520-primary);
  margin-bottom: 2rem;
  font-weight: 700;
}

.s520-menu-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.s520-menu-link {
  display: block;
  padding: 1rem;
  color: var(--s520-text);
  font-size: 1.5rem;
  border-bottom: 1px solid var(--s520-border);
  transition: all 0.2s;
}

.s520-menu-link:hover {
  color: var(--s520-primary);
  background: var(--s520-bg-light);
  text-decoration: none;
}

.s520-menu-section {
  font-size: 1.3rem;
  color: var(--s520-primary);
  padding: 1rem 1rem 0.3rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.s520-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9998;
}

/* ========== MAIN CONTENT ========== */
.s520-main {
  padding-top: 6rem;
  min-height: 100vh;
}

/* ========== CAROUSEL ========== */
.s520-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 0 0 1.2rem 1.2rem;
}

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

.s520-slide img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/7;
  object-fit: cover;
}

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

.s520-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: background 0.3s;
}

.s520-dot-active, .s520-dot:hover {
  background: var(--s520-primary);
}

/* ========== SECTIONS ========== */
.s520-section {
  padding: 2rem 1.2rem;
}

.s520-section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--s520-primary);
  margin-bottom: 1.2rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--s520-border);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.s520-section-title i,
.s520-section-title .material-icons {
  font-size: 2.2rem;
}

.s520-section-desc {
  font-size: 1.4rem;
  line-height: 1.7;
  color: var(--s520-text);
  margin-bottom: 1.5rem;
}

/* ========== CATEGORY TABS ========== */
.s520-cat-tabs {
  display: flex;
  gap: 0.6rem;
  overflow-x: auto;
  padding: 0 1.2rem 1rem;
  -webkit-overflow-scrolling: touch;
}

.s520-cat-tab {
  flex-shrink: 0;
  padding: 0.6rem 1.4rem;
  border-radius: 2rem;
  background: var(--s520-bg-light);
  color: var(--s520-text);
  font-size: 1.3rem;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid var(--s520-border);
  transition: all 0.2s;
  white-space: nowrap;
}

.s520-cat-tab-active, .s520-cat-tab:hover {
  background: var(--s520-primary);
  color: var(--s520-bg-dark);
  border-color: var(--s520-primary);
}

/* ========== GAME GRID ========== */
.s520-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
  padding: 0 1rem;
}

.s520-game-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: transform 0.2s;
  text-align: center;
}

.s520-game-item:hover {
  transform: scale(1.05);
}

.s520-game-img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 1rem;
  object-fit: cover;
  border: 2px solid var(--s520-border);
  margin-bottom: 0.4rem;
}

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

/* ========== INFO CARDS ========== */
.s520-card {
  background: var(--s520-bg-light);
  border-radius: var(--s520-radius);
  padding: 1.6rem;
  margin-bottom: 1.2rem;
  box-shadow: var(--s520-shadow);
  border-left: 4px solid var(--s520-primary);
}

.s520-card-title {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--s520-primary);
  margin-bottom: 0.8rem;
}

.s520-card-text {
  font-size: 1.4rem;
  line-height: 1.7;
  color: var(--s520-text);
}

.s520-card-text p {
  margin-bottom: 0.8rem;
}

.s520-card-text ul {
  padding-left: 1.6rem;
  list-style: disc;
}

.s520-card-text li {
  margin-bottom: 0.4rem;
}

/* ========== PROMO CTA ========== */
.s520-cta {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: linear-gradient(135deg, var(--s520-bg-dark), var(--s520-bg-light));
  border-radius: var(--s520-radius);
  margin: 1.5rem 1.2rem;
  border: 1px solid var(--s520-border);
}

.s520-cta-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--s520-primary);
  margin-bottom: 1rem;
}

.s520-cta-text {
  font-size: 1.4rem;
  color: var(--s520-text);
  margin-bottom: 1.5rem;
}

.s520-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 2.5rem;
  background: var(--s520-primary);
  color: var(--s520-bg-dark);
  font-size: 1.6rem;
  font-weight: 700;
  border-radius: 3rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}

.s520-cta-btn:hover {
  background: var(--s520-secondary);
  transform: scale(1.08);
  box-shadow: 0 0 20px rgba(0, 255, 127, 0.4);
}

/* ========== FEATURES GRID ========== */
.s520-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding: 0 1.2rem;
}

.s520-feature-card {
  background: var(--s520-bg-light);
  border-radius: var(--s520-radius);
  padding: 1.4rem;
  text-align: center;
  border: 1px solid var(--s520-border);
  transition: transform 0.2s;
}

.s520-feature-card:hover {
  transform: translateY(-3px);
}

.s520-feature-icon {
  font-size: 2.6rem;
  color: var(--s520-primary);
  margin-bottom: 0.8rem;
}

.s520-feature-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--s520-text-light);
  margin-bottom: 0.4rem;
}

.s520-feature-desc {
  font-size: 1.2rem;
  color: var(--s520-text);
  line-height: 1.4;
}

/* ========== STEPS ========== */
.s520-steps {
  padding: 0 1.2rem;
  counter-reset: s520-step;
}

.s520-step {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.2rem;
  align-items: flex-start;
}

.s520-step-num {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  background: var(--s520-primary);
  color: var(--s520-bg-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 700;
}

.s520-step-content h3 {
  font-size: 1.5rem;
  color: var(--s520-text-light);
  margin-bottom: 0.3rem;
}

.s520-step-content p {
  font-size: 1.3rem;
  color: var(--s520-text);
  line-height: 1.5;
}

/* ========== FAQ ========== */
.s520-faq-item {
  background: var(--s520-bg-light);
  border-radius: var(--s520-radius);
  padding: 1.4rem;
  margin-bottom: 0.8rem;
  border: 1px solid var(--s520-border);
}

.s520-faq-q {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--s520-primary);
  margin-bottom: 0.6rem;
}

.s520-faq-a {
  font-size: 1.3rem;
  color: var(--s520-text);
  line-height: 1.6;
}

/* ========== INTERNAL LINKS ========== */
.s520-internal-links {
  padding: 1rem 1.2rem;
}

.s520-internal-links a {
  display: inline-block;
  color: var(--s520-text-light);
  font-size: 1.3rem;
  padding: 0.3rem 0.8rem;
  border: 1px solid var(--s520-border);
  border-radius: 1.5rem;
  margin: 0.3rem;
  transition: all 0.2s;
}

.s520-internal-links a:hover {
  background: var(--s520-primary);
  color: var(--s520-bg-dark);
  text-decoration: none;
}

/* ========== FOOTER ========== */
.s520-footer {
  background: var(--s520-bg-dark);
  padding: 2rem 1.2rem 8rem;
  border-top: 2px solid var(--s520-primary);
}

.s520-footer-brand {
  text-align: center;
  margin-bottom: 1.5rem;
}

.s520-footer-brand-name {
  font-size: 2rem;
  font-weight: 700;
  color: var(--s520-primary);
}

.s520-footer-brand-text {
  font-size: 1.2rem;
  color: var(--s520-text);
  margin-top: 0.4rem;
}

.s520-footer-btns {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.s520-footer-btn {
  padding: 0.8rem 2rem;
  border-radius: 2.5rem;
  font-size: 1.4rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}

.s520-footer-btn-reg {
  background: var(--s520-primary);
  color: var(--s520-bg-dark);
}

.s520-footer-btn-log {
  background: transparent;
  color: var(--s520-primary);
  border: 1.5px solid var(--s520-primary);
}

.s520-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem 1.2rem;
  margin-bottom: 1.5rem;
}

.s520-footer-links a {
  font-size: 1.2rem;
  color: var(--s520-text);
  transition: color 0.2s;
}

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

.s520-footer-copy {
  text-align: center;
  font-size: 1.1rem;
  color: #888;
  border-top: 1px solid var(--s520-border);
  padding-top: 1rem;
}

/* ========== BOTTOM NAV ========== */
.s520-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 60px;
  background: var(--s520-bg-dark);
  border-top: 2px solid var(--s520-primary);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.4);
}

.s520-bottom-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 56px;
  background: none;
  border: none;
  color: var(--s520-text);
  cursor: pointer;
  transition: all 0.2s;
  padding: 0.4rem;
  border-radius: 0.8rem;
}

.s520-bottom-btn:hover {
  color: var(--s520-primary);
}

.s520-bottom-btn-active {
  color: var(--s520-primary);
  background: rgba(0, 255, 127, 0.1);
}

.s520-bottom-btn i,
.s520-bottom-btn .material-icons,
.s520-bottom-btn ion-icon {
  font-size: 2.2rem;
  margin-bottom: 0.2rem;
}

.s520-bottom-btn span {
  font-size: 1rem;
  font-weight: 500;
}

/* ========== TESTIMONIALS ========== */
.s520-testimonial {
  background: var(--s520-bg-light);
  border-radius: var(--s520-radius);
  padding: 1.4rem;
  margin-bottom: 1rem;
  border: 1px solid var(--s520-border);
}

.s520-testimonial-name {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--s520-primary);
}

.s520-testimonial-text {
  font-size: 1.3rem;
  color: var(--s520-text);
  margin-top: 0.5rem;
  line-height: 1.5;
  font-style: italic;
}

/* ========== WINNER LIST ========== */
.s520-winner-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem;
  background: var(--s520-bg-light);
  border-radius: 0.8rem;
  margin-bottom: 0.5rem;
}

.s520-winner-name {
  font-size: 1.3rem;
  color: var(--s520-text-light);
  font-weight: 600;
}

.s520-winner-game {
  font-size: 1.2rem;
  color: var(--s520-text);
}

.s520-winner-amount {
  margin-left: auto;
  font-size: 1.4rem;
  color: var(--s520-primary);
  font-weight: 700;
}

/* ========== PAYMENT METHODS ========== */
.s520-payment-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
}

.s520-payment-item {
  background: var(--s520-bg-light);
  border: 1px solid var(--s520-border);
  border-radius: 0.8rem;
  padding: 0.8rem 1.2rem;
  font-size: 1.3rem;
  color: var(--s520-text);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* ========== BADGE ========== */
.s520-badge {
  display: inline-block;
  padding: 0.2rem 0.8rem;
  border-radius: 1rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.s520-badge-hot {
  background: #FF6B6B;
  color: white;
}

.s520-badge-new {
  background: var(--s520-primary);
  color: var(--s520-bg-dark);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .s520-main {
    padding-bottom: 80px;
  }
}

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

/* Desktop navigation */
.s520-desktop-nav {
  display: none;
}

@media (min-width: 769px) {
  .s520-desktop-nav {
    display: flex;
    gap: 1.5rem;
    align-items: center;
  }
  .s520-desktop-nav a {
    color: var(--s520-text);
    font-size: 1.3rem;
    transition: color 0.2s;
  }
  .s520-desktop-nav a:hover {
    color: var(--s520-primary);
  }
}

/* ========== HELP PAGE SPECIFIC ========== */
.s520-help-content {
  padding: 2rem 1.2rem 8rem;
  padding-top: 6rem;
}

.s520-help-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--s520-primary);
  text-align: center;
  margin-bottom: 1.5rem;
}

.s520-tip-item {
  background: var(--s520-bg-light);
  border-radius: var(--s520-radius);
  padding: 1.4rem;
  margin-bottom: 1rem;
  border-left: 4px solid var(--s520-primary);
}

.s520-tip-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--s520-text-light);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.s520-tip-desc {
  font-size: 1.3rem;
  color: var(--s520-text);
  line-height: 1.6;
}

/* Utility */
.s520-text-center {
  text-align: center;
}

.s520-mb-1 {
  margin-bottom: 1rem;
}

.s520-mb-2 {
  margin-bottom: 2rem;
}

.s520-mt-1 {
  margin-top: 1rem;
}

.s520-hidden {
  display: none;
}

/* Animation */
@keyframes s520-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.s520-pulse {
  animation: s520-pulse 2s ease-in-out infinite;
}
