/**
 * bet1x - Main Stylesheet
 * All classes use g3a0- prefix for namespace isolation
 */

/* CSS Variables */
:root {
  --g3a0-primary: #FFB347;
  --g3a0-secondary: #FFD700;
  --g3a0-accent: #FF9800;
  --g3a0-text-muted: #999999;
  --g3a0-bg-dark: #1A1A1A;
  --g3a0-bg-darker: #0D0D0D;
  --g3a0-bg-card: #252525;
  --g3a0-text-light: #FFFFFF;
  --g3a0-text-gray: #CCCCCC;
  --g3a0-border: #333333;
  --g3a0-gradient: linear-gradient(135deg, #FFB347 0%, #FFD700 100%);
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  font-size: 1.6rem;
  line-height: 1.5;
  color: var(--g3a0-text-light);
  background-color: var(--g3a0-bg-dark);
  overflow-x: hidden;
}

/* Container */
.g3a0-container {
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1rem;
  width: 100%;
}

/* Header Styles */
.g3a0-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: var(--g3a0-bg-darker);
  border-bottom: 1px solid var(--g3a0-border);
  transition: all 0.3s ease;
}

.g3a0-header.g3a0-scrolled {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.g3a0-header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 1rem;
  max-width: 430px;
  margin: 0 auto;
}

.g3a0-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--g3a0-text-light);
}

.g3a0-logo img {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 4px;
}

.g3a0-logo-text {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--g3a0-primary);
}

.g3a0-header-buttons {
  display: flex;
  gap: 0.5rem;
}

.g3a0-btn {
  padding: 0.5rem 1rem;
  font-size: 1.2rem;
  font-weight: 600;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.g3a0-btn-register {
  background: var(--g3a0-gradient);
  color: var(--g3a0-bg-darker);
}

.g3a0-btn-register:hover {
  transform: scale(1.05);
  box-shadow: 0 2px 8px rgba(255, 179, 71, 0.3);
}

.g3a0-btn-login {
  background-color: transparent;
  color: var(--g3a0-primary);
  border: 2px solid var(--g3a0-primary);
}

.g3a0-btn-login:hover {
  background-color: var(--g3a0-primary);
  color: var(--g3a0-bg-darker);
}

.g3a0-menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  padding: 0.5rem;
  background: none;
  border: none;
}

.g3a0-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--g3a0-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Mobile Menu */
.g3a0-mobile-menu {
  position: fixed;
  top: 0;
  left: -100%;
  width: 80%;
  max-width: 300px;
  height: 100vh;
  background-color: var(--g3a0-bg-darker);
  z-index: 9999;
  transition: left 0.3s ease;
  overflow-y: auto;
  padding: 2rem 1rem;
}

.g3a0-mobile-menu.g3a0-menu-open {
  left: 0;
}

.g3a0-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.g3a0-menu-overlay.g3a0-menu-open {
  opacity: 1;
  visibility: visible;
}

.g3a0-menu-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--g3a0-text-light);
  font-size: 2rem;
  cursor: pointer;
}

.g3a0-menu-nav {
  margin-top: 3rem;
}

.g3a0-menu-nav a {
  display: block;
  padding: 1rem;
  color: var(--g3a0-text-light);
  text-decoration: none;
  border-bottom: 1px solid var(--g3a0-border);
  transition: all 0.3s ease;
}

.g3a0-menu-nav a:hover {
  background-color: var(--g3a0-bg-card);
  color: var(--g3a0-primary);
  padding-left: 1.5rem;
}

/* Main Content */
.g3a0-main {
  padding-top: 60px;
  padding-bottom: 80px;
  min-height: 100vh;
}

/* Carousel */
.g3a0-carousel-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-bottom: 2rem;
}

.g3a0-carousel {
  display: flex;
  transition: transform 0.5s ease;
}

.g3a0-carousel-slide {
  min-width: 100%;
  cursor: pointer;
}

.g3a0-carousel-slide img {
  width: 100%;
  height: auto;
  display: block;
}

/* Section Styles */
.g3a0-section {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background-color: var(--g3a0-bg-card);
  border-radius: 8px;
}

.g3a0-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--g3a0-primary);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.g3a0-section-title i {
  font-size: 1.6rem;
}

/* Game Grid */
.g3a0-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
  margin-bottom: 2rem;
}

