/* xpinay main CSS file */
/* All classes use sa1b- prefix */

:root {
  --sa1b-primary: #008000;
  --sa1b-secondary: #B8860B;
  --sa1b-accent: #9AFF9A;
  --sa1b-dark: #0C0C0C;
  --sa1b-darker: #006400;
  --sa1b-light: #E9ECEF;
  --sa1b-gradient: linear-gradient(135deg, var(--sa1b-primary) 0%, var(--sa1b-darker) 100%);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 1.6rem;
  line-height: 1.5;
  color: var(--sa1b-light);
  background: var(--sa1b-dark);
}

/* Header */
.sa1b-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--sa1b-dark);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.sa1b-header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  max-width: 100%;
}

.sa1b-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  color: var(--sa1b-accent);
  font-weight: bold;
  font-size: 1.8rem;
}

.sa1b-logo img {
  width: 32px;
  height: 32px;
}

.sa1b-header-buttons {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.sa1b-btn {
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 6px;
  font-size: 1.4rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
}

.sa1b-btn-primary {
  background: var(--sa1b-primary);
  color: var(--sa1b-light);
}

.sa1b-btn-primary:hover {
  background: var(--sa1b-darker);
  transform: scale(1.05);
}

.sa1b-btn-secondary {
  background: var(--sa1b-secondary);
  color: var(--sa1b-dark);
}

.sa1b-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

.sa1b-menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--sa1b-accent);
  border-radius: 2px;
}

/* Mobile Menu */
.sa1b-mobile-menu {
  position: fixed;
  top: 60px;
  left: -100%;
  width: 100%;
  height: calc(100vh - 60px);
  background: var(--sa1b-dark);
  padding: 1rem;
  transition: left 0.3s ease;
  z-index: 9999;
  overflow-y: auto;
}

.sa1b-mobile-menu.siteb88-active {
  left: 0;
}

.sa1b-menu-item {
  display: block;
  padding: 1.2rem;
  color: var(--sa1b-light);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  transition: background 0.3s ease;
}

.sa1b-menu-item:hover {
  background: rgba(0,128,0,0.2);
}

/* Main Content */
.sa1b-main {
  margin-top: 60px;
  padding-bottom: 80px;
  min-height: 100vh;
}

.sa1b-container {
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1rem;
}

.sa1b-section {
  padding: 2rem 0;
}

.sa1b-section-title {
  font-size: 2rem;
  color: var(--sa1b-accent);
  margin-bottom: 1.5rem;
  text-align: center;
}

.sa1b-card {
  background: rgba(255,255,255,0.05);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(0,128,0,0.3);
}

.sa1b-card-content {
  font-size: 1.5rem;
  line-height: 1.6;
}

.sa1b-text-center {
  text-align: center;
}

.sa1b-mt-2 {
  margin-top: 2rem;
}

/* Game Grid */
.sa1b-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}

.sa1b-game-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.sa1b-game-item:hover {
  transform: scale(1.1);
}

.sa1b-game-icon {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 0.4rem;
}

.sa1b-game-name {
  font-size: 1rem;
  color: var(--sa1b-light);
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 100%;
}

/* Feature List */
.sa1b-feature-list {
  list-style: none;
}

.sa1b-feature-list li {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  align-items: flex-start;
}

.sa1b-feature-icon {
  font-size: 1.8rem;
  color: var(--sa1b-secondary);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

/* Carousel */
.sa1b-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 1.5rem;
}

.sa1b-carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

.sa1b-carousel-slide {
  min-width: 100%;
}

.sa1b-carousel-slide img {
  width: 100%;
  height: auto;
  display: block;
}

.sa1b-carousel-nav {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
}

.sa1b-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
}

.sa1b-carousel-dot.sa1b-active {
  background: var(--sa1b-primary);
}

/* Footer */
.sa1b-footer {
  background: var(--sa1b-darker);
  padding: 3rem 0;
  margin-top: 3rem;
}

.sa1b-footer-content {
  text-align: center;
}

.sa1b-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.sa1b-footer-link {
  color: var(--sa1b-accent);
  text-decoration: none;
  font-size: 1.3rem;
  padding: 0.5rem 1rem;
  transition: color 0.3s ease;
}

.sa1b-footer-link:hover {
  color: var(--sa1b-primary);
}

.sa1b-partners {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.sa1b-partner-logo {
  height: 40px;
  width: auto;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.sa1b-partner-logo:hover {
  opacity: 1;
}

.sa1b-copyright {
  color: rgba(255,255,255,0.6);
  font-size: 1.2rem;
}

/* Bottom Navigation */
.sa1b-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--sa1b-dark);
  display: flex;
  justify-content: space-around;
  padding: 0.5rem 0;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
  z-index: 1000;
}

.sa1b-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 60px;
  min-height: 60px;
  background: none;
  border: none;
  color: var(--sa1b-light);
  cursor: pointer;
  transition: all 0.3s ease;
}

.sa1b-nav-btn:hover,
.sa1b-nav-btn.sa1b-active {
  color: var(--sa1b-accent);
  transform: scale(1.1);
}

.sa1b-nav-icon {
  font-size: 24px;
}

.sa1b-nav-text {
  font-size: 11px;
  font-weight: 500;
}

/* Responsive */
@media (min-width: 769px) {
  .sa1b-bottom-nav {
    display: none;
  }

  .sa1b-menu-toggle {
    display: flex;
  }
}

@media (max-width: 768px) {
  .sa1b-menu-toggle {
    display: flex;
  }
}
