/**
 * Responsible Gambling - Core Stylesheet
 * Website: responsiblegambling.click
 * All classes use pgb2- prefix for namespace isolation
 * Colors: #34495E (dark), #708090 (slate), #36454F (charcoal), #C0C0C0 (silver)
 */

/* CSS Variables */
:root {
  --pgb2-primary: #34495E;
  --pgb2-secondary: #708090;
  --pgb2-dark: #36454F;
  --pgb2-light: #C0C0C0;
  --pgb2-bg: #34495E;
  --pgb2-text: #C0C0C0;
  --pgb2-accent: #708090;
  --pgb2-white: #FFFFFF;
  --pgb2-border: #4a6580;
  --pgb2-hover: #3d5a73;
  --pgb2-gold: #FFD700;
  --pgb2-font-size: 62.5%;
}

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

html {
  font-size: var(--pgb2-font-size);
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, sans-serif;
  background-color: var(--pgb2-bg);
  color: var(--pgb2-text);
  line-height: 1.5rem;
  max-width: 430px;
  margin: 0 auto;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--pgb2-light);
  text-decoration: none;
}

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

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

/* ===== HEADER ===== */
.pgb2-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--pgb2-dark);
  border-bottom: 1px solid var(--pgb2-border);
  max-width: 430px;
  margin: 0 auto;
}

.pgb2-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1.2rem;
  height: 5.6rem;
}

.pgb2-logo-area {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  cursor: pointer;
}

.pgb2-logo-area img {
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 0.5rem;
}

.pgb2-logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--pgb2-white);
  white-space: nowrap;
}

.pgb2-header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.pgb2-btn-register,
.pgb2-btn-login {
  padding: 0.5rem 1.2rem;
  border-radius: 2rem;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  min-height: 3.6rem;
  min-width: 7rem;
  transition: transform 0.2s, opacity 0.2s;
}

.pgb2-btn-register {
  background: linear-gradient(135deg, var(--pgb2-gold), #FFA500);
  color: var(--pgb2-dark);
}

.pgb2-btn-login {
  background: transparent;
  color: var(--pgb2-gold);
  border: 1px solid var(--pgb2-gold);
}

.pgb2-btn-register:hover,
.pgb2-btn-login:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

.pgb2-menu-toggle {
  background: none;
  border: none;
  color: var(--pgb2-light);
  font-size: 2.4rem;
  cursor: pointer;
  padding: 0.5rem;
  min-height: 4.4rem;
  min-width: 4.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== MOBILE MENU ===== */
.pgb2-mobile-menu {
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100vh;
  background: var(--pgb2-dark);
  z-index: 9999;
  transition: right 0.3s ease;
  overflow-y: auto;
  padding: 2rem 0;
}

.pgb2-menu-open {
  right: 0;
}

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

.pgb2-overlay-active {
  display: block;
}

.pgb2-menu-close {
  background: none;
  border: none;
  color: var(--pgb2-light);
  font-size: 2.4rem;
  cursor: pointer;
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  min-height: 4.4rem;
  min-width: 4.4rem;
}

.pgb2-menu-list {
  list-style: none;
  padding: 1rem 0;
}

.pgb2-menu-list li {
  border-bottom: 1px solid var(--pgb2-border);
}

.pgb2-menu-list a {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 2rem;
  color: var(--pgb2-light);
  font-size: 1.4rem;
  transition: background 0.2s;
}

.pgb2-menu-list a:hover {
  background: var(--pgb2-hover);
}

.pgb2-menu-list .material-icons,
.pgb2-menu-list .fas,
.pgb2-menu-list .bi {
  font-size: 2rem;
}

/* ===== CAROUSEL ===== */
.pgb2-carousel {
  position: relative;
  width: 100%;
  margin-top: 5.6rem;
  overflow: hidden;
  border-radius: 0 0 1rem 1rem;
}

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

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

.pgb2-slide-active {
  display: block;
}

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

.pgb2-carousel-dot {
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: rgba(192, 192, 192, 0.4);
  border: none;
  cursor: pointer;
}

.pgb2-carousel-dot.pgb2-dot-active {
  background: var(--pgb2-gold);
}

/* ===== MAIN CONTENT ===== */
.pgb2-main {
  padding: 1.5rem 0;
}

.pgb2-main h1 {
  font-size: 2rem;
  color: var(--pgb2-white);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.pgb2-main h2 {
  font-size: 1.8rem;
  color: var(--pgb2-white);
  margin: 2rem 0 1rem;
  line-height: 1.3;
}

.pgb2-main h3 {
  font-size: 1.5rem;
  color: var(--pgb2-gold);
  margin: 1.5rem 0 0.8rem;
}

.pgb2-main p {
  font-size: 1.3rem;
  line-height: 1.6rem;
  margin-bottom: 1rem;
  color: var(--pgb2-light);
}

/* ===== GAME SECTION ===== */
.pgb2-section {
  margin-bottom: 2rem;
}

.pgb2-section-title {
  font-size: 1.6rem;
  color: var(--pgb2-white);
  padding: 1rem 0;
  border-bottom: 2px solid var(--pgb2-gold);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.pgb2-section-title i {
  color: var(--pgb2-gold);
}

.pgb2-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}

.pgb2-game-card {
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s;
  border-radius: 0.8rem;
  overflow: hidden;
  background: var(--pgb2-dark);
  padding: 0.5rem;
}

.pgb2-game-card:hover {
  transform: scale(1.05);
}

.pgb2-game-card img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 0.5rem;
  margin-bottom: 0.3rem;
}

.pgb2-game-card span {
  font-size: 1rem;
  color: var(--pgb2-light);
  display: block;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ===== CTA BUTTONS ===== */
.pgb2-cta-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--pgb2-gold), #FFA500);
  color: var(--pgb2-dark);
  font-size: 1.4rem;
  font-weight: 700;
  padding: 1rem 2.5rem;
  border-radius: 3rem;
  border: none;
  cursor: pointer;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
  min-height: 4.4rem;
}

.pgb2-cta-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0.4rem 1.5rem rgba(255, 215, 0, 0.3);
}

