/**
 * Spin Plus - Core Stylesheet
 * File: css/design-6607.css
 * All classes use v790- prefix for namespace isolation
 * Color palette: #BAFFC9 | #2D2D2D | #D8BFD8 | #FFDFBA | #FFFFBA
 */

/* === CSS Variables === */
:root {
  --v790-primary: #BAFFC9;
  --v790-secondary: #D8BFD8;
  --v790-accent: #FFDFBA;
  --v790-highlight: #FFFFBA;
  --v790-bg: #2D2D2D;
  --v790-bg-dark: #1a1a1a;
  --v790-bg-card: #3a3a3a;
  --v790-text: #f0f0f0;
  --v790-text-muted: #b0b0b0;
  --v790-text-dark: #2D2D2D;
  --v790-border: #4a4a4a;
  --v790-success: #BAFFC9;
  --v790-warning: #FFDFBA;
  --v790-radius: 1.2rem;
  --v790-radius-sm: 0.8rem;
  --v790-radius-lg: 2rem;
  --v790-shadow: 0 2px 12px rgba(0,0,0,0.3);
  --v790-shadow-lg: 0 8px 32px rgba(0,0,0,0.4);
  --v790-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; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 1.6rem;
  line-height: 1.5rem;
  color: var(--v790-text);
  background: var(--v790-bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

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

/* === Header === */
.v790-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--v790-bg-dark);
  border-bottom: 1px solid var(--v790-border);
  transition: var(--v790-transition);
}
.v790-header-scrolled {
  background: rgba(26,26,26,0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--v790-shadow);
}
.v790-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 430px;
  margin: 0 auto;
  padding: 0.8rem 1.2rem;
  height: 56px;
}
.v790-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.v790-logo img {
  width: 32px;
  height: 32px;
  border-radius: 0.6rem;
}
.v790-logo-text {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--v790-primary);
  letter-spacing: 0.5px;
}
.v790-header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.v790-header-actions .v790-btn {
  padding: 0.6rem 1.4rem;
  font-size: 1.2rem;
  font-weight: 600;
  border: none;
  border-radius: var(--v790-radius-sm);
  cursor: pointer;
  transition: var(--v790-transition);
  min-height: 36px;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.v790-btn-register {
  background: var(--v790-primary);
  color: var(--v790-text-dark);
}
.v790-btn-register:hover { background: #9fe6b0; transform: scale(1.03); }
.v790-btn-login {
  background: transparent;
  color: var(--v790-accent);
  border: 1.5px solid var(--v790-accent) !important;
}
.v790-btn-login:hover { background: var(--v790-accent); color: var(--v790-text-dark); }

/* === Mobile Menu === */
.v790-menu-btn {
  background: none;
  border: none;
  color: var(--v790-text);
  font-size: 2.4rem;
  cursor: pointer;
  padding: 0.4rem;
  display: flex;
  align-items: center;
}
.v790-mobile-menu {
  position: fixed;
  top: 0;
  right: -280px;
  width: 280px;
  height: 100%;
  background: var(--v790-bg-dark);
  z-index: 9999;
  transition: right 0.35s cubic-bezier(0.4,0,0.2,1);
  overflow-y: auto;
  padding: 2rem 1.6rem;
}
.v790-menu-active { right: 0; }
.v790-menu-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.6);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.v790-overlay-active { opacity: 1; pointer-events: auto; }
.v790-menu-close {
  background: none;
  border: none;
  color: var(--v790-text);
  font-size: 2.4rem;
  cursor: pointer;
  position: absolute;
  top: 1rem;
  right: 1.2rem;
}
.v790-menu-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--v790-primary);
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--v790-border);
}
.v790-menu-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.2rem 0;
  color: var(--v790-text);
  font-size: 1.5rem;
  border-bottom: 1px solid var(--v790-border);
  transition: var(--v790-transition);
}
.v790-menu-link:hover { color: var(--v790-primary); padding-left: 0.5rem; }
.v790-menu-link i, .v790-menu-link .material-icons { font-size: 2rem; }

/* === Carousel === */
.v790-carousel {
  position: relative;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 0 0 var(--v790-radius) var(--v790-radius);
  margin-top: 56px;
}
.v790-carousel-slide {
  width: 100%;
  aspect-ratio: 16/7;
  object-fit: cover;
  display: none;
  cursor: pointer;
}
.v790-slide-active { display: block; }
.v790-carousel-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.6rem;
}
.v790-carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  transition: var(--v790-transition);
}
.v790-dot-active { background: var(--v790-primary); transform: scale(1.3); }

/* === Section Titles === */
.v790-section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--v790-primary);
  margin-bottom: 1.2rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--v790-secondary);
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.v790-section-title i, .v790-section-title .material-icons {
  font-size: 2.2rem;
  color: var(--v790-accent);
}