.g3a0-game-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.g3a0-game-item:hover {
  transform: scale(1.05);
}

.g3a0-game-icon {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  background-color: var(--g3a0-bg-darker);
}

.g3a0-game-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.g3a0-game-name {
  font-size: 1rem;
  color: var(--g3a0-text-gray);
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 100%;
}

/* Content Styles */
.g3a0-content {
  line-height: 1.6;
  color: var(--g3a0-text-gray);
}

.g3a0-content p {
  margin-bottom: 1rem;
}

.g3a0-content h2 {
  font-size: 1.6rem;
  color: var(--g3a0-primary);
  margin: 1.5rem 0 1rem;
}

.g3a0-content h3 {
  font-size: 1.4rem;
  color: var(--g3a0-secondary);
  margin: 1.2rem 0 0.8rem;
}

.g3a0-content ul, .g3a0-content ol {
  margin-left: 2rem;
  margin-bottom: 1rem;
}

.g3a0-content li {
  margin-bottom: 0.5rem;
}

.g3a0-content a {
  color: var(--g3a0-primary);
  text-decoration: none;
  font-weight: 600;
}

.g3a0-content a:hover {
  text-decoration: underline;
}

/* Card Styles */
.g3a0-card {
  background-color: var(--g3a0-bg-darker);
  border-radius: 8px;
  padding: 1.2rem;
  margin-bottom: 1rem;
  border: 1px solid var(--g3a0-border);
}

.g3a0-card-title {
  font-size: 1.4rem;
  color: var(--g3a0-primary);
  margin-bottom: 0.8rem;
  font-weight: 600;
}

/* List Styles */
.g3a0-list {
  list-style: none;
}

.g3a0-list-item {
  padding: 0.8rem;
  margin-bottom: 0.5rem;
  background-color: var(--g3a0-bg-darker);
  border-radius: 4px;
  border-left: 3px solid var(--g3a0-primary);
}

.g3a0-list-item:hover {
  background-color: var(--g3a0-bg-card);
}

/* Button Styles */
.g3a0-btn-primary {
  background: var(--g3a0-gradient);
  color: var(--g3a0-bg-darker);
  padding: 0.8rem 1.5rem;
  border-radius: 6px;
  font-weight: 700;
  text-align: center;
  display: inline-block;
  margin: 1rem 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.g3a0-btn-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(255, 179, 71, 0.4);
}

/* Footer */
.g3a0-footer {
  background-color: var(--g3a0-bg-darker);
  padding: 2rem 1rem;
  border-top: 1px solid var(--g3a0-border);
  margin-top: 2rem;
}

.g3a0-footer-content {
  max-width: 430px;
  margin: 0 auto;
}

.g3a0-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.g3a0-footer-links a {
  color: var(--g3a0-primary);
  text-decoration: none;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.g3a0-footer-links a:hover {
  color: var(--g3a0-secondary);
}

.g3a0-partners {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.g3a0-partner-logo {
  width: 100%;
  height: 2.4rem;
  object-fit: contain;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.g3a0-partner-logo:hover {
  opacity: 1;
}

.g3a0-copyright {
  text-align: center;
  color: var(--g3a0-text-muted);
  font-size: 1rem;
  margin-top: 1rem;
}

/* Mobile Bottom Navigation */
.g3a0-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background-color: var(--g3a0-bg-darker);
  border-top: 2px solid var(--g3a0-primary);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
}

.g3a0-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-width: 60px;
  min-height: 60px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  color: var(--g3a0-text-gray);
}

.g3a0-nav-item:hover {
  transform: scale(1.1);
}

.g3a0-nav-item.active {
  color: var(--g3a0-primary);
}

.g3a0-nav-item i {
  font-size: 1.6rem;
}

.g3a0-nav-item span {
  font-size: 1rem;
  font-weight: 500;
}

/* Hide bottom nav on desktop */
@media (min-width: 769px) {
  .g3a0-bottom-nav {
    display: none;
  }

  .g3a0-main {
    padding-bottom: 2rem;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .g3a0-main {
    padding-bottom: 80px;
  }
}

/* Utilities */
.g3a0-text-center {
  text-align: center;
}

.g3a0-mt-1 {
  margin-top: 1rem;
}

.g3a0-mb-1 {
  margin-bottom: 1rem;
}

.g3a0-py-2 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}
