/**
 * Mumu Player - Core Stylesheet
 * Mobile-first responsive design with s33c- prefix
 * Color palette: #262626 (bg) | #BBBBBB (text) | #AFEEEE (accent)
 */

/* CSS Variables */
:root {
  --s33c-bg: #262626;
  --s33c-bg-light: #333333;
  --s33c-bg-card: #2e2e2e;
  --s33c-text: #BBBBBB;
  --s33c-text-light: #e0e0e0;
  --s33c-accent: #AFEEEE;
  --s33c-accent-dark: #8ccfcf;
  --s33c-accent-glow: rgba(175, 238, 238, 0.15);
  --s33c-border: #444444;
  --s33c-danger: #ff6b6b;
  --s33c-success: #4ecdc4;
  --s33c-warning: #ffe66d;
  --s33c-gradient: linear-gradient(135deg, #262626 0%, #1a1a2e 100%);
  --s33c-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
  --s33c-radius: 8px;
  --s33c-radius-sm: 4px;
  --s33c-radius-lg: 16px;
  --s33c-transition: all 0.3s ease;
  --s33c-font: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

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

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

body {
  font-family: var(--s33c-font);
  background: var(--s33c-bg);
  color: var(--s33c-text);
  line-height: 1.5rem;
  font-size: 1.4rem;
  max-width: 430px;
  margin: 0 auto;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: var(--s33c-accent);
  text-decoration: none;
  transition: var(--s33c-transition);
}

a:hover {
  color: var(--s33c-accent-dark);
}

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

/* ===== HEADER ===== */
.s33c-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 56px;
  background: var(--s33c-bg-light);
  border-bottom: 1px solid var(--s33c-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.s33c-logo-area {
  display: flex;
  align-items: center;
  gap: 8px;
}

.s33c-logo-area img {
  width: 28px;
  height: 28px;
  border-radius: var(--s33c-radius-sm);
}

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

.s33c-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.s33c-btn-register {
  background: var(--s33c-accent);
  color: var(--s33c-bg);
  border: none;
  padding: 6px 14px;
  border-radius: var(--s33c-radius);
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--s33c-transition);
  min-height: 32px;
}

.s33c-btn-register:hover {
  background: var(--s33c-accent-dark);
  transform: scale(1.05);
}

.s33c-btn-login {
  background: transparent;
  color: var(--s33c-accent);
  border: 1px solid var(--s33c-accent);
  padding: 5px 12px;
  border-radius: var(--s33c-radius);
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--s33c-transition);
  min-height: 32px;
}

.s33c-btn-login:hover {
  background: var(--s33c-accent-glow);
}

.s33c-menu-toggle {
  background: none;
  border: none;
  color: var(--s33c-text);
  font-size: 2rem;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
}

/* ===== MOBILE MENU ===== */
.s33c-mobile-menu {
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100%;
  background: var(--s33c-bg-light);
  z-index: 9999;
  transition: right 0.3s ease;
  overflow-y: auto;
  padding: 60px 16px 20px;
  border-left: 1px solid var(--s33c-border);
}

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

.s33c-mobile-menu .s33c-menu-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  color: var(--s33c-text);
  font-size: 2.2rem;
  cursor: pointer;
}

.s33c-mobile-menu ul {
  list-style: none;
}

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

.s33c-mobile-menu a {
  display: block;
  padding: 12px 8px;
  color: var(--s33c-text);
  font-size: 1.4rem;
  transition: var(--s33c-transition);
}

.s33c-mobile-menu a:hover {
  color: var(--s33c-accent);
  padding-left: 14px;
}

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

.s33c-overlay-active {
  display: block !important;
}

/* ===== MAIN CONTENT ===== */
.s33c-main {
  margin-top: 56px;
  padding-bottom: 80px;
}

.s33c-container {
  width: 100%;
  padding: 0 12px;
}

.s33c-wrapper {
  padding: 16px 0;
}

/* ===== CAROUSEL ===== */
.s33c-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 0;
}

.s33c-carousel-inner {
  position: relative;
  width: 100%;
  height: 200px;
}

.s33c-carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease;
  cursor: pointer;
}

.s33c-slide-active {
  opacity: 1;
}

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

.s33c-carousel-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}

