/* =====================================================================
 * swerte.css - Core styles for swerte.homes
 * All custom classes use the pg92- prefix for namespace isolation.
 * Palette: #1A1A1A | #20B2AA | #FFB347 | #BDB76B | #00FF7F
 * ===================================================================== */

:root {
  --pg92-bg: #1A1A1A;
  --pg92-bg-soft: #232323;
  --pg92-bg-card: #2a2a2a;
  --pg92-primary: #20B2AA;
  --pg92-accent: #FFB347;
  --pg92-gold: #BDB76B;
  --pg92-mint: #00FF7F;
  --pg92-text: #f4f4f4;
  --pg92-text-dim: #b8b8b8;
  --pg92-border: #3a3a3a;
  --pg92-radius: 1.2rem;
  --pg92-shadow: 0 0.4rem 1.6rem rgba(0, 0, 0, 0.45);
  --pg92-header-h: 5.6rem;
  --pg92-bottomnav-h: 6.2rem;
  --pg92-maxw: 430px;
}

* { box-sizing: border-box; }

html {
  font-size: 62.5%;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background: var(--pg92-bg);
  color: var(--pg92-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  max-width: var(--pg92-maxw);
  margin-left: auto;
  margin-right: auto;
  position: relative;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--pg92-mint); text-decoration: none; }
a:hover { color: var(--pg92-accent); }

h1, h2, h3, h4 { line-height: 1.5rem; font-weight: 700; color: var(--pg92-text); }

/* ---------- Layout containers ---------- */
.pg92-container {
  width: 100%;
  max-width: var(--pg92-maxw);
  margin: 0 auto;
  padding: 0 1.2rem;
}
.pg92-wrapper { padding: 1.6rem 1.2rem; }
.pg92-section { padding: 2.2rem 1.2rem; border-top: 0.1rem solid var(--pg92-border); }
.pg92-section-alt { background: var(--pg92-bg-soft); }

.pg92-section-title {
  font-size: 2rem;
  margin: 0 0 1.4rem;
  color: var(--pg92-accent);
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.pg92-section-title .pg92-title-ico { color: var(--pg92-mint); font-size: 2.2rem; }
.pg92-section-sub {
  font-size: 1.3rem;
  color: var(--pg92-text-dim);
  margin: -0.6rem 0 1.4rem;
}

/* ---------- Header ---------- */
.pg92-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--pg92-header-h);
  background: linear-gradient(90deg, #161616, #1f3f3d);
  border-bottom: 0.1rem solid var(--pg92-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
  z-index: 1000;
  box-shadow: var(--pg92-shadow);
}
.pg92-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}
.pg92-brand-logo {
  width: 3rem; height: 3rem;
  border-radius: 0.6rem;
  background: radial-gradient(circle, var(--pg92-accent), var(--pg92-gold));
  display: flex; align-items: center; justify-content: center;
  color: #1A1A1A; font-weight: 800; font-size: 1.5rem;
}
.pg92-brand-name { font-size: 1.7rem; font-weight: 800; color: var(--pg92-mint); letter-spacing: 0.05rem; }
.pg92-brand-dot { color: var(--pg92-accent); }

.pg92-header-actions { display: flex; align-items: center; gap: 0.5rem; }
.pg92-btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.6rem 1rem;
  border-radius: 0.8rem;
  font-size: 1.2rem; font-weight: 700;
  border: 0.1rem solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease;
  min-height: 3.4rem;
}
.pg92-btn:hover { transform: translateY(-0.1rem); }
.pg92-btn-register {
  background: linear-gradient(90deg, var(--pg92-accent), var(--pg92-gold));
  color: #1A1A1A;
}
.pg92-btn-login {
  background: transparent;
  color: var(--pg92-mint);
  border-color: var(--pg92-mint);
}
.pg92-btn-primary {
  background: linear-gradient(90deg, var(--pg92-primary), var(--pg92-mint));
  color: #1A1A1A; font-weight: 800;
}
.pg92-menu-btn {
  background: transparent; border: none; color: var(--pg92-text);
  font-size: 1.8rem; cursor: pointer;
  width: 3.6rem; height: 3.6rem;
  border-radius: 0.6rem;
  display: flex; align-items: center; justify-content: center;
}

