/**
 * Juan357 - Core Stylesheet
 * Class prefix: pg93-
 * Colors: Teal #20B2AA | Gray #95A5A6 | Dark #0D1117
 */

/* Root variables */
:root {
  --pg93-primary: #20B2AA;
  --pg93-primary-dark: #1a9490;
  --pg93-primary-light: #3cc5be;
  --pg93-bg: #0D1117;
  --pg93-bg-card: #161b22;
  --pg93-bg-card-hover: #1c2330;
  --pg93-text: #95A5A6;
  --pg93-text-light: #b8c4c5;
  --pg93-text-white: #e6edf3;
  --pg93-border: #21262d;
  --pg93-gold: #f0b429;
  --pg93-red: #e74c3c;
  --pg93-green: #27ae60;
}

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

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

/* ============ HEADER ============ */
.pg93-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(13,17,23,0.95); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--pg93-border);
  height: 5.6rem;
}
.pg93-header-inner {
  max-width: 430px; margin: 0 auto; padding: 0 1.2rem;
  display: flex; align-items: center; justify-content: space-between; height: 100%;
}
.pg93-logo { display: flex; align-items: center; gap: 0.8rem; cursor: pointer; }
.pg93-logo img { width: 3rem; height: 3rem; border-radius: 0.6rem; }
.pg93-logo-text { font-size: 1.8rem; font-weight: 700; color: var(--pg93-primary); letter-spacing: -0.02em; }
.pg93-header-actions { display: flex; align-items: center; gap: 0.8rem; }
.pg93-header-btn {
  padding: 0.6rem 1.4rem; border-radius: 0.6rem; font-size: 1.2rem; font-weight: 600;
  cursor: pointer; border: none; transition: all 0.2s;
}
.pg93-btn-register {
  background: var(--pg93-primary); color: var(--pg93-bg);
}
.pg93-btn-register:hover { background: var(--pg93-primary-light); transform: translateY(-1px); }
.pg93-btn-login {
  background: transparent; color: var(--pg93-primary); border: 1px solid var(--pg93-primary);
}
.pg93-btn-login:hover { background: rgba(32,178,170,0.1); }
.pg93-menu-toggle {
  background: none; border: none; color: var(--pg93-text); font-size: 2.2rem;
  cursor: pointer; padding: 0.4rem; display: flex; align-items: center;
}

/* ============ MOBILE MENU ============ */
.pg93-menu-overlay {
  display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6); z-index: 9998; opacity: 0; transition: opacity 0.3s;
}
.pg93-mobile-menu {
  position: fixed; top: 0; left: 0; bottom: 0; width: 75%; max-width: 300px;
  background: var(--pg93-bg-card); z-index: 9999;
  transform: translateX(-100%); transition: transform 0.3s ease;
  visibility: hidden; overflow-y: auto; padding: 2rem 1.6rem;
}
.pg93-mobile-menu-header {
  display: flex; align-items: center; gap: 1rem; margin-bottom: 2rem;
  padding-bottom: 1.5rem; border-bottom: 1px solid var(--pg93-border);
}
.pg93-mobile-menu-header img { width: 3.6rem; height: 3.6rem; border-radius: 0.8rem; }
.pg93-mobile-menu-header span { font-size: 2rem; font-weight: 700; color: var(--pg93-primary); }
.pg93-mobile-menu-close {
  position: absolute; top: 1.5rem; right: 1.5rem; background: none; border: none;
  color: var(--pg93-text); font-size: 2rem; cursor: pointer;
}
.pg93-mobile-menu nav ul { display: flex; flex-direction: column; gap: 0.4rem; }
.pg93-mobile-menu nav a {
  display: flex; align-items: center; gap: 1rem; padding: 1.2rem 1rem;
  color: var(--pg93-text-light); font-size: 1.4rem; border-radius: 0.8rem;
  transition: all 0.2s;
}
.pg93-mobile-menu nav a:hover { background: rgba(32,178,170,0.1); color: var(--pg93-primary); }
.pg93-mobile-menu nav a i { font-size: 1.8rem; width: 2.4rem; text-align: center; }

