/**
 * GamePHP - Theme Stylesheet
 * Website: gamephp.sbs
 * Prefix: w3e60-
 * Palette: #273746 (bg) | #40E0D0 (accent)
 */
:root {
  --w3e60-primary: #40E0D0;
  --w3e60-bg: #273746;
  --w3e60-bg-dark: #1a2632;
  --w3e60-bg-card: #1e2d3d;
  --w3e60-text: #e8f0f2;
  --w3e60-text-muted: #8fa3b0;
  --w3e60-accent: #40E0D0;
  --w3e60-accent-hover: #2bc4b5;
  --w3e60-gold: #f0c040;
  --w3e60-danger: #e74c3c;
  --w3e60-success: #2ecc71;
  --w3e60-radius: 8px;
  --w3e60-radius-lg: 12px;
  --w3e60-shadow: 0 2px 12px rgba(0,0,0,0.3);
  --w3e60-shadow-lg: 0 8px 32px rgba(0,0,0,0.4);
  --w3e60-transition: 0.3s ease;
  --w3e60-header-h: 56px;
  --w3e60-bottom-h: 60px;
  --w3e60-max-w: 430px;
  font-size: 62.5%;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 1.5rem;
  line-height: 1.5;
  color: var(--w3e60-text);
  background: var(--w3e60-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--w3e60-accent); text-decoration: none; transition: color var(--w3e60-transition); }
a:hover { color: var(--w3e60-accent-hover); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* Utility */
.w3e60-container { max-width: var(--w3e60-max-w); margin: 0 auto; padding: 0 1.2rem; }
.w3e60-wrapper { width: 100%; position: relative; }
.w3e60-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ========== HEADER ========== */
.w3e60-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--w3e60-header-h);
  background: var(--w3e60-bg-dark);
  border-bottom: 1px solid rgba(64,224,208,0.15);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 1rem;
  transition: background var(--w3e60-transition), box-shadow var(--w3e60-transition);
}
.w3e60-header-scrolled {
  background: rgba(26,38,50,0.97);
  box-shadow: 0 2px 16px rgba(0,0,0,0.5);
}
.w3e60-header-left {
  display: flex; align-items: center; gap: 0.8rem;
}
.w3e60-header-logo {
  width: 28px; height: 28px; border-radius: 6px; object-fit: contain;
}
.w3e60-header-brand {
  font-size: 1.7rem; font-weight: 700; color: var(--w3e60-accent);
  letter-spacing: 0.5px;
}
.w3e60-header-right {
  display: flex; align-items: center; gap: 0.6rem;
}
.w3e60-header-btn {
  padding: 0.5rem 1.2rem; border-radius: var(--w3e60-radius);
  font-size: 1.3rem; font-weight: 600; cursor: pointer;
  border: none; transition: all var(--w3e60-transition);
  min-height: 36px; display: flex; align-items: center; gap: 0.4rem;
}
.w3e60-btn-register {
  background: var(--w3e60-accent); color: var(--w3e60-bg-dark);
}
.w3e60-btn-register:hover { background: var(--w3e60-accent-hover); transform: scale(1.03); }
.w3e60-btn-login {
  background: transparent; color: var(--w3e60-accent);
  border: 1.5px solid var(--w3e60-accent);
}
.w3e60-btn-login:hover { background: rgba(64,224,208,0.1); }
.w3e60-menu-toggle {
  background: none; border: none; color: var(--w3e60-text);
  font-size: 2.2rem; cursor: pointer; padding: 0.4rem;
  display: flex; align-items: center; justify-content: center;
  min-width: 40px; min-height: 40px;
}

