/* VOX Casino - Dark Theme CSS with Responsive Design */

/* CSS Variables for Dark Theme */
:root {
  /* Primary Colors */
  --primary-color: #ff6b35;
  --primary-hover: #e55a2b;
  --primary-light: #ff8c5a;
  
  /* Secondary Colors */
  --secondary-color: #1a1a2e;
  --secondary-light: #16213e;
  --secondary-dark: #0f0f1e;
  
  /* Accent Colors */
  --accent-gold: #ffd700;
  --accent-silver: #c0c0c0;
  
  /* Background Colors */
  --bg-primary: #0f0f1e;
  --bg-secondary: #1a1a2e;
  --bg-tertiary: #16213e;
  --bg-card: #1e1e3f;
  
  /* Text Colors */
  --text-primary: #ffffff;
  --text-secondary: #b8b8d1;
  --text-muted: #8a8aa0;
  --text-accent: #ff6b35;
  
  /* Border Colors */
  --border-primary: #2a2a4a;
  --border-secondary: #3a3a5a;
  --border-accent: #ff6b35;
  
  /* Shadow Colors */
  --shadow-light: rgba(255, 107, 53, 0.1);
  --shadow-medium: rgba(0, 0, 0, 0.3);
  --shadow-dark: rgba(0, 0, 0, 0.5);
  
  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-xxl: 4rem;
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
  --transition-slow: 0.5s ease;
  
  /* Typography */
  --font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 2rem;
  --font-size-4xl: 2.5rem;
  
  /* Z-index layers */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal: 1040;
  --z-popover: 1050;
  --z-tooltip: 1060;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Container System */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
}

@media (min-width: 768px) {
  .container {
    padding: 0 var(--spacing-md);
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 var(--spacing-lg);
  }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--spacing-sm);
  color: var(--text-primary);
}

h1 {
  font-size: var(--font-size-4xl);
}

h2 {
  font-size: var(--font-size-3xl);
}

h3 {
  font-size: var(--font-size-2xl);
}

h4 {
  font-size: var(--font-size-xl);
}

h5 {
  font-size: var(--font-size-lg);
}

h6 {
  font-size: var(--font-size-base);
}

p {
  margin-bottom: var(--spacing-sm);
  color: var(--text-secondary);
}

a {
  color: var(--text-accent);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--primary-hover);
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: var(--spacing-sm) var(--spacing-md);
  border: none;
  border-radius: var(--radius-md);
  font-size: var(--font-size-base);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  min-width: 120px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-hover));
  color: var(--text-primary);
  box-shadow: 0 4px 15px var(--shadow-light);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-hover), var(--primary-color));
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--shadow-light);
}

.btn-secondary {
  background: var(--bg-secondary);
  color: var(--text-primary);
  border: 2px solid var(--border-primary);
}

.btn-secondary:hover {
  background: var(--bg-tertiary);
  border-color: var(--border-accent);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--text-primary);
}

.btn-outline:hover {
  background: var(--text-primary);
  color: var(--bg-primary);
}

.btn-cta {
  background: linear-gradient(135deg, var(--accent-gold), #ffed4e);
  color: var(--bg-primary);
  font-weight: 700;
  padding: var(--spacing-md) var(--spacing-lg);
}

.btn-cta:hover {
  background: linear-gradient(135deg, #ffed4e, var(--accent-gold));
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
}

.btn-large {
  padding: var(--spacing-md) var(--spacing-xl);
  font-size: var(--font-size-lg);
}

/* Header Styles */
.header {
  background: var(--bg-secondary);
  box-shadow: 0 2px 10px var(--shadow-dark);
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--spacing-sm) var(--spacing-sm);
  max-width: 1200px;
  margin: 0 auto;
}

.logo img {
  height: 40px;
  width: auto;
}

.nav-menu {
  display: none;
  gap: var(--spacing-lg);
}

.nav-link {
  color: var(--text-secondary);
  font-weight: 500;
  transition: color var(--transition-fast);
}

.nav-link:hover {
  color: var(--text-accent);
}

.auth-buttons {
  display: none;
  gap: var(--spacing-sm);
}

.mobile-auth-buttons {
  display: flex;
  gap: var(--spacing-xs);
}

.mobile-menu-toggle {
  display: none;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--text-primary);
  transition: all var(--transition-fast);
}

/* Breadcrumbs */
.breadcrumbs {
  background: var(--bg-tertiary);
  padding: var(--spacing-sm) 0;
  border-bottom: 1px solid var(--border-primary);
}

.breadcrumb-list {
  display: flex;
  list-style: none;
  gap: var(--spacing-xs);
  align-items: center;
}

.breadcrumb-list li {
  color: var(--text-muted);
  font-size: var(--font-size-sm);
}

.breadcrumb-list li:not(:last-child)::after {
  content: '>';
  margin-left: var(--spacing-xs);
  color: var(--text-muted);
}

.breadcrumb-list a {
  color: var(--text-secondary);
}

.breadcrumb-list a:hover {
  color: var(--text-accent);
}

