/**
 * bd9 bradford - Theme Stylesheet
 * Class prefix: s682-
 * Color palette: #FFDFBA | #FF91A4 | #F08080 | #FF69B4 | #1B263B
 * Mobile-first design, max-width: 430px
 */

/* CSS Variables */
:root {
  --s682-primary: #FF91A4;
  --s682-secondary: #F08080;
  --s682-accent: #FF69B4;
  --s682-bg: #1B263B;
  --s682-bg-light: #243352;
  --s682-bg-card: #1e2d4a;
  --s682-text: #FFDFBA;
  --s682-text-muted: #c4a882;
  --s682-border: #2a3f66;
  --s682-gold: #FFD700;
  --s682-white: #ffffff;
  --s682-radius: 8px;
  --s682-radius-lg: 12px;
  --s682-shadow: 0 2px 12px rgba(0,0,0,0.3);
  --s682-transition: all 0.3s ease;
  font-size: 62.5%;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--s682-bg);
  color: var(--s682-text);
  font-size: 1.4rem;
  line-height: 1.5rem;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  overflow-x: hidden;
}
a { color: var(--s682-primary); text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* Header */
.s682-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  background: linear-gradient(135deg, var(--s682-bg) 0%, var(--s682-bg-light) 100%);
  z-index: 1000;
  border-bottom: 1px solid var(--s682-border);
  padding: 8px 12px;
}
.s682-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.s682-logo-area {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.s682-logo-area img { width: 28px; height: 28px; border-radius: 4px; }
.s682-logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--s682-primary);
  white-space: nowrap;
}
.s682-header-actions {
  display: flex;
  gap: 6px;
  align-items: center;
}
.s682-header-btn {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--s682-transition);
  white-space: nowrap;
}
.s682-btn-register {
  background: linear-gradient(135deg, var(--s682-primary), var(--s682-accent));
  color: var(--s682-bg);
}
.s682-btn-register:hover { transform: scale(1.05); box-shadow: 0 0 12px rgba(255,145,164,0.5); }
.s682-btn-login {
  background: transparent;
  color: var(--s682-primary);
  border: 1px solid var(--s682-primary);
}
.s682-btn-login:hover { background: rgba(255,145,164,0.1); }
.s682-menu-toggle {
  background: none;
  border: none;
  color: var(--s682-text);
  font-size: 2rem;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
}

/* Mobile Menu */
.s682-mobile-menu {
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100vh;
  background: var(--s682-bg);
  z-index: 9999;
  transition: right 0.3s ease;
  padding: 20px 16px;
  overflow-y: auto;
  border-left: 1px solid var(--s682-border);
}
.s682-menu-active { right: 0 !important; }
.s682-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0,0,0,0.6);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.s682-overlay-active { opacity: 1; pointer-events: auto; }
.s682-menu-close {
  background: none;
  border: none;
  color: var(--s682-text);
  font-size: 2.2rem;
  cursor: pointer;
  position: absolute;
  top: 12px;
  right: 16px;
}
.s682-menu-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--s682-primary);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--s682-border);
}
.s682-menu-links { list-style: none; }
.s682-menu-links li { margin-bottom: 4px; }
.s682-menu-links a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  color: var(--s682-text);
  border-radius: var(--s682-radius);
  transition: var(--s682-transition);
  font-size: 1.3rem;
}
.s682-menu-links a:hover { background: var(--s682-bg-light); color: var(--s682-primary); }
.s682-menu-links .material-icons { font-size: 2rem; color: var(--s682-primary); }
.s682-menu-divider {
  height: 1px;
  background: var(--s682-border);
  margin: 12px 0;
}