.s33c-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: var(--s33c-transition);
}

.s33c-dot-active {
  background: var(--s33c-accent);
  transform: scale(1.3);
}

/* ===== SECTION TITLES ===== */
.s33c-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--s33c-text-light);
  padding: 16px 0 10px;
  border-bottom: 2px solid var(--s33c-accent);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.s33c-section-title .s33c-title-icon {
  color: var(--s33c-accent);
  font-size: 2rem;
}

/* ===== GAME GRID ===== */
.s33c-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding: 8px 0 16px;
}

.s33c-game-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: var(--s33c-transition);
  border-radius: var(--s33c-radius);
  padding: 6px;
}

.s33c-game-item:hover {
  background: var(--s33c-accent-glow);
  transform: translateY(-2px);
}

.s33c-game-item img {
  width: 64px;
  height: 64px;
  border-radius: var(--s33c-radius);
  margin-bottom: 4px;
  object-fit: cover;
}

.s33c-game-name {
  font-size: 1.1rem;
  color: var(--s33c-text);
  text-align: center;
  line-height: 1.2;
  max-width: 76px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ===== CONTENT SECTIONS ===== */
.s33c-content-section {
  padding: 16px 12px;
  margin: 8px 0;
  background: var(--s33c-bg-card);
  border-radius: var(--s33c-radius);
  border: 1px solid var(--s33c-border);
}

.s33c-content-section h2 {
  font-size: 1.7rem;
  color: var(--s33c-accent);
  margin-bottom: 10px;
  font-weight: 700;
}

.s33c-content-section h3 {
  font-size: 1.5rem;
  color: var(--s33c-text-light);
  margin: 12px 0 6px;
}

.s33c-content-section p {
  line-height: 1.6;
  margin-bottom: 10px;
  color: var(--s33c-text);
}

.s33c-content-section ul {
  padding-left: 20px;
  margin-bottom: 10px;
}

.s33c-content-section li {
  margin-bottom: 6px;
  line-height: 1.5;
}

/* ===== PROMO BUTTONS ===== */
.s33c-promo-btn {
  display: inline-block;
  background: var(--s33c-accent);
  color: var(--s33c-bg);
  padding: 10px 20px;
  border-radius: var(--s33c-radius);
  font-weight: 700;
  font-size: 1.4rem;
  cursor: pointer;
  border: none;
  transition: var(--s33c-transition);
  text-align: center;
}

.s33c-promo-btn:hover {
  background: var(--s33c-accent-dark);
  transform: scale(1.05);
  color: var(--s33c-bg);
}

.s33c-promo-link {
  color: var(--s33c-accent);
  font-weight: 700;
  cursor: pointer;
  transition: var(--s33c-transition);
}

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

/* ===== FOOTER ===== */
.s33c-footer {
  background: var(--s33c-bg-light);
  padding: 20px 12px 30px;
  border-top: 1px solid var(--s33c-border);
}

.s33c-footer-brand {
  font-size: 1.3rem;
  color: var(--s33c-text);
  line-height: 1.6;
  margin-bottom: 14px;
}

.s33c-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.s33c-footer-links a {
  display: inline-block;
  background: var(--s33c-bg-card);
  color: var(--s33c-accent);
  padding: 6px 10px;
  border-radius: var(--s33c-radius-sm);
  font-size: 1.1rem;
  border: 1px solid var(--s33c-border);
}

.s33c-footer-links a:hover {
  background: var(--s33c-accent-glow);
}

.s33c-footer-partners {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 14px;
}

.s33c-footer-partners img {
  height: 24px;
  opacity: 0.7;
}

.s33c-copyright {
  text-align: center;
  font-size: 1.1rem;
  color: #888;
  padding-top: 10px;
  border-top: 1px solid var(--s33c-border);
}

/* ===== BOTTOM NAV ===== */
.s33c-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: 60px;
  background: var(--s33c-bg-light);
  border-top: 1px solid var(--s33c-border);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  padding: 0 4px;
}

.s33c-bottom-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 54px;
  background: none;
  border: none;
  color: var(--s33c-text);
  cursor: pointer;
  transition: var(--s33c-transition);
  border-radius: var(--s33c-radius);
  padding: 4px 8px;
}

