/**
 * Big Bunny VIP - Premium Layout Styles  
 * Version: 1.0.0
 * Color Scheme: Fire brick red, dark gray, salmon, blue, pink accents
 * Mobile-first responsive design with max-width 430px container
 */

:root {
  /* Primary Colors - VIP Red Theme */
  --v823-primary: #B22222;
  --v823-secondary: #262626;
  --v823-accent: #FA8072;
  --v823-highlight: #1E90FF;
  --v823-pink: #FFB6C1;
  --v823-background: #1a1a1a;
  --v823-surface: #2d2d2d;
  --v823-text: #ffffff;
  --v823-text-secondary: #e2e8f0;
  --v823-text-muted: #a0aec0;
  
  /* Gradients */
  --v823-gradient: linear-gradient(135deg, #B22222, #8B0000);
  --v823-gradient-secondary: linear-gradient(135deg, #FA8072, #FF6347);
  --v823-gradient-blue: linear-gradient(135deg, #1E90FF, #0066CC);
  
  /* Layout */
  --v823-container-width: 430px;
  --v823-font-scale: 1;
  --v823-border-radius: 12px;
  --v823-border-radius-small: 8px;
  --v823-border-color: rgba(178, 34, 34, 0.2);
  
  /* Shadows */
  --v823-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  --v823-shadow-hover: 0 8px 25px rgba(178, 34, 34, 0.25);
  --v823-shadow-active: 0 2px 8px rgba(0, 0, 0, 0.2);
  
  /* Animations */
  --v823-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --v823-transition-fast: all 0.2s ease-out;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: calc(14px * var(--v823-font-scale));
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--v823-background);
  color: var(--v823-text);
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.v823-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, var(--v823-background) 0%, #0f0f0f 100%);
}

/* Container */
.v823-container {
  max-width: var(--v823-container-width);
  margin: 0 auto;
  padding: 0 1rem;
  width: 100%;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--v823-text);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1.1rem; }

p {
  margin-bottom: 1rem;
  color: var(--v823-text-secondary);
  font-size: 1.1rem;
  line-height: 1.7;
}

a {
  color: var(--v823-primary);
  text-decoration: none;
  transition: var(--v823-transition-fast);
}

a:hover {
  color: var(--v823-accent);
  text-decoration: underline;
}

/* Header */
.v823-header {
  background: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--v823-border-color);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: var(--v823-transition);
}

.v823-header.scrolled {
  background: rgba(45, 45, 45, 0.98);
  box-shadow: var(--v823-shadow);
}

.v823-header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.v823-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--v823-text);
  text-decoration: none;
  transition: var(--v823-transition-fast);
}

.v823-logo:hover {
  color: var(--v823-primary);
  text-decoration: none;
  transform: scale(1.05);
}

.v823-logo-img {
  width: 32px;
  height: 32px;
  border-radius: var(--v823-border-radius-small);
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(178, 34, 34, 0.3);
}

.v823-header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Navigation */
.v823-nav-menu {
  position: fixed;
  top: 100%;
  right: 0;
  width: 280px;
  height: calc(100vh - 80px);
  background: var(--v823-surface);
  transform: translateX(100%);
  transition: var(--v823-transition);
  box-shadow: var(--v823-shadow);
  padding: 2rem 0;
  overflow-y: auto;
  z-index: 999;
}

.v823-nav-menu.active {
  transform: translateX(0);
}

.v823-nav-list {
  list-style: none;
  padding: 0;
}

.v823-nav-item {
  margin: 0;
}

.v823-nav-link {
  display: block;
  padding: 1rem 2rem;
  color: var(--v823-text-secondary);
  font-size: 1.1rem;
  font-weight: 500;
  transition: var(--v823-transition-fast);
  border-left: 3px solid transparent;
}

.v823-nav-link:hover,
.v823-nav-link.active {
  color: var(--v823-primary);
  background: rgba(178, 34, 34, 0.1);
  border-left-color: var(--v823-primary);
  text-decoration: none;
}

