/* betso88 Core Stylesheet */
/* All classes use s90c- prefix for namespace isolation */

:root {
  --s90c-primary: #00E5FF;
  --s90c-secondary: #80CBC4;
  --s90c-bg: #0D1117;
  --s90c-accent: #00CED1;
  --s90c-highlight: #F0E68C;
  --s90c-text: #E8E8E8;
  --s90c-text-muted: #B0B0B0;
  --s90c-border: #2D3748;
  --s90c-card-bg: #1A202C;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  font-size: 1.4rem;
  line-height: 1.5;
  color: var(--s90c-text);
  background-color: var(--s90c-bg);
  min-width: 320px;
  max-width: 430px;
  margin: 0 auto;
  overflow-x: hidden;
}

/* Header */
.s90c-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 56px;
  background: linear-gradient(135deg, var(--s90c-bg) 0%, #16213E 100%);
  border-bottom: 1px solid var(--s90c-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 229, 255, 0.1);
}

.s90c-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--s90c-primary);
  font-size: 1.8rem;
  font-weight: 700;
}

.s90c-logo-icon {
  width: 28px;
  height: 28px;
}

.s90c-header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.s90c-btn {
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 6px;
  font-size: 1.3rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.s90c-btn-primary {
  background: linear-gradient(135deg, var(--s90c-primary) 0%, var(--s90c-accent) 100%);
  color: var(--s90c-bg);
}

.s90c-btn-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 229, 255, 0.4);
}

.s90c-btn-secondary {
  background: transparent;
  color: var(--s90c-primary);
  border: 1px solid var(--s90c-primary);
}

.s90c-btn-secondary:hover {
  background: var(--s90c-primary);
  color: var(--s90c-bg);
}

.s90c-menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.s90c-menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--s90c-primary);
  transition: all 0.3s ease;
}

/* Mobile Menu */
.s90c-mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background: var(--s90c-card-bg);
  transition: right 0.3s ease;
  z-index: 9999;
  overflow-y: auto;
}

.s90c-mobile-menu.s90c-active {
  right: 0;
}

.s90c-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  border-bottom: 1px solid var(--s90c-border);
}

.s90c-menu-close {
  background: none;
  border: none;
  color: var(--s90c-primary);
  font-size: 2rem;
  cursor: pointer;
  padding: 0.5rem;
}

.s90c-menu-nav {
  padding: 1rem 0;
}

.s90c-menu-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  color: var(--s90c-text);
  text-decoration: none;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

.s90c-menu-link:hover {
  background: rgba(0, 229, 255, 0.1);
  border-left-color: var(--s90c-primary);
}

.s90c-menu-link i {
  color: var(--s90c-primary);
  width: 20px;
}

.s90c-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 9998;
}

.s90c-menu-overlay.s90c-active {
  opacity: 1;
  visibility: visible;
}

/* Container */
.s90c-wrapper {
  padding-top: 56px;
  min-height: 100vh;
}

.s90c-main {
  padding: 1rem;
  padding-bottom: 80px;
}

.s90c-container {
  max-width: 430px;
  margin: 0 auto;
}

/* Carousel */
.s90c-carousel {
  position: relative;
  margin-bottom: 2rem;
  border-radius: 12px;
  overflow: hidden;
}

.s90c-carousel-slide {
  width: 100%;
}

.s90c-carousel-slide img {
  width: 100%;
  height: auto;
  display: block;
}

/* Cards */
.s90c-card {
  background: var(--s90c-card-bg);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--s90c-border);
}

.s90c-card-title {
  color: var(--s90c-primary);
  font-size: 1.8rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.s90c-card-content {
  color: var(--s90c-text);
  line-height: 1.6;
}

/* Game Grid */
.s90c-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
  margin-bottom: 2rem;
}

.s90c-game-card {
  background: var(--s90c-card-bg);
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid var(--s90c-border);
}

.s90c-game-card:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 229, 255, 0.3);
  border-color: var(--s90c-primary);
}

.s90c-game-icon {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.s90c-game-name {
  padding: 0.5rem;
  font-size: 1.1rem;
  color: var(--s90c-text);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Section */
.s90c-section {
  margin-bottom: 2rem;
}

.s90c-section-title {
  color: var(--s90c-primary);
  font-size: 2rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.s90c-section-title i {
  color: var(--s90c-accent);
}

/* Promo Link */
.s90c-promo-link {
  color: var(--s90c-highlight);
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  transition: all 0.3s ease;
}

.s90c-promo-link:hover {
  color: var(--s90c-primary);
}

/* Bottom Nav */
.s90c-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(180deg, var(--s90c-card-bg) 0%, var(--s90c-bg) 100%);
  border-top: 1px solid var(--s90c-border);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.3);
}

.s90c-bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 60px;
  text-decoration: none;
  color: var(--s90c-text-muted);
  transition: all 0.3s ease;
  cursor: pointer;
}

.s90c-bottom-nav-item:hover,
.s90c-bottom-nav-item.s90c-active {
  color: var(--s90c-primary);
  transform: scale(1.1);
}

.s90c-bottom-nav-icon {
  font-size: 22px;
  margin-bottom: 2px;
}

.s90c-bottom-nav-label {
  font-size: 1rem;
  font-weight: 500;
}

/* Footer */
.s90c-footer {
  background: var(--s90c-card-bg);
  padding: 2rem 1rem;
  border-top: 1px solid var(--s90c-border);
  margin-top: 2rem;
}

.s90c-footer-section {
  margin-bottom: 1.5rem;
}

.s90c-footer-title {
  color: var(--s90c-primary);
  font-size: 1.6rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.s90c-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.s90c-footer-link {
  color: var(--s90c-accent);
  text-decoration: none;
  font-size: 1.3rem;
  transition: all 0.3s ease;
}

.s90c-footer-link:hover {
  color: var(--s90c-primary);
}

.s90c-copyright {
  text-align: center;
  color: var(--s90c-text-muted);
  font-size: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--s90c-border);
}

.s90c-partners {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 1rem;
}

.s90c-partner-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.s90c-partner-icon:hover {
  opacity: 1;
}

/* Responsive */
@media (min-width: 769px) {
  .s90c-bottom-nav {
    display: none;
  }

  .s90c-main {
    padding-bottom: 2rem;
  }

  .s90c-menu-toggle {
    display: none;
  }
}

@media (max-width: 768px) {
  .s90c-main {
    padding-bottom: 80px;
  }
}
