/**
 * Fun Bingo Games - Core Theme Stylesheet
 * File: css/theme-911c.css
 * Prefix: s911-
 * Color palette: #20B2AA | #2C2C2C | #00CED1 | #FFCCCB | #FFC0CB
 */

/* Root variables */
:root {
  --s911-primary: #20B2AA;
  --s911-bg: #2C2C2C;
  --s911-accent: #00CED1;
  --s911-light: #FFCCCB;
  --s911-soft: #FFC0CB;
  --s911-text: #FFFFFF;
  --s911-text-muted: #B0B0B0;
  --s911-card-bg: #1A1A1A;
  --s911-border: #3A3A3A;
  --s911-gradient: linear-gradient(135deg, #20B2AA, #00CED1);
  --s911-shadow: 0 4px 15px rgba(0, 206, 209, 0.25);
  --s911-radius: 10px;
  --s911-transition: all 0.3s ease;
}

/* Reset and 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(--s911-bg);
  color: var(--s911-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  max-width: 430px;
  margin: 0 auto;
  overflow-x: hidden;
}

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

/* Header */
.s911-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  z-index: 1000;
  background: linear-gradient(180deg, #1A1A1A 0%, #2C2C2C 100%);
  border-bottom: 2px solid var(--s911-primary);
  padding: 0.6rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

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

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

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

.s911-btn-register {
  background: var(--s911-gradient);
  color: #fff;
  border: none;
  padding: 0.5rem 1.2rem;
  border-radius: 20px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--s911-transition);
}

.s911-btn-register:hover { transform: scale(1.05); box-shadow: var(--s911-shadow); }

.s911-btn-login {
  background: transparent;
  color: var(--s911-accent);
  border: 1.5px solid var(--s911-accent);
  padding: 0.5rem 1.2rem;
  border-radius: 20px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--s911-transition);
}

.s911-btn-login:hover { background: var(--s911-accent); color: #1A1A1A; }

.s911-menu-toggle {
  background: none;
  border: none;
  color: var(--s911-accent);
  font-size: 2rem;
  cursor: pointer;
  padding: 0.4rem;
}

/* Mobile menu */
.s911-mobile-menu {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%) translateX(-100%);
  width: 100%;
  max-width: 430px;
  height: 100vh;
  background: #1A1A1A;
  z-index: 9999;
  transition: transform 0.3s ease;
  padding: 2rem;
  overflow-y: auto;
}

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

.s911-mobile-menu ul {
  list-style: none;
  margin-top: 3rem;
}

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

.s911-mobile-menu a {
  display: block;
  padding: 1.2rem 0.5rem;
  color: var(--s911-text);
  text-decoration: none;
  font-size: 1.4rem;
  transition: var(--s911-transition);
}

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

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

/* Bottom navigation */
.s911-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 60px;
  background: linear-gradient(180deg, #1A1A1A, #111111);
  border-top: 2px solid var(--s911-primary);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
}

.s911-bottom-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 54px;
  background: none;
  border: none;
  color: var(--s911-text-muted);
  cursor: pointer;
  transition: var(--s911-transition);
  gap: 0.2rem;
  padding: 0.4rem;
}

.s911-bottom-btn:hover, .s911-bottom-active {
  color: var(--s911-accent);
  transform: scale(1.08);
}

.s911-bottom-btn span {
  font-size: 1rem;
  font-weight: 500;
}

.s911-bottom-btn .s911-bnav-icon {
  font-size: 22px;
}

/* Slider / Carousel */
.s911-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: var(--s911-radius);
  margin-top: 0.5rem;
}

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

.s911-slide img {
  width: 100%;
  height: auto;
  display: block;
}

.s911-dots {
  text-align: center;
  padding: 0.5rem 0;
}

.s911-slide-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--s911-border);
  margin: 0 3px;
  cursor: pointer;
  transition: var(--s911-transition);
}

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

/* Section titles */
.s911-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--s911-accent);
  margin: 2rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--s911-primary);
}

.s911-section-subtitle {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--s911-soft);
  margin: 1.5rem 0 0.8rem;
}

/* Game grid */
.s911-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
  margin: 1rem 0;
}

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

.s911-game-item:hover {
  background: rgba(32, 178, 170, 0.15);
  transform: translateY(-2px);
}

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

.s911-game-name {
  font-size: 1.1rem;
  color: var(--s911-text-muted);
  line-height: 1.3rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Cards */
.s911-card {
  background: var(--s911-card-bg);
  border-radius: var(--s911-radius);
  padding: 1.5rem;
  margin: 1rem 0;
  border: 1px solid var(--s911-border);
}

.s911-card-highlight {
  background: var(--s911-card-bg);
  border-radius: var(--s911-radius);
  padding: 1.5rem;
  margin: 1rem 0;
  border: 1px solid var(--s911-primary);
  box-shadow: var(--s911-shadow);
}

/* Buttons */
.s911-btn {
  display: inline-block;
  background: var(--s911-gradient);
  color: #fff;
  padding: 1rem 2.5rem;
  border-radius: 25px;
  font-size: 1.4rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: var(--s911-transition);
  text-align: center;
}

.s911-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(0, 206, 209, 0.4);
}

