:root {
  --bg-primary: #ffffff;
  --header-bg: #1e285a;
  --btn-blue: #243572;
  --btn-blue-hover: #045526;
  --text-dark: #111827;
  --footer-bg: #000000;
  --footer-text: #9ca3af;
  --star-color: #facc15;
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-primary);
  color: var(--text-dark);
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Banner de Topo */
.top-banner {
  background-color: var(--header-bg);
  color: #ffffff;
  padding: 18px 16px;
  display: flex;
  flex-direction: column; /* Coloca as estrelas em cima do texto por padrão (mobile) */
  align-items: center;
  justify-content: center;
  gap: 4px; /* Espaçamento menor entre as estrelas e o texto no mobile */
  font-size: 1.25rem;
  font-weight: 700;
  text-align: center;
}

.stars {
  color: var(--star-color);
  font-size: 1.5rem;
  letter-spacing: 2px;
  display: inline-flex;
  align-items: center;
}

/* Meia estrela (50% amarela e 50% cinza apagada) */
.star-half {
  background: linear-gradient(
    90deg, 
    var(--star-color) 70%, 
    rgba(255, 255, 255, 0.3) 70%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Volta a ficar lado a lado em telas maiores (desktop) */
@media (min-width: 768px) {
  .top-banner {
    flex-direction: row; /* Fica em linha no computador */
    gap: 10px;
  }
}

/* Corpo Principal */
.main-wrapper {
  flex: 1;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 30px 20px 40px;
  text-align: center;
}

.notice-text {
  font-size: 1.15rem;
  font-weight: 700;
  max-width: 800px;
  margin: 0 auto 35px;
  line-height: 1.4;
  color: #000000;
}

.product-title {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 25px;
  color: #000000;
}

.content-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .content-grid {
    flex-direction: row;
    align-items: center;
    gap: 50px;
  }
}

.image-container {
  width: 100%;
  max-width: 380px;
}

.image-container img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  display: block;
}

/* Botões dos Países */
.buttons-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: 380px;
}

.country-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background-color: var(--btn-blue);
  color: #ffffff;
  padding: 16px 24px;
  border-radius: 10px;
  font-size: 1.45rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.15);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.country-btn:hover {
  background-color: var(--btn-blue-hover);
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 20px rgba(23, 36, 82, 0.4);
}

.country-btn svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.25s ease;
}

.country-btn:hover svg {
  transform: scale(1.15) rotate(-5deg);
}

.cta-message {
  font-size: 1.35rem;
  font-weight: 800;
  color: #000000;
  margin-top: 10px;
}

/* Rodapé */
.footer {
  background-color: var(--footer-bg);
  color: var(--footer-text);
  padding: 40px 20px;
  font-size: 0.72rem;
  line-height: 1.6;
}

.footer-content {
  max-width: 1050px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
  text-align: justify;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 10px;
}

.footer-links button {
  background: none;
  border: none;
  color: #d1d5db;
  text-decoration: underline;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  padding: 0;
}

.footer-links button:hover {
  color: #ffffff;
}

.disclaimer-title {
  font-weight: 800;
  color: #ffffff;
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
}

/* Modais */
.modal-backdrop {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.75);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  padding: 20px;
  backdrop-filter: blur(4px);
}

.modal-content {
  background-color: #ffffff;
  color: #1f2937;
  max-width: 650px;
  width: 100%;
  border-radius: 12px;
  padding: 28px 24px;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: #e5e7eb;
  border: none;
  font-size: 1.25rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
}

.modal-header {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 16px;
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 10px;
}

.modal-body {
  font-size: 0.95rem;
  line-height: 1.6;
}

.modal-direct-link {
  display: inline-block;
  margin-top: 15px;
  color: var(--btn-blue);
  font-weight: 700;
  text-decoration: underline;
}