/**
 * nino gaming - CSS Stylesheet
 * All classes prefixed with v923- for namespace isolation
 */

/* CSS Variables */
:root {
  --v923-primary: #CD853F;
  --v923-primary-dark: #B87333;
  --v923-secondary: #FFD700;
  --v923-bg-dark: #262626;
  --v923-bg-medium: #495057;
  --v923-bg-light: #FAFAD2;
  --v923-text-dark: #262626;
  --v923-text-light: #FAFAD2;
  --v923-text-gray: #B0B0B0;
  --v923-white: #FFFFFF;
  --v923-shadow: rgba(0, 0, 0, 0.3);
  --v923-border-radius: 8px;
  --v923-transition: all 0.3s ease;
}

/* 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;
  background-color: var(--v923-bg-dark);
  color: var(--v923-text-light);
  min-height: 100vh;
  overflow-x: hidden;
}

/* Container */
.v923-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header */
.v923-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(135deg, var(--v923-bg-dark) 0%, var(--v923-bg-medium) 100%);
  box-shadow: 0 2px 10px var(--v923-shadow);
  border-bottom: 2px solid var(--v923-primary);
}

.v923-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1rem;
  max-width: 430px;
  margin: 0 auto;
}

.v923-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--v923-text-light);
}

.v923-logo-icon {
  width: 32px;
  height: 32px;
  border-radius: 4px;
}

.v923-logo-text {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--v923-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.v923-header-buttons {
  display: flex;
  gap: 0.5rem;
}

.v923-btn {
  padding: 0.5rem 1rem;
  font-size: 1.2rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  border-radius: var(--v923-border-radius);
  cursor: pointer;
  transition: var(--v923-transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.v923-btn-primary {
  background: linear-gradient(135deg, var(--v923-primary) 0%, var(--v923-primary-dark) 100%);
  color: var(--v923-white);
  box-shadow: 0 2px 8px rgba(205, 133, 63, 0.4);
}

.v923-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(205, 133, 63, 0.6);
}

.v923-btn-secondary {
  background: transparent;
  color: var(--v923-secondary);
  border: 2px solid var(--v923-secondary);
}

.v923-btn-secondary:hover {
  background: var(--v923-secondary);
  color: var(--v923-bg-dark);
}

/* Mobile Menu Toggle */
.v923-menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 28px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.v923-menu-toggle span {
  width: 100%;
  height: 3px;
  background: var(--v923-secondary);
  border-radius: 2px;
  transition: var(--v923-transition);
}

.v923-menu-toggle:hover span {
  background: var(--v923-primary);
}

/* Mobile Menu */
.v923-mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 300px;
  height: 100vh;
  background: linear-gradient(180deg, var(--v923-bg-dark) 0%, var(--v923-bg-medium) 100%);
  z-index: 9999;
  transition: right 0.3s ease;
  overflow-y: auto;
  box-shadow: -2px 0 10px var(--v923-shadow);
}

.v923-mobile-menu.v923-menu-open {
  right: 0;
}

.v923-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: var(--v923-transition);
}

.v923-mobile-menu.v923-menu-open + .v923-menu-overlay {
  opacity: 1;
  visibility: visible;
}

.v923-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  border-bottom: 1px solid var(--v923-primary);
}

.v923-menu-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--v923-secondary);
}

.v923-menu-close {
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  color: var(--v923-text-light);
  font-size: 2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.v923-menu-items {
  padding: 1rem 0;
}

.v923-menu-item {
  display: block;
  padding: 1rem 1.5rem;
  color: var(--v923-text-light);
  text-decoration: none;
  font-size: 1.4rem;
  border-left: 3px solid transparent;
  transition: var(--v923-transition);
}

.v923-menu-item:hover {
  background: rgba(205, 133, 63, 0.1);
  border-left-color: var(--v923-primary);
  color: var(--v923-secondary);
}

/* Main Content */
.v923-main {
  padding-top: 60px;
  padding-bottom: 80px;
  min-height: 100vh;
}

@media (min-width: 769px) {
  .v923-main {
    padding-bottom: 2rem;
  }
}

/* Carousel */
.v923-carousel {
  position: relative;
  width: 100%;
  max-width: 430px;
  margin: 1rem auto;
  overflow: hidden;
  border-radius: var(--v923-border-radius);
  box-shadow: 0 4px 12px var(--v923-shadow);
}

.v923-carousel-slides {
  display: flex;
  transition: transform 0.5s ease;
}

.v923-carousel-slide {
  min-width: 100%;
  display: none;
}

.v923-carousel-slide.v923-active {
  display: block;
}

.v923-carousel-slide img {
  width: 100%;
  height: auto;
  display: block;
}

.v923-carousel-indicators {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}

.v923-carousel-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  transition: var(--v923-transition);
}