/* Menu Toggle */
.v823-menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.v823-menu-toggle span {
  width: 25px;
  height: 2px;
  background: var(--v823-text);
  margin: 3px 0;
  transition: var(--v823-transition-fast);
  transform-origin: center;
}

.v823-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.v823-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.v823-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.v823-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: var(--v823-transition);
  z-index: 998;
}

.v823-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Main Content */
.v823-main {
  flex: 1;
  padding-top: 80px;
  min-height: calc(100vh - 80px);
}

.v823-section {
  padding: 3rem 0;
}

.v823-section.v823-text-center {
  text-align: center;
}

.v823-section-title {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  background: var(--v823-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
  line-height: 1.3;
}

.v823-section-subtitle {
  font-size: 1.3rem;
  color: var(--v823-text-secondary);
  margin-bottom: 2rem;
  text-align: center;
}

/* Cards */
.v823-card {
  background: var(--v823-surface);
  border-radius: var(--v823-border-radius);
  box-shadow: var(--v823-shadow);
  overflow: hidden;
  margin-bottom: 2rem;
  border: 1px solid var(--v823-border-color);
  transition: var(--v823-transition);
}

.v823-card:hover {
  box-shadow: var(--v823-shadow-hover);
  transform: translateY(-4px);
}

.v823-card-header {
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(178, 34, 34, 0.1), rgba(139, 0, 0, 0.05));
  border-bottom: 1px solid var(--v823-border-color);
}

.v823-card-title {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--v823-primary);
}

.v823-card-content {
  padding: 2rem;
}

/* Buttons */
.v823-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--v823-border-radius-small);
  border: none;
  cursor: pointer;
  transition: var(--v823-transition);
  text-align: center;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.v823-btn:before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.v823-btn:hover:before {
  left: 100%;
}

.v823-btn-primary {
  background: var(--v823-gradient);
  color: white;
  box-shadow: 0 4px 15px rgba(178, 34, 34, 0.4);
}

.v823-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(178, 34, 34, 0.6);
  color: white;
  text-decoration: none;
}

.v823-btn-secondary {
  background: var(--v823-gradient-secondary);
  color: white;
  box-shadow: 0 4px 15px rgba(250, 128, 114, 0.4);
}

.v823-btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(250, 128, 114, 0.6);
  color: white;
  text-decoration: none;
}

.v823-btn-blue {
  background: var(--v823-gradient-blue);
  color: white;
  box-shadow: 0 4px 15px rgba(30, 144, 255, 0.4);
}

.v823-btn-blue:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(30, 144, 255, 0.6);
  color: white;
  text-decoration: none;
}

.v823-btn-outline {
  background: transparent;
  color: var(--v823-primary);
  border: 2px solid var(--v823-primary);
}

.v823-btn-outline:hover {
  background: var(--v823-primary);
  color: white;
  text-decoration: none;
}

.v823-btn-small {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

.v823-btn-large {
  padding: 1rem 2rem;
  font-size: 1.2rem;
}

/* Flex Utilities */
.v823-flex {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.v823-flex-center {
  justify-content: center;
  align-items: center;
}

.v823-flex-between {
  justify-content: space-between;
  align-items: center;
}

.v823-flex-wrap {
  flex-wrap: wrap;
}

/* Statistics Grid */
.v823-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.v823-stat {
  text-align: center;
  padding: 1.5rem;
  background: rgba(178, 34, 34, 0.05);
  border-radius: var(--v823-border-radius);
  border: 1px solid var(--v823-border-color);
  transition: var(--v823-transition);
}

.v823-stat:hover {
  background: rgba(178, 34, 34, 0.1);
  transform: translateY(-2px);
}

.v823-stat-value {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--v823-primary);
  margin-bottom: 0.5rem;
}

.v823-stat-label {
  font-size: 0.9rem;
  color: var(--v823-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Games Grid */
.v823-games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.v823-game-item {
  text-align: center;
  padding: 1rem;
  background: var(--v823-surface);
  border-radius: var(--v823-border-radius);
  text-decoration: none;
  color: var(--v823-text);
  transition: var(--v823-transition);
  border: 1px solid var(--v823-border-color);
}

.v823-game-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--v823-shadow-hover);
  text-decoration: none;
  color: var(--v823-primary);
}

.v823-game-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--v823-border-radius-small);
  margin-bottom: 0.5rem;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.v823-game-name {
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.2;
  color: inherit;
}

