:root {
  --bg-main: #0b0b0b;
  --bg-card: #121212;
  --green: #00c46a;
  --green-dark: #009e55;
  --text: #f1f1f1;
  --text-muted: #9a9a9a;
  --border: #1f1f1f;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background-color: var(--bg-main);
  color: var(--text);
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header {
  background-color: var(--bg-card);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
}

.logo h1 {
  font-size: 1.5rem;
  color: var(--green);
  font-weight: 700;
  letter-spacing: 1px;
}

nav {
  display: flex;
  gap: 2rem;
}

nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  padding: 0.5rem 0;
}

nav a:hover,
nav a.active {
  color: var(--green);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-main) 100%);
  padding: 4rem 0;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text);
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-muted);
}

/* Jogos Section */
.jogos-section {
  padding: 3rem 0;
}

.section-title {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 12px;
}

.live-indicator {
  width: 12px;
  height: 12px;
  background-color: var(--green);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.2);
  }
}

/* Jogos Grid */
.jogos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.jogo-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.jogo-card:hover {
  transform: translateY(-4px);
  border-color: var(--green);
  box-shadow: 0 8px 24px rgba(0, 196, 106, 0.1);
}

.jogo-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.league {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.status {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.status.live {
  background-color: var(--green);
  color: var(--bg-main);
}

.status.upcoming {
  background-color: var(--border);
  color: var(--text-muted);
}

.jogo-teams {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
}

.team-logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
  border-radius: 8px;
  background-color: var(--bg-main);
  padding: 8px;
}

.team-name {
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  text-align: center;
}

.vs {
  color: var(--text-muted);
  font-weight: 700;
  font-size: 1.2rem;
}

.jogo-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.time-info {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.watch-btn {
  background-color: var(--green);
  color: var(--bg-main);
  padding: 8px 20px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background-color 0.3s ease;
}

.jogo-card:hover .watch-btn {
  background-color: var(--green-dark);
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 3rem;
  color: var(--text-muted);
}

.empty-state p {
  font-size: 1.1rem;
}

/* Footer */
footer {
  background-color: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 2rem 0;
  margin-top: 4rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo img {
  width: 36px;
  height: 36px;
  border-radius: 6px;
}

.footer-logo p {
  font-size: 1.2rem;
  color: var(--green);
  font-weight: 700;
}

.footer-info {
  text-align: right;
}

.footer-info p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.copyright {
  margin-top: 0.5rem;
  font-size: 0.85rem !important;
}

/* Responsive */
@media (max-width: 768px) {
  nav {
    gap: 1rem;
  }

  .hero h2 {
    font-size: 1.8rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .jogos-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

  .footer-info {
    text-align: center;
  }
}
