/**
 * PBA Score - Main Stylesheet
 * Class prefix: s714-
 * Color palette: #CD853F | #1A1A1A | #C0C0C0 | #FF69B4 | #A9A9A9
 */

:root {
  --s714-primary: #CD853F;
  --s714-secondary: #FF69B4;
  --s714-bg: #1A1A1A;
  --s714-bg-light: #252525;
  --s714-bg-card: #2A2A2A;
  --s714-text: #C0C0C0;
  --s714-text-light: #E8E8E8;
  --s714-muted: #A9A9A9;
  --s714-accent: #CD853F;
  --s714-accent-hover: #E09B50;
  --s714-pink: #FF69B4;
  --s714-border: #3A3A3A;
  --s714-radius: 8px;
  --s714-radius-lg: 12px;
  --s714-shadow: 0 2px 12px rgba(0,0,0,0.4);
  --s714-transition: all 0.3s ease;
}

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

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

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

a { color: var(--s714-primary); text-decoration: none; }
a:hover { color: var(--s714-accent-hover); }
img { max-width: 100%; height: auto; display: block; }

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

.s714-header-left {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.s714-header-logo {
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50%;
  border: 2px solid var(--s714-primary);
}

.s714-header-name {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--s714-primary);
  white-space: nowrap;
}

.s714-header-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.s714-btn-register, .s714-btn-login {
  padding: 0.5rem 1rem;
  border-radius: var(--s714-radius);
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--s714-transition);
  min-height: 3.2rem;
}

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

.s714-btn-register:hover {
  background: linear-gradient(135deg, var(--s714-accent-hover), var(--s714-primary));
  transform: scale(1.03);
}

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

.s714-btn-login:hover {
  background: rgba(205,133,63,0.15);
}

.s714-menu-toggle {
  background: none;
  border: none;
  color: var(--s714-primary);
  font-size: 2rem;
  cursor: pointer;
  padding: 0.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===== MOBILE MENU ===== */
.s714-mobile-menu {
  position: fixed;
  top: 5.2rem;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #1F1F1F;
  border-bottom: 2px solid var(--s714-primary);
  max-width: 430px;
  margin: 0 auto;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.s714-menu-active {
  max-height: 50rem;
}

.s714-mobile-menu ul {
  list-style: none;
  padding: 0.5rem 0;
}

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

.s714-mobile-menu a {
  display: block;
  padding: 1.1rem 1.6rem;
  color: var(--s714-text-light);
  font-size: 1.4rem;
  transition: var(--s714-transition);
}

.s714-mobile-menu a:hover {
  background: rgba(205,133,63,0.1);
  color: var(--s714-primary);
  padding-left: 2.2rem;
}

/* ===== MAIN CONTENT ===== */
.s714-main {
  margin-top: 5.2rem;
  padding: 0;
}

/* ===== CAROUSEL ===== */
.s714-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 16/7;
  background: var(--s714-bg-light);
}

.s714-carousel-slide {
  display: none;
  width: 100%;
  height: 100%;
}

.s714-carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.s714-carousel-dots {
  position: absolute;
  bottom: 0.8rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
}

.s714-carousel-dot {
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: var(--s714-transition);
}

.s714-dot-active {
  background: var(--s714-primary);
  transform: scale(1.2);
}

.s714-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: #fff;
  border: none;
  font-size: 1.6rem;
  padding: 0.6rem 0.8rem;
  cursor: pointer;
  z-index: 10;
  transition: var(--s714-transition);
}

.s714-carousel-arrow:hover { background: rgba(205,133,63,0.7); }
.s714-carousel-prev { left: 0.5rem; }
.s714-carousel-next { right: 0.5rem; }

/* ===== GAME SECTIONS ===== */
.s714-section {
  padding: 1.5rem 1rem;
}

.s714-section-title {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--s714-primary);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--s714-primary);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.s714-section-title i, .s714-section-title span.material-symbols-outlined {
  font-size: 2rem;
}

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