.s33c-bottom-nav-btn:hover,
.s33c-bottom-nav-btn:active {
  color: var(--s33c-accent);
  background: var(--s33c-accent-glow);
  transform: scale(1.1);
}

.s33c-bottom-nav-btn .s33c-nav-icon {
  font-size: 2.2rem;
  line-height: 1;
  margin-bottom: 2px;
}

.s33c-bottom-nav-btn .s33c-nav-label {
  font-size: 1rem;
  line-height: 1;
}

.s33c-nav-active {
  color: var(--s33c-accent) !important;
}

/* ===== RTP TABLE ===== */
.s33c-rtp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1.2rem;
}

.s33c-rtp-table th {
  background: var(--s33c-bg-light);
  color: var(--s33c-accent);
  padding: 8px 6px;
  text-align: left;
  font-weight: 600;
  border-bottom: 2px solid var(--s33c-accent);
}

.s33c-rtp-table td {
  padding: 7px 6px;
  border-bottom: 1px solid var(--s33c-border);
}

.s33c-rtp-bar {
  height: 6px;
  border-radius: 3px;
  background: var(--s33c-border);
  position: relative;
  overflow: hidden;
}

.s33c-rtp-bar-fill {
  height: 100%;
  border-radius: 3px;
  background: var(--s33c-accent);
}

/* ===== TESTIMONIALS ===== */
.s33c-testimonial {
  background: var(--s33c-bg-card);
  border: 1px solid var(--s33c-border);
  border-radius: var(--s33c-radius);
  padding: 12px;
  margin-bottom: 10px;
}

.s33c-testimonial-author {
  font-weight: 700;
  color: var(--s33c-accent);
  font-size: 1.2rem;
}

.s33c-testimonial-text {
  font-size: 1.3rem;
  line-height: 1.5;
  margin-top: 6px;
}

.s33c-testimonial-stars {
  color: var(--s33c-warning);
  font-size: 1.2rem;
  margin-top: 4px;
}

/* ===== WINNERS SHOWCASE ===== */
.s33c-winner-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--s33c-border);
}

.s33c-winner-item:last-child {
  border-bottom: none;
}

.s33c-winner-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--s33c-accent-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--s33c-accent);
  font-weight: 700;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.s33c-winner-info {
  flex: 1;
}

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

.s33c-winner-game {
  font-size: 1.1rem;
  color: var(--s33c-text);
}

.s33c-winner-amount {
  color: var(--s33c-accent);
  font-weight: 700;
  font-size: 1.3rem;
  white-space: nowrap;
}

/* ===== PAYMENT METHODS ===== */
.s33c-payment-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.s33c-payment-item {
  background: var(--s33c-bg-light);
  border: 1px solid var(--s33c-border);
  border-radius: var(--s33c-radius-sm);
  padding: 6px 10px;
  font-size: 1.1rem;
  color: var(--s33c-text);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ===== APP DOWNLOAD CTA ===== */
.s33c-app-cta {
  background: var(--s33c-gradient);
  border: 1px solid var(--s33c-accent);
  border-radius: var(--s33c-radius-lg);
  padding: 20px 16px;
  text-align: center;
}

.s33c-app-cta h3 {
  color: var(--s33c-accent);
  font-size: 1.6rem;
  margin-bottom: 8px;
}

/* ===== RESPONSIVE ===== */
@media (min-width: 769px) {
  .s33c-bottom-nav {
    display: none;
  }
  .s33c-menu-toggle {
    display: none;
  }
  .s33c-main {
    padding-bottom: 20px;
  }
}

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

/* ===== UTILITY CLASSES ===== */
.s33c-text-center {
  text-align: center;
}

.s33c-mt-8 {
  margin-top: 8px;
}

.s33c-mb-8 {
  margin-bottom: 8px;
}

.s33c-mb-16 {
  margin-bottom: 16px;
}

.s33c-hidden {
  display: none;
}

.s33c-tag {
  display: inline-block;
  background: var(--s33c-accent);
  color: var(--s33c-bg);
  padding: 2px 8px;
  border-radius: var(--s33c-radius-sm);
  font-size: 1rem;
  font-weight: 600;
}

.s33c-badge {
  display: inline-block;
  background: var(--s33c-danger);
  color: #fff;
  padding: 1px 6px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 700;
}
