/* 5jili Theme CSS */
/* All classes use vb25- prefix for namespace isolation */

/* CSS Variables */
:root {
  --vb25-primary: #A0522D;
  --vb25-secondary: #FFDEAD;
  --vb25-bg-dark: #141414;
  --vb25-bg-card: #1a1a1a;
  --vb25-bg-lighter: #252525;
  --vb25-text: #FAF0E6;
  --vb25-text-muted: #cccccc;
  --vb25-border: #333333;
  --vb25-success: #28a745;
  --vb25-gradient: linear-gradient(135deg, #A0522D 0%, #8B4513 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, 'Helvetica Neue', Arial, sans-serif;
  font-size: 1.6rem;
  line-height: 1.5;
  color: var(--vb25-text);
  background-color: var(--vb25-bg-dark);
  min-height: 100vh;
  overflow-x: hidden;
}

/* Container */
.vb25-container {
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header */
.vb25-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--vb25-bg-dark);
  border-bottom: 1px solid var(--vb25-border);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.vb25-header-inner {
  max-width: 430px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1rem;
}

.vb25-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  color: var(--vb25-text);
}

.vb25-logo-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.vb25-logo-text {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--vb25-secondary);
}

.vb25-header-actions {
  display: flex;
  gap: 0.8rem;
  align-items: center;
}

.vb25-btn {
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  font-size: 1.4rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  display: inline-block;
}

.vb25-btn-primary {
  background: var(--vb25-gradient);
  color: var(--vb25-secondary);
}

.vb25-btn-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(160, 82, 45, 0.4);
}

.vb25-btn-secondary {
  background-color: transparent;
  color: var(--vb25-secondary);
  border: 2px solid var(--vb25-primary);
}

.vb25-btn-secondary:hover {
  background-color: var(--vb25-primary);
  color: var(--vb25-secondary);
}

.vb25-menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.vb25-menu-toggle span {
  width: 24px;
  height: 2px;
  background-color: var(--vb25-secondary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Mobile Menu */
.vb25-mobile-menu {
  position: fixed;
  top: 0;
  left: -100%;
  width: 80%;
  max-width: 300px;
  height: 100vh;
  background-color: var(--vb25-bg-card);
  z-index: 9999;
  transition: left 0.3s ease;
  overflow-y: auto;
  padding: 2rem 1rem;
}

.vb25-mobile-menu.vb25-menu-open {
  left: 0;
}

.vb25-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.vb25-menu-overlay.vb25-menu-open {
  opacity: 1;
  visibility: visible;
}

.vb25-menu-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--vb25-text);
  font-size: 2rem;
  cursor: pointer;
}

.vb25-menu-nav {
  margin-top: 3rem;
}

.vb25-menu-nav a {
  display: block;
  padding: 1rem 0;
  color: var(--vb25-text);
  text-decoration: none;
  font-size: 1.6rem;
  border-bottom: 1px solid var(--vb25-border);
  transition: color 0.3s ease;
}

.vb25-menu-nav a:hover {
  color: var(--vb25-secondary);
}

/* Main Content */
.vb25-main {
  margin-top: 60px;
  padding-bottom: 80px;
}

.vb25-section {
  padding: 2rem 0;
}

.vb25-section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--vb25-secondary);
  margin-bottom: 1.5rem;
  text-align: center;
}

/* Carousel */
.vb25-carousel {
  position: relative;
  margin-bottom: 2rem;
}

.vb25-carousel-slide {
  display: none;
}

.vb25-carousel-slide img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  cursor: pointer;
}

.vb25-carousel-indicators {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
}

.vb25-carousel-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.vb25-carousel-indicator.vb25-active {
  background-color: var(--vb25-secondary);
  transform: scale(1.2);
}

/* Games Grid */
.vb25-games-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
  margin-bottom: 2rem;
}

.vb25-game-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--vb25-text);
  transition: transform 0.3s ease;
}

.vb25-game-item:hover {
  transform: scale(1.05);
}

.vb25-game-icon {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 8px;
  background-color: var(--vb25-bg-card);
}

.vb25-game-name {
  font-size: 1rem;
  text-align: center;
  margin-top: 0.5rem;
  color: var(--vb25-text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: 100%;
}

/* Card */
.vb25-card {
  background-color: var(--vb25-bg-card);
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--vb25-border);
}