/* Bottom Navigation */
.s682-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 60px;
  background: linear-gradient(180deg, var(--s682-bg-light), var(--s682-bg));
  z-index: 1000;
  display: flex;
  justify-content: space-around;
  align-items: center;
  border-top: 1px solid var(--s682-border);
  box-shadow: 0 -4px 16px rgba(0,0,0,0.3);
}
.s682-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 60px;
  background: none;
  border: none;
  color: var(--s682-text-muted);
  cursor: pointer;
  transition: var(--s682-transition);
  padding: 4px 2px;
  border-radius: 8px;
}
.s682-nav-btn:hover, .s682-nav-btn:active {
  color: var(--s682-primary);
  transform: scale(1.08);
}
.s682-nav-btn .material-icons,
.s682-nav-btn .fas,
.s682-nav-btn .far,
.s682-nav-btn .fad,
.s682-nav-btn ion-icon {
  font-size: 22px;
  margin-bottom: 2px;
}
.s682-nav-btn span {
  font-size: 1rem;
  white-space: nowrap;
}
.s682-nav-btn.s682-active {
  color: var(--s682-accent);
}

/* Main Content */
.s682-main {
  padding-top: 56px;
  padding-bottom: 72px;
}
@media (min-width: 769px) {
  .s682-bottom-nav { display: none; }
  .s682-main { padding-bottom: 20px; }
}
@media (max-width: 768px) {
  .s682-main { padding-bottom: 80px; }
}

/* Carousel */
.s682-carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--s682-radius-lg);
  margin: 12px 12px 0;
}
.s682-carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}
.s682-carousel-slide {
  min-width: 100%;
  cursor: pointer;
}
.s682-carousel-slide img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.s682-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 8px 0;
}
.s682-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--s682-border);
  cursor: pointer;
  transition: var(--s682-transition);
}
.s682-dot-active { background: var(--s682-primary); width: 20px; border-radius: 4px; }

/* Section */
.s682-section {
  padding: 16px 12px;
}
.s682-section-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--s682-primary);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.s682-section-title .material-icons { font-size: 2rem; }

/* Game Grid */
.s682-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.s682-game-item {
  text-align: center;
  cursor: pointer;
  transition: var(--s682-transition);
  border-radius: var(--s682-radius);
  padding: 6px 4px;
}
.s682-game-item:hover { background: var(--s682-bg-light); transform: translateY(-2px); }
.s682-game-item img {
  width: 72px;
  height: 72px;
  border-radius: var(--s682-radius);
  margin: 0 auto 4px;
  object-fit: cover;
  border: 2px solid var(--s682-border);
  transition: var(--s682-transition);
}
.s682-game-item:hover img { border-color: var(--s682-primary); }
.s682-game-name {
  font-size: 1.1rem;
  color: var(--s682-text);
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Content Cards */
.s682-card {
  background: var(--s682-bg-card);
  border-radius: var(--s682-radius-lg);
  padding: 16px;
  margin-bottom: 12px;
  border: 1px solid var(--s682-border);
}
.s682-card h2 {
  font-size: 1.6rem;
  color: var(--s682-primary);
  margin-bottom: 10px;
}
.s682-card h3 {
  font-size: 1.4rem;
  color: var(--s682-secondary);
  margin: 10px 0 6px;
}
.s682-card p {
  font-size: 1.3rem;
  line-height: 1.8;
  color: var(--s682-text);
  margin-bottom: 8px;
}

/* Promo Links */
.s682-promo-link {
  display: inline-block;
  color: var(--s682-accent);
  font-weight: 600;
  cursor: pointer;
  transition: var(--s682-transition);
  text-decoration: underline;
}
.s682-promo-link:hover { color: var(--s682-gold); }
.s682-promo-btn {
  display: inline-block;
  padding: 10px 24px;
  background: linear-gradient(135deg, var(--s682-primary), var(--s682-accent));
  color: var(--s682-bg);
  font-weight: 700;
  font-size: 1.4rem;
  border-radius: 25px;
  cursor: pointer;
  border: none;
  transition: var(--s682-transition);
  text-align: center;
}
.s682-promo-btn:hover { transform: scale(1.05); box-shadow: 0 0 20px rgba(255,105,180,0.4); }

/* Footer */
.s682-footer {
  background: var(--s682-bg-light);
  padding: 20px 12px;
  border-top: 1px solid var(--s682-border);
}
.s682-footer-brand {
  text-align: center;
  margin-bottom: 16px;
}
.s682-footer-brand p {
  font-size: 1.2rem;
  color: var(--s682-text-muted);
  line-height: 1.6;
  margin-bottom: 6px;
}
.s682-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
}
.s682-footer-links a {
  padding: 6px 12px;
  background: var(--s682-bg-card);
  border-radius: 20px;
  font-size: 1.1rem;
  color: var(--s682-text);
  border: 1px solid var(--s682-border);
  transition: var(--s682-transition);
}
.s682-footer-links a:hover { color: var(--s682-primary); border-color: var(--s682-primary); }
.s682-footer-copy {
  text-align: center;
  font-size: 1.1rem;
  color: var(--s682-text-muted);
  padding-top: 12px;
  border-top: 1px solid var(--s682-border);
}