.s714-game-item {
  text-align: center;
  cursor: pointer;
  transition: var(--s714-transition);
  border-radius: var(--s714-radius);
  padding: 0.5rem;
}

.s714-game-item:hover {
  background: var(--s714-bg-card);
  transform: translateY(-2px);
}

.s714-game-item img {
  width: 6.5rem;
  height: 6.5rem;
  border-radius: var(--s714-radius);
  margin: 0 auto 0.4rem;
  object-fit: cover;
  border: 1px solid var(--s714-border);
}

.s714-game-item span {
  font-size: 1.1rem;
  color: var(--s714-text);
  display: block;
  line-height: 1.3rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ===== CONTENT BLOCKS ===== */
.s714-content-block {
  padding: 1.5rem 1rem;
  background: var(--s714-bg-light);
  margin-bottom: 1rem;
  border-radius: var(--s714-radius-lg);
}

.s714-content-block h2 {
  font-size: 1.7rem;
  color: var(--s714-primary);
  margin-bottom: 0.8rem;
  font-weight: 700;
}

.s714-content-block h3 {
  font-size: 1.4rem;
  color: var(--s714-accent-hover);
  margin: 1rem 0 0.5rem;
  font-weight: 600;
}

.s714-content-block p {
  font-size: 1.35rem;
  line-height: 1.7rem;
  color: var(--s714-text);
  margin-bottom: 0.8rem;
}

.s714-content-block ul, .s714-content-block ol {
  padding-left: 1.8rem;
  margin-bottom: 0.8rem;
}

.s714-content-block li {
  font-size: 1.35rem;
  line-height: 1.7rem;
  color: var(--s714-text);
  margin-bottom: 0.4rem;
}

/* ===== PROMO BUTTONS ===== */
.s714-promo-btn {
  display: inline-block;
  padding: 0.8rem 1.6rem;
  background: linear-gradient(135deg, var(--s714-primary), #B8752E);
  color: #fff !important;
  font-weight: 700;
  font-size: 1.3rem;
  border-radius: var(--s714-radius);
  cursor: pointer;
  transition: var(--s714-transition);
  text-align: center;
  border: none;
  margin: 0.4rem 0;
}

.s714-promo-btn:hover {
  background: linear-gradient(135deg, var(--s714-accent-hover), var(--s714-primary));
  transform: scale(1.04);
  color: #fff !important;
}

.s714-promo-btn-pink {
  background: linear-gradient(135deg, var(--s714-pink), #E0559A);
}

.s714-promo-btn-pink:hover {
  background: linear-gradient(135deg, #FF80C8, var(--s714-pink));
}

.s714-promo-text {
  color: var(--s714-primary);
  font-weight: 700;
  cursor: pointer;
  border-bottom: 1px dashed var(--s714-primary);
  transition: var(--s714-transition);
}

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

/* ===== TESTIMONIALS ===== */
.s714-testimonial {
  background: var(--s714-bg-card);
  border-left: 3px solid var(--s714-primary);
  padding: 1rem;
  margin-bottom: 0.8rem;
  border-radius: 0 var(--s714-radius) var(--s714-radius) 0;
}

.s714-testimonial p {
  font-style: italic;
  color: var(--s714-text);
  font-size: 1.3rem;
}

.s714-testimonial strong {
  color: var(--s714-primary);
  font-style: normal;
}

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

.s714-payment-item {
  background: var(--s714-bg-card);
  padding: 0.6rem 1rem;
  border-radius: var(--s714-radius);
  font-size: 1.2rem;
  color: var(--s714-text-light);
  border: 1px solid var(--s714-border);
}

/* ===== WINNERS ===== */
.s714-winners-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.s714-winner-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--s714-bg-card);
  padding: 0.7rem 1rem;
  border-radius: var(--s714-radius);
  font-size: 1.2rem;
}

.s714-winner-name { color: var(--s714-text-light); font-weight: 600; }
.s714-winner-amount { color: var(--s714-primary); font-weight: 700; }

/* ===== FOOTER ===== */
.s714-footer {
  background: var(--s714-bg-light);
  padding: 2rem 1rem 8rem;
  border-top: 1px solid var(--s714-border);
}

.s714-footer-intro {
  font-size: 1.25rem;
  color: var(--s714-muted);
  line-height: 1.6rem;
  margin-bottom: 1.2rem;
}

.s714-footer-promo {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.2rem;
}

.s714-footer-promo .s714-promo-btn {
  font-size: 1.15rem;
  padding: 0.6rem 1.2rem;
}

.s714-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  margin-bottom: 1rem;
}

.s714-footer-links a {
  font-size: 1.2rem;
  color: var(--s714-muted);
  transition: var(--s714-transition);
}

.s714-footer-links a:hover {
  color: var(--s714-primary);
}

.s714-footer-copy {
  font-size: 1.15rem;
  color: var(--s714-muted);
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid var(--s714-border);
}

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

.s714-bottom-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 6rem;
  min-height: 5rem;
  background: none;
  border: none;
  color: var(--s714-muted);
  cursor: pointer;
  transition: var(--s714-transition);
  border-radius: var(--s714-radius);
  padding: 0.3rem;
}

