:root {
  --black: #0a0a0a;
  --surface: #141414;
  --red: #e10600;
  --red-dark: #b00500;
  --white: #f5f5f5;
  --muted: #9a9a9a;
  --border: #262626;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--black);
  color: var(--white);
  line-height: 1.5;
}

.site-header {
  padding: 2rem 1.5rem 1rem;
  border-bottom: 2px solid var(--red);
}

/* Custom Logo Image */
.logo-img {
  height: 50px; /* Adjust this number to make it bigger or smaller */
  width: auto;
  display: block;
  margin-bottom: 0.25rem;
}

/* Custom Logo Image */
.logo-img {
  height: 50px; /* Adjust this number to make it bigger or smaller */
  width: auto;
  display: block;
  margin-bottom: 0.25rem;
}

.tagline { margin: 0.25rem 0 0; color: var(--muted); font-size: 0.9rem; }

main { max-width: 960px; margin: 0 auto; padding: 1.5rem; }

.toolbar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

select {
  background: var(--surface);
  color: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.45rem 0.6rem;
  font-size: 0.9rem;
}

.btn-notify {
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: 6px;
  padding: 0.5rem 0.9rem;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  margin-left: auto;
}
.btn-notify:hover { background: var(--red-dark); }
.btn-notify:disabled { opacity: 0.5; cursor: default; }

.section-title {
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 2rem 0 0.75rem;
}
.live-title { color: var(--red); }
.results-title { color: var(--muted); }

.match-grid { display: grid; gap: 0.6rem; }

.match-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--border);
  border-radius: 8px;
  padding: 0.85rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.match-card.live { border-left-color: var(--red); }

.match-info { min-width: 0; flex: 1; }

.match-league {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.match-teams {
  font-weight: 700;
  font-size: 1rem;
  margin: 0.15rem 0;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.match-kickoff { font-size: 0.8rem; color: var(--muted); }

.star {
  background: none;
  border: none;
  color: #4a4a4a;
  font-size: 1.1rem;
  cursor: pointer;
  padding: 0 0.15rem;
  line-height: 1;
}
.star.active { color: var(--red); }

.badge {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  white-space: nowrap;
}
.badge.live { background: var(--red); color: var(--white); animation: pulse 1.6s infinite; }
.badge.ft { background: #2a2a2a; color: var(--muted); }

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}

.empty { color: var(--muted); font-size: 0.9rem; padding: 0.5rem 0; }

.install-banner {
  background: var(--red);
  color: var(--white);
  padding: 0.7rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  justify-content: space-between;
}
.install-banner.hidden { display: none; }
.install-banner button {
  background: rgba(0,0,0,0.25);
  border: none;
  color: var(--white);
  padding: 0.35rem 0.6rem;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 700;
}

footer {
  max-width: 960px;
  margin: 0 auto;
  padding: 1.5rem;
  color: var(--muted);
  font-size: 0.8rem;
  border-top: 1px solid var(--border);
}

@media (max-width: 520px) {
  .match-card { flex-direction: column; align-items: flex-start; }
  .btn-notify { margin-left: 0; }
}
/* Tabs */
.tabs {
  display: flex;
  gap: 0.5rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.5rem;
  overflow-x: auto;
}

.tab-btn {
  background: transparent;
  color: var(--muted);
  border: none;
  border-bottom: 3px solid transparent;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
}

.tab-btn:hover {
  color: var(--white);
}

.tab-btn.active {
  color: var(--red);
  border-bottom-color: var(--red);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}
/* Contact Page */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem;
  margin-top: 1rem;
}

@media (max-width: 768px) {
  .contact-container {
    grid-template-columns: 1fr;
  }
}

.contact-info h3 {
  margin-top: 0;
  color: var(--red);
}

.contact-info p {
  line-height: 1.6;
  margin: 0.5rem 0;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--muted);
}

.form-group input,
.form-group textarea {
  background: var(--black);
  color: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.75rem;
  font-family: inherit;
  font-size: 0.95rem;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--red);
}

.btn-submit {
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: 6px;
  padding: 0.85rem;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  margin-top: 0.5rem;
  transition: background 0.2s;
}

.btn-submit:hover {
  background: var(--red-dark);
}

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
/* Standings Table */
.table-container {
  overflow-x: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
}

.standings-table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  font-size: 0.9rem;
}

.standings-table th {
  background: #1a1a1a;
  color: var(--muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  padding: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.standings-table td {
  padding: 0.75rem;
  border-bottom: 1px solid var(--border);
}

.standings-table tr:last-child td {
  border-bottom: none;
}

.standings-table .team-name {
  text-align: left;
  font-weight: 700;
}

.standings-table .points {
  font-weight: 900;
  color: var(--red);
}
/* Search Bar */
.search-container {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.search-container input {
  flex: 1;
  background: var(--surface);
  color: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-family: inherit;
}

.search-container input:focus {
  outline: none;
  border-color: var(--red);
}

.search-container button {
  background: var(--surface);
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0 1rem;
  cursor: pointer;
  font-weight: bold;
}

.search-container button:hover {
  color: var(--white);
  border-color: var(--white);
}
/* Search Bar */
.search-container {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.search-container input {
  flex: 1;
  background: var(--surface);
  color: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-family: inherit;
}

.search-container input:focus {
  outline: none;
  border-color: var(--red);
}

.search-container button {
  background: var(--surface);
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0 1rem;
  cursor: pointer;
  font-weight: bold;
}

.search-container button:hover {
  color: var(--white);
  border-color: var(--white);
}