/* JL365 Gaming Website Theme - Hash: 933e9725 */
/* Mobile-first responsive design with dark theme */
/* Color scheme: #1C2833 | #FFDEAD | #FFEBCD | #E0E0E0 */

/* CSS Variables for consistent theming */
:root {
  --ve97-primary-dark: #1C2833;
  --ve97-primary-light: #FFDEAD;
  --ve97-accent-light: #FFEBCD;
  --ve97-text-light: #E0E0E0;
  --ve97-white: #FFFFFF;
  --ve97-black: #000000;
  --ve97-gray-dark: #333333;
  --ve97-gray-medium: #666666;
  --ve97-gray-light: #999999;
  --ve97-success: #28a745;
  --ve97-warning: #ffc107;
  --ve97-danger: #dc3545;
  --ve97-info: #17a2b8;

  /* Spacing scale */
  --ve97-space-1: 0.25rem;
  --ve97-space-2: 0.5rem;
  --ve97-space-3: 0.75rem;
  --ve97-space-4: 1rem;
  --ve97-space-5: 1.25rem;
  --ve97-space-6: 1.5rem;
  --ve97-space-8: 2rem;
  --ve97-space-10: 2.5rem;
  --ve97-space-12: 3rem;

  /* Border radius */
  --ve97-radius-sm: 0.25rem;
  --ve97-radius: 0.5rem;
  --ve97-radius-lg: 0.75rem;
  --ve97-radius-xl: 1rem;

  /* Typography */
  --ve97-font-family-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --ve97-font-family-secondary: 'Georgia', serif;
  --ve97-font-size-xs: 0.75rem;
  --ve97-font-size-sm: 0.875rem;
  --ve97-font-size-base: 1rem;
  --ve97-font-size-lg: 1.125rem;
  --ve97-font-size-xl: 1.25rem;
  --ve97-font-size-2xl: 1.5rem;
  --ve97-font-size-3xl: 1.875rem;
  --ve97-font-size-4xl: 2.25rem;

  /* Shadows */
  --ve97-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --ve97-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
  --ve97-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --ve97-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Reset and base styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--ve97-font-family-primary);
  background-color: var(--ve97-primary-dark);
  color: var(--ve97-text-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Container */
.ve97-container {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 0 var(--ve97-space-4);
}

/* Header */
.ve97-header {
  background-color: var(--ve97-primary-dark);
  border-bottom: 1px solid rgba(255, 222, 173, 0.2);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.ve97-header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--ve97-space-3) 0;
}

.ve97-logo-section {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--ve97-text-light);
}

.ve97-logo {
  width: 40px;
  height: 40px;
  margin-right: var(--ve97-space-3);
  border-radius: var(--ve97-radius);
}

.ve97-site-name {
  font-size: var(--ve97-font-size-xl);
  font-weight: 700;
  color: var(--ve97-primary-light);
}

.ve97-header-actions {
  display: flex;
  align-items: center;
  gap: var(--ve97-space-3);
}

.ve97-desktop-nav {
  display: none;
}

.ve97-hamburger-btn {
  background: none;
  border: none;
  color: var(--ve97-text-light);
  font-size: var(--ve97-font-size-xl);
  cursor: pointer;
  padding: var(--ve97-space-2);
  border-radius: var(--ve97-radius);
  transition: background-color 0.2s ease;
}

.ve97-hamburger-btn:hover {
  background-color: rgba(255, 222, 173, 0.1);
}

/* Mobile menu */
.ve97-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.ve97-menu-overlay.ve97-active {
  opacity: 1;
  visibility: visible;
}

.ve97-mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 320px;
  height: 100vh;
  background-color: var(--ve97-primary-dark);
  z-index: 10000;
  transition: right 0.3s ease;
  overflow-y: auto;
  border-left: 1px solid rgba(255, 222, 173, 0.2);
}

.ve97-mobile-menu.ve97-active {
  right: 0;
}

.ve97-menu-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--ve97-space-4);
  border-bottom: 1px solid rgba(255, 222, 173, 0.1);
}

.ve97-menu-close {
  background: none;
  border: none;
  color: var(--ve97-text-light);
  font-size: var(--ve97-font-size-xl);
  cursor: pointer;
  padding: var(--ve97-space-2);
}

.ve97-menu-nav {
  padding: var(--ve97-space-4);
}

.ve97-menu-nav a {
  display: flex;
  align-items: center;
  padding: var(--ve97-space-3) 0;
  color: var(--ve97-text-light);
  text-decoration: none;
  font-size: var(--ve97-font-size-base);
  border-bottom: 1px solid rgba(255, 222, 173, 0.05);
  transition: color 0.2s ease;
}

.ve97-menu-nav a:hover {
  color: var(--ve97-primary-light);
}

.ve97-menu-nav i {
  margin-right: var(--ve97-space-3);
  width: 20px;
  text-align: center;
}

/* Main content */
.ve97-main-content {
  min-height: calc(100vh - 120px);
  padding: var(--ve97-space-6) 0;
}

