   /* Variables */
:root {
  --bg-main: #0b0b0d;
  --bg-surface: #1a1a1e;
  --accent-primary: #e10600;
  --text-primary: #ffffff;
  --text-secondary: #b5b7ba;
  --accent-success: #00e676;
  --accent-warning: #ffd600;
  --accent-info: #00b0ff;
  --border-subtle: #2a2a30;
}

   /* Reset & Base */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg-main);
  color: var(--text-primary);
  font-family: system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, Ubuntu, sans-serif;
  line-height: 1.5;
}

   /* Navbar */

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
}

.navbar nav {
  display: flex;
  gap: 1.5rem;
}

.navbar nav a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  position: relative;
}

.navbar nav a:hover {
  color: var(--text-primary);
}

.navbar nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--text-primary);
  transition: width 0.2s ease;
}

.navbar nav a:hover::after {
  width: 100%;
}

.logo img {
  height: 36px;
}

   /* Layout */
main {
  padding: 2rem;
}

h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

   /* Controls */
.dropdown {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.dropdown label {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.dropdown select {
  background: var(--bg-surface);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
}

.dropdown button {
  background: var(--accent-primary);
  color: var(--text-primary);
  border: none;
  padding: 0.55rem 1.2rem;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
}

.dropdown button:hover {
  opacity: 0.9;
}

   /* Standings Grid */

#standings-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

   /* Standings Card */

.standings-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-left: 4px solid var(--accent-primary);
  border-radius: 6px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.standings-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

   /* Name */

.standings-name {
  font-size: 1.2rem;
  font-weight: 700;
  text-align: center;
}

   /* Image */
.standings-photo {
  width: 100%;
  height: 160px;
  object-fit: contain;
  background: var(--bg-main);
  border-radius: 4px;
  padding: 1rem;
  background-color: #ffffff;
}

   /* Data List */

.standings-data {
  list-style: none;
  margin-top: 0.5rem;
}

.standings-data li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  display: flex;
  justify-content: space-between;
  padding: 0.3rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

.standings-data li:last-child {
  border-bottom: none;
}

.standings-data strong {
  color: var(--text-primary);
  font-weight: 600;
}

   /* Responsive */

@media (max-width: 600px) {
  main {
    padding: 1rem;
  }

  h1 {
    font-size: 1.6rem;
  }
}