/* Hero Banner */
.hero-banner {
  position: relative;
  height: 60vh;
  min-height: 400px;
  overflow: hidden;
}

.banner-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.banner-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Banner Overlay - Centered semi-transparent area only */
.banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner-cta-container {
  background: rgba(15, 15, 30, 0.8);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-xl);
  padding: var(--spacing-xl);
  max-width: 500px;
  width: 90%;
  text-align: center;
  border: 1px solid rgba(255, 107, 53, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.banner-content {
  text-align: center;
  max-width: 100%;
  padding: 0;
}

.banner-title {
  font-size: var(--font-size-3xl);
  margin-bottom: var(--spacing-sm);
  color: var(--text-primary);
  text-shadow: 2px 2px 4px var(--shadow-dark);
}

.banner-subtitle {
  font-size: var(--font-size-lg);
  margin-bottom: var(--spacing-lg);
  color: var(--text-secondary);
}

.banner-cta {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  flex-wrap: wrap;
}

/* Popular Slots Section */
.popular-slots {
  padding: var(--spacing-xxl) 0;
  background: var(--bg-secondary);
}

.section-title {
  text-align: center;
  margin-bottom: var(--spacing-xl);
  color: var(--text-primary);
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-gold));
  border-radius: var(--radius-sm);
}

.slots-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-md);
}

/* Slot Items - Original size images with rounded corners */
.slot-item {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: var(--spacing-sm);
  text-align: center;
  transition: all var(--transition-medium);
  border: 1px solid var(--border-primary);
  overflow: hidden;
}

.slot-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px var(--shadow-medium);
  border-color: var(--border-accent);
}

.slot-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius-md);
  transition: transform var(--transition-medium);
}

.slot-item:hover .slot-image {
  transform: scale(1.05);
}

/* Content Section */
.content-section {
  padding: var(--spacing-xxl) 0;
  background: var(--bg-primary);
}

.main-content {
  max-width: 800px;
  margin: 0 auto;
}

.main-content h2 {
  color: var(--text-accent);
  margin-top: var(--spacing-xl);
  margin-bottom: var(--spacing-md);
}

.main-content h3 {
  color: var(--text-primary);
  margin-top: var(--spacing-lg);
  margin-bottom: var(--spacing-sm);
}

.main-content ul,
.main-content ol {
  margin-bottom: var(--spacing-md);
  padding-left: var(--spacing-lg);
}

.main-content li {
  margin-bottom: var(--spacing-xs);
  color: var(--text-secondary);
}

.main-content strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* Table Styles */
.table-container {
  overflow-x: auto;
  margin: var(--spacing-lg) 0;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 15px var(--shadow-medium);
}

.security-table,
.problems-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.security-table th,
.problems-table th {
  background: var(--bg-tertiary);
  color: var(--text-primary);
  padding: var(--spacing-md);
  text-align: left;
  font-weight: 600;
  border-bottom: 2px solid var(--border-accent);
}

.security-table td,
.problems-table td {
  padding: var(--spacing-md);
  border-bottom: 1px solid var(--border-primary);
  color: var(--text-secondary);
}

.security-table tr:hover,
.problems-table tr:hover {
  background: var(--bg-tertiary);
}

/* CTA Section */
.cta-section {
  background: var(--bg-card);
  padding: var(--spacing-xl);
  border-radius: var(--radius-lg);
  margin: var(--spacing-xl) 0;
  text-align: center;
  border: 1px solid var(--border-accent);
}

.cta-section p {
  font-size: var(--font-size-lg);
  margin-bottom: var(--spacing-lg);
  color: var(--text-primary);
}

.cta-buttons {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  flex-wrap: wrap;
}

/* FAQ Section */
.faq-section {
  margin-top: var(--spacing-xl);
}

.faq-item {
  background: var(--bg-card);
  margin-bottom: var(--spacing-md);
  border-radius: var(--radius-md);
  padding: var(--spacing-md);
  border-left: 4px solid var(--border-accent);
}

.faq-item h4 {
  color: var(--text-accent);
  margin-bottom: var(--spacing-sm);
}

.faq-item p {
  color: var(--text-secondary);
  margin-bottom: 0;
}

/* Footer */
.footer {
  background: var(--bg-secondary);
  padding: var(--spacing-xxl) 0 var(--spacing-lg);
  border-top: 1px solid var(--border-primary);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
}

.footer-section h4 {
  color: var(--text-primary);
  margin-bottom: var(--spacing-md);
  font-size: var(--font-size-lg);
}

.footer-description {
  color: var(--text-secondary);
  line-height: 1.6;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: var(--spacing-xs);
}

.footer-links a {
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--text-accent);
}

/* Payment Methods - Fixed alignment */
.payment-methods {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-sm);
  align-items: center;
  justify-items: center;
}

.payment-icon {
  width: 60px;
  height: 40px;
  object-fit: contain;
  background: var(--bg-card);
  padding: var(--spacing-xs);
  border-radius: var(--radius-sm);
  transition: transform var(--transition-fast);
  border: 1px solid var(--border-primary);
}