/* ========== MOBILE MENU ========== */
.w3e60-overlay {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6); z-index: 9998;
  opacity: 0; visibility: hidden; transition: all var(--w3e60-transition);
}
.w3e60-overlay-active { opacity: 1; visibility: visible; }
.w3e60-mobile-menu {
  position: fixed; top: 0; right: -280px; width: 280px; height: 100vh;
  background: var(--w3e60-bg-dark); z-index: 9999;
  transition: right var(--w3e60-transition);
  padding: 2rem 1.5rem; overflow-y: auto;
  box-shadow: -4px 0 24px rgba(0,0,0,0.5);
}
.w3e60-menu-active { right: 0; }
.w3e60-menu-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 2rem; padding-bottom: 1.2rem;
  border-bottom: 1px solid rgba(64,224,208,0.15);
}
.w3e60-menu-title { font-size: 1.8rem; font-weight: 700; color: var(--w3e60-accent); }
.w3e60-menu-close {
  background: none; border: none; color: var(--w3e60-text-muted);
  font-size: 2.4rem; cursor: pointer; padding: 0.4rem;
  min-width: 40px; min-height: 40px; display: flex; align-items: center;
}
.w3e60-menu-nav a {
  display: block; padding: 1.1rem 1rem; color: var(--w3e60-text);
  font-size: 1.5rem; border-radius: var(--w3e60-radius);
  transition: all var(--w3e60-transition);
  margin-bottom: 0.3rem;
}
.w3e60-menu-nav a:hover {
  background: rgba(64,224,208,0.1); color: var(--w3e60-accent);
  padding-left: 1.4rem;
}

/* ========== MAIN CONTENT ========== */
.w3e60-main {
  padding-top: var(--w3e60-header-h);
  min-height: 100vh;
}
@media (max-width: 768px) {
  .w3e60-main { padding-bottom: calc(var(--w3e60-bottom-h) + 20px); }
}

/* ========== CAROUSEL ========== */
.w3e60-carousel {
  position: relative; width: 100%; overflow: hidden;
  border-radius: 0 0 var(--w3e60-radius-lg) var(--w3e60-radius-lg);
  margin-bottom: 1.5rem;
}
.w3e60-slides-wrapper { position: relative; width: 100%; padding-top: 50%; }
.w3e60-slide {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  opacity: 0; transition: opacity 0.6s ease; cursor: pointer;
}
.w3e60-slide-active { opacity: 1; }
.w3e60-slide img { width: 100%; height: 100%; object-fit: cover; }
.w3e60-dots {
  position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 6px; z-index: 5;
}
.w3e60-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.4); cursor: pointer;
  transition: all var(--w3e60-transition); border: none;
}
.w3e60-dot-active { background: var(--w3e60-accent); transform: scale(1.3); }

/* ========== SECTIONS ========== */
.w3e60-section {
  padding: 2rem 0;
}
.w3e60-section-title {
  font-size: 2rem; font-weight: 700; color: var(--w3e60-text);
  margin-bottom: 1.2rem; padding-left: 1rem;
  border-left: 4px solid var(--w3e60-accent);
  line-height: 1.3;
}
.w3e60-section-subtitle {
  font-size: 1.6rem; color: var(--w3e60-text-muted);
  margin-bottom: 1rem;
}

/* ========== GAME GRID ========== */
.w3e60-category-title {
  font-size: 1.7rem; font-weight: 600; color: var(--w3e60-accent);
  margin: 1.5rem 0 1rem; display: flex; align-items: center; gap: 0.6rem;
}
.w3e60-game-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}
.w3e60-game-item {
  display: flex; flex-direction: column; align-items: center;
  cursor: pointer; transition: transform var(--w3e60-transition);
  border-radius: var(--w3e60-radius); padding: 0.5rem;
  background: var(--w3e60-bg-card);
}
.w3e60-game-item:hover { transform: translateY(-3px); }
.w3e60-game-item:active { transform: scale(0.95); }
.w3e60-game-img {
  width: 100%; aspect-ratio: 1; border-radius: var(--w3e60-radius);
  object-fit: cover; margin-bottom: 0.4rem;
}
.w3e60-game-name {
  font-size: 1.1rem; color: var(--w3e60-text); text-align: center;
  line-height: 1.2; overflow: hidden; text-overflow: ellipsis;
  white-space: nowrap; width: 100%;
}

