/**
 * Bet86 - Theme Stylesheet
 * File: css/theme-f285.css
 * Prefix: sf28-
 * Palette: #36454F | #0C0C0C | #696969 | #FF4500 | #DCDCDC
 */

:root {
  --sf28-primary: #FF4500;
  --sf28-bg-dark: #0C0C0C;
  --sf28-bg-mid: #36454F;
  --sf28-text-light: #DCDCDC;
  --sf28-text-muted: #696969;
  --sf28-accent: #FF4500;
  --sf28-accent-hover: #FF6A33;
  --sf28-white: #FFFFFF;
  --sf28-black: #000000;
  --sf28-radius: 8px;
  --sf28-radius-lg: 14px;
  --sf28-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  --sf28-shadow-lg: 0 8px 32px rgba(255, 69, 0, 0.15);
}

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

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

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

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

/* Header */
.sf28-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 56px;
  background: linear-gradient(180deg, #1a1a1a 0%, #0C0C0C 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 69, 0, 0.3);
  backdrop-filter: blur(10px);
}

.sf28-logo-area {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.sf28-logo-area img {
  width: 28px;
  height: 28px;
  border-radius: 4px;
}

.sf28-logo-area span {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--sf28-primary);
  letter-spacing: 0.5px;
}

.sf28-header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sf28-btn-register {
  background: var(--sf28-primary);
  color: var(--sf28-white);
  border: none;
  padding: 0.5rem 1.2rem;
  border-radius: var(--sf28-radius);
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.sf28-btn-register:hover {
  background: var(--sf28-accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 69, 0, 0.4);
}

.sf28-btn-login {
  background: transparent;
  color: var(--sf28-text-light);
  border: 1px solid rgba(220, 220, 220, 0.4);
  padding: 0.5rem 1rem;
  border-radius: var(--sf28-radius);
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}

.sf28-btn-login:hover {
  border-color: var(--sf28-primary);
  color: var(--sf28-primary);
}

.sf28-menu-toggle {
  background: none;
  border: none;
  color: var(--sf28-text-light);
  font-size: 2rem;
  cursor: pointer;
  padding: 0.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
}

.sf28-menu-toggle:hover {
  color: var(--sf28-primary);
}

/* Mobile Menu Overlay */
.sf28-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.sf28-overlay-active {
  opacity: 1;
  visibility: visible;
}

/* Mobile Menu Panel */
.sf28-mobile-menu {
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100%;
  background: linear-gradient(180deg, #1e1e1e, #0C0C0C);
  z-index: 9999;
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 2rem 1.5rem;
  overflow-y: auto;
}

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

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

.sf28-menu-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--sf28-primary);
  margin-bottom: 2rem;
  padding-top: 0.5rem;
}

.sf28-menu-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.sf28-menu-links li a {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 1.2rem;
  color: var(--sf28-text-light);
  text-decoration: none;
  font-size: 1.4rem;
  font-weight: 500;
  border-radius: var(--sf28-radius);
  transition: all 0.2s;
}

.sf28-menu-links li a:hover {
  background: rgba(255, 69, 0, 0.15);
  color: var(--sf28-primary);
}

.sf28-menu-links li a .material-icons,
.sf28-menu-links li a .fas,
.sf28-menu-links li a .far {
  font-size: 1.8rem;
  width: 24px;
  text-align: center;
}

/* Main content spacing for fixed header */
main {
  padding-top: 56px;
}

/* Bottom Nav */
.sf28-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 60px;
  background: linear-gradient(180deg, #1a1a1a 0%, #0C0C0C 100%);
  display: flex;
  align-items: center;
  justify-content: space-around;
  z-index: 1000;
  border-top: 1px solid rgba(255, 69, 0, 0.25);
  padding: 0 0.3rem;
}

.sf28-bottom-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 56px;
  background: none;
  border: none;
  color: var(--sf28-text-muted);
  cursor: pointer;
  transition: all 0.25s ease;
  padding: 0.3rem;
  border-radius: var(--sf28-radius);
  text-decoration: none;
}

.sf28-bottom-btn:hover,
.sf28-bottom-btn:focus {
  color: var(--sf28-primary);
  transform: scale(1.08);
}

.sf28-bottom-btn .sf28-nav-icon {
  font-size: 2.2rem;
  margin-bottom: 0.2rem;
  transition: transform 0.2s;
}

.sf28-bottom-btn .sf28-nav-label {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.2px;
}

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

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

/* Carousel */
.sf28-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 0 0 var(--sf28-radius-lg) var(--sf28-radius-lg);
}

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

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

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

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

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

.sf28-dot-active {
  background: var(--sf28-primary);
  transform: scale(1.3);
}

/* Section Headings */
.sf28-section-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--sf28-white);
  margin: 2rem 0 1rem;
  padding-left: 0.8rem;
  border-left: 4px solid var(--sf28-primary);
  line-height: 1.4;
}

.sf28-section-subtitle {
  font-size: 1.3rem;
  color: var(--sf28-text-muted);
  margin-bottom: 1.2rem;
  padding-left: 0.8rem;
}

/* Game Grid */
.sf28-game-section {
  margin-bottom: 2rem;
}

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

.sf28-game-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: transform 0.2s;
  text-decoration: none;
}

.sf28-game-item:hover {
  transform: scale(1.05);
}

.sf28-game-item img {
  width: 72px;
  height: 72px;
  border-radius: var(--sf28-radius);
  object-fit: cover;
  border: 2px solid rgba(255, 69, 0, 0.2);
  transition: border-color 0.2s;
}

.sf28-game-item:hover img {
  border-color: var(--sf28-primary);
}