.s911-btn-outline {
  background: transparent;
  border: 2px solid var(--s911-accent);
  color: var(--s911-accent);
}

.s911-btn-outline:hover {
  background: var(--s911-accent);
  color: #1A1A1A;
}

.s911-btn-pink {
  background: linear-gradient(135deg, #FFCCCB, #FFC0CB);
  color: #2C2C2C;
}

/* Text styles */
.s911-text-accent { color: var(--s911-accent); }
.s911-text-pink { color: var(--s911-soft); }
.s911-text-muted { color: var(--s911-text-muted); }
.s911-text-center { text-align: center; }

/* Link style */
.s911-link {
  color: var(--s911-accent);
  text-decoration: none;
  font-weight: 500;
  transition: var(--s911-transition);
}

.s911-link:hover {
  color: var(--s911-soft);
  text-decoration: underline;
}

/* FAQ Accordion */
.s911-faq-item {
  border: 1px solid var(--s911-border);
  border-radius: 8px;
  margin-bottom: 0.8rem;
  overflow: hidden;
}

.s911-faq-q {
  padding: 1rem;
  font-weight: 600;
  color: var(--s911-accent);
  background: rgba(32, 178, 170, 0.08);
  cursor: pointer;
}

.s911-faq-a {
  padding: 0.8rem 1rem;
  color: var(--s911-text-muted);
  font-size: 1.3rem;
  line-height: 1.5rem;
}

/* Footer */
.s911-footer {
  background: #111111;
  padding: 2rem 1rem 1rem;
  margin-top: 2rem;
  border-top: 2px solid var(--s911-primary);
}

.s911-footer-text {
  color: var(--s911-text-muted);
  font-size: 1.2rem;
  line-height: 1.5rem;
  margin-bottom: 1rem;
}

.s911-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1rem 0;
}

.s911-footer-links a {
  color: var(--s911-accent);
  text-decoration: none;
  font-size: 1.2rem;
  transition: var(--s911-transition);
}

.s911-footer-links a:hover { color: var(--s911-soft); }

.s911-footer-copy {
  color: #666;
  font-size: 1.1rem;
  text-align: center;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--s911-border);
}

.s911-promo-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1rem 0;
}

.s911-promo-btn {
  background: var(--s911-gradient);
  color: #fff;
  border: none;
  padding: 0.6rem 1.4rem;
  border-radius: 20px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--s911-transition);
}

.s911-promo-btn:hover { transform: scale(1.05); }

/* Winner showcase */
.s911-winner-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.s911-winner-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.6rem 0.8rem;
  background: rgba(32, 178, 170, 0.08);
  border-radius: 8px;
  border-left: 3px solid var(--s911-primary);
}

.s911-winner-name {
  font-weight: 600;
  color: var(--s911-accent);
  font-size: 1.2rem;
}

.s911-winner-amount {
  margin-left: auto;
  color: var(--s911-soft);
  font-weight: 700;
  font-size: 1.3rem;
}

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

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

/* Testimonials */
.s911-testimonial {
  background: var(--s911-card-bg);
  border-radius: var(--s911-radius);
  padding: 1.2rem;
  margin: 0.8rem 0;
  border-left: 3px solid var(--s911-primary);
}

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

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

/* Content paragraphs */
.s911-content p {
  margin-bottom: 1rem;
  line-height: 1.6;
  font-size: 1.3rem;
  color: var(--s911-text-muted);
}

/* Featured list */
.s911-feature-list {
  list-style: none;
  padding: 0;
}

.s911-feature-list li {
  padding: 0.6rem 0;
  padding-left: 1.8rem;
  position: relative;
  font-size: 1.3rem;
  color: var(--s911-text-muted);
}

.s911-feature-list li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--s911-accent);
  font-weight: 700;
}

/* Responsive - mobile padding for bottom nav */
@media (max-width: 768px) {
  main {
    padding-bottom: 80px;
  }
  .s911-header {
    padding-top: env(safe-area-inset-top, 0.6rem);
  }
}

/* Hide bottom nav on desktop */
@media (min-width: 769px) {
  .s911-bottom-nav { display: none; }
}

/* Utility classes */
.s911-mt-1 { margin-top: 0.5rem; }
.s911-mt-2 { margin-top: 1rem; }
.s911-mt-3 { margin-top: 1.5rem; }
.s911-mb-1 { margin-bottom: 0.5rem; }
.s911-mb-2 { margin-bottom: 1rem; }
.s911-p-1 { padding: 0.5rem; }
.s911-p-2 { padding: 1rem; }