.ve97-content {
  width: 100%;
}

.ve97-section {
  margin-bottom: var(--ve97-space-8);
}

.ve97-text-center {
  text-align: center;
}

/* Cards */
.ve97-card {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 222, 173, 0.1);
  border-radius: var(--ve97-radius-lg);
  padding: var(--ve97-space-6);
  margin-bottom: var(--ve97-space-4);
  backdrop-filter: blur(10px);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ve97-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--ve97-shadow-xl);
}

.ve97-card-title {
  font-size: var(--ve97-font-size-2xl);
  font-weight: 700;
  color: var(--ve97-primary-light);
  margin-bottom: var(--ve97-space-3);
}

.ve97-card-subtitle {
  font-size: var(--ve97-font-size-base);
  color: var(--ve97-text-light);
  opacity: 0.8;
  margin-bottom: var(--ve97-space-4);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: var(--ve97-space-4);
  color: var(--ve97-text-light);
}

h1 {
  font-size: var(--ve97-font-size-3xl);
  color: var(--ve97-primary-light);
}

h2 {
  font-size: var(--ve97-font-size-2xl);
  color: var(--ve97-accent-light);
}

h3 {
  font-size: var(--ve97-font-size-xl);
  color: var(--ve97-primary-light);
}

p {
  margin-bottom: var(--ve97-space-4);
  color: var(--ve97-text-light);
}

a {
  color: var(--ve97-primary-light);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--ve97-accent-light);
}

strong, b {
  color: var(--ve97-primary-light);
  font-weight: 700;
}

/* Buttons */
.ve97-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--ve97-space-2);
  padding: var(--ve97-space-3) var(--ve97-space-6);
  border: none;
  border-radius: var(--ve97-radius);
  font-size: var(--ve97-font-size-base);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 44px;
  white-space: nowrap;
}

.ve97-btn-primary {
  background-color: var(--ve97-primary-light);
  color: var(--ve97-primary-dark);
}

.ve97-btn-primary:hover {
  background-color: var(--ve97-accent-light);
  transform: translateY(-1px);
  box-shadow: var(--ve97-shadow-lg);
}

.ve97-btn-secondary {
  background-color: transparent;
  color: var(--ve97-primary-light);
  border: 2px solid var(--ve97-primary-light);
}

.ve97-btn-secondary:hover {
  background-color: var(--ve97-primary-light);
  color: var(--ve97-primary-dark);
}

.ve97-btn-accent {
  background-color: var(--ve97-accent-light);
  color: var(--ve97-primary-dark);
}

.ve97-btn-accent:hover {
  background-color: var(--ve97-primary-light);
  transform: translateY(-1px);
  box-shadow: var(--ve97-shadow-lg);
}

/* Game grid */
.ve97-game-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--ve97-space-3);
  margin: var(--ve97-space-4) 0;
}

.ve97-game-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--ve97-space-4);
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 222, 173, 0.1);
  border-radius: var(--ve97-radius);
  text-decoration: none;
  color: var(--ve97-text-light);
  transition: all 0.2s ease;
}

.ve97-game-item:hover {
  background-color: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
  box-shadow: var(--ve97-shadow-lg);
}

.ve97-game-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--ve97-radius);
  margin-bottom: var(--ve97-space-3);
}

.ve97-game-name {
  font-size: var(--ve97-font-size-sm);
  font-weight: 600;
  text-align: center;
  color: var(--ve97-primary-light);
}

.ve97-game-name small {
  display: block;
  color: var(--ve97-gray-light);
  font-size: var(--ve97-font-size-xs);
  margin-top: var(--ve97-space-1);
}

/* Bottom navigation */
.ve97-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--ve97-primary-dark);
  border-top: 1px solid rgba(255, 222, 173, 0.2);
  display: flex;
  justify-content: space-around;
  padding: var(--ve97-space-2) 0 var(--ve97-space-6);
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.ve97-bottom-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--ve97-text-light);
  text-decoration: none;
  font-size: var(--ve97-font-size-xs);
  min-width: 60px;
  min-height: 60px;
  justify-content: center;
  transition: color 0.2s ease;
}

.ve97-bottom-nav a:hover,
.ve97-bottom-nav a.active {
  color: var(--ve97-primary-light);
}

.ve97-bottom-nav i {
  font-size: 20px;
  margin-bottom: var(--ve97-space-1);
}

.ve97-bottom-nav span {
  font-weight: 500;
}

/* Footer */
.ve97-footer {
  background-color: var(--ve97-primary-dark);
  border-top: 1px solid rgba(255, 222, 173, 0.2);
  padding: var(--ve97-space-8) 0 var(--ve97-space-12);
  margin-top: var(--ve97-space-12);
}

.ve97-footer-content {
  text-align: center;
}

.ve97-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--ve97-space-4);
  margin-bottom: var(--ve97-space-6);
}