/* === Game Grid === */
.v790-game-section { margin-bottom: 2.4rem; }
.v790-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}
.v790-game-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem;
  border-radius: var(--v790-radius-sm);
  background: var(--v790-bg-card);
  cursor: pointer;
  transition: var(--v790-transition);
  border: 1px solid transparent;
  min-height: 90px;
}
.v790-game-card:hover {
  border-color: var(--v790-primary);
  transform: translateY(-2px);
  box-shadow: var(--v790-shadow);
}
.v790-game-card img {
  width: 52px;
  height: 52px;
  border-radius: 0.6rem;
  object-fit: cover;
}
.v790-game-card span {
  font-size: 1.1rem;
  color: var(--v790-text-muted);
  text-align: center;
  line-height: 1.2;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* === Content Sections === */
.v790-content-block {
  background: var(--v790-bg-card);
  border-radius: var(--v790-radius);
  padding: 1.6rem;
  margin-bottom: 1.6rem;
  border: 1px solid var(--v790-border);
}
.v790-content-block h2 {
  font-size: 1.8rem;
  color: var(--v790-primary);
  margin-bottom: 1rem;
}
.v790-content-block h3 {
  font-size: 1.5rem;
  color: var(--v790-accent);
  margin-bottom: 0.8rem;
}
.v790-content-block p {
  color: var(--v790-text-muted);
  line-height: 1.8;
  margin-bottom: 1rem;
  font-size: 1.4rem;
}
.v790-content-block a {
  color: var(--v790-primary);
  font-weight: 600;
}
.v790-content-block a:hover { text-decoration: underline; }

/* === Promo Buttons === */
.v790-btn-promo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--v790-primary), var(--v790-accent));
  color: var(--v790-text-dark);
  font-size: 1.5rem;
  font-weight: 700;
  border: none;
  border-radius: var(--v790-radius);
  cursor: pointer;
  transition: var(--v790-transition);
  box-shadow: var(--v790-shadow);
}
.v790-btn-promo:hover { transform: scale(1.05); box-shadow: var(--v790-shadow-lg); }
.v790-text-link {
  color: var(--v790-primary);
  font-weight: 600;
  cursor: pointer;
  transition: var(--v790-transition);
  border-bottom: 1px dashed var(--v790-primary);
}
.v790-text-link:hover { color: var(--v790-accent); }

/* === Footer === */
.v790-footer {
  background: var(--v790-bg-dark);
  padding: 2.4rem 0;
  border-top: 2px solid var(--v790-border);
}
.v790-footer-desc {
  color: var(--v790-text-muted);
  font-size: 1.3rem;
  line-height: 1.6;
  margin-bottom: 1.6rem;
}
.v790-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.6rem;
}
.v790-footer-link {
  padding: 0.6rem 1.2rem;
  background: var(--v790-bg-card);
  color: var(--v790-accent);
  border-radius: var(--v790-radius-sm);
  font-size: 1.2rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--v790-transition);
  border: 1px solid var(--v790-border);
}
.v790-footer-link:hover { background: var(--v790-accent); color: var(--v790-text-dark); }
.v790-footer-copy {
  text-align: center;
  color: var(--v790-text-muted);
  font-size: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--v790-border);
}

/* === Bottom Navigation === */
.v790-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--v790-bg-dark);
  border-top: 1.5px solid var(--v790-border);
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 60px;
  box-shadow: 0 -2px 16px rgba(0,0,0,0.3);
}
.v790-bnav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  min-width: 60px;
  min-height: 56px;
  background: none;
  border: none;
  color: var(--v790-text-muted);
  font-size: 1rem;
  cursor: pointer;
  transition: var(--v790-transition);
  position: relative;
  padding: 0.4rem;
}
.v790-bnav-btn i, .v790-bnav-btn .material-icons,
.v790-bnav-btn ion-icon, .v790-bnav-btn bi {
  font-size: 2.2rem;
  transition: var(--v790-transition);
}
.v790-bnav-btn:hover, .v790-bnav-btn.v790-bnav-active {
  color: var(--v790-primary);
}
.v790-bnav-btn:hover i, .v790-bnav-btn.v790-bnav-active i,
.v790-bnav-btn:hover .material-icons, .v790-bnav-btn.v790-bnav-active .material-icons,
.v790-bnav-btn:hover ion-icon, .v790-bnav-btn.v790-bnav-active ion-icon {
  transform: scale(1.15);
}
.v790-bnav-label {
  font-size: 1rem;
  white-space: nowrap;
}
.v790-bnav-btn::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 30px;
  height: 3px;
  background: var(--v790-primary);
  border-radius: 2px;
  transition: transform 0.3s ease;
}
.v790-bnav-btn.v790-bnav-active::after,
.v790-bnav-btn:hover::after { transform: translateX(-50%) scaleX(1); }

/* === Touch Feedback === */
.v790-touch-active { opacity: 0.85; transform: scale(0.97); }

/* === Responsive === */
@media (min-width: 769px) {
  .v790-bottom-nav { display: none; }
  .v790-header-inner { max-width: 768px; }
  .v790-container { max-width: 768px; }
  .v790-carousel { max-width: 768px; }
  .v790-game-grid { grid-template-columns: repeat(6, 1fr); }
}
@media (max-width: 768px) {
  body { padding-bottom: 76px; }
}
@media (max-width: 360px) {
  .v790-game-grid { grid-template-columns: repeat(3, 1fr); }
  .v790-header-actions .v790-btn { padding: 0.5rem 1rem; font-size: 1.1rem; }
}