.s714-bottom-nav-btn:hover,
.s714-bottom-nav-btn:focus {
  color: var(--s714-primary);
  transform: scale(1.05);
}

.s714-bottom-nav-btn .s714-nav-icon {
  font-size: 2.2rem;
  margin-bottom: 0.2rem;
}

.s714-bottom-nav-btn .s714-nav-label {
  font-size: 1rem;
  font-weight: 500;
  white-space: nowrap;
}

.s714-bottom-nav-btn.s714-active {
  color: var(--s714-primary);
}

.s714-bottom-nav-btn.s714-active .s714-nav-icon {
  transform: scale(1.1);
}

/* ===== HELP PAGE ===== */
.s714-help-container {
  padding: 1.5rem 1rem;
}

.s714-help-container h1 {
  font-size: 1.8rem;
  color: var(--s714-primary);
  margin-bottom: 1rem;
  font-weight: 700;
}

.s714-help-container h2 {
  font-size: 1.5rem;
  color: var(--s714-accent-hover);
  margin: 1.2rem 0 0.6rem;
  font-weight: 600;
}

.s714-help-container h3 {
  font-size: 1.35rem;
  color: var(--s714-primary);
  margin: 1rem 0 0.4rem;
}

.s714-help-container p {
  font-size: 1.35rem;
  line-height: 1.7rem;
  color: var(--s714-text);
  margin-bottom: 0.7rem;
}

.s714-help-container ul, .s714-help-container ol {
  padding-left: 1.6rem;
  margin-bottom: 0.7rem;
}

.s714-help-container li {
  font-size: 1.35rem;
  line-height: 1.7rem;
  color: var(--s714-text);
  margin-bottom: 0.3rem;
}

.s714-faq-item {
  background: var(--s714-bg-card);
  border-radius: var(--s714-radius);
  padding: 1rem;
  margin-bottom: 0.8rem;
  border-left: 3px solid var(--s714-primary);
}

.s714-faq-item h3 {
  margin-top: 0;
  font-size: 1.3rem;
  color: var(--s714-primary);
}

.s714-faq-item p {
  font-size: 1.25rem;
}

/* ===== RESPONSIVE ===== */
@media (min-width: 769px) {
  .s714-bottom-nav {
    display: none;
  }
  body {
    max-width: 430px;
  }
}

@media (max-width: 768px) {
  .s714-main {
    padding-bottom: 7rem;
  }
  .s714-help-container {
    padding-bottom: 7rem;
  }
}

/* Utility classes */
.s714-text-center { text-align: center; }
.s714-text-primary { color: var(--s714-primary); }
.s714-text-pink { color: var(--s714-pink); }
.s714-fw-bold { font-weight: 700; }
.s714-mt-1 { margin-top: 1rem; }
.s714-mb-1 { margin-bottom: 1rem; }
.s714-py-1 { padding-top: 1rem; padding-bottom: 1rem; }