.pgb2-text-link {
  color: var(--pgb2-gold);
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
}

.pgb2-text-link:hover {
  color: #FFA500;
}

/* ===== INFO CARDS ===== */
.pgb2-card {
  background: var(--pgb2-dark);
  border-radius: 1rem;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--pgb2-border);
}

.pgb2-card-title {
  font-size: 1.5rem;
  color: var(--pgb2-gold);
  margin-bottom: 1rem;
  font-weight: 700;
}

.pgb2-card p {
  font-size: 1.3rem;
  line-height: 1.6rem;
}

.pgb2-card ul {
  list-style: none;
  padding: 0;
}

.pgb2-card li {
  font-size: 1.3rem;
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--pgb2-light);
}

.pgb2-card li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--pgb2-gold);
  font-size: 1rem;
}

/* ===== WINNER SHOWCASE ===== */
.pgb2-winners-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
}

.pgb2-winner-card {
  background: var(--pgb2-dark);
  border: 1px solid var(--pgb2-border);
  border-radius: 0.8rem;
  padding: 1rem;
  text-align: center;
}

.pgb2-winner-card .pgb2-winner-amount {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--pgb2-gold);
}

.pgb2-winner-card .pgb2-winner-game {
  font-size: 1.1rem;
  color: var(--pgb2-light);
  margin-top: 0.3rem;
}

.pgb2-winner-card .pgb2-winner-time {
  font-size: 1rem;
  color: var(--pgb2-secondary);
  margin-top: 0.3rem;
}

/* ===== TESTIMONIALS ===== */
.pgb2-testimonial {
  background: var(--pgb2-dark);
  border-left: 3px solid var(--pgb2-gold);
  border-radius: 0 0.8rem 0.8rem 0;
  padding: 1.2rem;
  margin-bottom: 1rem;
}

.pgb2-testimonial-text {
  font-size: 1.3rem;
  color: var(--pgb2-light);
  font-style: italic;
  margin-bottom: 0.5rem;
}

.pgb2-testimonial-author {
  font-size: 1.1rem;
  color: var(--pgb2-gold);
  font-weight: 600;
}

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

