/**
 * ninong gaming - CSS Stylesheet
 * All classes use prefix: vde9-
 */

/* CSS Variables */
:root {
  --vde9-primary: #E94560;
  --vde9-secondary: #0F3460;
  --vde9-dark: #1A1A2E;
  --vde9-darker: #16213E;
  --vde9-light: #D3D3D3;
  --vde9-white: #FFFFFF;
  --vde9-gray: #95A5A6;
  --vde9-success: #27AE60;
  --vde9-warning: #F39C12;
  --vde9-danger: #E74C3C;
  --vde9-bg: #0C0C0C;
  --vde9-text: #D3D3D3;
  --vde9-border: #2C2C2C;
  --vde9-shadow: rgba(0, 0, 0, 0.5);
}

/* Reset & Base */
*, *::before, *::after {
  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(--vde9-text);
  background-color: var(--vde9-bg);
  overflow-x: hidden;
  min-height: 100vh;
}

/* Container */
.vde9-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header */
.vde9-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(135deg, var(--vde9-darker), var(--vde9-dark));
  border-bottom: 2px solid var(--vde9-primary);
  box-shadow: 0 2px 10px var(--vde9-shadow);
  transition: transform 0.3s ease;
}

.vde9-header.vde9-header-hidden {
  transform: translateY(-100%);
}

.vde9-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  max-width: 430px;
  margin: 0 auto;
}

.vde9-logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  color: var(--vde9-white);
  font-weight: 700;
  font-size: 1.8rem;
}

.vde9-logo-icon {
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 8px;
}

.vde9-header-actions {
  display: flex;
  gap: 0.8rem;
}

.vde9-btn {
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-size: 1.4rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.vde9-btn-primary {
  background: linear-gradient(135deg, var(--vde9-primary), #FF6B6B);
  color: var(--vde9-white);
  box-shadow: 0 4px 15px rgba(233, 69, 96, 0.3);
}

.vde9-btn-secondary {
  background: linear-gradient(135deg, var(--vde9-secondary), #1E5A8A);
  color: var(--vde9-white);
  box-shadow: 0 4px 15px rgba(15, 52, 96, 0.3);
}

.vde9-btn:hover,
.vde9-btn:active {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(233, 69, 96, 0.4);
}

.vde9-btn.vde9-touch-active {
  transform: scale(0.95);
}

.vde9-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--vde9-white);
  font-size: 2.4rem;
  cursor: pointer;
  padding: 0.5rem;
}

/* Mobile Menu */
.vde9-mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 300px;
  height: 100vh;
  background: linear-gradient(180deg, var(--vde9-darker), var(--vde9-dark));
  z-index: 9999;
  transition: right 0.3s ease;
  box-shadow: -2px 0 10px var(--vde9-shadow);
  padding: 6rem 2rem 2rem;
  overflow-y: auto;
}

.vde9-mobile-menu.vde9-menu-open {
  right: 0;
}

.vde9-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.vde9-mobile-menu.vde9-menu-open + .vde9-menu-overlay {
  opacity: 1;
  pointer-events: auto;
}

.vde9-menu-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--vde9-white);
  font-size: 2.8rem;
  cursor: pointer;
}

.vde9-menu-nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.vde9-menu-link {
  color: var(--vde9-white);
  text-decoration: none;
  font-size: 1.6rem;
  padding: 1rem;
  border-radius: 8px;
  transition: background 0.3s ease;
}

.vde9-menu-link:hover,
.vde9-menu-link.vde9-active {
  background: rgba(233, 69, 96, 0.2);
  color: var(--vde9-primary);
}

/* Main Content */
.vde9-main {
  padding-top: 7rem;
  padding-bottom: 8rem;
  min-height: 100vh;
}

/* Carousel */
.vde9-carousel {
  position: relative;
  margin-bottom: 2rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px var(--vde9-shadow);
}

.vde9-carousel-slide {
  display: none;
  width: 100%;
}

.vde9-carousel-slide img {
  width: 100%;
  height: auto;
  display: block;
}

.vde9-carousel-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.8rem;
}

.vde9-carousel-dot {
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.vde9-carousel-dot.vde9-active {
  background: var(--vde9-primary);
  transform: scale(1.2);
}

/* Sections */
.vde9-section {
  margin-bottom: 2.5rem;
  padding: 2rem;
  background: linear-gradient(135deg, var(--vde9-darker), var(--vde9-dark));
  border-radius: 12px;
  border: 1px solid var(--vde9-border);
}

.vde9-section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--vde9-primary);
  margin-bottom: 1.5rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.vde9-section-content {
  color: var(--vde9-light);
  line-height: 1.8;
}

/* Game Grid */
.vde9-game-category {
  margin-bottom: 2rem;
}