.v923-carousel-indicator.v923-active,
.v923-carousel-indicator:hover {
  background: var(--v923-secondary);
  transform: scale(1.2);
}

/* Sections */
.v923-section {
  padding: 2rem 0;
  border-bottom: 1px solid rgba(205, 133, 63, 0.2);
}

.v923-section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--v923-secondary);
  margin-bottom: 1.5rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.v923-section-content {
  color: var(--v923-text-light);
  line-height: 1.8;
}

.v923-section-content p {
  margin-bottom: 1rem;
}

/* Game Grid */
.v923-game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1.5rem 0;
}

.v923-game-item {
  background: var(--v923-bg-medium);
  border-radius: var(--v923-border-radius);
  overflow: hidden;
  transition: var(--v923-transition);
  box-shadow: 0 2px 6px var(--v923-shadow);
  text-decoration: none;
  display: block;
}

.v923-game-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(205, 133, 63, 0.4);
}

.v923-game-icon {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}

.v923-game-name {
  padding: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--v923-text-light);
  text-align: center;
  text-transform: capitalize;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Category Section */
.v923-category {
  margin: 2rem 0;
}

.v923-category-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--v923-primary);
  margin-bottom: 1rem;
  padding-left: 0.5rem;
  border-left: 4px solid var(--v923-secondary);
}

/* Cards */
.v923-card {
  background: var(--v923-bg-medium);
  border-radius: var(--v923-border-radius);
  padding: 1.5rem;
  margin: 1rem 0;
  box-shadow: 0 2px 8px var(--v923-shadow);
}

.v923-card-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--v923-secondary);
  margin-bottom: 1rem;
}

.v923-card-content {
  color: var(--v923-text-light);
  line-height: 1.7;
}

/* Links */
.v923-link {
  color: var(--v923-primary);
  text-decoration: none;
  font-weight: 600;
  transition: var(--v923-transition);
}

.v923-link:hover {
  color: var(--v923-secondary);
  text-decoration: underline;
}

/* Footer */
.v923-footer {
  background: linear-gradient(180deg, var(--v923-bg-medium) 0%, var(--v923-bg-dark) 100%);
  padding: 2rem 0 1rem;
  border-top: 2px solid var(--v923-primary);
}

.v923-footer-section {
  margin-bottom: 1.5rem;
}

.v923-footer-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--v923-secondary);
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.v923-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.v923-footer-link {
  color: var(--v923-text-light);
  text-decoration: none;
  font-size: 1.2rem;
  transition: var(--v923-transition);
}

.v923-footer-link:hover {
  color: var(--v923-primary);
}

.v923-partners {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1rem 0;
}

.v923-partner-logo {
  width: 60px;
  height: 30px;
  object-fit: contain;
  opacity: 0.8;
  transition: var(--v923-transition);
}

.v923-partner-logo:hover {
  opacity: 1;
  transform: scale(1.1);
}

.v923-copyright {
  text-align: center;
  color: var(--v923-text-gray);
  font-size: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Mobile Bottom Navigation */
.v923-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, var(--v923-bg-medium) 0%, var(--v923-bg-dark) 100%);
  border-top: 2px solid var(--v923-primary);
  z-index: 1000;
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 60px;
  box-shadow: 0 -2px 10px var(--v923-shadow);
}

@media (min-width: 769px) {
  .v923-bottom-nav {
    display: none;
  }
}

.v923-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 60px;
  min-height: 60px;
  text-decoration: none;
  color: var(--v923-text-gray);
  transition: var(--v923-transition);
  cursor: pointer;
}

.v923-nav-item:hover,
.v923-nav-item.v923-active {
  color: var(--v923-secondary);
  transform: scale(1.1);
}

.v923-nav-icon {
  font-size: 24px;
  margin-bottom: 2px;
}

.v923-nav-label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

/* Utility Classes */
.v923-text-center {
  text-align: center;
}

.v923-mt-1 {
  margin-top: 1rem;
}

.v923-mb-1 {
  margin-bottom: 1rem;
}

.v923-mb-2 {
  margin-bottom: 2rem;
}

.v923-highlight {
  color: var(--v923-secondary);
  font-weight: 700;
}

/* Responsive */
@media (min-width: 769px) {
  .v923-container {
    max-width: 1200px;
  }

  .v923-game-grid {
    grid-template-columns: repeat(6, 1fr);
  }

  .v923-menu-toggle {
    display: none;
  }
}