.payment-icon:hover {
  transform: scale(1.1);
  border-color: var(--border-accent);
}

.contact-info p {
  color: var(--text-secondary);
  margin-bottom: var(--spacing-xs);
}

.footer-bottom {
  border-top: 1px solid var(--border-primary);
  padding-top: var(--spacing-lg);
}

.footer-bottom-content {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
  align-items: center;
  text-align: center;
}

.footer-bottom-links {
  display: flex;
  gap: var(--spacing-md);
  flex-wrap: wrap;
  justify-content: center;
}

.footer-bottom-links a {
  color: var(--text-muted);
  font-size: var(--font-size-sm);
}

.footer-bottom-links a:hover {
  color: var(--text-accent);
}

/* Responsive Design */

/* Tablet Styles */
@media (min-width: 768px) {
  .nav-menu {
    display: flex;
  }
  
  .auth-buttons {
    display: flex;
  }
  
  .mobile-auth-buttons {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: none;
  }
  
  .slots-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .payment-methods {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .footer-bottom-content {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
  
  .banner-title {
    font-size: var(--font-size-4xl);
  }
  
  .hero-banner {
    height: 70vh;
  }
}

/* Desktop Styles */
@media (min-width: 1024px) {
  .slots-grid {
    grid-template-columns: repeat(6, 1fr);
  }
  
  .footer-content {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .payment-methods {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .banner-cta {
    flex-direction: row;
  }
  
  .cta-buttons {
    flex-direction: row;
  }
  
  .hero-banner {
    height: 80vh;
  }
}

/* Mobile-specific styles for screen lock */
@media (max-width: 767px) {
  body.mobile-locked {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
  }
  
  .mobile-locked .header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: var(--z-fixed);
  }
  
  .mobile-locked .main {
    margin-top: 60px;
  }
  
  /* Mobile header adjustments */
  .nav-menu {
    display: none;
  }
  
  .auth-buttons {
    display: none;
  }
  
  .mobile-auth-buttons {
    display: flex;
    gap: var(--spacing-xs);
  }
  
  .mobile-auth-buttons .btn {
    padding: var(--spacing-xs) var(--spacing-sm);
    font-size: var(--font-size-sm);
    min-width: auto;
  }
  
  /* Mobile table responsive - Fixed stationary layout */
  .table-container {
    font-size: var(--font-size-xs);
    margin: var(--spacing-md) 0;
    overflow: hidden; /* Remove horizontal scrolling */
    width: 100%;
  }
  
  .security-table,
  .problems-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    table-layout: fixed; /* Fixed table layout for better control */
  }
  
  .security-table th,
  .problems-table th {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    padding: var(--spacing-xs);
    text-align: left;
    font-weight: 600;
    border-bottom: 2px solid var(--border-accent);
    font-size: var(--font-size-xs);
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  
  .security-table td,
  .problems-table td {
    padding: var(--spacing-xs);
    border-bottom: 1px solid var(--border-primary);
    color: var(--text-secondary);
    font-size: var(--font-size-xs);
    line-height: 1.3;
    vertical-align: top;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
  }
  
  .security-table tr:hover,
  .problems-table tr:hover {
    background: var(--bg-tertiary);
  }
  
  /* Fixed column widths for mobile */
  .security-table th:nth-child(1),
  .security-table td:nth-child(1),
  .problems-table th:nth-child(1),
  .problems-table td:nth-child(1) {
    width: 25%;
    font-weight: 600;
    color: var(--text-accent);
  }
  
  .security-table th:nth-child(2),
  .security-table td:nth-child(2),
  .problems-table th:nth-child(2),
  .problems-table td:nth-child(2) {
    width: 50%;
  }
  
  .security-table th:nth-child(3),
  .security-table td:nth-child(3),
  .problems-table th:nth-child(3),
  .problems-table td:nth-child(3) {
    width: 25%;
    text-align: center;
  }
  
  .problems-table th:nth-child(4),
  .problems-table td:nth-child(4) {
    width: 25%;
    text-align: center;
  }
  
  /* Adjust problems table for 4 columns */
  .problems-table th:nth-child(1),
  .problems-table td:nth-child(1) {
    width: 20%;
  }
  
  .problems-table th:nth-child(2),
  .problems-table td:nth-child(2) {
    width: 30%;
  }
  
  .problems-table th:nth-child(3),
  .problems-table td:nth-child(3) {
    width: 30%;
  }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus styles for accessibility */
.btn:focus,
.nav-link:focus,
a:focus {
  outline: 2px solid var(--text-accent);
  outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  :root {
    --text-primary: #ffffff;
    --text-secondary: #ffffff;
    --bg-primary: #000000;
    --bg-secondary: #000000;
    --border-primary: #ffffff;
  }
}

/* Print styles */
@media print {
  .header,
  .footer,
  .banner-cta,
  .cta-section {
    display: none;
  }
  
  body {
    background: white;
    color: black;
  }
  
  .main-content {
    max-width: none;
  }
}

