/**
 * WOWPH Theme Stylesheet
 * Class prefix: gbca-
 * Color palette: #D8BFD8 | #9966CC | #262626 | #9932CC
 * Dark backgrounds, light text for mobile readability
 */

/* CSS Variables */
:root {
  --gbca-primary: #9932CC;
  --gbca-secondary: #9966CC;
  --gbca-bg-dark: #262626;
  --gbca-bg-card: #1a1a2e;
  --gbca-bg-section: #2a1a3a;
  --gbca-text-light: #D8BFD8;
  --gbca-text-white: #f0e6f6;
  --gbca-accent: #c77dff;
  --gbca-gold: #ffd700;
  --gbca-border: rgba(153, 50, 204, 0.3);
  --gbca-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  --gbca-radius: 10px;
}

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

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: var(--gbca-bg-dark);
  color: var(--gbca-text-light);
  line-height: 1.5rem;
  font-size: 1.4rem;
  max-width: 430px;
  margin: 0 auto;
  overflow-x: hidden;
  min-height: 100vh;
}

a {
  color: var(--gbca-accent);
  text-decoration: none;
  transition: color 0.3s;
}

a:hover {
  color: var(--gbca-gold);
}

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

/* ========== HEADER ========== */
.gbca-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  max-width: 430px;
  margin: 0 auto;
  z-index: 1000;
  background: linear-gradient(135deg, #1a0a2e 0%, #262626 100%);
  border-bottom: 2px solid var(--gbca-primary);
  padding: 0.8rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.gbca-logo-area {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.gbca-logo-area img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

.gbca-logo-area span {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gbca-text-white);
  letter-spacing: 0.5px;
}

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

.gbca-btn-register,
.gbca-btn-login {
  padding: 0.5rem 1.2rem;
  border-radius: 20px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.3s;
}

.gbca-btn-register {
  background: linear-gradient(135deg, var(--gbca-primary), var(--gbca-accent));
  color: #fff;
}

.gbca-btn-register:hover {
  transform: scale(1.05);
  box-shadow: 0 0 12px rgba(153, 50, 204, 0.5);
}

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

.gbca-btn-login:hover {
  background: rgba(153, 50, 204, 0.15);
}

.gbca-menu-toggle {
  background: none;
  border: none;
  color: var(--gbca-text-light);
  font-size: 2rem;
  cursor: pointer;
  padding: 0.2rem 0.5rem;
  line-height: 1;
}

/* ========== MOBILE MENU ========== */
.gbca-mobile-menu {
  position: fixed;
  top: 0;
  right: -280px;
  width: 260px;
  height: 100vh;
  background: linear-gradient(180deg, #1a0a2e, #0d0518);
  z-index: 9999;
  transition: right 0.35s ease;
  padding: 2rem 1.5rem;
  overflow-y: auto;
}

.gbca-menu-active {
  right: 0;
}

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

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

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

.gbca-menu-links {
  list-style: none;
  margin-top: 2rem;
}

.gbca-menu-links li {
  border-bottom: 1px solid rgba(153, 50, 204, 0.2);
}

.gbca-menu-links a {
  display: block;
  padding: 1.2rem 0.5rem;
  color: var(--gbca-text-light);
  font-size: 1.4rem;
  transition: all 0.3s;
}

.gbca-menu-links a:hover {
  color: var(--gbca-accent);
  padding-left: 1rem;
}

/* ========== MAIN CONTENT ========== */
.gbca-main {
  padding-top: 52px;
}

@media (max-width: 768px) {
  .gbca-main {
    padding-bottom: 80px;
  }
}

/* ========== CAROUSEL ========== */
.gbca-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-bottom: 2px solid var(--gbca-border);
}

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

.gbca-slide img {
  width: 100%;
  height: auto;
  aspect-ratio: 430/200;
  object-fit: cover;
}

.gbca-slide-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}

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

.gbca-dot-active {
  background: var(--gbca-primary);
  width: 20px;
  border-radius: 4px;
}

/* ========== SECTIONS ========== */
.gbca-section {
  padding: 1.8rem 1.2rem;
}

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

.gbca-section-title i,
.gbca-section-title .material-icons {
  color: var(--gbca-accent);
  font-size: 2rem;
}

/* ========== GAME GRID ========== */
.gbca-cat-label {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gbca-accent);
  margin: 1.5rem 0 0.8rem;
  padding-left: 0.5rem;
  border-left: 3px solid var(--gbca-primary);
}

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