/* ---------- Mobile menu ---------- */
.pg92-mobile-menu {
  position: fixed;
  top: var(--pg92-header-h); left: 0; right: 0;
  background: #161616;
  border-bottom: 0.1rem solid var(--pg92-primary);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  z-index: 9999;
}
.pg92-mobile-menu.pg92-menu-open { max-height: 70rem; }
.pg92-mobile-menu-inner { padding: 1rem 1.2rem; display: flex; flex-direction: column; gap: 0.4rem; }
.pg92-mobile-menu a {
  display: flex; align-items: center; gap: 0.8rem;
  padding: 1rem 0.8rem;
  color: var(--pg92-text);
  border-radius: 0.6rem;
  font-size: 1.4rem;
  border-bottom: 0.05rem solid var(--pg92-border);
}
.pg92-mobile-menu a:hover { background: var(--pg92-bg-card); color: var(--pg92-mint); }
.pg92-mobile-menu a i { color: var(--pg92-accent); width: 2rem; text-align: center; }

/* ---------- Main spacer ---------- */
.pg92-main { padding-top: var(--pg92-header-h); }
@media (max-width: 768px) {
  .pg92-main { padding-bottom: calc(var(--pg92-bottomnav-h) + 1.5rem); }
}

/* ---------- Carousel ---------- */
.pg92-carousel {
  position: relative;
  width: 100%;
  border-radius: var(--pg92-radius);
  overflow: hidden;
  margin-bottom: 1.6rem;
  box-shadow: var(--pg92-shadow);
}
.pg92-carousel-track { position: relative; width: 100%; aspect-ratio: 16/8; }
.pg92-carousel-slide {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity 0.6s ease;
  cursor: pointer;
}
.pg92-carousel-slide.pg92-active { opacity: 1; }
.pg92-carousel-slide img { width: 100%; height: 100%; object-fit: cover; }
.pg92-carousel-caption {
  position: absolute; left: 1.2rem; bottom: 1.2rem; right: 1.2rem;
  background: rgba(0, 0, 0, 0.55);
  padding: 0.8rem 1rem;
  border-radius: 0.8rem;
  color: var(--pg92-text);
}
.pg92-carousel-caption strong { color: var(--pg92-accent); font-size: 1.6rem; display: block; }
.pg92-carousel-dots {
  position: absolute; bottom: 0.6rem; left: 0; right: 0;
  display: flex; justify-content: center; gap: 0.5rem;
}
.pg92-carousel-dot {
  width: 0.8rem; height: 0.8rem; border-radius: 50%;
  background: rgba(255,255,255,0.4); cursor: pointer;
}
.pg92-carousel-dot.pg92-active { background: var(--pg92-mint); }

/* ---------- Category tabs / labels ---------- */
.pg92-cat-head {
  display: flex; align-items: center; justify-content: space-between;
  margin: 2rem 0 1rem;
}
.pg92-cat-name {
  font-size: 1.7rem; color: var(--pg92-accent);
  display: flex; align-items: center; gap: 0.6rem;
}
.pg92-cat-name i { color: var(--pg92-mint); font-size: 1.9rem; }
.pg92-cat-link { font-size: 1.2rem; color: var(--pg92-mint); font-weight: 700; }

/* ---------- Game grid ---------- */
.pg92-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}
.pg92-game-card {
  background: var(--pg92-bg-card);
  border-radius: 0.9rem;
  overflow: hidden;
  position: relative;
  border: 0.1rem solid var(--pg92-border);
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.2s ease;
}
.pg92-game-card:hover { transform: translateY(-0.2rem); border-color: var(--pg92-primary); }
.pg92-game-card img {
  width: 100%; aspect-ratio: 1/1; object-fit: cover;
  background: #111;
}
.pg92-game-card .pg92-game-name {
  font-size: 1.1rem;
  color: var(--pg92-text);
  padding: 0.5rem 0.4rem;
  text-align: center;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pg92-game-card .pg92-game-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.45);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.2s ease;
}
.pg92-game-card:hover .pg92-game-overlay { opacity: 1; }
.pg92-game-overlay i { color: var(--pg92-mint); font-size: 2.4rem; }
.pg92-game-hot {
  position: absolute; top: 0.4rem; left: 0.4rem;
  background: var(--pg92-accent); color: #1A1A1A;
  font-size: 0.9rem; font-weight: 800;
  padding: 0.15rem 0.5rem; border-radius: 0.4rem;
}

