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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

@media (max-width: 900px) {
  header, .footer-content {
    padding: 1rem;
    flex-direction: column;
    align-items: flex-start;
  }
  .button-container {
    width: 100%;
    justify-content: flex-start;
    gap: 0.5rem;
  }
  .footer-content {
    gap: 1rem;
  }
}

@media (max-width: 500px) {
  .header-left h1,
  .text-wrapper-13 {
    font-size: 1rem;
  }
  .help-section-content {
    gap: 0.5rem;
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Imagens de conteúdo responsivas por padrão */
img {
  max-width: 100%;
  height: auto;
}

/* Ensure side menu is always above footer */
.menu-lateral {
  z-index: 150; /* above footer (100), below sticky header (>=2100) */
}

/* Animações sutis e acessíveis */
@keyframes subtle-fade-up {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes subtle-float {
  from { transform: translateY(0px); }
  to { transform: translateY(-2px); }
}
@keyframes subtle-pop {
  from { opacity: 0; transform: scale(0.985); }
  to { opacity: 1; transform: scale(1); }
}

/* Respeitar usuários que preferem menos animação */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* Transições suaves padrão para interações */
a, button, .btn, .subscribe-button, .sign-in-button, .sign-up-button {
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease, transform 200ms ease;
}

/* Aparição suave de seções comuns */
.footer-content, .layout-news, .newsletter-form {
  animation: subtle-fade-up 420ms ease both;
}

/* Modais: leve pop ao abrir (via :target) */
#auth-modal:target .auth-modal,
#pro-modal:target .auth-modal {
  animation: subtle-pop 200ms ease-out both;
}

/* OAuth buttons inside modal */
.oauth-group {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 8px;
}
.oauth-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 40px;
  padding: 0 12px;
  border-radius: 8px;
  text-decoration: none;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  color: #111827;
  background: #f3f4f6;
}
.oauth-btn:hover { background: #e5e7eb; }
.oauth-btn img { width: 18px; height: 18px; }

/* Menu lateral responsivo (páginas de notícias/times) */
@media (max-width: 768px) {
  .menu-lateral {
    position: fixed;
    bottom: 0;
    top: auto;
    left: 0;
    right: 0;
    height: 56px;
    width: 100%;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    gap: 16px;
    border-right: none;
    border-top: 1px solid #ddd;
    z-index: 950; /* abaixo do header, acima do conteúdo */
    background-color: #ffffff;
  }
  .menu-lateral a img {
    width: 28px;
  }
    /* Efeito sutil de foco/hover nos ícones do menu-lateral */
    .menu-lateral a img {
      transition: transform 160ms ease, box-shadow 160ms ease;
    }
    .menu-lateral a:hover img,
    .menu-lateral a:focus img {
      transform: translateY(-2px);
      box-shadow: 0 4px 10px rgba(0,0,0,0.12);
    }
  /* Conteúdos com imagens grandes nas páginas de notícias/times */
  .futebol-noticias,
  .basquete-noticias,
  .hockey-noticias,
  .futebol-americano-noticias,
  .futebol-americano-times {
    margin-left: 0;
    min-height: calc(100vh - 56px - 64px); /* espaço p/ barra inferior + header */
    height: auto;
    padding: 16px 12px 72px; /* respiro p/ não cobrir o menu */
    display: flex;
    align-items: center;
  }
  .futebol-noticias img,
  .basquete-noticias img,
  .hockey-noticias img,
  .futebol-americano-noticias img,
  .futebol-americano-times img {
    width: 100%;
    max-width: 960px;
    height: auto;
    object-fit: contain;
  }
}

  @import url("https://fonts.googleapis.com/css2?family=Rowdies:wght@300;400;700&display=swap");
  @import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap");
  @import url("https://fonts.googleapis.com/css2?family=Koulen&family=Lugrasimo&display=swap");
  
  * {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
  }
  
  body {
    background-color: #ffffff;
    margin: 0;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "Rowdies", sans-serif;
  }
  
  header {
    display: flex;
    justify-content: space-between; /* esquerda: logo+título | direita: botões */
    align-items: center;
    padding: 10px 20px; /* padding lateral direto no header */
    background-color: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02);
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 2100; /* acima do menu-lateral (900) e abaixo de modais atualizados */
  }
  
  header .text-wrapper {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    color: #000000;
    font-size: 1.2rem;
    font-family: "Rowdies", sans-serif;
    font-weight: 700;
  }
  
  .text-wrapper a {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    color: #000000;
    font-size: 1.2rem;
    font-family: "Rowdies", sans-serif;
    font-weight: 700;
    text-decoration: none;
}

  header div {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
  }
  
  .logo {
    width: 3rem;
    height: 3rem;
    margin-right: 10px;
  }
  main {
    font-family: "Inter", sans-serif;
    font-weight: bold;
  }
  
  @media (max-width: 480px) {
    header {
      flex-wrap: wrap;
      gap: 8px;
    }
    .button-container {
      width: 100%;
      justify-content: flex-start;
    }
  }
  

  
  .layout-footer {
    position: relative;
    z-index: 100;
    background: #3f3f3f;
    color: #ffffff;
  }
  .footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 24px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .text-wrapper-13 {
    font-family: "Rowdies", sans-serif;
    font-weight: 300;
    font-size: 0.95rem;
    color: #d1d5db;
    opacity: 0.9;
    text-align: center;
  }
  .make-your-own-blog {
    font-family: "Inter", sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 8px;
  }
  .newsletter-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  .rectangle-footer {
    width: 100%;
    max-width: 420px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  #email-input {
    width: 100%;
    height: 40px;
    background: #d9d9d9;
    border: none;
    border-radius: 6px;
    padding: 0 12px;
    font-family: "Inter", sans-serif;
    font-size: 0.95rem;
    color: #111827;
  }
  #email-input::placeholder {
    color: #6b7280;
  }
  
  .button-subscribe {
    width: 100%;
    height: 40px;
    background: #53aa51;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-family: "Inter", sans-serif;
    font-weight: 700;
    cursor: pointer;
  }
  .button-subscribe:hover {
    background: #469246;
  }
  
  .social-links {
    position: absolute;
    top: 24px;
    right: 24px;
    display: flex;
    align-items: center;
    gap: 14px;
    color: #ffffff;
  }
  .social-links a,
  .social-links button {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffffff;
    border-radius: 8px;
    color: #ffffff !important;
    background: transparent;
    text-decoration: none;
    cursor: pointer;
  }
  .social-links a:hover,
  .social-links button:hover {
    background: rgba(255, 255, 255, 0.1);
  }
  
  @media (max-width: 640px) {
    .footer-content {
      padding: 28px 16px 36px;
    }
    .social-links {
      top: 16px;
      right: 16px;
      gap: 10px;
    }
  }
  
  .social-links svg {
    width: 18px;
    height: 18px;
    display: block;
  }
  
  .social-links svg [fill="none"] {
    fill: none !important;
  }
  .social-links svg [fill]:not([fill="none"]) {
    fill: currentColor !important;
  }
  .social-links svg [stroke] {
    stroke: currentColor !important;
  }
  .social-links svg path,
  .social-links svg circle,
  .social-links svg rect,
  .social-links svg polygon,
  .social-links svg line,
  .social-links svg polyline {
    stroke-width: inherit;
  }
  
  .social-links img {
    width: 18px;
    height: 18px;
    display: block;
    filter: brightness(0) invert(1) contrast(1.1);
  }
  
  .layout-footer svg {
    width: 18px;
    height: 18px;
    color: #ffffff !important;
  }
  .layout-footer svg [fill="none"] {
    fill: none !important;
  }
  .layout-footer svg [fill]:not([fill="none"]) {
    fill: currentColor !important;
  }
  .layout-footer svg [stroke] {
    stroke: currentColor !important;
  }
  .layout-footer img[src$=".svg"] {
    filter: brightness(0) invert(1) contrast(1.1) !important;
  }
  
  .modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: none;
  }
  
  #auth-modal:target {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
  
  }
  #pro-modal:target {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
  }
  .modal {
    width: 520px;
    max-width: 92%;
    background: #ffffff;
    border-radius: 6px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    padding: 20px;
    position: relative;
  }
  .close-modal {
    position: absolute;
    top: 8px;
    right: 10px;
    color: #111827;
    text-decoration: none;
    font-size: 20px;
  }
  .modal-header {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .modal-logo {
    width: 28px;
    height: 28px;
  }
  .modal-brand {
    font-family: "Rowdies", sans-serif;
    font-weight: 700;
    color: #2b2d31;
  }
  .auth-title {
    font-family: "Koulen", fantasy;
    justify-content: center;
    font-weight: bold;
    flex-direction: row;
    display: inline-flex;
    align-items: center;
    flex-wrap: nowrap;
    white-space: nowrap;
    font-size: 1.6rem;
    margin: 0 2rem 0;
    color: #000000;
  }
  .modal-desc {
    font-family: "Inter", sans-serif;
    font-size: 14px;
    color: #4e4e4e;
    margin-bottom: 10px;
  }
  .social-auth {
    display: flex;
    gap: 50px;
    margin: 12px 3rem 6px 12px;
    padding: 12px;
    list-style: none;
  }
  .social-auth li {
    list-style: none;
  }
  .social-auth a {
    width: 70px;
    height: 36px;
    display: flex;
    align-items: center;
    background: #53aa51;
    border-radius: 6px;
    text-decoration: none;
    justify-content: center;
    display: inline-flex;
    box-shadow: 0.4rem 0.5rem 1rem rgba(0, 0, 0, 0.2);
  }
  
  .social-auth img {
    width: 18px;
    height: 18px;
    display: block;
    filter: brightness(0) invert(1); 
  }
  .social-auth span {
    flex: 1;
    height: 36px;
    border: none;
    border-radius: 6px;
    padding: 12px 12px;
    color: #ffffff;
    font-weight: 700; 
  
  }
  .social-btn.fb,
  .social-btn.google,
  .social-btn.apple {
    background: #469246;
  }
  .modal-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .modal-input {
    height: 38px;
    background: #e5e7eb;
    border: none;
    border-radius: 4px;
    padding: 0 12px;
    font-family: "Inter", sans-serif;
  }
  .modal-submit {
    height: 38px;
    background: #53aa51;
    color: #fff;
    border: none;
    border-radius: 20px;
    font-weight: 700;
  }
  .modal-terms,
  .modal-note {
    font-size: 11px;
    color: #6b7280;
  }
  .auth {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.78);
    display: none;
  }
  #auth-modal:target {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
  }
  .auth {
    z-index: 9999; /* modais devem ficar no topo absoluto */
  }
  .auth-modal {
    width: 495px;
    max-width: 71%;
    background: #ffffff;
    border-radius: 6px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    padding: 20px;
    position: relative;
  }
  .modal-close {
    position: absolute;
    top: 8px;
    right: 10px;
    color: #040405;
    text-decoration: none;
    border-radius: 10px;
    padding: 0.4rem 0.9rem;
    border-color: transparent;
    background-color: transparent;
    font-size: 20px;
  }
  .modal-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .auth-form label {
    font-family: "Inter", sans-serif;
    font-size: 14px;
    color: #111827;
  }
  .auth-form {
    padding: 0.2rem 0.2rem 2rem 0.2rem;
    display: flex;
    flex-direction: column;
    gap: 15px;
    border: 1px solid #ffffff;
    border-radius: 4px;
  }
  
  .auth-form input {
    height: 59px;
    background: #d9d9d9;
    color: #46464638;
    border: none;
    border-radius: 4px;
    padding: 0 12px;
    font-size: 0.95rem;
    color: #111827;
  }
  .continue-button {
    height: 36px;
    background: #53aa51;
    color: #fff;
    border: none;
    font-family: "Inter", sans-serif;
    box-shadow: 0.4rem 0.8rem 1rem rgba(0, 0, 0, 0.2);
    padding: 0 5rem;
    border-radius: 18px;
    font-weight: 700;
    cursor: pointer;
    /* Ajustes para quando .continue-button for <a> */
    display: inline-block;
    text-decoration: none;
    text-align: center;
    line-height: 36px; /* centraliza verticalmente o texto */
  }

  .continue-button:link,
  .continue-button:visited {
    color: #fff;
    text-decoration: none;
  }

  .continue-button:hover {
    background: #469246; /* mesmo hover do botão subscribe */
  }

  .continue-button:focus {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
  }
  
  .logo-lockup {
    display: inline-flex;
    align-items: center;
    gap: 10px;
  }
  .logo-modal {
    width: 70px;
    height: 75px;
    padding: 0 0 0 0;
    object-fit: contain;
  }
  .logo-divider {
    width: 1px;
    height: 28px;
    background: #111827;
    opacity: 0.5;
  }
  .wordmark {
    display: flex;
    align-items: baseline;
    gap: 2px;
    border: 2px solid #ffffff;
    border-radius: 2px;
    padding: 2px 6px;
  }
  .wordmark .text-kick {
   font-family: "Koulen", sans-serif;
    font-weight: bolder;
    font-style: normal;
    font-size: 1.4rem;
    color: #111;
  }
  .wordmark .text-club {
    font-family: "Lugrasimo", cursive;
    font-size: 1.5rem;
    font-weight: 800;
    color: #111;
  }
  
  .text-auth {
    justify-content: center;
    align-items: center;
    display: inline-flex;
    font-family: "Inter", sans-serif;
    font-size: 0.78123456789rem;
    color: #35343470;
    padding: 2px 22px auto;
    text-align: center;
  }
  .text-essential {
    font-family: "Lugrasimo", cursive;
    font-size: 1.5rem;
    font-weight: 400;
  }
  
  .layout-green {
    background-color: #53aa51;
    color: white;
    text-align: center;
    padding: 40px 20px;
  }
  
  .help-section {
    color: white;
    display: flex;
    flex-direction: column; 
    align-items: flex-start; 
    text-align: left;
    gap: 6px;
    padding: 0; 
    text-shadow: none; 
    max-width: 800px; 
  }
  
  .help-section-content {
    display: flex;
    gap: 0.75rem;
    flex-wrap: nowrap;
    padding: 0; 
    align-content: baseline;
    align-items: flex-start;
    flex-direction: column; 
    list-style: none;
    margin-top: 8px;
  }
  
  .help-section-content a {
    font-size: 23px;
    font-family: "Inter", sans-serif;
    font-weight: bold;
    color: white;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap; 
    text-transform: none;
  }
  
  .help-section h1 {
    margin: 0; 
    white-space: nowrap; 
    line-height: 1.2;
    font-size: 1.8rem;
    font-family: "Rowdies", sans-serif;
    font-weight: 700;
  }
  
  .help-section p {
    margin: 0;
    line-height: 1.5;
    white-space: normal; 
    word-break: normal;
    overflow-wrap: anywhere;
}

.footer-content .help-section,
.footer-content .help-section-content {
    align-self: flex-start;
}

.help-section-content a {
    color: white;
    font-size: 23px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.help-section-content a:hover {
    color: #5DBD5A;
    text-decoration: underline;
}
