/* BigChungus Gaming Theme Variables */
:root {
  --background: #000000;
  --foreground: #ffffff;
  --card: #111111;
  --card-foreground: #ffffff;
  --primary: #ff00ff;
  --primary-foreground: #000000;
  --secondary: #333333;
  --secondary-foreground: #ffffff;
  --muted: #222222;
  --muted-foreground: #888888;
  --accent: #8b00ff;
  --accent-foreground: #ffffff;
  --border: #333333;
  
  /* Seat status colors */
  --seat-free: #00ff00;
  --seat-reserved: #fffF00;
  --seat-taken: #ff0000;
  --seat-blocked: #aaaaaa;
  --seat-staff: #0000ff;
  --seat-network: #ff00ff;
  --seat-description: #111111;
}



/* Main Container */
.main-container {
  max-width: 1400px;
  margin: 0 auto;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 4fr;
  gap: 2rem;
}

/* Legend */
.legend-container {
  grid-column: 2;
}

.legend-box {
  border-radius: 0.5rem;
  padding: 1.5rem;
}

.legend-box h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.legend-items {
  margin-bottom: 1.5rem;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.75rem 0;
}

.legend-color {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  border: 1px solid var(--border);
}

.instructions {
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.instructions h4 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.instructions p {
  color: var(--muted-foreground);
  line-height: 1.4;
}

/* Arena */
.arena-container {
  grid-column: 1;
}

.arena-box {
  background-color: var(--card);
  border-radius: 0.5rem;
  padding: 2rem;
}

.arena-title {
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 1.5rem;
}

/* Stage */
.stage-area {
  text-align: center;
  margin-bottom: 2rem;
}

.stage-box {
  display: inline-block;
  background-color: var(--accent);
  color: var(--accent-foreground);
  padding: 1rem 2rem;
  border-radius: 0.5rem;
}

/* Seating Grid */
.seating-grid-wrapper {
  display: flex;
  justify-content: center;
}

.seating-grid {
  display: grid;
  gap: 2px;
  justify-content: center;
  max-width: fit-content;
}

/* Seat styling */
.seat {
  width: 30px;
  height: 30px;
  border: 2px solid var(--border);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.seat:hover, .seat:active{
  transform: scale(1.1);
  box-shadow: 0 0 20px #000;
  z-index: 10;
}

.seat-free {
  background-color: var(--seat-free);
  color: #000;
  border-color: var(--seat-free);
}

.seat-reserved {
  background-color: var(--seat-reserved);
  color: #000;
  border-color: var(--seat-reserved);
}

.seat-blocked {
  background-color: var(--seat-blocked);
  color: #000;
  border-color: var(--seat-blocked);
}

.seat-taken {
  background-color: var(--seat-taken);
  color: #fff;
  border-color: var(--seat-taken);
}

.seat-staff {
  background-color: var(--seat-staff);
  color: #0000ff;
  border-color: var(--seat-staff);
}

.seat-network {
  background-color: var(--seat-network);
  color: #000;
  border-color: var(--seat-network);
}

.seat-description {
  background-color: var(--seat-description);
  color: #FFF;
  border-color: var(--seat-description);
}

/* Empty space (corridor) styling */
.empty-space {
  width: 30px;
  height: 30px;
  background: transparent;
  border: none;
  cursor: default;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Tooltip styling */
.tooltip {
  position: fixed;
  background: rgba(0, 0, 0, 0.9);
  color: #fff;
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 14px;
  white-space: nowrap;
  z-index: 20;
  border: 1px solid var(--primary);
  box-shadow: 0 0 10px rgba(255, 0, 255, 0.5);
  pointer-events: none;
}

.tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: var(--primary);
}

.tooltip.hidden {
  display: none;
}

/* Entrance */
.entrance-area {
  text-align: center;
  margin-top: 2rem;
}

.entrance-box {
  display: inline-block;
  background-color: var(--secondary);
  color: var(--secondary-foreground);
  padding: 0.5rem 1.5rem;
  border-radius: 0.5rem;
  border: 1px solid var(--border);
}

/* Footer */
.footer {
  text-align: center;
  margin-top: 3rem;
  color: var(--muted-foreground);
}

/* Loading */
.loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--background);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.loading.hidden {
  display: none;
}

.loading .gaming-title {
  font-size: 2rem;
}

/* Neon glow effects */
.neon-border {
  border: 2px solid var(--primary);
  box-shadow: 0 0 10px rgba(255, 0, 255, 0.5);
}

/* Responsive design */
@media (max-width: 1200px) {
  .content-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .legend-container {
    grid-column: 1;
  }
  
  .arena-container {
    grid-column: 1;
  }
}

@media (max-width: 768px) {
  .seat, .empty-space {
    width: 15px;
    height: 15px;
    border-radius: 3px;
  }
  
  .seat {
    font-size: 7px;
  }
  
  .legend-box, .arena-box {
    padding: 1rem;
  }

  .tooltip {
    padding: 5px 8px;
    border-radius: 4px;
    font-size: 9px;
  }
}

@media (max-width: 480px) {
  .seat, .empty-space {
    width: 10px;
    height: 10px;
    border-radius: 2px;
  }
  
  .seat {
    font-size: 5px;
  }

  .tooltip {
    padding: 3px 6px;
    border-radius: 3px;
    font-size: 7px;
  }
}

