body {
  margin: 0;
  font-family: 'Arial', sans-serif;
  background-color: #ffffff;
  color: #003366;
 }
 header {
  background-color: #3399ff;
  padding: 40px 20px;
  text-align: center;
  color: white;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
 }
 header h1 {
  font-size: 48px;
  margin: 0;
  font-weight: bold;
 }
 main {
  padding: 30px 20px;
  text-align: center;
 }
 .section-box {
  background-color: #f0f8ff;
  border-radius: 12px;
  padding: 20px;
  max-width: 600px;
  margin: 20px auto;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
 }
 button {
  background-color: #3399ff;
  color: white;
  border: none;
  padding: 20px 40px;
  margin: 15px;
  font-size: 20px;
  border-radius: 12px;
  cursor: pointer;
  transition: background-color 0.2s ease;
 }
 button:hover {
  background-color: #0077cc;
 }
 #userCounter {
  margin-top: 30px;
  font-size: 18px;
  color: #000000; /* nero */
  font-weight: bold;
 }
 footer {
  background-color: transparent;
  color: #000000; /* nero */
  text-align: left;
  padding: 10px 20px;
  position: fixed;
  bottom: 0;
  left: 0;
  font-size: 14px;
 }
 #heartBtn {
  font-size: 30px;
  cursor: pointer;
  color: transparent;
  -webkit-text-stroke: 1px red; /* cuore vuoto */
  transition: color 0.4s ease;
 }
 #heartBtn.active {
  color: red; /* cuore pieno */
  -webkit-text-stroke: 0;
  animation: pulseHeart 0.6s ease forwards;
 }
 @keyframes pulseHeart {
  0% { transform: scale(1); }
  50% { transform: scale(1.4); }
  100% { transform: scale(1); }
 }
 a {
  color: black;
  position: relative;
  text-decoration: none;
  cursor: pointer;
 }
 a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -2px;
  left: 0;
  background-color: #005eff; /* colore blu sottolineatura */
  transition: width 0.3s ease;
 }
 a:hover::after {
  width: 100%;
 }
 .clickable-link, .clickable-title {
  color: #005eff;
  cursor: pointer;
  transition: color 0.3s ease, transform 0.2s ease;
 }
 .clickable-link:hover, .clickable-title:hover {
  color: #003bb5; /* colore più scuro al passaggio */
  text-decoration: underline;
  transform: scale(1.05); /* leggero ingrandimento */
 }
 .leaderboard-container {
  max-width: 600px;
  margin: 40px auto;
  padding: 20px;
  background: #f0f8ff;
  border-radius: 12px;
  box-shadow: 0 0 15px rgba(0, 0, 100, 0.2);
  text-align: center;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #003366;
 }
 .title {
  font-size: 2.2rem;
  margin-bottom: 5px;
 }
 .timer-info {
  font-size: 0.9rem;
  margin-bottom: 25px;
  color: #00509e;
 }
 .leaderboard-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 25px;
 }
 .leaderboard-table th,
 .leaderboard-table td {
  padding: 10px;
  border-bottom: 1px solid #cce4f7;
 }
 .leaderboard-table th {
  background-color: #00509e;
  color: white;
  font-weight: 600;
 }
 .leaderboard-table tr:nth-child(even) {
  background-color: #d7e6fb;
 }
 .user-rank {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: #002952;
 }
 .note {
  font-size: 0.9rem;
  color: #004080;
 }
 .note a {
  color: #002952;
  font-weight: bold;
  text-decoration: underline;
  cursor: pointer;
 }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 /* Nascondi popup Google Translate su tutti i dispositivi */
 .goog-te-banner-frame.skiptranslate,
 body > .goog-te-banner-frame {
  display: none !important;
 }
 
 body {
  top: 0 !important;
 }
 
 