/* bet100 Main Stylesheet - Mobile First Design */
/* All classes use v0c5 prefix for namespace isolation */

/* CSS Variables */
:root {
  --v0c5-primary: #0000CD;
  --v0c5-secondary: #0E1621;
  --v05-accent1: #87CEFA;
  --v0c5-accent2: #00E5FF;
  --v0c5-accent3: #0097A7;
  --v0c5-bg-dark: #0E1621;
  --v0c5-bg-darker: #050A10;
  --v0c5-text-light: #87CEFA;
  --v0c5-text-white: #FFFFFF;
  --v0c5-text-gray: #B0BEC5;
  --v0c5-border: #0097A7;
  --v0c5-shadow: rgba(0, 0, 0, 0.3);
}

/* 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, sans-serif;
  background: linear-gradient(135deg, var(--v0c5-bg-darker) 0%, var(--v0c5-bg-dark) 100%);
  color: var(--v0c5-text-light);
  font-size: 1.6rem;
  line-height: 1.5;
  min-height: 100vh;
}

/* Container */
.v0c5-container {
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1rem;
  width: 100%;
}

/* Header */
.v0c5-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, var(--v0c5-bg-darker) 0%, var(--v0c5-secondary) 100%);
  box-shadow: 0 2px 10px var(--v0c5-shadow);
  z-index: 1000;
  padding: 0.8rem 1rem;
}

.v0c5-header-content {
  max-width: 430px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.v0c5-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--v0c5-text-white);
  font-size: 1.4rem;
  font-weight: bold;
}

.v0c5-logo-icon {
  width: 28px;
  height: 28px;
  border-radius: 4px;
}

.v0c5-header-buttons {
  display: flex;
  gap: 0.5rem;
}

.v0c5-btn {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 6px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.v0c5-btn-primary {
  background: linear-gradient(135deg, var(--v0c5-primary) 0%, var(--v0c5-accent3) 100%);
  color: var(--v0c5-text-white);
}

.v0c5-btn-secondary {
  background: linear-gradient(135deg, var(--v0c5-accent2) 0%, var(--v0c5-accent1) 100%);
  color: var(--v0c5-bg-darker);
}

.v0c5-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 229, 255, 0.4);
}

.v0c5-btn:active {
  transform: translateY(0);
}

/* Mobile Menu Toggle */
.v0c5-menu-toggle {
  display: block;
  background: none;
  border: none;
  color: var(--v0c5-text-white);
  font-size: 1.8rem;
  cursor: pointer;
  padding: 0.5rem;
}

/* Mobile Menu */
.v0c5-mobile-menu {
  display: none;
  position: fixed;
  top: 60px;
  left: 0;
  right: 0;
  background: var(--v0c5-secondary);
  box-shadow: 0 4px 15px var(--v0c5-shadow);
  z-index: 9999;
  max-width: 430px;
  margin: 0 auto;
}

.v0c5-mobile-menu.show {
  display: block;
}

.v0c5-menu-item {
  display: block;
  padding: 1rem 1.5rem;
  color: var(--v0c5-text-light);
  text-decoration: none;
  border-bottom: 1px solid var(--v0c5-border);
  transition: all 0.3s ease;
}

.v0c5-menu-item:hover {
  background: var(--v0c5-primary);
  color: var(--v0c5-text-white);
  padding-left: 2rem;
}

/* Main Content */
main {
  padding-top: 70px;
  padding-bottom: 80px;
}

@media (min-width: 769px) {
  main {
    padding-bottom: 2rem;
  }
}

/* Carousel */
.v0c5-carousel {
  position: relative;
  width: 100%;
  margin: 1.5rem 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 20px var(--v0c5-shadow);
}

.v0c5-carousel-slide {
  display: none;
  width: 100%;
}

.v0c5-carousel-slide:first-child {
  display: block;
}

.v0c5-carousel-slide img {
  width: 100%;
  height: auto;
  display: block;
}

/* Section */
.v0c5-section {
  margin: 2rem 0;
  padding: 1.5rem;
  background: rgba(14, 22, 33, 0.6);
  border-radius: 12px;
  border: 1px solid var(--v0c5-border);
}

.v0c5-section-title {
  font-size: 1.8rem;
  color: var(--v0c5-accent2);
  margin-bottom: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Game Grid */
.v0c5-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
  margin: 1rem 0;
}

.v0c5-game-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.v0c5-game-item:hover {
  transform: scale(1.05);
}