/* ========== CARDS ========== */
.w3e60-card {
  background: var(--w3e60-bg-card); border-radius: var(--w3e60-radius-lg);
  padding: 1.5rem; margin-bottom: 1.2rem;
  border: 1px solid rgba(64,224,208,0.1);
  transition: border-color var(--w3e60-transition);
}
.w3e60-card:hover { border-color: rgba(64,224,208,0.3); }
.w3e60-card-title {
  font-size: 1.7rem; font-weight: 600; color: var(--w3e60-accent);
  margin-bottom: 0.8rem;
}
.w3e60-card-text { font-size: 1.4rem; color: var(--w3e60-text-muted); line-height: 1.6; }

/* ========== PROMO LINKS ========== */
.w3e60-promo-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 1rem 2rem; background: var(--w3e60-accent);
  color: var(--w3e60-bg-dark); font-size: 1.5rem; font-weight: 700;
  border-radius: var(--w3e60-radius-lg); cursor: pointer; border: none;
  transition: all var(--w3e60-transition); width: 100%;
  min-height: 48px;
}
.w3e60-promo-btn:hover { background: var(--w3e60-accent-hover); transform: scale(1.02); }
.w3e60-promo-btn:active { transform: scale(0.97); }
.w3e60-promo-text {
  color: var(--w3e60-accent); font-weight: 600; cursor: pointer;
  transition: color var(--w3e60-transition);
}
.w3e60-promo-text:hover { color: var(--w3e60-accent-hover); text-decoration: underline; }

/* ========== FOOTER ========== */
.w3e60-footer {
  background: var(--w3e60-bg-dark); padding: 2.5rem 0 1.5rem;
  border-top: 1px solid rgba(64,224,208,0.1);
}
.w3e60-footer-brand {
  font-size: 1.4rem; color: var(--w3e60-text-muted);
  line-height: 1.7; margin-bottom: 1.5rem;
}
.w3e60-footer-links {
  display: flex; flex-wrap: wrap; gap: 0.8rem; margin-bottom: 1.5rem;
}
.w3e60-footer-link {
  padding: 0.5rem 1rem; background: rgba(64,224,208,0.1);
  color: var(--w3e60-accent); border-radius: var(--w3e60-radius);
  font-size: 1.2rem; cursor: pointer; transition: all var(--w3e60-transition);
}
.w3e60-footer-link:hover { background: rgba(64,224,208,0.2); }
.w3e60-footer-site-links {
  display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 1.5rem;
}
.w3e60-footer-site-links a {
  font-size: 1.3rem; color: var(--w3e60-text-muted);
  transition: color var(--w3e60-transition);
}
.w3e60-footer-site-links a:hover { color: var(--w3e60-accent); }
.w3e60-footer-copy {
  font-size: 1.2rem; color: var(--w3e60-text-muted);
  text-align: center; padding-top: 1rem;
  border-top: 1px solid rgba(64,224,208,0.08);
}

/* ========== BOTTOM NAV ========== */
.w3e60-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  height: var(--w3e60-bottom-h);
  background: linear-gradient(180deg, var(--w3e60-bg-dark), #0f1a24);
  border-top: 1px solid rgba(64,224,208,0.2);
  display: flex; justify-content: space-around; align-items: center;
  padding: 0 0.3rem;
  box-shadow: 0 -2px 16px rgba(0,0,0,0.4);
}
.w3e60-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(--w3e60-text-muted); cursor: pointer;
  transition: all var(--w3e60-transition); padding: 0.4rem;
  border-radius: var(--w3e60-radius); position: relative;
}
.w3e60-bottom-btn:hover, .w3e60-bottom-btn:focus { color: var(--w3e60-accent); }
.w3e60-bottom-btn:active { transform: scale(0.9); }
.w3e60-bottom-btn-icon { font-size: 2.2rem; line-height: 1; margin-bottom: 0.2rem; }
.w3e60-bottom-btn-label { font-size: 1rem; line-height: 1.2; }
.w3e60-bottom-active {
  color: var(--w3e60-accent);
}
.w3e60-bottom-active::before {
  content: ''; position: absolute; top: -1px; left: 50%; transform: translateX(-50%);
  width: 24px; height: 3px; background: var(--w3e60-accent); border-radius: 0 0 3px 3px;
}
@media (min-width: 769px) {
  .w3e60-bottom-nav { display: none; }
}