.ve97-footer-links a {
  color: var(--ve97-text-light);
  text-decoration: none;
  font-size: var(--ve97-font-size-sm);
  opacity: 0.8;
  transition: all 0.2s ease;
}

.ve97-footer-links a:hover {
  color: var(--ve97-primary-light);
  opacity: 1;
}

.ve97-partners {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--ve97-space-3);
  margin-bottom: var(--ve97-space-6);
}

.ve97-partner-logo {
  width: 60px;
  height: 30px;
  object-fit: contain;
  opacity: 0.6;
  transition: opacity 0.2s ease;
}

.ve97-partner-logo:hover {
  opacity: 1;
}

.ve97-copyright {
  font-size: var(--ve97-font-size-xs);
  color: var(--ve97-gray-light);
  line-height: 1.5;
}

/* Lists */
ul, ol {
  margin-bottom: var(--ve97-space-4);
  padding-left: var(--ve97-space-6);
}

li {
  margin-bottom: var(--ve97-space-2);
  color: var(--ve97-text-light);
}

/* Images */
img {
  max-width: 100%;
  height: auto;
  border-radius: var(--ve97-radius);
}

.ve97-lazy {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.ve97-loaded {
  opacity: 1;
}

/* Animations */
.ve97-animate-in {
  animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Notifications */
.ve97-notification {
  position: fixed;
  top: var(--ve97-space-4);
  right: var(--ve97-space-4);
  padding: var(--ve97-space-3) var(--ve97-space-4);
  border-radius: var(--ve97-radius);
  color: var(--ve97-white);
  font-size: var(--ve97-font-size-sm);
  font-weight: 600;
  z-index: 10001;
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.3s ease;
}

.ve97-notification.ve97-show {
  opacity: 1;
  transform: translateX(0);
}

.ve97-notification-success {
  background-color: var(--ve97-success);
}

.ve97-notification-warning {
  background-color: var(--ve97-warning);
}

.ve97-notification-danger {
  background-color: var(--ve97-danger);
}

.ve97-notification-info {
  background-color: var(--ve97-info);
}

/* Search */
.ve97-search-input {
  width: 100%;
  padding: var(--ve97-space-3);
  border: 1px solid rgba(255, 222, 173, 0.2);
  border-radius: var(--ve97-radius);
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--ve97-text-light);
  font-size: var(--ve97-font-size-base);
  margin-bottom: var(--ve97-space-3);
}

.ve97-search-input:focus {
  outline: none;
  border-color: var(--ve97-primary-light);
  box-shadow: 0 0 0 2px rgba(255, 222, 173, 0.2);
}

.ve97-search-results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: var(--ve97-primary-dark);
  border: 1px solid rgba(255, 222, 173, 0.2);
  border-radius: var(--ve97-radius);
  box-shadow: var(--ve97-shadow-lg);
  z-index: 1000;
  display: none;
  max-height: 300px;
  overflow-y: auto;
}

.ve97-search-result {
  padding: var(--ve97-space-3);
  cursor: pointer;
  transition: background-color 0.2s ease;
  border-bottom: 1px solid rgba(255, 222, 173, 0.1);
}

.ve97-search-result:hover {
  background-color: rgba(255, 222, 173, 0.1);
}

.ve97-search-no-results {
  padding: var(--ve97-space-3);
  color: var(--ve97-gray-light);
  text-align: center;
}

/* Utility classes */
.ve97-text-primary {
  color: var(--ve97-primary-light) !important;
}

.ve97-text-accent {
  color: var(--ve97-accent-light) !important;
}

.ve97-text-center {
  text-align: center !important;
}

.ve97-hidden {
  display: none !important;
}

.ve97-visible {
  display: block !important;
}

/* Responsive design */
@media (min-width: 769px) {
  .ve97-container {
    max-width: 1200px;
  }

  .ve97-desktop-nav {
    display: flex;
    gap: var(--ve97-space-3);
  }

  .ve97-hamburger-btn {
    display: none;
  }

  .ve97-bottom-nav {
    display: none;
  }

  .ve97-main-content {
    padding-bottom: 0;
  }

  .ve97-game-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .ve97-footer-links {
    gap: var(--ve97-space-6);
  }

  .ve97-partners {
    gap: var(--ve97-space-4);
  }

  .ve97-partner-logo {
    width: 80px;
    height: 40px;
  }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --ve97-primary-light: #FFFF00;
    --ve97-accent-light: #00FFFF;
    --ve97-text-light: #FFFFFF;
  }

  .ve97-card {
    border-width: 2px;
  }

  .ve97-btn {
    border-width: 2px;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* Print styles */
@media print {
  .ve97-header,
  .ve97-bottom-nav,
  .ve97-footer,
  .ve97-mobile-menu {
    display: none !important;
  }

  .ve97-main-content {
    padding: 0;
  }

  .ve97-card {
    border: 1px solid #000;
    box-shadow: none;
  }

  body {
    color: #000;
    background: #fff;
  }
}