/**
 * HSA Store Product Eligibility Game
 * Updated Main stylesheet to match the layout in images
 */

/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Roboto", sans-serif;
}

body {
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  position: relative;
}

/* Game modal container */
.game-modal {
  background-color: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  width: 100%;
  max-width: 800px;
  min-height: 500px;
  /* overflow: hidden;*/
  position: relative;
}

/* Game screens */
.screen {
  padding: 20px;
  position: relative;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  background-color: #f8f5ff;
}

/* Header styles */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.logo img {
  cursor: pointer;
  max-width: 300px;
  object-fit: contain;
}

.logo img:hover,
.logo img:focus {
  opacity: 0.7;
}

.close-btn {
  background: none;
  border: none;
  font-size: 16px;
  cursor: pointer;
  color: #333;
  font-weight: bold;
}

/* Typography */
h1 {
  color: #5d43b5;
  text-align: center;
  font-size: 28px;
  margin-bottom: 24px;
  font-weight: 600;
}

h2 {
  color: #333;
  font-size: 22px;
  margin-bottom: 15px;
  font-weight: 600;
  text-align: center;
}

h3 {
  color: #333;
  font-size: 18px;
  margin-bottom: 10px;
  font-weight: 600;
}

p {
  color: #555;
  margin-bottom: 12px;
  line-height: 1.5;
  font-size: 15px;
}

/* Button styles */
.primary-btn,
.secondary-btn,
.positive-btn,
.negative-btn {
  padding: 12px 24px;
  border-radius: 4px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.2s ease;
  display: inline-block;
  text-align: center;
}

.primary-btn {
  background-color: #1c2e4a;
  color: white;
}

.secondary-btn {
  background-color: white;
  color: #1c2e4a;
  border: 1px solid #1c2e4a;
}

.positive-btn {
  background-color: #4caf50;
  color: white;
}

.negative-btn {
  background-color: #ff5252;
  color: white;
}

.primary-btn:hover,
.secondary-btn:hover,
.positive-btn:hover,
.negative-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Welcome screen styles */
.welcome-screen h1 {
  margin-top: 10px;
}

.start-game-btn {
  align-self: center;
  padding: 15px 30px;
  margin-top: 20px;
  font-size: 18px;
  width: 50%;
  max-width: 300px;
  width: 330px;
}

