/* Estilos globais */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  transition: background-color 0.3s, color 0.3s;
}

/* Tema claro com degradê */
body.light-theme {
  background: linear-gradient(to bottom, #ffffff, #f2f2f2);
  color: #000000;
}

/* Tema escuro */
body.dark-theme {
  background-color: #121212;
  color: #ffffff;
}

/* Garante que links e elementos específicos sejam afetados */
body.dark-theme a, 
body.dark-theme p, 
body.dark-theme h1, 
body.dark-theme h3, 
body.dark-theme span {
  color: #ffffff !important;
}

body.dark-theme a:hover {
  color: #cccccc !important;
}

/* Cabeçalho */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  background: linear-gradient(to right, #ff0000, #0000ff);
  color: white;
  transition: background 0.3s ease;
}

/* Cabeçalho no tema escuro */
body.dark-theme header {
  background: linear-gradient(to right, #1a1a1a, #333333);
}

/* Botão de alternar tema */
#theme-toggle {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: white;
  transition: transform 0.2s ease;
}

#theme-toggle:hover {
  transform: scale(1.1);
}

.logo img {
  max-width: 80px;
}


/* Destaque do último título */
.destaque-titulo {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 32px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  padding: 18px 24px;
}

body.dark-theme .destaque-titulo {
  background: #232323;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
}

.destaque-titulo img {
  width: 280px;
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
  flex-shrink: 0;
}

.destaque-titulo h3 {
  margin: 0 0 8px 0;
  color: #D62828;
  font-size: 1.3em;
  font-weight: bold;
}

body.dark-theme .destaque-titulo h3 {
  color: #fff;
}

.destaque-titulo p {
  margin: 0;
  color: #333;
  font-size: 1em;
}

body.dark-theme .destaque-titulo p {
  color: #ccc;
}



/* =========================
   Estilos para Resultados
   ========================= */

/* Seção de resultados */
.resultados-section {
  padding: 40px 10px 60px 10px;
  max-width: 900px;
  margin: 40px auto 0 auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
}

body.dark-theme .resultados-section {
  background: #232323;
  box-shadow: 0 2px 16px rgba(0,0,0,0.25);
}

/* Título da seção */
.resultados-section h2 {
  text-align: center;
  color: #D62828;
  font-size: 2.2em;
  margin-bottom: 32px;
  letter-spacing: 1px;
}

body.dark-theme .resultados-section h2 {
  color: #fff;
}

/* Tabela de resultados */
.tabela-resultados {
  width: 100%;
  border-collapse: collapse;
  background: transparent;
  font-size: 1.1em;
}

.tabela-resultados thead tr {
  background: #D62828;
  color: #fff;
}

body.dark-theme .tabela-resultados thead tr {
  background: #333;
  color: #fff;
}

.tabela-resultados th, .tabela-resultados td {
  padding: 14px 8px;
  text-align: center;
  border-bottom: 1px solid #eee;
}

body.dark-theme .tabela-resultados th,
body.dark-theme .tabela-resultados td {
  border-bottom: 1px solid #333;
}

.tabela-resultados tbody tr:nth-child(even) {
  background: #f8f8f8;
}

body.dark-theme .tabela-resultados tbody tr:nth-child(even) {
  background: #282828;
}

.tabela-resultados img {
  vertical-align: middle;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #ddd;
  width: 32px;
  height: 32px;
  object-fit: contain;
}

body.dark-theme .tabela-resultados img {
  background: #232323;
  border: 1px solid #444;
}

/* Placar em destaque */
.tabela-resultados td:last-child {
  font-weight: bold;
  color: #D62828;
  font-size: 1.15em;
  letter-spacing: 1px;
}

body.dark-theme .tabela-resultados td:last-child {
  color: #fff;
}

/* Responsividade */
@media (max-width: 700px) {
  .resultados-section {
    padding: 15px 2px 30px 2px;
    max-width: 100%;
  }
  .tabela-resultados th, .tabela-resultados td {
    padding: 8px 2px;
    font-size: 0.95em;
  }
  .resultados-section h2 {
    font-size: 1.3em;
  }

}









nav ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 15px;
}

nav ul li {
  display: inline;
}

nav ul li a {
  text-decoration: none;
  color: white;
  padding: 10px 15px;
  transition: background-color 0.3s ease;
}

nav ul li a:hover {
  background-color: #C62828; 
  border-radius: 4px;
}

.user-options {
  display: flex;
  align-items: center;
  gap: 15px;
  list-style-type: none;
}

.user-options a {
  color: white;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: bold;
}

.user-options a i {
  font-size: 30px;
  color: white;
}

.hero {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 50px;
  text-align: center;
}

.text-section {
  max-width: 500px;
  margin-right: 20px;
}

.text-section h2 {
  font-size: 48px;
  color: #D62828;
}

.text-section p {
  font-size: 30px;
  line-height: 1.0;
  color: #333;
}

body.dark-theme .text-section p {
  color: #ddd;
}

.image-section img {
  max-width: 75%;
  height: auto;
  border-radius: 8px;
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #D62828;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.btn:hover {
  background-color: #b71c1c;
}

footer {
  background-color: #D62828;
  color: white;
  text-align: center;
  padding: 20px 0;
  position: relative;
  bottom: 0;
  width: 100%;
  font-size: 1.1em;
}
