.rotate-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
}

@media screen and (min-width: 1024px)  {
  .rotate-overlay {
	display: none;
  }  
}

.seo-primary-content h1 {
    text-align: center;
    font-size: 1.6em;
    margin: 10px auto;
	width: fit-content;
    color: black;
    background-color: #FFF568; /* come i pulsanti nav */
    padding: 5px 15px;
    border: 2px solid black;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.seo-primary-content p {
    text-align: center;
    font-size: 0.7em;
    margin: 10px auto;
	width: fit-content;
    color: black;
    background-color: #FFF568; /* come i pulsanti nav */
    padding: 5px 15px;
    border: 2px solid black;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.seo-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Wrapper generale in stile Gotchimon */
.gotchimon-high-scores-wrapper {
    max-width: 800px;
    margin: 40px auto 0 auto; /* stesso margine top del menu/news */
    padding: 20px;
    font-family: "Verdana", sans-serif;
    font-weight: bold;
}

/* Titolo della sezione */
.gotchimon-high-scores-title {
    text-align: center;
    font-size: 2em;
    margin-bottom: 20px;
    color: black;
    background-color: #FFF568; /* come i pulsanti nav */
    display: inline-block;
    padding: 5px 15px;
    border: 2px solid black;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* Lista giochi */
.gotchimon-high-scores-games-list {
    margin-bottom: 20px;
	z-index: 1000;
}

.high-scores-games {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.high-scores-games li {
    margin: 0;
}

/* Link ai giochi */
.high-score-game-link {
    display: inline-block;
    padding: 8px 15px;
    border: 2px solid black;
    border-radius: 8px;
    background-color: #FFF568; /* come nav e news */
    text-decoration: none;
    color: black;
    transition: all 0.2s ease;
    box-shadow:
        0 2px 5px rgba(0, 0, 0, 0.2),
        0 0 0 3px rgba(239, 206, 117, 0.9),
        0 5px 15px rgba(0, 0, 0, 0.2);
}

.high-score-game-link:hover {
    background-color: #ece475; /* giallo più caldo come hover */
}

.high-score-game-link.active {
    background-color: #ece475; /* evidenzia gioco selezionato */
    color: black;
}

/* Tabelle punteggi */

#top-high-scores-list > h3, #top-week-high-scores-list > h3 {
	padding: 10px 20px;
    background-color: #ece475; /* stesso colore dello sfondo login */
    border: 1px solid #ccc;
    border-radius: 8px;
    box-shadow:
        0 2px 10px rgba(0, 0, 0, 0.1),
        0 0 0 5px rgba(239, 206, 117, 0.9),
        0 5px 15px rgba(0, 0, 0, 0.2);
    font-family: "Verdana";
    font-weight: bold;
    text-align: center;
}

.high-scores-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    background-color: #ece475; /* stesso background container feed */
    border: 2px solid black;
    border-radius: 8px;
    box-shadow:
        0 2px 10px rgba(0, 0, 0, 0.1),
        0 0 0 5px rgba(239, 206, 117, 0.9),
        0 5px 15px rgba(0, 0, 0, 0.2);
    overflow: hidden; /* per smussare gli angoli */
}

.high-scores-table th,
.high-scores-table td {
    border: 1px solid black;
    padding: 8px 12px;
    text-align: center;
    color: black;
    font-weight: normal;
}

.high-scores-table th {
    background-color: #FFF568; /* testata coerente con pillole gialle */
}

.no-scores {
    text-align: center;
    color: #4A90E2; /* blu coerente con link login/news */
    font-style: italic;
    padding: 10px;
}

@media screen and (max-width: 380px)  {
  .date {
	display: none;
  }  
}

.slider-wrapper {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.slider-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slide {
  flex: 0 0 100%;
  max-width: 100%;
}

.slide img {
  width: 350px;
  height: auto;
  display: block;
  margin: 0 auto;
}

@media screen and (max-width: 480px)  {
  .slide img {
    width: 200px;
  }
}

.slider-prev,
.slider-next {
  position: absolute;
  top: 30%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  padding: 0.5rem 1rem;
  border-radius: 50%;
}

.slider-prev { left: 10px; }
.slider-next { right: 10px; }