.gbca-game-item {
  text-align: center;
  cursor: pointer;
  transition: transform 0.3s;
  background: var(--gbca-bg-card);
  border-radius: var(--gbca-radius);
  padding: 0.5rem;
  border: 1px solid transparent;
}

.gbca-game-item:hover {
  transform: translateY(-3px);
  border-color: var(--gbca-primary);
}

.gbca-game-item img {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 8px;
  margin-bottom: 0.3rem;
}

.gbca-game-item span {
  font-size: 1rem;
  color: var(--gbca-text-light);
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ========== CARDS ========== */
.gbca-card {
  background: var(--gbca-bg-card);
  border: 1px solid var(--gbca-border);
  border-radius: var(--gbca-radius);
  padding: 1.5rem;
  margin-bottom: 1.2rem;
  box-shadow: var(--gbca-shadow);
}

.gbca-card h3 {
  font-size: 1.5rem;
  color: var(--gbca-text-white);
  margin-bottom: 0.8rem;
}

.gbca-card p {
  font-size: 1.3rem;
  line-height: 1.8rem;
  color: var(--gbca-text-light);
  margin-bottom: 0.8rem;
}

/* ========== BUTTONS ========== */
.gbca-btn-promo {
  display: inline-block;
  background: linear-gradient(135deg, var(--gbca-primary), var(--gbca-accent));
  color: #fff;
  padding: 0.8rem 2rem;
  border-radius: 25px;
  font-size: 1.4rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.3s;
  text-align: center;
}

.gbca-btn-promo:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(153, 50, 204, 0.5);
  color: #fff;
}

/* ========== FOOTER ========== */
.gbca-footer {
  background: linear-gradient(180deg, #1a0a2e, #0d0518);
  padding: 2rem 1.2rem 1rem;
  border-top: 2px solid var(--gbca-primary);
}

.gbca-footer-brand {
  font-size: 1.3rem;
  color: var(--gbca-text-light);
  line-height: 1.8rem;
  margin-bottom: 1.2rem;
}

.gbca-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.2rem;
}

.gbca-footer-links a {
  background: rgba(153, 50, 204, 0.15);
  color: var(--gbca-accent);
  padding: 0.4rem 1rem;
  border-radius: 15px;
  font-size: 1.1rem;
  border: 1px solid var(--gbca-border);
  transition: all 0.3s;
}

.gbca-footer-links a:hover {
  background: var(--gbca-primary);
  color: #fff;
}

.gbca-footer-copy {
  text-align: center;
  font-size: 1.1rem;
  color: rgba(216, 191, 216, 0.5);
  padding-top: 1rem;
  border-top: 1px solid rgba(153, 50, 204, 0.15);
}

/* ========== BOTTOM NAV ========== */
.gbca-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  max-width: 430px;
  margin: 0 auto;
  height: 60px;
  background: linear-gradient(180deg, #1a0a2e, #0d0518);
  border-top: 1.5px solid var(--gbca-primary);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  padding: 0 0.3rem;
}

.gbca-bnav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 56px;
  background: none;
  border: none;
  color: rgba(216, 191, 216, 0.6);
  cursor: pointer;
  transition: all 0.3s;
  padding: 0.3rem;
  border-radius: 8px;
}

.gbca-bnav-btn:hover,
.gbca-bnav-active {
  color: var(--gbca-accent);
  background: rgba(153, 50, 204, 0.1);
}

.gbca-bnav-btn i,
.gbca-bnav-btn .material-icons,
.gbca-bnav-btn ion-icon,
.gbca-bnav-btn bi {
  font-size: 22px;
  margin-bottom: 1px;
}

.gbca-bnav-btn span {
  font-size: 1rem;
  line-height: 1.2;
}

.gbca-bnav-active {
  position: relative;
}

.gbca-bnav-active::before {
  content: '';
  position: absolute;
  top: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 3px;
  background: var(--gbca-accent);
  border-radius: 0 0 3px 3px;
}

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

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

.gbca-promo-text {
  color: var(--gbca-gold);
  font-weight: 600;
  cursor: pointer;
  transition: color 0.3s;
}

.gbca-promo-text:hover {
  color: var(--gbca-accent);
}