/* Features */
.v823-features {
  display: grid;
  gap: 2rem;
  margin: 2rem 0;
}

.v823-feature {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(178, 34, 34, 0.05);
  border-radius: var(--v823-border-radius);
  border-left: 4px solid var(--v823-primary);
}

.v823-feature-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background: var(--v823-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
}

.v823-feature-content h4 {
  color: var(--v823-primary);
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.v823-feature-content p {
  color: var(--v823-text-secondary);
  margin-bottom: 0;
  font-size: 1rem;
}

/* Hero Section */
.v823-hero {
  background: linear-gradient(rgba(26, 26, 26, 0.8), rgba(45, 45, 45, 0.8)), 
              url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23B22222" stroke-width="0.5" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  padding: 4rem 0;
  text-align: center;
  border-radius: var(--v823-border-radius);
  margin-bottom: 2rem;
}

.v823-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.v823-hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Carousel */
.v823-carousel {
  position: relative;
  border-radius: var(--v823-border-radius);
  overflow: hidden;
  margin: 2rem 0;
}

.v823-slides {
  position: relative;
  height: 200px;
}

.v823-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  background-size: cover;
  background-position: center;
}

.v823-slide.active {
  opacity: 1;
}

.v823-slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(26, 26, 26, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.v823-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.v823-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(178, 34, 34, 0.4);
  border: none;
  cursor: pointer;
  transition: var(--v823-transition-fast);
}

.v823-dot.active {
  background: var(--v823-primary);
}

/* Partners */
.v823-partners {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin: 2rem 0;
}

.v823-partner-logo {
  width: 60px;
  height: 40px;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.6);
  transition: var(--v823-transition-fast);
}

.v823-partner-logo:hover {
  filter: none;
  transform: scale(1.1);
}

/* Mobile Navigation */
.v823-mobile-nav {
  display: flex;
  background: var(--v823-surface);
  border-top: 1px solid var(--v823-border-color);
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.v823-nav-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 0.5rem;
  text-decoration: none;
  color: var(--v823-text-muted);
  transition: var(--v823-transition-fast);
  border-radius: 0;
  min-height: 60px;
}

.v823-nav-btn:hover,
.v823-nav-btn.active {
  color: var(--v823-primary);
  background: rgba(178, 34, 34, 0.1);
  text-decoration: none;
}

.v823-nav-icon {
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
}

.v823-nav-text {
  font-size: 0.7rem;
  font-weight: 500;
}

/* Footer */
.v823-footer {
  background: var(--v823-surface);
  padding: 3rem 0 6rem;
  border-top: 1px solid var(--v823-border-color);
  margin-top: auto;
}

.v823-footer-content {
  text-align: center;
}

.v823-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin: 2rem 0;
}

.v823-footer-link {
  color: var(--v823-text-secondary);
  font-size: 0.9rem;
  transition: var(--v823-transition-fast);
}

.v823-footer-link:hover {
  color: var(--v823-primary);
  text-decoration: none;
}

.v823-copyright {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--v823-border-color);
  color: var(--v823-text-muted);
  font-size: 0.8rem;
}

/* Animations */
.v823-animate {
  opacity: 0;
  transform: translateY(20px);
  transition: var(--v823-transition);
}

