body {
    background-color: #1E2A38;
    color: #F3F0F7;
    font-family: Arial, sans-serif;
    margin: 20px;
}

.game-header h1 {
    font-size: 2em;
    font-weight: bold;
    color: #F3F0F7;
    margin-bottom: 20px;
}

.wishlist-tracking {
    margin-bottom: 20px;
}

.wishlist-button {
    background-color: #2D3F52;
    color: #F3F0F7;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    cursor: pointer;
    width: 100%;
}

.wishlist-button:hover {
    background-color: #BFCAD3;
    color: #1E2A38;
}

.wishlist-divider-horizontal {
    width: 100%;
    height: 2px;
    background-color: #BFCAD3;
    opacity: 1;
    margin: 0px 0;
}

.tracking-button {
    background-color: #4CAF50;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 10px 15px;
    font-size: 0.9em;
    cursor: pointer;
    width: 100%;
    margin-top: 10px;
}

.tracking-button:hover {
    background-color: #45a049;
}

/* Layout a due colonne 60/40 */
/* Forza layout a due colonne, ignorando Astra o altri temi */
.container {
  display: flex;
  flex-wrap: nowrap;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  gap: 30px;
}

.colonna {
  min-width: 0;
  box-sizing: border-box;
}

.colonna:first-child {
  flex: 0 0 60%;
}

.colonna:last-child {
  flex: 0 0 40%;
}

/* Blocchi sidebar */
.sidebar-block,
.wishlist-tracking {
    display: flex;
    flex-direction: column;
    gap: 20px;  /* spaziatura verticale tra elementi */
}

.game-rating {
    margin-bottom: 30px;
}

.tracking input[type="number"] {
    width: 80px;
    padding: 5px;
    margin-right: 10px;
    background-color: #2D3F52;
    color: #F3F0F7;
    border: 1px solid #BFCAD3;
    border-radius: 5px;
}

.game-trailer {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    background: #000;
    margin: 20px 0;
}

.game-trailer iframe,
.game-trailer video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: cover;
}

.game-rating,
.game-prices,
.game-description,
.game-official,
.game-twitch {
    margin: 20px 0;
}

.game-prices p a {
    color: #D6D3E7;
    text-decoration: none;
}

.game-prices p a:hover {
    text-decoration: underline;
    color: #BFCAD3;
}

.game-description {
    font-size: 1.1em;
    line-height: 1.6em;
}

.game-official a {
    background-color: #D6D3E7;
    color: #1E2A38;
    padding: 8px 12px;
    border-radius: 5px;
    text-decoration: none;
}

.game-official a:hover {
    background-color: #BFCAD3;
    color: #1E2A38;
}

section h2 {
    font-size: 1.5em;
    margin-bottom: 10px;
    border-bottom: 2px solid #2D3F52;
    padding-bottom: 5px;
}

.game-screenshots-scroller {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    width: 100%;            /* Resta nella colonna */
    gap: 10px;
    padding: 10px 0;
}

.game-screenshots-scroller a {
    flex: 0 0 auto;
}

.game-screenshots-scroller img {
    height: 120px;              /* Altezza uniforme */
    width: auto;                /* Larghezza fluida */
    flex-shrink: 0;             /* NON si restringe */
    max-width: none !important; /* Blocca la regola globale */
    display: block;
    border-radius: 5px;
}

.user-rating-box {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    background-color: #2D3F52;
    border-radius: 8px;
    padding: 8px 14px;
    font-family: Arial, sans-serif;
    margin: 10px 0;
    width: 100%;
}

.rating-score {
    font-size: 1.6em;
    font-weight: bold;
    color: #D6D3E7;
    position: relative;
    padding-right: 14px;
}

.rating-score::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 1px;
    height: 100%;
    background-color: #D6D3E7;
    opacity: 0.5;
}

.rating-label {
    color: #D6D3E7;
    font-size: 0.9em;
    line-height: 1.2em;
}