/* Variáveis CSS */
:root {
  --primary-color: #1a1a1a;
  --secondary-color: #2d2d2d;
  --accent-color: #d2ff00;
  --accent-secondary: #9acd32;
  --text-color: #ffffff;
  --border-color: #444;
  --hover-color: #b8e600;
  --gradient-primary: linear-gradient(135deg, #d2ff00 0%, #9acd32 50%, #7cb342 100%);
  --blue-primary: #080e14;
  --blue-secondary: #07090c;
  --blue-gradient: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  margin: 0;
  padding: 0;
  background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 50%, #2d2d2d 100%);
  color: var(--text-color);
  min-height: 100vh;
  line-height: 1.6;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 80%, rgba(210, 255, 0, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 80% 20%, rgba(154, 205, 50, 0.1) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

.header {
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--accent-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 1rem 0;
  box-shadow: 0 4px 20px rgba(210, 255, 0, 0.2);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-color);
  text-shadow: 0 0 10px rgba(210, 255, 0, 0.5);
  text-align: center;
  margin-bottom: 1rem;
  justify-content: center;
}

.logo img {
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(210, 255, 0, 0.3);
  transition: all 0.3s ease;
}

.logo img:hover {
  transform: scale(1.1);
  box-shadow: 0 0 25px rgba(210, 255, 0, 0.6);
}

.logo h1 {
  color: #d2ff00;
  font-size: 2.5rem;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.nav-tabs {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.nav-tab {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid transparent;
  padding: 12px 30px;
  border-radius: 25px;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.nav-tab::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  transition: left 0.3s ease;
  z-index: -1;
}

.nav-tab:hover::before,
.nav-tab.active::before {
  left: 0;
}

.nav-tab.active {
  color: #000;
  border-color: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(210, 255, 0, 0.3);
}

.nav-tab:hover {
  color: #000;
  border-color: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(210, 255, 0, 0.3);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* Cabeçalho da seção de jogos */
.games-section-header {
  background: var(--blue-gradient);
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  margin-bottom: 2rem;
  box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3);
  border: 1px solid rgba(0, 123, 255, 0.2);
}

.games-section-header h2 {
  color: #ffffff;
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.games-section-header h2 i {
  margin-right: 10px;
  color: #ffffff;
}

.games-section-header p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  margin: 0;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 20px;
  margin-bottom: 3rem;
}

.game-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.game-time {
  background: #d2ff00;
  color: #000;
  padding: 8px 15px;
  border-radius: 20px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 15px;
  font-size: 0.9rem;
}

.teams {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
}

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

.team-logo {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-bottom: 8px;
  object-fit: cover;
  border: 2px solid #d2ff00;
}

.team-name {
  font-weight: bold;
  text-align: center;
  font-size: 0.9rem;
}

.vs {
  font-size: 1.5rem;
  font-weight: bold;
  color: #d2ff00;
  margin: 0 15px;
}

.watch-btn {
  background: linear-gradient(45deg, #ff6b6b, #ee5a24);
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 25px;
  font-weight: bold;
  cursor: pointer;
  width: 100%;
  transition: all 0.3s ease;
}

.watch-btn:hover {
  background: linear-gradient(45deg, #ee5a24, #ff6b6b);
  transform: scale(1.05);
}

.about-section {
  background: rgba(255, 255, 255, 0.05);
  padding: 3rem 2rem;
  border-radius: 20px;
  margin: 3rem 0;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.about-section h2 {
  color: #d2ff00;
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2rem;
}

.about-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.about-content h5 {
  color: #d2ff00;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.about-content p {
  line-height: 1.6;
  margin-bottom: 1rem;
}

.about-content a {
  color: #d2ff00;
  text-decoration: none;
}

.about-content a:hover {
  text-decoration: underline;
}

.disclaimer {
  background: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 15px;
  margin: 2rem 0;
  text-align: center;
  border-left: 4px solid #d2ff00;
}

.disclaimer h3 {
  color: #d2ff00;
  margin-bottom: 1rem;
}

.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
  position: relative;
  margin: 2% auto;
  width: 95%;
  height: 90%;
  background: #000;
  border-radius: 10px;
  overflow: hidden;
}

.close {
  position: absolute;
  top: 10px;
  right: 20px;
  color: #fff;
  font-size: 30px;
  font-weight: bold;
  cursor: pointer;
  z-index: 2001;
}

.close:hover {
  color: #d2ff00;
}

iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Footer */
.footer {
  background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 100%);
  border-top: 2px solid var(--accent-color);
  padding: 3rem 0 1rem;
  margin-top: 4rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo img {
  margin-bottom: 1rem;
  border-radius: 50%;
  border: 2px solid var(--accent-color);
}

.footer-logo span {
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--accent-color);
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.footer-logo p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin: 0;
}

.footer-links h4 {
  color: var(--accent-color);
  font-size: 1.1rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--accent-color);
  padding-bottom: 0.5rem;
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--accent-color);
  text-shadow: 0 1px 3px rgba(210, 255, 0, 0.3);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin: 0;
}

/* Responsividade */
@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }

  .header {
    padding: 0.8rem 0;
  }

  .logo {
    font-size: 1.3rem;
  }

  .nav-tabs {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .nav-tab {
    padding: 8px 15px;
    font-size: 0.9rem;
  }

  .games-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .game-card {
    padding: 15px;
  }

  .team-logo {
    width: 40px;
    height: 40px;
  }

  .about-section {
    padding: 2rem 1rem;
  }

  .about-section h2 {
    font-size: 1.5rem;
  }

  .about-content {
    grid-template-columns: 1fr;
  }

  .disclaimer {
    padding: 1.5rem;
  }

  .modal-content {
    width: 95%;
    height: 70%;
  }

  .games-section-header {
    padding: 1.5rem;
  }

  .games-section-header h2 {
    font-size: 1.8rem;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .footer-logo {
    align-items: center;
  }

  .logo h1 {
    font-size: 2rem;
  }

  .teams {
    flex-direction: column;
    gap: 10px;
  }

  .vs {
    margin: 10px 0;
  }
}

img:is([sizes="auto" i], [sizes^="auto," i]) {
  contain-intrinsic-size: 3000px 1500px;
}