.v823-animate.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.v823-fade-in {
  animation: fadeIn 0.6s ease-out forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.v823-pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* Loading States */
.v823-loading {
  position: relative;
  overflow: hidden;
}

.v823-loading::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(178, 34, 34, 0.2), transparent);
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  :root {
    --v823-font-scale: 0.9;
  }
  
  .v823-section {
    padding: 2rem 0;
  }
  
  .v823-section-title {
    font-size: 1.8rem;
  }
  
  .v823-hero h1 {
    font-size: 2rem;
  }
  
  .v823-hero p {
    font-size: 1rem;
  }
  
  .v823-card-content {
    padding: 1.5rem;
  }
  
  .v823-games-grid {
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 0.75rem;
  }
  
  .v823-game-icon {
    width: 50px;
    height: 50px;
  }
  
  .v823-game-name {
    font-size: 0.8rem;
  }
  
  .v823-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .v823-stat {
    padding: 1rem;
  }
  
  .v823-stat-value {
    font-size: 1.5rem;
  }
  
  .v823-feature {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .v823-feature-icon {
    align-self: center;
  }
  
  .v823-btn {
    width: 100%;
    justify-content: center;
  }
  
  .v823-flex {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .v823-container {
    padding: 0 0.75rem;
  }
  
  .v823-header-content {
    padding: 0.75rem 0;
  }
  
  .v823-logo {
    font-size: 1.3rem;
  }
  
  .v823-logo-img {
    width: 28px;
    height: 28px;
  }
  
  .v823-games-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .v823-stats {
    grid-template-columns: 1fr;
  }
  
  .v823-nav-text {
    font-size: 0.65rem;
  }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  :root {
    --v823-primary: #ffffff;
    --v823-secondary: #ffffff;
    --v823-accent: #ffffff;
    --v823-border-color: #ffffff;
  }
  
  .v823-card {
    border: 2px solid var(--v823-border-color);
  }
  
  .v823-btn {
    border: 2px solid currentColor;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Print Styles */
@media print {
  .v823-header,
  .v823-mobile-nav,
  .v823-nav-menu,
  .v823-menu-toggle,
  .v823-carousel {
    display: none !important;
  }
  
  .v823-main {
    padding-top: 0;
  }
  
  .v823-card {
    box-shadow: none;
    border: 1px solid #ddd;
  }
  
  .v823-btn {
    display: none;
  }
}

/* Utility Classes */
.v823-text-center { text-align: center; }
.v823-text-left { text-align: left; }
.v823-text-right { text-align: right; }
.v823-text-primary { color: var(--v823-primary); }
.v823-text-secondary { color: var(--v823-text-secondary); }
.v823-text-muted { color: var(--v823-text-muted); }

.v823-bg-primary { background-color: var(--v823-primary); }
.v823-bg-secondary { background-color: var(--v823-secondary); }
.v823-bg-surface { background-color: var(--v823-surface); }

.v823-m-0 { margin: 0; }
.v823-m-1 { margin: 1rem; }
.v823-m-2 { margin: 2rem; }
.v823-mb-0 { margin-bottom: 0; }
.v823-mb-1 { margin-bottom: 1rem; }
.v823-mb-2 { margin-bottom: 2rem; }
.v823-mt-1 { margin-top: 1rem; }
.v823-mt-2 { margin-top: 2rem; }

.v823-p-1 { padding: 1rem; }
.v823-p-2 { padding: 2rem; }

.v823-d-none { display: none; }
.v823-d-block { display: block; }
.v823-d-flex { display: flex; }

.v823-w-100 { width: 100%; }
.v823-h-100 { height: 100%; }

.v823-rounded { border-radius: var(--v823-border-radius); }
.v823-rounded-sm { border-radius: var(--v823-border-radius-small); }

.v823-shadow { box-shadow: var(--v823-shadow); }
.v823-shadow-hover { box-shadow: var(--v823-shadow-hover); }

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--v823-surface);
}

::-webkit-scrollbar-thumb {
  background: var(--v823-primary);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--v823-accent);
}

/* Selection */
::selection {
  background: var(--v823-primary);
  color: white;
}

::-moz-selection {
  background: var(--v823-primary);
  color: white;
}