/* ============ BOTTOM NAV ============ */
.pg93-bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(22,27,34,0.97); backdrop-filter: blur(12px);
  border-top: 1px solid var(--pg93-border);
  display: flex; justify-content: space-around; align-items: center;
  height: 6rem; padding: 0 0.4rem;
}
.pg93-bottom-nav-btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 5.6rem; min-height: 5rem; background: none; border: none;
  color: var(--pg93-text); cursor: pointer; transition: all 0.2s;
  gap: 0.2rem; border-radius: 0.8rem; position: relative;
}
.pg93-bottom-nav-btn i { font-size: 2.2rem; transition: all 0.2s; }
.pg93-bottom-nav-btn span { font-size: 1rem; line-height: 1.2; font-weight: 500; }
.pg93-bottom-nav-btn:hover i, .pg93-bottom-nav-btn.pg93-nav-active i {
  color: var(--pg93-primary); transform: scale(1.15);
}
.pg93-bottom-nav-btn:hover span, .pg93-bottom-nav-btn.pg93-nav-active span {
  color: var(--pg93-primary); }
.pg93-bottom-nav-btn::after {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 0; height: 2px; background: var(--pg93-primary); border-radius: 2px;
  transition: width 0.3s;
}
.pg93-bottom-nav-btn.pg93-nav-active::after { width: 60%; }

/* Desktop: hide bottom nav */
@media (min-width: 769px) { .pg93-bottom-nav { display: none; } }

/* ============ MAIN CONTENT ============ */
main { padding-top: 5.6rem; }
@media (max-width: 768px) { main { padding-bottom: 8rem; } }

/* ============ CAROUSEL ============ */
.pg93-carousel {
  position: relative; width: 100%; overflow: hidden; border-radius: 1rem;
  margin-bottom: 2rem;
}
.pg93-slide {
  display: none; width: 100%; cursor: pointer; position: relative;
}
.pg93-slide img { width: 100%; height: auto; border-radius: 1rem; }
.pg93-slide-active { display: block; }
.pg93-slide-dots {
  position: absolute; bottom: 1rem; left: 50%; transform: translateX(-50%);
  display: flex; gap: 0.6rem; z-index: 2;
}
.pg93-slide-dot {
  width: 0.8rem; height: 0.8rem; border-radius: 50%;
  background: rgba(149,165,166,0.5); cursor: pointer; transition: all 0.3s;
  border: none;
}
.pg93-dot-active { background: var(--pg93-primary); transform: scale(1.3); }

/* ============ SECTION STYLES ============ */
.pg93-section { margin-bottom: 2.4rem; }
.pg93-section-title {
  font-size: 1.8rem; font-weight: 700; color: var(--pg93-text-white);
  margin-bottom: 1.2rem; padding-bottom: 0.8rem;
  border-bottom: 2px solid var(--pg93-primary); display: inline-block;
}
.pg93-section-title i { margin-right: 0.6rem; color: var(--pg93-primary); }

/* ============ GAME GRID ============ */
.pg93-game-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.8rem;
}
.pg93-game-item {
  display: flex; flex-direction: column; align-items: center;
  background: var(--pg93-bg-card); border-radius: 1rem; padding: 0.8rem 0.4rem;
  cursor: pointer; transition: all 0.25s; border: 1px solid transparent;
}
.pg93-game-item:hover {
  background: var(--pg93-bg-card-hover); border-color: var(--pg93-primary);
  transform: translateY(-2px);
}
.pg93-game-item img {
  width: 5.6rem; height: 5.6rem; border-radius: 0.8rem; margin-bottom: 0.4rem;
  object-fit: cover;
}
.pg93-game-item span {
  font-size: 1rem; color: var(--pg93-text-light); text-align: center;
  line-height: 1.2; overflow: hidden; display: -webkit-box;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  max-height: 2.4rem;
}

/* ============ CARDS & PANELS ============ */
.pg93-card {
  background: var(--pg93-bg-card); border-radius: 1.2rem; padding: 1.6rem;
  margin-bottom: 1.6rem; border: 1px solid var(--pg93-border);
}
.pg93-card h3 {
  font-size: 1.5rem; font-weight: 600; color: var(--pg93-text-white);
  margin-bottom: 0.8rem;
}
.pg93-card p { font-size: 1.3rem; line-height: 1.8rem; color: var(--pg93-text); }