.pgb2-payment-item {
  background: var(--pgb2-dark);
  border: 1px solid var(--pgb2-border);
  border-radius: 0.8rem;
  padding: 0.8rem 1.2rem;
  font-size: 1.2rem;
  color: var(--pgb2-light);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ===== FOOTER ===== */
.pgb2-footer {
  background: var(--pgb2-dark);
  padding: 2rem 1.2rem 10rem;
  border-top: 1px solid var(--pgb2-border);
}

.pgb2-footer-brand {
  font-size: 1.4rem;
  color: var(--pgb2-light);
  margin-bottom: 1.5rem;
  line-height: 1.6rem;
}

.pgb2-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.pgb2-footer-links a {
  background: var(--pgb2-bg);
  border: 1px solid var(--pgb2-border);
  border-radius: 2rem;
  padding: 0.5rem 1.2rem;
  font-size: 1.1rem;
  color: var(--pgb2-light);
  transition: background 0.2s;
}

.pgb2-footer-links a:hover {
  background: var(--pgb2-hover);
}

.pgb2-footer-partners {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.pgb2-footer-partners img {
  width: 5rem;
  height: 5rem;
  border-radius: 0.5rem;
}

.pgb2-footer-copy {
  font-size: 1.1rem;
  color: var(--pgb2-secondary);
  text-align: center;
}

/* ===== BOTTOM NAV ===== */
.pgb2-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--pgb2-dark);
  border-top: 1px solid var(--pgb2-border);
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 6rem;
  max-width: 430px;
  margin: 0 auto;
  box-shadow: 0 -0.2rem 1rem rgba(0, 0, 0, 0.3);
}

.pgb2-bottom-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--pgb2-light);
  cursor: pointer;
  min-width: 6rem;
  min-height: 5.6rem;
  transition: transform 0.2s, color 0.2s;
  gap: 0.3rem;
}

.pgb2-bottom-nav-btn:hover,
.pgb2-bottom-nav-btn.pgb2-nav-active {
  transform: scale(1.1);
  color: var(--pgb2-gold);
}

.pgb2-bottom-nav-btn .pgb2-nav-icon {
  font-size: 2.4rem;
  line-height: 1;
}

.pgb2-bottom-nav-btn .pgb2-nav-label {
  font-size: 1rem;
  line-height: 1.2;
}

/* ===== MOBILE PADDING ===== */
@media (max-width: 768px) {
  .pgb2-main {
    padding-bottom: 8rem;
  }
}

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

/* ===== DESKTOP NAV ===== */
.pgb2-desktop-nav {
  display: none;
}

@media (min-width: 769px) {
  .pgb2-desktop-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
  }

  .pgb2-desktop-nav a {
    color: var(--pgb2-light);
    font-size: 1.3rem;
    transition: color 0.2s;
  }

  .pgb2-desktop-nav a:hover {
    color: var(--pgb2-gold);
  }
}

/* ===== UTILITY ===== */
.pgb2-text-center { text-align: center; }
.pgb2-mt-1 { margin-top: 1rem; }
.pgb2-mt-2 { margin-top: 2rem; }
.pgb2-mb-1 { margin-bottom: 1rem; }
.pgb2-mb-2 { margin-bottom: 2rem; }
.pgb2-hidden { display: none; }

/* Help page styles */
.pgb2-help-section {
  margin-bottom: 2rem;
}

.pgb2-step-list {
  list-style: none;
  counter-reset: pgb2-step-counter;
  padding: 0;
}

.pgb2-step-list li {
  counter-increment: pgb2-step-counter;
  padding: 1rem 0 1rem 3.5rem;
  position: relative;
  font-size: 1.3rem;
  color: var(--pgb2-light);
  line-height: 1.6rem;
}

.pgb2-step-list li::before {
  content: counter(pgb2-step-counter);
  position: absolute;
  left: 0;
  top: 0.8rem;
  width: 2.5rem;
  height: 2.5rem;
  background: linear-gradient(135deg, var(--pgb2-gold), #FFA500);
  color: var(--pgb2-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
}

.pgb2-faq-item {
  background: var(--pgb2-dark);
  border: 1px solid var(--pgb2-border);
  border-radius: 0.8rem;
  padding: 1.2rem;
  margin-bottom: 1rem;
}

.pgb2-faq-q {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--pgb2-gold);
  margin-bottom: 0.5rem;
}

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