.rules-container {
  background-color: white;
  border-radius: 12px;
  padding: 24px;
  margin: 10px 0 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.rules-content {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.rules-image {
  flex: 0 0 auto;
}

.rules-image img {
  width: 100%;
  height: auto;
}

.rules-text {
  flex: 1;
}

.rules-text p {
  margin-bottom: 10px;
}

/* Countdown screen styles */
.countdown-screen {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.countdown-number {
  font-size: 120px;
  font-weight: bold;
  color: #5d43b5;
  margin-top: 40px;
}

/* Game screen styles */
.game-stats {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.stat-item {
  background-color: #5d43b5;
  color: white;
  border-radius: 8px;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 100px;
  justify-content: center;
}

.stat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-icon i {
  font-size: 18px;
  color: white;
}

/* Using font icons from the images */
.icon-document:before {
  content: "📄";
}

.icon-timer:before {
  content: "⏱️";
}

.icon-flag:before {
  content: "🏁";
}

.icon-check:before {
  content: "✅";
}

.icon-x:before {
  content: "❌";
}

.icon-share:before {
  content: "🔗";
}

.stat-value {
  font-weight: bold;
  font-size: 16px;
}

.product-container {
  display: flex;
  background-color: white;
  border-radius: 12px;
  padding: 20px;
  margin-top: 10px;
  gap: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  flex: 1;
}

.product-image {
  flex: 0 0 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.product-image img {
  max-width: 100%;
  max-height: 180px;
  object-fit: contain;
}

.placeholder-image {
  width: 180px;
  height: 180px;
  background-color: #f0f0f0;
  border-radius: 8px;
}

.product-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-eligibility {
  margin-top: auto;
  padding-top: 20px;
}

.question-text {
  font-weight: bold;
  margin-bottom: 16px;
  font-size: 16px;
}

.eligibility-buttons {
  display: flex;
  gap: 16px;
}

.eligibility-buttons button {
  flex: 1;
  padding: 12px;
}

/* Bottom store link  */
.store-link {
  color: #666;
  font-size: 14px;
  margin-top: 10px;
}

.store-linkli {
  color: #5d43b5 !important;
  text-decoration: none;
}

.store-link a {
  color: #5d43b5 !important;
  text-decoration: none;
}
.store-link :hover {
  color: #5d43b5 !important;
  text-decoration: underline;
}

.btns-cta {
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.btns-cta a {
  text-decoration: none;
  color: #1c2e4a;
  margin-top: 10px;
}

.btns-cta a:hover,
.btns-cta a:focus {
  text-decoration: underline;
}

/* Calculating screen styles */
.calculating-screen {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.calculating-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.trophy-icon {
  margin-bottom: 20px;
}

.trophy-icon img {
  width: 100px;
  height: auto;
}

.calculating-text {
  font-size: 24px;
  font-weight: bold;
  color: #5d43b5;
  margin-bottom: 10px;
}

.calculating-subtext {
  font-size: 18px;
  color: #555;
}

/* User form screen styles */
.user-form-container {
  padding: 20px;
  text-align: center;
  z-index: 1;
}

.celebration-graphic {
  margin-bottom: 15px;
}

.celebration-graphic img {
  height: 100px;
  width: auto;
}

.congrats-message p {
  margin-bottom: 20px;
}

.action-buttons {
  display: flex;
  gap: 16px;
  margin: 20px auto;
  max-width: 450px;
  justify-content: center;
}

.action-buttons button {
  flex: 1;
}

.try-cta {
  margin-top: 10px;
  font-size: 14px;
}

.try-link {
  color: #5d43b5;
  text-decoration: none;
  font-weight: bold;
}

.form-modal {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  border-radius: 12px;
  padding: 22px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  width: 90%;
  max-width: 500px;
  z-index: 10;
  text-align: center;
}

.email-icon {
  margin-bottom: 15px;
}

.email-icon img {
  width: 60px;
  height: auto;
}

.form-instructions {
  font-size: 14px;
  margin-bottom: 20px;
  text-align: start;
  padding: 0 0 0 20px;
}

.form-row {
  display: flex;
  gap: 16px;
}

.newsletter {
  color: #555;
  display: block;
  text-align: start;
  font-size: 12px;
  margin-bottom: 5px;
}

.form-group {
  flex: 1;
  margin-bottom: 6px;
  text-align: left;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  color: #555;
  font-size: 14px;
}

.form-group input[type="text"],
.form-group input[type="email"] {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 15px;
}

.form-group.checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-group.checkbox input {
  margin: 0;
}

.submit-btn {
  width: 100%;
  margin-top: 10px;
}

/* Leaderboard screen styles */
.leaderboard-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 20px;
}

.ranking-box h3 {
  color: white;
  background-color: #5d43b5;
  padding: 10px 15px;
  border-radius: 4px;
  margin: -20px -20px 15px -20px;
  text-align: center;
}

.ranking-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.ranking-table th,
.ranking-table td {
  padding: 8px 10px;
  text-align: left;
  border-bottom: 1px solid #eee;
}

.ranking-table th {
  font-weight: bold;
  color: #555;
}

.ranking-table tr.current-user {
  background-color: #f8f5ff;
  font-weight: bold;
}

.medal {
  font-size: 18px;
  display: inline-block;
}

.email-notice {
  font-size: 12px;
  color: #777;
  margin-top: 15px;
  text-align: center;
}

.play-again-link {
  color: #5e5e5e;
  text-decoration: none;
  display: block;
  margin: 15px 0;
  text-align: center;
  font-family: Roboto, sans-serif;
  font-size: 16px;
}

.view-coupon-link {
  font-family: Roboto, sans-serif;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border: 2px solid #5d43b5;
  border-radius: 6px;
  background-color: white;
  color: #5d43b5;
  font-size: 16px;

  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

/* Results screen styles */
.results-screen h2 {
  color: #5d43b5;
  text-align: center;
  margin: 30px 0 20px;
  font-weight: bold;

  font-family: Volkolak Serif, "Times New Roman", Times, serif;
  font-weight: 500;
  font-size: 32px;
  line-height: 100%;
  letter-spacing: 0%;
}

.results-list {
  overflow-y: auto;
  padding: 10px 0;
}

.result-item {
  display: flex;
  background-color: white;
  border-radius: 12px;
  padding: 15px;
  margin-bottom: 15px;
  gap: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.result-item .product-image {
  flex: 0 0 120px;
  height: 120px;
}

.product-details {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-details h3 {
  color: #333;
  margin-bottom: 5px;
  font-size: 16px;
}

.result-status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 10px 0;
  font-size: 14px;
}

.status-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.status-icon.correct {
  color: #4caf50;
}

.status-icon.incorrect {
  color: #ff5252;
}

.result-status.eligible {
  color: #4caf50;
}

.result-status.not-eligible {
  color: #ff5252;
  background-color: #fae5e5;
}

.buy-btn {
  background-color: #1c2e4a;
  color: white;
  padding: 8px 16px;
  border-radius: 4px;
  text-decoration: none;
  display: inline-block;
  margin-top: auto;
  align-self: flex-end;
  font-size: 14px;
  font-weight: 600;
}

.view-more-btn {
  background-color: #1c2e4a;
  color: white;
  padding: 10px 20px;
  border-radius: 4px;
  border: none;
  font-weight: 600;
  cursor: pointer;
  margin: 10px auto 20px;
  display: block;
  width: 200px;
}

/* Feedback elements */
.answer-feedback {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
}

.correct-answer {
  background-color: rgba(76, 175, 80, 0.2);
}

.wrong-answer {
  background-color: rgba(255, 82, 82, 0.2);
}

.share-feedback {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #333;
  color: white;
  padding: 10px 20px;
  border-radius: 4px;
  z-index: 1000;
  font-size: 14px;
}

/* Estilos específicos para a tela de boas-vindas */
.welcome-screen {
  background-color: #f8f5ff;
  padding: 48px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}

.welcome-screen .header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.welcome-screen .close-btn {
  background: none;
  border: none;
  font-size: 24px;
  font-weight: bold;
  color: #333;
  cursor: pointer;
}

.welcome-screen h1 {
  color: #5d43b5;
  text-align: center;
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 40px;
}

.rules-container {
  background-color: white;
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 40px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.rules-container h2 {
  color: #333;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 24px;
}

.rules-content {
  display: flex;
  gap: 24px;
}

.rules-image {
  flex: 0 0 auto;
  width: 180px;
}

.rules-image img {
  width: 100%;
  height: auto;
}

.rules-text {
  flex: 1;
}

.rules-text p {
  color: #555;
  line-height: 1.5;
  font-size: 16px;
}

.rules-text p:last-child {
  margin-bottom: 0;
}

.start-game-btn {
  background-color: #1c2e4a;
  color: white;
  font-weight: 600;
  padding: 16px 24px;
  border-radius: 4px;
  border: none;
  font-size: 16px;
  cursor: pointer;
  display: block;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  transition: background-color 0.2s;
}

.start-game-btn:hover {
  background-color: #152440;
}

/* Ajustes responsivos */
@media only screen and (max-width: 768px) {
  .welcome-screen {
    padding: 24px;
  }

  .rules-content {
    flex-direction: column;
    align-items: center;
  }

  .rules-image {
    width: 140px;
    margin-bottom: -30px;
  }
}

@media only screen and (max-width: 480px) {
  .welcome-screen h1 {
    font-size: 24px;
    margin-bottom: 5px;
  }

  .rules-container {
    padding: 16px;
    margin-bottom: -3px;
  }

  .welcome-screen .header {
    margin-bottom: 10px;
  }

  .rules-container h2 {
    font-size: 18px;
  }

  .rules-text p {
    font-size: 14px;
  }
  .rules-content {
    gap: 3px;
  }
}

/* Estilos específicos para a tela de jogo */
.game-screen {
  background-color: #f8f5ff;
  padding: 24px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}

/* Header com logo e botão fechar */
.game-screen .header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.game-screen .close-btn {
  background: none;
  border: none;
  font-size: 24px;
  font-weight: bold;
  color: #333;
  cursor: pointer;
}

/* Área de estatísticas do jogo */
.game-stats {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.stat-item {
  background-color: #5d43b5;
  color: white;
  border-radius: 8px;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 110px;
}

.stat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
}

.stat-value {
  font-weight: 600;
  font-size: 16px;
  flex: 1;
  text-align: center;
}

/* Conteúdo principal */
.product-container {
  display: flex;
  background-color: white;
  border-radius: 12px;
  padding: 24px;
  gap: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  margin-top: 10px;
}

/* Imagem do produto */
.product-image {
  flex: 0 0 auto;
  width: 230px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f9f9f9;
  border-radius: 8px;
  padding: 10px;
}

.product-image img {
  max-width: 100%;
  max-height: 220px;
  object-fit: contain;
}

/* Informações do produto */
.product-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-info h3 {
  color: #5d43b5;
  margin-bottom: 5px;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
}

.product-info p {
  color: #000000;
  font-size: 16px;
  margin-bottom: 12px;
  line-height: 1.4;
}

/* Área da questão de elegibilidade */
.product-question {
  margin-top: auto;
  font-weight: 500;
  margin-bottom: 16px;
  font-size: 16px;
  color: #333;
}

/* Botões de elegibilidade */
.eligibility-buttons {
  display: flex;
  gap: 16px;
}

.negative-btn,
.positive-btn {
  flex: 1;
  padding: 12px;
  border-radius: 6px;
  border: none;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.1s, box-shadow 0.1s;
}

.negative-btn {
  background-color: #ff5252;
  color: white;
}

.positive-btn {
  background-color: #4caf50;
  color: white;
}

.negative-btn:hover,
.positive-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.negative-btn:active,
.positive-btn:active {
  transform: translateY(0);
  box-shadow: none;
}

/* Responsividade */
@media only screen and (max-width: 768px) {
  .product-container {
    flex-direction: column;
    align-items: center;
  }

  .product-image {
    width: 100%;
    max-width: 230px;
    margin-bottom: 20px;
  }
}

@media only screen and (max-width: 480px) {
  .game-stats {
    flex-wrap: wrap;
    gap: 10px;
  }

  .stat-item {
    flex: 1;
    min-width: 100px;
  }

  .eligibility-buttons {
    flex-direction: column;
  }
}

/* Estilos para a seção de estatísticas do jogo */
.game-stats-section {
  display: flex;
  justify-content: space-between;
  padding: 0 10px;
}

/* Títulos acima das caixas */
.stat-title {
  font-size: 16px;
  font-weight: 700;
  color: #333;
  margin-bottom: 8px;
  font-family: Inter, Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans",
    "Helvetica Neue", sans-serif;
  text-align: center;
}

/* Container de cada estatística */
.stat-container {
  display: flex;
  flex-direction: column;
}

/* Item de estatística (caixa roxa) */
.stat-item {
  background-color: #5d43b5;
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 130px;
  height: 50px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Ícone dentro da caixa roxa */
.stat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.stat-icon svg,
.stat-icon img {
  width: 22px;
  height: 22px;
  fill: white;
}

/* Caixa branca para o valor */
.stat-value-container {
  background-color: white;
  border-radius: 6px;
  padding: 6px 10px;
  min-width: 60px;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Texto do valor */
.stat-value {
  font-weight: bold !important;
  font-size: 16px;
  color: #000000;
}

/* Estilos específicos para cada estatística */
.round-icon {
  color: white;
  font-size: 22px;
}

.timer-icon {
  color: white;
  font-size: 22px;
}

.score-icon {
  color: white;
  font-size: 22px;
}

/* Linha separadora */
.separator-line {
  height: 1px;
  background-color: #e8e8e8;
  margin: 20px 0;
  width: 100%;
}

/* Responsividade */
@media only screen and (max-width: 768px) {
  .game-stats-section {
    padding: 0;
  }

  .stat-item {
    width: 110px;
  }
}

@media only screen and (max-width: 480px) {
  .game-stats-section {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .stat-item {
    width: 200px;
  }
}
/* Estilos para a tela de leaderboard */
.leaderboard-screen {
  background-color: #f8f5ff;
  padding: 24px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  display: flex;
  flex-direction: column;
}

/* Header com logo e botão fechar */
.leaderboard-screen .header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.leaderboard-screen .close-btn {
  background: none;
  border: none;
  font-size: 24px;
  font-weight: bold;
  color: #333;
  cursor: pointer;
}
.results-screen .close-btn {
  background: none;
  border: none;
  font-size: 18px;
  font-weight: bold;
  color: #333;
  cursor: pointer;
}

.results-screen .store-link a {
  font-size: 14px;
}

/* Container principal */
.leaderboard-content {
  display: flex;
  gap: 24px;
  flex: 1;
}

/* Seção de celebração (lado esquerdo) */
.celebration-section {
  flex: 0 0 40%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.celebration-graphic {
  margin-bottom: 20px;
  max-width: 220px;
}

.celebration-graphic img {
  width: 100%;
  height: auto;
}

.congrats-message h2 {
  color: #5d43b5;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 5px;
}

.congrats-message h3 {
  color: #5d43b5;
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 10px;
}

.congrats-message p {
  color: #666;
  font-size: 16px;
}

.trophy-emoji {
  color: #ffd700;
  font-size: 22px;
}

/* Botões de ação */
.action-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 280px;
  margin-bottom: 15px;
}

.view-score-btn {
  background-color: #1c2e4a;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.share-results-btn {
  background-color: white;
  color: #5d43b5;
  border: 1px solid #5d43b5;
  border-radius: 4px;
  padding: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s;
}

.share-results-btn .icon {
  width: 20px; /* Largura da imagem */
  height: 20px; /* Altura da imagem */
  margin-right: 8px; /* Espaçamento entre a imagem e o texto */
}

.view-score-btn:hover,
.share-results-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.play-again-link:hover {
  text-decoration: underline;
}

.share-icon {
  font-size: 18px;
}

/* Seção de ranking (lado direito) */
.ranking-section {
  flex: 0 0 55%;
  margin-left: 25px;
}

.ranking-box {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.ranking-header {
  background-color: #55449a;
  border-radius: 8px;
  color: white;
  padding: 12px 16px;
  font-size: 18px;
  font-weight: 600;
  text-align: center;
}

.ranking-table {
  width: 100%;
  border-collapse: collapse;
}

.ranking-table th {
  color: #5d43b5;
  font-weight: 600;
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid #eee;
}

.ranking-table td {
  padding: 12px 16px;
  border-bottom: 1px solid #eee;
  color: #333;
  font-size: 15px;
}

.ranking-table tr:last-child td {
  border-bottom: none;
}

.ranking-table tr.highlight-row {
  background-color: #f8f5ff;
  font-weight: 600;
}

.medal {
  font-size: 18px;
  display: inline-block;
}

.medal-gold {
  color: #ffd700;
}

.medal-silver {
  color: #c0c0c0;
}

.medal-bronze {
  color: #cd7f32;
}

.email-notice {
  text-align: center;
  color: #666;
  font-size: 14px;
  margin-top: 15px;
}

/* Responsividade */
@media only screen and (max-width: 768px) {
  .leaderboard-content {
    flex-direction: column;
  }

  .celebration-section {
    margin-bottom: 30px;
  }

  .action-buttons {
    max-width: 100%;
  }

  .game-screen .header {
    margin-top: 45px;
  }

  .welcome-screen .header {
    margin-top: 45px;
  }
  .leaderboard-screen .header {
    margin-top: 45px;
  }
  .header {
    margin-top: 45px;
  }
}