/* Utility Classes */
.s682-text-center { text-align: center; }
.s682-text-bold { font-weight: 700; }
.s682-mt-8 { margin-top: 8px; }
.s682-mt-12 { margin-top: 12px; }
.s682-mb-8 { margin-bottom: 8px; }
.s682-mb-12 { margin-bottom: 12px; }
.s682-p-12 { padding: 12px; }

/* Category Badge */
.s682-cat-badge {
  display: inline-block;
  padding: 3px 10px;
  background: linear-gradient(135deg, var(--s682-primary), var(--s682-accent));
  color: var(--s682-bg);
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 12px;
  margin-bottom: 10px;
}

/* Winner Item */
.s682-winner-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--s682-border);
}
.s682-winner-item:last-child { border-bottom: none; }
.s682-winner-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--s682-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--s682-bg);
  font-weight: 700;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.s682-winner-info { flex: 1; }
.s682-winner-name { font-size: 1.2rem; color: var(--s682-text); }
.s682-winner-amount { font-size: 1.3rem; color: var(--s682-gold); font-weight: 700; }

/* Payment Icons */
.s682-payment-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.s682-payment-item {
  background: var(--s682-bg-card);
  border: 1px solid var(--s682-border);
  border-radius: var(--s682-radius);
  padding: 8px 14px;
  font-size: 1.2rem;
  color: var(--s682-text);
  text-align: center;
}

/* Testimonial */
.s682-testimonial {
  background: var(--s682-bg-card);
  border-radius: var(--s682-radius-lg);
  padding: 12px;
  margin-bottom: 8px;
  border-left: 3px solid var(--s682-primary);
}
.s682-testimonial-text {
  font-size: 1.2rem;
  color: var(--s682-text);
  line-height: 1.6;
  font-style: italic;
  margin-bottom: 6px;
}
.s682-testimonial-author {
  font-size: 1.1rem;
  color: var(--s682-primary);
  font-weight: 600;
}

/* FAQ */
.s682-faq-item {
  padding: 12px 0;
  border-bottom: 1px solid var(--s682-border);
}
.s682-faq-q {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--s682-primary);
  margin-bottom: 6px;
}
.s682-faq-a {
  font-size: 1.2rem;
  color: var(--s682-text);
  line-height: 1.6;
}

/* App Download */
.s682-app-banner {
  background: linear-gradient(135deg, var(--s682-bg-light), var(--s682-bg-card));
  border-radius: var(--s682-radius-lg);
  padding: 16px;
  text-align: center;
  border: 1px solid var(--s682-border);
}

/* Internal Link */
.s682-internal-link {
  color: var(--s682-primary);
  text-decoration: underline;
  transition: var(--s682-transition);
}
.s682-internal-link:hover { color: var(--s682-accent); }

/* Help Page Styles */
.s682-help-section { margin-bottom: 16px; }
.s682-step-item {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
  align-items: flex-start;
}
.s682-step-num {
  min-width: 28px;
  height: 28px;
  background: var(--s682-primary);
  color: var(--s682-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.s682-step-text { font-size: 1.3rem; line-height: 1.6; flex: 1; }
