@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400&display=swap');

@font-face {
  font-family: 'GamestationDisplay';
  src: url('../fonts/GamestationDisplay.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

:root {
    --primary-color: #4361ee;
    --secondary-color: #3a0ca3;
    --accent-color: #f72585;
    --icon-color: #f72585;
    --background-dark: #121212;
    --background-darker: #0d0d0d;
    --background-light: #1a1a1a;
    --text-light: #ffffff;
    --text-gray: #b3b3b3;
    --border-color: #333333;
    --success-color: #4ade80;
    --warning-color: #fbbf24;
    --error-color: #f87171;
}

body {
  margin: 0;
  text-align: center;
  /*padding-top: 43vh;*/
  color: var(--text-light);
  font-family: 'Roboto', sans-serif;
  font-size: 36px;
  font-weight: 300;
  overflow: hidden;
  background: linear-gradient(135deg, var(--background-darker), #1a1a2e);
  min-height: 100vh;
}

.connection-indicator {
  position: fixed;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  padding: 6px 12px;
  background: rgba(26, 26, 26, 0.85);
  border-radius: 6px;
  display: none; /* hidden by default; JS will show/hide */
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  pointer-events: none; /* avoid blocking clicks on overlay */
  font-size: 12px;
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
}

.text-red-500 {
  color: var(--error-color);
}

.text-green-500 {
  color: var(--success-color);
}

.text-yellow-500 {
  color: var(--warning-color);
}

/* Alert Styles */
.alert-container {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(26, 26, 26, 0.9);
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  min-width: 400px;
  max-width: 80%;
  animation: fadeIn 0.5s ease-out;
}

.alert-header {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.alert-content {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: var(--text-light);
}

.alert-footer {
  font-size: 1rem;
  color: var(--text-gray);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .alert-container {
    min-width: 300px;
    padding: 20px;
  }
  
  .alert-header {
    font-size: 1.3rem;
  }
  
  .alert-content {
    font-size: 1rem;
  }
}