.vde9-category-title {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--vde9-white);
  margin-bottom: 1rem;
  padding: 1rem;
  background: linear-gradient(135deg, var(--vde9-primary), var(--vde9-secondary));
  border-radius: 8px;
  text-align: center;
}

.vde9-game-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.vde9-game-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
}

.vde9-game-item:hover {
  background: rgba(233, 69, 96, 0.15);
  transform: translateY(-3px);
}

.vde9-game-icon {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 6px;
  border: 2px solid var(--vde9-border);
}

.vde9-game-name {
  font-size: 1rem;
  color: var(--vde9-white);
  text-align: center;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* Links */
.vde9-link {
  color: var(--vde9-primary);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.vde9-link:hover {
  color: var(--vde9-white);
  text-decoration: underline;
}

/* Footer */
.vde9-footer {
  background: linear-gradient(135deg, var(--vde9-darker), var(--vde9-dark));
  border-top: 2px solid var(--vde9-primary);
  padding: 3rem 1rem 8rem;
}

.vde9-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.vde9-footer-link {
  color: var(--vde9-light);
  text-decoration: none;
  font-size: 1.4rem;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.vde9-footer-link:hover {
  background: rgba(233, 69, 96, 0.2);
  color: var(--vde9-primary);
}

.vde9-partners {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  margin-bottom: 2rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 12px;
}

.vde9-partner-logo {
  width: 8rem;
  height: 4rem;
  object-fit: contain;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.vde9-partner-logo:hover {
  opacity: 1;
}

.vde9-copyright {
  text-align: center;
  color: var(--vde9-gray);
  font-size: 1.2rem;
  padding: 1rem;
}

/* Bottom Navigation */
.vde9-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 6rem;
  background: linear-gradient(135deg, var(--vde9-darker), var(--vde9-dark));
  border-top: 2px solid var(--vde9-primary);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 -2px 10px var(--vde9-shadow);
}

.vde9-bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  min-width: 6rem;
  min-height: 6rem;
  text-decoration: none;
  color: var(--vde9-light);
  transition: all 0.3s ease;
  position: relative;
}

.vde9-bottom-nav-item:hover,
.vde9-bottom-nav-item.vde9-active {
  color: var(--vde9-primary);
  background: rgba(233, 69, 96, 0.1);
}

.vde9-bottom-nav-icon {
  font-size: 2.4rem;
}

.vde9-bottom-nav-label {
  font-size: 1rem;
  font-weight: 600;
}

.vde9-bottom-nav-badge {
  position: absolute;
  top: 0.5rem;
  right: 1rem;
  background: var(--vde9-primary);
  color: var(--vde9-white);
  font-size: 1rem;
  padding: 0.2rem 0.5rem;
  border-radius: 10px;
  font-weight: 700;
}

/* Responsive */
@media (min-width: 769px) {
  .vde9-bottom-nav {
    display: none;
  }

  .vde9-main {
    padding-bottom: 2rem;
  }

  .vde9-footer {
    padding-bottom: 2rem;
  }

  .vde9-menu-toggle {
    display: block;
  }
}

@media (max-width: 768px) {
  .vde9-menu-toggle {
    display: block;
  }
}

/* Utility Classes */
.vde9-text-center {
  text-align: center;
}

.vde9-mt-1 {
  margin-top: 1rem;
}

.vde9-mt-2 {
  margin-top: 2rem;
}

.vde9-mb-1 {
  margin-bottom: 1rem;
}

.vde9-mb-2 {
  margin-bottom: 2rem;
}

.vde9-py-2 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

/* Animations */
@keyframes vde9-fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.vde9-fade-in {
  animation: vde9-fadeIn 0.5s ease forwards;
}

/* Card */
.vde9-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--vde9-border);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.vde9-card:hover {
  border-color: var(--vde9-primary);
  box-shadow: 0 4px 15px rgba(233, 69, 96, 0.2);
}

/* Promo Button */
.vde9-promo-btn {
  display: inline-block;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--vde9-primary), #FF6B6B);
  color: var(--vde9-white);
  text-decoration: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.6rem;
  box-shadow: 0 4px 15px rgba(233, 69, 96, 0.4);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-align: center;
}

.vde9-promo-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(233, 69, 96, 0.5);
}

/* List */
.vde9-list {
  list-style: none;
}

.vde9-list-item {
  padding: 1rem;
  border-bottom: 1px solid var(--vde9-border);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.vde9-list-item:last-child {
  border-bottom: none;
}

/* Badge */
.vde9-badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 1.2rem;
  font-weight: 600;
}

.vde9-badge-primary {
  background: var(--vde9-primary);
  color: var(--vde9-white);
}

.vde9-badge-secondary {
  background: var(--vde9-secondary);
  color: var(--vde9-white);
}