.v0c5-game-icon {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid var(--v0c5-border);
  transition: border-color 0.3s ease;
}

.v0c5-game-item:hover .v0c5-game-icon {
  border-color: var(--v0c5-accent2);
}

.v0c5-game-name {
  font-size: 0.9rem;
  color: var(--v0c5-text-light);
  text-align: center;
  line-height: 1.2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Category Section */
.v0c5-category {
  margin: 2rem 0;
}

.v0c5-category-title {
  font-size: 1.6rem;
  color: var(--v0c5-accent1);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.v0c5-category-title i {
  color: var(--v0c5-accent2);
}

/* Promotional Links */
.v0c5-promo-link {
  color: var(--v0c5-accent2);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.v0c5-promo-link:hover {
  color: var(--v0c5-accent1);
  text-decoration: underline;
}

.v0c5-promo-button {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background: linear-gradient(135deg, var(--v0c5-primary) 0%, var(--v0c5-accent3) 100%);
  color: var(--v0c5-text-white);
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  width: 100%;
  text-align: center;
  margin: 0.5rem 0;
}

.v0c5-promo-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 229, 255, 0.5);
}

/* Text Content */
.v0c5-text {
  color: var(--v0c5-text-gray);
  line-height: 1.6;
  margin: 0.8rem 0;
}

.v0c5-text strong {
  color: var(--v0c5-accent2);
  font-weight: 600;
}

/* Footer */
.v0c5-footer {
  background: linear-gradient(180deg, var(--v0c5-secondary) 0%, var(--v0c5-bg-darker) 100%);
  padding: 2rem 1rem;
  border-top: 2px solid var(--v0c5-border);
  margin-top: 2rem;
}

.v0c5-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0;
}

.v0c5-footer-link {
  color: var(--v0c5-accent1);
  text-decoration: none;
  font-size: 1.1rem;
  padding: 0.3rem 0.6rem;
  border: 1px solid var(--v0c5-border);
  border-radius: 4px;
  transition: all 0.3s ease;
}

.v0c5-footer-link:hover {
  background: var(--v0c5-primary);
  color: var(--v0c5-text-white);
}

.v0c5-partners {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin: 1.5rem 0;
}

.v0c5-partner-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.v0c5-partner-icon:hover {
  opacity: 1;
}

.v0c5-copyright {
  text-align: center;
  color: var(--v0c5-text-gray);
  font-size: 1rem;
  margin-top: 1rem;
}

/* Bottom Navigation (Mobile) */
.v0c5-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, var(--v0c5-secondary) 0%, var(--v0c5-bg-darker) 100%);
  border-top: 2px solid var(--v0c5-border);
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 60px;
  z-index: 1000;
  max-width: 430px;
  margin: 0 auto;
  box-shadow: 0 -2px 10px var(--v0c5-shadow);
}

@media (min-width: 769px) {
  .v0c5-bottom-nav {
    display: none;
  }
}

.v0c5-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 60px;
  background: none;
  border: none;
  color: var(--v0c5-text-gray);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0.3rem;
}

.v0c5-nav-btn i {
  font-size: 24px;
  margin-bottom: 2px;
}

.v0c5-nav-btn span {
  font-size: 10px;
  font-weight: 500;
}

.v0c5-nav-btn:hover {
  color: var(--v0c5-accent2);
  transform: scale(1.1);
}

.v0c5-nav-btn.active {
  color: var(--v0c5-accent2);
}

/* Responsive */
@media (min-width: 769px) {
  .v0c5-menu-toggle {
    display: none;
  }

  .v0c5-mobile-menu {
    display: block;
    position: static;
    background: none;
    box-shadow: none;
    z-index: auto;
  }

  .v0c5-menu-item {
    display: inline-block;
    border-bottom: none;
    padding: 0.5rem 1rem;
  }

  .v0c5-menu-item:hover {
    padding-left: 1rem;
  }
}

/* Utility Classes */
.v0c5-text-center {
  text-align: center;
}

.v0c5-mt-1 {
  margin-top: 1rem;
}

.v0c5-mb-1 {
  margin-bottom: 1rem;
}

.v0c5-mt-2 {
  margin-top: 2rem;
}

.v0c5-mb-2 {
  margin-bottom: 2rem;
}

/* Animation */
@keyframes v0c5-fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.v0c5-animate {
  animation: v0c5-fadeIn 0.5s ease;
}
