/* ====== STEPMANIA ONLINE - MODERN NEON THEME ====== */
:root {
  /* ---- ELECTRIC COLOR PALETTE ---- */
  --neon-pink: #ff00ff;
  --electric-blue: #00f0ff;
  --lime-green: #00ff66;
  --purple-haze: #9d00ff;
  --cyber-yellow: #ffee00;
  --dark-void: #0a0a1a;
  --darker-void: #050510;
  --light-accent: #e0e0ff;
  
  /* ---- UI VARIABLES ---- */
  --border-radius: 6px;
  --box-shadow: 0 4px 20px rgba(0, 240, 255, 0.2);
  --box-shadow-hover: 0 6px 30px rgba(255, 0, 255, 0.3);
  --transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --text-glow: 0 0 8px currentColor;
  --border-glow: 0 0 10px var(--electric-blue);
}

/* ====== BASE RESET ====== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Rajdhani', 'Segoe UI', sans-serif;
}

body {
  background: linear-gradient(135deg, var(--dark-void), var(--darker-void));
  color: var(--light-accent);
  line-height: 1.6;
  min-height: 100vh;
  padding: 20px;
}

/* ====== LAYOUT STRUCTURE ====== */
.container {
  max-width: 1400px;
  margin: 0 auto;
}


.top-list {
    list-style-position: inside; /* Makes numbers part of content flow */
    padding-left: 2px; /* Adjust as needed */
}

.top-list li {
    text-indent: -15px; /* Pulls text back after the number */
    padding-left: 5px; /* Creates space for numbers */
}


.header, .footer {
  background: rgba(10, 10, 26, 0.8);
  backdrop-filter: blur(10px);
  padding: 1.5rem;
  margin: 1rem 0;
  border-radius: var(--border-radius);
  border: 1px solid var(--electric-blue);
  box-shadow: var(--border-glow), var(--box-shadow);
  text-align: center;
}

.server-status {
    padding: 12px;
    border-radius: 5px;
    margin-bottom: 20px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
}

.server-status i {
    font-size: 1.2em;
}

.server-status.online {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.server-status.offline {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.room-count {
    font-weight: normal;
    margin-left: auto;
    font-size: 0.9em;
}

/* Rooms container */
.rooms-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

/* Room card */
.room-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

.room-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.room-header {
    padding: 15px;
    background: #f8f9fa;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.room-title {
    margin: 0;
    font-size: 1.1em;
}

.room-title a {
    color: #333;
    text-decoration: none;
}

.room-title a:hover {
    color: #007bff;
}





.player-count {
    background: #000;
    padding: 3px 15px;
    border-radius: 20px;
    font-size: 0.9em;
    display: flex;
    align-items: center;
    gap: 5px;
}

.room-content {
    padding: 15px;
}

.room-desc {
    color: #666;
    margin: 0 0 15px 0;
    font-size: 0.95em;
    line-height: 1.5;
}

.join-button {
    display: inline-block;
    padding: 8px 15px;
    background: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9em;
    transition: background 0.2s;
}

.join-button:hover {
    background: #0069d9;
}


.header h1 {
  font-size: 2.5rem;
  background: linear-gradient(90deg, var(--neon-pink), var(--electric-blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: 1px;
  text-shadow: var(--text-glow);
}

.mid {
  display: flex;
  gap: 1.5rem;
  margin: 1.5rem 0;
}

.sidebar_left, .sidebar_right {
  flex: 0 0 250px;
}

.content {
  flex: 1;
  min-width: 0;
}

/* ====== UI COMPONENTS ====== */
.block {
  background: rgba(10, 10, 26, 0.7);
  border-radius: var(--border-radius);
  border: 1px solid var(--electric-blue);
  box-shadow: var(--border-glow), var(--box-shadow);
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.block:hover {
  transform: translateY(-3px);
  box-shadow: var(--border-glow), var(--box-shadow-hover);
}

.blocktitle {
  background: linear-gradient(90deg, var(--purple-haze), var(--neon-pink));
  padding: 0.8rem 1rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: white;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.blockcontent {
  padding: 1.2rem;
}

/* ====== TABLES ====== */
.user-stats-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 0.8rem;
}

.user-stats-table tr {
  display: flex;
  align-items: center;
}

.stat-label {
  width: 100px;
  color: var(--electric-blue);
  font-weight: 600;
  padding-right: 1rem;
}

.stat-value {
  flex: 1;
  padding: 0.5rem 0;
  border-left: 2px solid var(--purple-haze);
  padding-left: 1rem;
}

.highlight {
  color: var(--cyber-yellow);
  font-weight: 600;
}

/* ====== BADGES & TAGS ====== */
.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
}

.admin-badge {
  background: rgba(255, 0, 255, 0.1);
  color: var(--neon-pink);
  border: 1px solid var(--neon-pink);
}

.mod-badge {
  background: rgba(0, 255, 102, 0.1);
  color: var(--lime-green);
  border: 1px solid var(--lime-green);
}

.player-badge {
  background: rgba(0, 240, 255, 0.1);
  color: var(--electric-blue);
  border: 1px solid var(--electric-blue);
}

/* ====== LINKS & BUTTONS ====== */
a {
  color: var(--electric-blue);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--neon-pink);
  text-shadow: var(--text-glow);
}

.help-link {
  margin-left: 0.5rem;
  font-size: 0.85rem;
  opacity: 0.7;
}

.help-link:hover {
  opacity: 1;
  transform: scale(1.1);
}

/* ====== RESPONSIVE LAYOUT ====== */
@media (max-width: 1024px) {
  .mid {
    flex-direction: column;
  }
  
  .sidebar_left, .sidebar_right {
    flex: 1;
    width: 100%;
  }
  
  .header h1 {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  body {
    padding: 10px;
  }
  
  .user-stats-table tr {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .stat-value {
    border-left: none;
    padding-left: 0;
    margin-top: 0.3rem;
  }
}