.vb25-card-title {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--vb25-secondary);
  margin-bottom: 1rem;
}

.vb25-card-content {
  font-size: 1.5rem;
  line-height: 1.6;
  color: var(--vb25-text-muted);
}

/* List */
.vb25-list {
  list-style: none;
  padding: 0;
}

.vb25-list-item {
  padding: 1rem 0;
  border-bottom: 1px solid var(--vb25-border);
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
}

.vb25-list-item:last-child {
  border-bottom: none;
}

.vb25-list-icon {
  color: var(--vb25-secondary);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

/* Footer */
.vb25-footer {
  background-color: var(--vb25-bg-card);
  border-top: 1px solid var(--vb25-border);
  padding: 2rem 0;
  margin-top: 2rem;
}

.vb25-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
  justify-content: center;
}

.vb25-footer-link {
  color: var(--vb25-text-muted);
  text-decoration: none;
  font-size: 1.4rem;
  transition: color 0.3s ease;
}

.vb25-footer-link:hover {
  color: var(--vb25-secondary);
}

.vb25-partners {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.vb25-partner-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.vb25-copyright {
  text-align: center;
  font-size: 1.2rem;
  color: var(--vb25-text-muted);
}

/* Bottom Navigation */
.vb25-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, var(--vb25-bg-dark), rgba(20, 20, 20, 0.98));
  border-top: 1px solid var(--vb25-primary);
  z-index: 1000;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
}

.vb25-bottom-nav-inner {
  max-width: 430px;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 62px;
}

.vb25-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 60px;
  text-decoration: none;
  color: var(--vb25-text-muted);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  transition: all 0.3s ease;
}

.vb25-nav-item:hover,
.vb25-nav-item.vb25-active {
  color: var(--vb25-secondary);
  transform: scale(1.1);
}

.vb25-nav-icon {
  font-size: 24px;
  margin-bottom: 0.3rem;
  transition: transform 0.3s ease;
}

.vb25-nav-item:hover .vb25-nav-icon,
.vb25-nav-item.vb25-active .vb25-nav-icon {
  transform: translateY(-2px);
}

.vb25-nav-text {
  font-size: 11px;
  font-weight: 500;
}

/* Desktop responsive */
@media (min-width: 769px) {
  .vb25-bottom-nav {
    display: none;
  }

  .vb25-main {
    padding-bottom: 2rem;
  }
}

/* Utility classes */
.vb25-text-center {
  text-align: center;
}

.vb25-mt-1 {
  margin-top: 1rem;
}

.vb25-mb-1 {
  margin-bottom: 1rem;
}

.vb25-mb-2 {
  margin-bottom: 2rem;
}

/* Link styles */
.vb25-link {
  color: var(--vb25-secondary);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.vb25-link:hover {
  color: var(--vb25-primary);
  text-decoration: underline;
}

/* Promotional banner */
.vb25-promo-banner {
  background: var(--vb25-gradient);
  padding: 1.5rem;
  border-radius: 8px;
  text-align: center;
  margin-bottom: 2rem;
}

.vb25-promo-banner h3 {
  color: var(--vb25-secondary);
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.vb25-promo-banner p {
  color: var(--vb25-text);
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

/* Feature cards */
.vb25-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.vb25-feature-card {
  background-color: var(--vb25-bg-lighter);
  padding: 1.5rem;
  border-radius: 8px;
  text-align: center;
  border: 1px solid var(--vb25-border);
  transition: transform 0.3s ease;
}

.vb25-feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--vb25-primary);
}

.vb25-feature-icon {
  font-size: 32px;
  color: var(--vb25-secondary);
  margin-bottom: 1rem;
}

.vb25-feature-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--vb25-text);
  margin-bottom: 0.5rem;
}

.vb25-feature-desc {
  font-size: 1.2rem;
  color: var(--vb25-text-muted);
}

/* H1 styling */
h1 {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--vb25-secondary);
  text-align: center;
  margin-bottom: 2rem;
  line-height: 1.3;
}

/* H2 styling */
h2 {
  font-size: 2rem;
  font-weight: 600;
  color: var(--vb25-secondary);
  margin-bottom: 1rem;
}

/* Paragraph styling */
p {
  margin-bottom: 1rem;
  color: var(--vb25-text-muted);
}