.sf28-game-item span {
  font-size: 1.1rem;
  color: var(--sf28-text-light);
  text-align: center;
  margin-top: 0.3rem;
  line-height: 1.3;
  max-width: 80px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Promo Buttons & Links */
.sf28-promo-btn {
  display: inline-block;
  background: var(--sf28-primary);
  color: var(--sf28-white);
  border: none;
  padding: 0.8rem 2rem;
  border-radius: var(--sf28-radius);
  font-size: 1.4rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
  text-align: center;
  letter-spacing: 0.3px;
}

.sf28-promo-btn:hover {
  background: var(--sf28-accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--sf28-shadow-lg);
}

.sf28-text-link {
  color: var(--sf28-primary);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s;
}

.sf28-text-link:hover {
  color: var(--sf28-accent-hover);
  text-decoration: underline;
}

/* Content Cards */
.sf28-card {
  background: linear-gradient(135deg, rgba(54, 69, 79, 0.3), rgba(12, 12, 12, 0.8));
  border: 1px solid rgba(255, 69, 0, 0.15);
  border-radius: var(--sf28-radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.sf28-card h3 {
  font-size: 1.5rem;
  color: var(--sf28-primary);
  margin-bottom: 0.8rem;
}

.sf28-card p {
  font-size: 1.3rem;
  color: var(--sf28-text-light);
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

/* Footer */
.sf28-footer {
  background: linear-gradient(180deg, #1a1a1a, #0C0C0C);
  padding: 2rem 1.2rem 1rem;
  border-top: 1px solid rgba(255, 69, 0, 0.2);
  margin-top: 3rem;
}

.sf28-footer-brand {
  font-size: 1.3rem;
  color: var(--sf28-text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.sf28-footer-promo {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.sf28-footer-promo a {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(255, 69, 0, 0.15);
  color: var(--sf28-primary);
  border-radius: var(--sf28-radius);
  font-size: 1.2rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}

.sf28-footer-promo a:hover {
  background: var(--sf28-primary);
  color: var(--sf28-white);
}

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

.sf28-footer-links a {
  color: var(--sf28-text-muted);
  font-size: 1.2rem;
  text-decoration: none;
  transition: color 0.2s;
}

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

.sf28-footer-copy {
  text-align: center;
  font-size: 1.1rem;
  color: var(--sf28-text-muted);
  padding-top: 1rem;
  border-top: 1px solid rgba(105, 105, 105, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
  main {
    padding-bottom: 80px;
  }
}

@media (min-width: 769px) {
  .sf28-bottom-nav {
    display: none;
  }
  body {
    max-width: 430px;
  }
}

/* Utility classes */
.sf28-text-center { text-align: center; }
.sf28-mt-1 { margin-top: 1rem; }
.sf28-mt-2 { margin-top: 2rem; }
.sf28-mb-1 { margin-bottom: 1rem; }
.sf28-mb-2 { margin-bottom: 2rem; }
.sf28-hidden { display: none; }

/* Winner ticker */
.sf28-winner-ticker {
  background: rgba(255, 69, 0, 0.08);
  border: 1px solid rgba(255, 69, 0, 0.15);
  border-radius: var(--sf28-radius);
  padding: 0.8rem 1rem;
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.sf28-winner-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.4rem 0;
  font-size: 1.2rem;
}

.sf28-winner-name {
  color: var(--sf28-primary);
  font-weight: 600;
}

.sf28-winner-amount {
  color: var(--sf28-accent);
  font-weight: 700;
}

/* Testimonial */
.sf28-testimonial {
  background: linear-gradient(135deg, rgba(54, 69, 79, 0.2), rgba(12, 12, 12, 0.6));
  border-radius: var(--sf28-radius-lg);
  padding: 1.2rem;
  margin-bottom: 1rem;
  border-left: 3px solid var(--sf28-primary);
}

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

.sf28-testimonial-author {
  font-size: 1.1rem;
  color: var(--sf28-text-muted);
  font-weight: 600;
}

/* Payment methods */
.sf28-payment-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
  padding: 1rem 0;
}

.sf28-payment-item {
  background: rgba(54, 69, 79, 0.3);
  border: 1px solid rgba(220, 220, 220, 0.1);
  border-radius: var(--sf28-radius);
  padding: 0.6rem 1rem;
  font-size: 1.2rem;
  color: var(--sf28-text-light);
  text-align: center;
}

/* App download section */
.sf28-app-section {
  background: linear-gradient(135deg, rgba(255, 69, 0, 0.1), rgba(54, 69, 79, 0.2));
  border: 1px solid rgba(255, 69, 0, 0.2);
  border-radius: var(--sf28-radius-lg);
  padding: 1.5rem;
  text-align: center;
  margin-bottom: 1.5rem;
}

.sf28-app-section h3 {
  color: var(--sf28-primary);
  font-size: 1.6rem;
  margin-bottom: 0.8rem;
}

.sf28-app-section p {
  color: var(--sf28-text-light);
  font-size: 1.3rem;
  margin-bottom: 1rem;
  line-height: 1.5;
}

/* FAQ */
.sf28-faq-item {
  background: rgba(54, 69, 79, 0.15);
  border-radius: var(--sf28-radius);
  padding: 1rem 1.2rem;
  margin-bottom: 0.8rem;
  border-left: 3px solid var(--sf28-primary);
}

.sf28-faq-item h4 {
  font-size: 1.3rem;
  color: var(--sf28-primary);
  margin-bottom: 0.5rem;
}

.sf28-faq-item p {
  font-size: 1.2rem;
  color: var(--sf28-text-light);
  line-height: 1.5;
}