.gbca-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.gbca-feature-item {
  background: var(--gbca-bg-card);
  border: 1px solid var(--gbca-border);
  border-radius: var(--gbca-radius);
  padding: 1rem;
  text-align: center;
}

.gbca-feature-item i,
.gbca-feature-item .material-icons {
  font-size: 2.4rem;
  color: var(--gbca-accent);
  margin-bottom: 0.5rem;
}

.gbca-feature-item h4 {
  font-size: 1.3rem;
  color: var(--gbca-text-white);
  margin-bottom: 0.3rem;
}

.gbca-feature-item p {
  font-size: 1.1rem;
  color: var(--gbca-text-light);
}

.gbca-winner-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.gbca-winner-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--gbca-bg-card);
  padding: 0.8rem 1rem;
  border-radius: 8px;
  border-left: 3px solid var(--gbca-primary);
}

.gbca-winner-name {
  font-size: 1.2rem;
  color: var(--gbca-text-white);
  font-weight: 600;
}

.gbca-winner-amount {
  font-size: 1.3rem;
  color: var(--gbca-gold);
  font-weight: 700;
}

.gbca-winner-game {
  font-size: 1rem;
  color: rgba(216, 191, 216, 0.6);
}

.gbca-testimonial {
  background: var(--gbca-bg-card);
  border-radius: var(--gbca-radius);
  padding: 1.2rem;
  margin-bottom: 0.8rem;
  border-left: 3px solid var(--gbca-secondary);
}

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

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

.gbca-rtp-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0.8rem;
}

.gbca-rtp-table th,
.gbca-rtp-table td {
  padding: 0.6rem 0.8rem;
  text-align: left;
  font-size: 1.2rem;
  border-bottom: 1px solid rgba(153, 50, 204, 0.2);
}

.gbca-rtp-table th {
  color: var(--gbca-accent);
  font-weight: 600;
  background: rgba(153, 50, 204, 0.08);
}

.gbca-rtp-table td {
  color: var(--gbca-text-light);
}

.gbca-payment-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
}

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

.gbca-app-cta {
  background: linear-gradient(135deg, var(--gbca-primary), #6a1b9a);
  border-radius: var(--gbca-radius);
  padding: 1.5rem;
  text-align: center;
}

.gbca-app-cta h3 {
  font-size: 1.6rem;
  color: var(--gbca-text-white);
  margin-bottom: 0.6rem;
}

.gbca-app-cta p {
  font-size: 1.2rem;
  color: var(--gbca-text-light);
  margin-bottom: 1rem;
}

.gbca-achievement-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}

.gbca-achievement-item {
  text-align: center;
  background: var(--gbca-bg-card);
  border-radius: 8px;
  padding: 1rem 0.5rem;
  border: 1px solid var(--gbca-border);
}

.gbca-achievement-item .gbca-ach-num {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gbca-gold);
}

.gbca-achievement-item .gbca-ach-label {
  font-size: 1rem;
  color: var(--gbca-text-light);
}

/* Help page styles */
.gbca-help-section {
  padding: 1.5rem 1.2rem;
}

.gbca-help-section h2 {
  font-size: 1.6rem;
  color: var(--gbca-text-white);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--gbca-primary);
}

.gbca-help-section p {
  font-size: 1.3rem;
  line-height: 1.8rem;
  color: var(--gbca-text-light);
  margin-bottom: 0.8rem;
}

.gbca-faq-item {
  background: var(--gbca-bg-card);
  border-radius: 8px;
  margin-bottom: 0.8rem;
  overflow: hidden;
  border: 1px solid var(--gbca-border);
}

.gbca-faq-q {
  padding: 1rem 1.2rem;
  font-weight: 600;
  color: var(--gbca-text-white);
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.gbca-faq-a {
  padding: 0 1.2rem 1rem;
  font-size: 1.2rem;
  color: var(--gbca-text-light);
  line-height: 1.7rem;
}

.gbca-step-list {
  counter-reset: gbca-step;
  list-style: none;
}

.gbca-step-list li {
  counter-increment: gbca-step;
  padding: 0.8rem 0 0.8rem 3rem;
  position: relative;
  font-size: 1.3rem;
  color: var(--gbca-text-light);
  line-height: 1.7rem;
}

.gbca-step-list li::before {
  content: counter(gbca-step);
  position: absolute;
  left: 0;
  top: 0.8rem;
  width: 2.2rem;
  height: 2.2rem;
  background: var(--gbca-primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
}