/* ========== FEATURES GRID ========== */
.w3e60-features {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem;
}
.w3e60-feature-item {
  background: var(--w3e60-bg-card); border-radius: var(--w3e60-radius-lg);
  padding: 1.2rem; text-align: center;
  border: 1px solid rgba(64,224,208,0.08);
}
.w3e60-feature-icon { font-size: 2.8rem; color: var(--w3e60-accent); margin-bottom: 0.6rem; }
.w3e60-feature-title { font-size: 1.4rem; font-weight: 600; color: var(--w3e60-text); margin-bottom: 0.4rem; }
.w3e60-feature-desc { font-size: 1.2rem; color: var(--w3e60-text-muted); line-height: 1.4; }

/* ========== RTP TABLE ========== */
.w3e60-rtp-table { width: 100%; border-collapse: collapse; font-size: 1.3rem; }
.w3e60-rtp-table th {
  background: rgba(64,224,208,0.15); color: var(--w3e60-accent);
  padding: 0.8rem; text-align: left; font-weight: 600;
  border-bottom: 2px solid var(--w3e60-accent);
}
.w3e60-rtp-table td {
  padding: 0.7rem 0.8rem; border-bottom: 1px solid rgba(64,224,208,0.08);
  color: var(--w3e60-text);
}
.w3e60-rtp-table tr:hover td { background: rgba(64,224,208,0.05); }
.w3e60-rtp-high { color: var(--w3e60-success); font-weight: 600; }
.w3e60-rtp-mid { color: var(--w3e60-gold); font-weight: 600; }

/* ========== TESTIMONIALS ========== */
.w3e60-testimonial {
  background: var(--w3e60-bg-card); border-radius: var(--w3e60-radius-lg);
  padding: 1.2rem; margin-bottom: 1rem;
  border-left: 3px solid var(--w3e60-accent);
}
.w3e60-testimonial-text { font-size: 1.3rem; color: var(--w3e60-text); line-height: 1.6; margin-bottom: 0.6rem; font-style: italic; }
.w3e60-testimonial-author { font-size: 1.2rem; color: var(--w3e60-accent); font-weight: 600; }
.w3e60-testimonial-stars { color: var(--w3e60-gold); font-size: 1.2rem; }

/* ========== WINNERS ========== */
.w3e60-winner-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.8rem 0; border-bottom: 1px solid rgba(64,224,208,0.06);
}
.w3e60-winner-name { font-size: 1.3rem; color: var(--w3e60-text); }
.w3e60-winner-game { font-size: 1.2rem; color: var(--w3e60-text-muted); }
.w3e60-winner-amount { font-size: 1.4rem; color: var(--w3e60-gold); font-weight: 700; }

/* ========== PAYMENT ========== */
.w3e60-payment-grid {
  display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center;
}
.w3e60-payment-item {
  background: var(--w3e60-bg-card); border-radius: var(--w3e60-radius);
  padding: 0.6rem 1.2rem; font-size: 1.3rem; color: var(--w3e60-text);
  border: 1px solid rgba(64,224,208,0.1);
}