/* ---------- Feature / promo blocks ---------- */
.pg92-feature-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem;
}
.pg92-feature-card {
  background: var(--pg92-bg-card);
  border-radius: 1rem; padding: 1.2rem;
  border-left: 0.3rem solid var(--pg92-primary);
}
.pg92-feature-card i { color: var(--pg92-mint); font-size: 2.2rem; margin-bottom: 0.6rem; }
.pg92-feature-card h3 { font-size: 1.4rem; margin: 0 0 0.4rem; color: var(--pg92-accent); }
.pg92-feature-card p { font-size: 1.2rem; color: var(--pg92-text-dim); margin: 0; }

/* ---------- Promo banner / CTA ---------- */
.pg92-cta {
  background: linear-gradient(120deg, #143b3a, #2c2a1a);
  border-radius: var(--pg92-radius);
  padding: 1.6rem;
  text-align: center;
  margin: 1.4rem 0;
  border: 0.1rem solid var(--pg92-gold);
}
.pg92-cta h3 { color: var(--pg92-accent); font-size: 1.8rem; margin: 0 0 0.6rem; }
.pg92-cta p { color: var(--pg92-text-dim); font-size: 1.25rem; margin: 0 0 1rem; }

/* ---------- Testimonial ---------- */
.pg92-testimonial {
  background: var(--pg92-bg-card);
  border-radius: 1rem;
  padding: 1.2rem;
  margin-bottom: 0.9rem;
  border-left: 0.3rem solid var(--pg92-mint);
}
.pg92-testimonial-stars { color: var(--pg92-gold); font-size: 1.2rem; }
.pg92-testimonial p { font-size: 1.25rem; color: var(--pg92-text); margin: 0.4rem 0; }
.pg92-testimonial .pg92-author { font-size: 1.1rem; color: var(--pg92-mint); font-weight: 700; }

/* ---------- Winner showcase ---------- */
.pg92-winner-list { display: flex; flex-direction: column; gap: 0.6rem; }
.pg92-winner-row {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--pg92-bg-card);
  padding: 0.8rem 1rem; border-radius: 0.8rem;
  font-size: 1.2rem;
}
.pg92-winner-name { color: var(--pg92-mint); font-weight: 700; }
.pg92-winner-amount { color: var(--pg92-accent); font-weight: 800; }

/* ---------- Payment methods ---------- */
.pg92-pay-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.8rem;
}
.pg92-pay-item {
  background: var(--pg92-bg-card);
  border-radius: 0.8rem;
  padding: 1rem 0.5rem;
  text-align: center;
  font-size: 1.1rem; color: var(--pg92-text);
  border: 0.1rem solid var(--pg92-border);
}
.pg92-pay-item i { color: var(--pg92-mint); font-size: 2rem; display: block; margin-bottom: 0.4rem; }

/* ---------- RTP table ---------- */
.pg92-rtp-table { width: 100%; border-collapse: collapse; font-size: 1.2rem; }
.pg92-rtp-table th, .pg92-rtp-table td {
  padding: 0.7rem 0.5rem;
  border-bottom: 0.1rem solid var(--pg92-border);
  text-align: left;
}
.pg92-rtp-table th { color: var(--pg92-accent); font-weight: 700; }
.pg92-rtp-table td.pg92-rtp-value { color: var(--pg92-mint); font-weight: 800; }

/* ---------- Achievement / tricks ---------- */
.pg92-ach-list { display: flex; flex-direction: column; gap: 0.8rem; }
.pg92-ach-item {
  display: flex; gap: 1rem; align-items: flex-start;
  background: var(--pg92-bg-card);
  padding: 1rem; border-radius: 0.8rem;
}
.pg92-ach-item .pg92-ach-ico {
  width: 3.2rem; height: 3.2rem; flex-shrink: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pg92-accent), var(--pg92-gold));
  display: flex; align-items: center; justify-content: center;
  color: #1A1A1A; font-size: 1.6rem;
}
.pg92-ach-item h4 { margin: 0 0 0.3rem; font-size: 1.3rem; color: var(--pg92-accent); }
.pg92-ach-item p { margin: 0; font-size: 1.2rem; color: var(--pg92-text-dim); }