/* ============ CTA BUTTONS ============ */
.pg93-cta {
  display: inline-block; padding: 1rem 2.4rem;
  background: linear-gradient(135deg, var(--pg93-primary), var(--pg93-primary-dark));
  color: var(--pg93-bg); font-size: 1.4rem; font-weight: 700;
  border-radius: 0.8rem; cursor: pointer; border: none;
  transition: all 0.3s; text-transform: uppercase; letter-spacing: 0.05em;
}
.pg93-cta:hover { transform: translateY(-2px); box-shadow: 0 4px 15px rgba(32,178,170,0.3); }
.pg93-cta-outline {
  display: inline-block; padding: 0.8rem 2rem;
  background: transparent; border: 2px solid var(--pg93-primary);
  color: var(--pg93-primary); font-size: 1.3rem; font-weight: 600;
  border-radius: 0.8rem; cursor: pointer; transition: all 0.3s;
}
.pg93-cta-outline:hover { background: rgba(32,178,170,0.1); }
.pg93-text-link {
  color: var(--pg93-primary); font-weight: 600; cursor: pointer;
  text-decoration: underline; text-underline-offset: 2px;
}
.pg93-text-link:hover { color: var(--pg93-primary-light); }

/* ============ FOOTER ============ */
.pg93-footer {
  background: var(--pg93-bg-card); border-top: 1px solid var(--pg93-border);
  padding: 2.4rem 0 2rem;
}
.pg93-footer-brand { text-align: center; margin-bottom: 1.6rem; }
.pg93-footer-brand p { font-size: 1.2rem; line-height: 1.6rem; color: var(--pg93-text); margin-bottom: 0.4rem; }
.pg93-footer-links {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.8rem;
  margin-bottom: 1.6rem;
}
.pg93-footer-links a {
  padding: 0.6rem 1.2rem; background: var(--pg93-bg); border: 1px solid var(--pg93-border);
  border-radius: 0.6rem; font-size: 1.1rem; color: var(--pg93-text-light);
  transition: all 0.2s;
}
.pg93-footer-links a:hover { border-color: var(--pg93-primary); color: var(--pg93-primary); }
.pg93-footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem 1.6rem; margin-bottom: 1.2rem; }
.pg93-footer-nav a { font-size: 1.2rem; color: var(--pg93-text); transition: color 0.2s; }
.pg93-footer-nav a:hover { color: var(--pg93-primary); }
.pg93-footer-copy {
  text-align: center; font-size: 1.1rem; color: var(--pg93-text);
  padding-top: 1.2rem; border-top: 1px solid var(--pg93-border);
}

/* ============ TESTIMONIALS ============ */
.pg93-testimonial {
  background: var(--pg93-bg-card); border-radius: 1rem; padding: 1.2rem;
  margin-bottom: 1rem; border-left: 3px solid var(--pg93-primary);
}
.pg93-testimonial p { font-size: 1.2rem; line-height: 1.6rem; font-style: italic; }
.pg93-testimonial cite {
  display: block; margin-top: 0.6rem; font-size: 1.1rem;
  color: var(--pg93-primary); font-style: normal; font-weight: 600;
}

/* ============ WINNERS ============ */
.pg93-winner-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.8rem 1rem; border-bottom: 1px solid var(--pg93-border);
}
.pg93-winner-row:last-child { border-bottom: none; }
.pg93-winner-name { font-size: 1.2rem; color: var(--pg93-text-light); font-weight: 500; }
.pg93-winner-game { font-size: 1.1rem; color: var(--pg93-text); }
.pg93-winner-amount { font-size: 1.3rem; color: var(--pg93-gold); font-weight: 700; }

/* ============ PAYMENT ============ */
.pg93-payment-row {
  display: flex; justify-content: center; gap: 1.2rem; flex-wrap: wrap;
  padding: 1rem 0;
}
.pg93-payment-item {
  display: flex; flex-direction: column; align-items: center; gap: 0.4rem;
}
.pg93-payment-item i { font-size: 2.8rem; color: var(--pg93-primary); }
.pg93-payment-item span { font-size: 1rem; color: var(--pg93-text); }