/* ========== FAQ ========== */
.w3e60-faq-item {
  margin-bottom: 1rem; background: var(--w3e60-bg-card);
  border-radius: var(--w3e60-radius); overflow: hidden;
  border: 1px solid rgba(64,224,208,0.08);
}
.w3e60-faq-q {
  padding: 1rem 1.2rem; font-weight: 600; color: var(--w3e60-text);
  font-size: 1.4rem;
}
.w3e60-faq-a {
  padding: 0 1.2rem 1rem; color: var(--w3e60-text-muted); font-size: 1.3rem; line-height: 1.6;
}

/* ========== HELP PAGES ========== */
.w3e60-help-hero {
  background: linear-gradient(135deg, var(--w3e60-bg-dark), rgba(64,224,208,0.15));
  padding: 2rem 1.2rem; text-align: center; border-radius: 0 0 var(--w3e60-radius-lg) var(--w3e60-radius-lg);
  margin-bottom: 1.5rem;
}
.w3e60-help-hero h1 {
  font-size: 2.2rem; font-weight: 700; color: var(--w3e60-accent); margin-bottom: 0.6rem;
}
.w3e60-help-hero p { font-size: 1.4rem; color: var(--w3e60-text-muted); }
.w3e60-help-content { padding: 0 0.5rem 2rem; }
.w3e60-help-content h2 {
  font-size: 1.8rem; font-weight: 700; color: var(--w3e60-text);
  margin: 1.5rem 0 0.8rem; border-left: 3px solid var(--w3e60-accent);
  padding-left: 0.8rem;
}
.w3e60-help-content h3 {
  font-size: 1.5rem; font-weight: 600; color: var(--w3e60-accent);
  margin: 1.2rem 0 0.6rem;
}
.w3e60-help-content p {
  font-size: 1.4rem; color: var(--w3e60-text-muted); line-height: 1.7;
  margin-bottom: 0.8rem;
}
.w3e60-help-content ol, .w3e60-help-content ul {
  padding-left: 1.5rem; margin-bottom: 1rem;
}
.w3e60-help-content li {
  font-size: 1.4rem; color: var(--w3e60-text-muted); line-height: 1.7;
  margin-bottom: 0.4rem;
}
.w3e60-help-content li::marker { color: var(--w3e60-accent); }

/* ========== STEP LIST ========== */
.w3e60-step-list { counter-reset: w3e60-step; }
.w3e60-step {
  counter-increment: w3e60-step; position: relative;
  padding: 1rem 1rem 1rem 3.5rem; margin-bottom: 0.8rem;
  background: var(--w3e60-bg-card); border-radius: var(--w3e60-radius);
}
.w3e60-step::before {
  content: counter(w3e60-step); position: absolute; left: 0.8rem; top: 0.8rem;
  width: 2rem; height: 2rem; border-radius: 50%; background: var(--w3e60-accent);
  color: var(--w3e60-bg-dark); font-size: 1.2rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.w3e60-step-title { font-weight: 600; color: var(--w3e60-text); font-size: 1.4rem; margin-bottom: 0.3rem; }
.w3e60-step-desc { font-size: 1.3rem; color: var(--w3e60-text-muted); }

/* ========== RESPONSIVE ========== */
@media (min-width: 769px) {
  .w3e60-container { max-width: 600px; }
  .w3e60-game-grid { grid-template-columns: repeat(5, 1fr); }
  .w3e60-header { justify-content: center; }
  .w3e60-menu-toggle { display: none; }
  .w3e60-header-nav {
    display: flex; gap: 1rem; align-items: center;
  }
  .w3e60-header-nav a {
    color: var(--w3e60-text-muted); font-size: 1.3rem;
    transition: color var(--w3e60-transition);
  }
  .w3e60-header-nav a:hover { color: var(--w3e60-accent); }
}
@media (max-width: 768px) {
  .w3e60-header-nav { display: none; }
}
@media (max-width: 360px) {
  .w3e60-game-grid { grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
  .w3e60-game-name { font-size: 1rem; }
}