/* ---------- FAQ ---------- */
.pg92-faq-item {
  background: var(--pg92-bg-card);
  border-radius: 0.8rem;
  padding: 1rem 1.2rem;
  margin-bottom: 0.8rem;
  border-left: 0.3rem solid var(--pg92-primary);
}
.pg92-faq-item h4 { margin: 0 0 0.4rem; font-size: 1.35rem; color: var(--pg92-mint); }
.pg92-faq-item p { margin: 0; font-size: 1.2rem; color: var(--pg92-text-dim); }

/* ---------- SEO prose ---------- */
.pg92-prose p { font-size: 1.3rem; color: var(--pg92-text); margin: 0 0 1rem; line-height: 1.5rem; }
.pg92-prose strong { color: var(--pg92-accent); }
.pg92-inline-link { color: var(--pg92-mint); font-weight: 700; text-decoration: underline; }

/* ---------- Footer ---------- */
.pg92-footer {
  background: #111;
  border-top: 0.2rem solid var(--pg92-primary);
  padding: 2rem 1.2rem;
  margin-top: 2rem;
}
.pg92-footer h4 { color: var(--pg92-accent); font-size: 1.4rem; margin: 0 0 0.8rem; }
.pg92-footer p { color: var(--pg92-text-dim); font-size: 1.2rem; }
.pg92-footer-links {
  display: flex; flex-wrap: wrap; gap: 0.6rem 1rem;
  margin: 1rem 0;
}
.pg92-footer-links a { color: var(--pg92-mint); font-size: 1.2rem; }
.pg92-footer-promos {
  display: flex; flex-wrap: wrap; gap: 0.6rem;
  margin: 1rem 0;
}
.pg92-footer-copy {
  font-size: 1.1rem; color: var(--pg92-text-dim);
  border-top: 0.1rem solid var(--pg92-border);
  padding-top: 1rem; margin-top: 1rem;
  text-align: center;
}

/* ---------- Bottom nav (mobile only) ---------- */
.pg92-bottomnav {
  position: fixed;
  bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: var(--pg92-maxw);
  height: var(--pg92-bottomnav-h);
  background: linear-gradient(180deg, #1f3f3d, #111);
  border-top: 0.15rem solid var(--pg92-gold);
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  z-index: 1000;
  box-shadow: 0 -0.3rem 1rem rgba(0,0,0,0.5);
}
.pg92-bottomnav-btn {
  flex: 1;
  min-width: 6rem; min-height: 6rem;
  background: transparent;
  border: none;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 0.2rem;
  color: var(--pg92-text-dim);
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  transition: color 0.2s ease, transform 0.15s ease;
  padding: 0.4rem 0.2rem;
}
.pg92-bottomnav-btn:active { transform: scale(0.92); }
.pg92-bottomnav-btn i { font-size: 2.2rem; }
.pg92-bottomnav-btn.pg92-bottomnav-current,
.pg92-bottomnav-btn:hover { color: var(--pg92-mint); }
.pg92-bottomnav-btn .pg92-nav-badge {
  position: absolute; top: 0.6rem; right: 1.4rem;
  background: var(--pg92-accent); color: #1A1A1A;
  font-size: 0.85rem; font-weight: 800;
  border-radius: 0.8rem; padding: 0.05rem 0.4rem;
}
.pg92-bottomnav-btn { position: relative; }

@media (min-width: 769px) {
  .pg92-bottomnav { display: none; }
  body { max-width: 768px; }
}

/* ---------- Utility ---------- */
.pg92-text-mint { color: var(--pg92-mint); }
.pg92-text-accent { color: var(--pg92-accent); }
.pg92-text-center { text-align: center; }
.pg92-mt-1 { margin-top: 1rem; }
.pg92-mt-2 { margin-top: 2rem; }
.pg92-mb-1 { margin-bottom: 1rem; }
.pg92-divider {
  height: 0.1rem; background: var(--pg92-border); margin: 1.4rem 0; border: none;
}