/* ============ ACHIEVEMENT ============ */
.pg93-achievement {
  display: flex; align-items: center; gap: 1rem; padding: 1rem;
  background: var(--pg93-bg-card); border-radius: 0.8rem; margin-bottom: 0.8rem;
}
.pg93-achievement-icon { font-size: 2.4rem; color: var(--pg93-gold); }
.pg93-achievement-text h4 { font-size: 1.3rem; color: var(--pg93-text-white); margin-bottom: 0.2rem; }
.pg93-achievement-text p { font-size: 1.1rem; color: var(--pg93-text); }

/* ============ RTP TABLE ============ */
.pg93-rtp-table { width: 100%; border-collapse: collapse; font-size: 1.2rem; }
.pg93-rtp-table th {
  background: var(--pg93-primary); color: var(--pg93-bg); padding: 0.8rem 1rem;
  text-align: left; font-weight: 600;
}
.pg93-rtp-table td {
  padding: 0.7rem 1rem; border-bottom: 1px solid var(--pg93-border);
  color: var(--pg93-text-light);
}
.pg93-rtp-table tr:hover td { background: var(--pg93-bg-card-hover); }
.pg93-rtp-high { color: var(--pg93-green); font-weight: 600; }

/* ============ FAQ ============ */
.pg93-faq-item { margin-bottom: 1rem; }
.pg93-faq-q {
  font-size: 1.3rem; font-weight: 600; color: var(--pg93-text-white);
  margin-bottom: 0.4rem;
}
.pg93-faq-a { font-size: 1.2rem; color: var(--pg93-text); line-height: 1.6rem; }

/* ============ TRICKS ============ */
.pg93-trick {
  display: flex; gap: 1rem; align-items: flex-start;
  margin-bottom: 1rem; padding: 1rem; background: var(--pg93-bg-card);
  border-radius: 0.8rem;
}
.pg93-trick-num {
  flex-shrink: 0; width: 2.8rem; height: 2.8rem; border-radius: 50%;
  background: var(--pg93-primary); color: var(--pg93-bg);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.3rem;
}
.pg93-trick-text h4 { font-size: 1.3rem; color: var(--pg93-text-white); margin-bottom: 0.3rem; }
.pg93-trick-text p { font-size: 1.2rem; color: var(--pg93-text); line-height: 1.5rem; }

/* ============ UTILITIES ============ */
.pg93-text-center { text-align: center; }
.pg93-mt-1 { margin-top: 1rem; }
.pg93-mt-2 { margin-top: 2rem; }
.pg93-mb-1 { margin-bottom: 1rem; }
.pg93-mb-2 { margin-bottom: 2rem; }
.pg93-flex-center { display: flex; align-items: center; justify-content: center; }
.pg93-gap-1 { gap: 1rem; }

/* Category label */
.pg93-cat-label {
  font-size: 1.3rem; font-weight: 600; color: var(--pg93-primary);
  margin-bottom: 0.8rem; display: flex; align-items: center; gap: 0.5rem;
}
.pg93-cat-label i { font-size: 1.4rem; }

/* App download CTA */
.pg93-app-cta {
  background: linear-gradient(135deg, rgba(32,178,170,0.15), rgba(32,178,170,0.05));
  border: 1px solid var(--pg93-primary); border-radius: 1.2rem;
  padding: 2rem 1.6rem; text-align: center;
}
.pg93-app-cta h3 { font-size: 1.6rem; color: var(--pg93-primary); margin-bottom: 0.6rem; }
.pg93-app-cta p { font-size: 1.2rem; color: var(--pg93-text); margin-bottom: 1.2rem; }

/* Highlight list */
.pg93-highlight-list { display: flex; flex-direction: column; gap: 0.8rem; }
.pg93-highlight-item {
  display: flex; align-items: flex-start; gap: 0.8rem;
  font-size: 1.2rem; line-height: 1.6rem;
}
.pg93-highlight-item i { color: var(--pg93-primary); margin-top: 0.2rem; flex-shrink: 0; }

/* Responsive helpers */
@media (max-width: 360px) {
  .pg93-game-grid { grid-template-columns: repeat(3, 1fr); }
  .pg93-game-item img { width: 4.8rem; height: 4.8rem; }
}
@media (min-width: 769px) {
  .pg93-container { max-width: 430px; }
}
