/* =========================
   WRAPPER
========================= */
.scc-single-wrapper{
    max-width:1100px;
    margin:50px auto;
    padding:0 20px;
    font-family:'Segoe UI',sans-serif;
    color:#f5f5f5;
}

/* =========================
   CARD LAYOUT
========================= */
.scc-card-layout{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:40px;
    background:#111;
    padding:30px;
    border-radius:20px;
    box-shadow:0 10px 30px rgba(0,0,0,.5);
    transition:all .3s ease;
}

.scc-card{
    background:#111;
    color:#fff;
    padding:18px;
    border-radius:16px;
    box-shadow:0 10px 25px rgba(0,0,0,.4);
    transition:all .3s ease;
}

/* =========================
   MEDIA
========================= */
.scc-main-image img{
    width:100%;
    border-radius:18px;
    transition:all .3s ease;
}

.scc-thumbs{
    display:flex;
    gap:12px;
    margin-top:15px;
    overflow-x:auto;
    padding-bottom:5px;
}

.scc-thumb-img{
    width:80px;
    border-radius:10px;
    cursor:pointer;
    opacity:.6;
    transition:all .25s ease;
}

.scc-thumb-img:hover,
.scc-thumb-img.active{
    opacity:1;
    transform:scale(1.1);
}

/* =========================
   INFO
========================= */
.scc-title{
    margin-bottom:25px;
    font-size:28px;
    letter-spacing:1px;
    color:#f5f5f5;
}

.scc-stats-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:15px;
    margin-bottom:25px;
}

.scc-box{
    background:#1b1b1b;
    padding:14px;
    border-radius:14px;
    transition:all .3s ease;
}

.scc-box:hover{
    background:#222;
}

.scc-stats-grid .label{
    display:block;
    font-size:12px;
    color:#aaa;
}

.scc-stats-grid .value{
    font-size:16px;
    font-weight:700;
}

.scc-description{
    font-size:14px;
    line-height:1.7;
}

/* =========================
   ARCHIVE GRID
========================= */
.scc-grid{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(320px,1fr));
    gap:30px;
}

.scc-card h4{
    margin:10px 0;
}

/* =========================
   RESPONSIVE
========================= */
@media(max-width:900px){
    .scc-card-layout{
        grid-template-columns:1fr;
    }
}
.scc-series-wrapper{
    max-width:1200px;
    margin:50px auto;
    padding:0 20px;
    font-family:'Segoe UI',sans-serif;
}

.scc-series-title{
    font-size:32px;
    margin-bottom:30px;
}

.scc-series-grid{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(120px,1fr));
    gap:20px;
}

.scc-series-card{
    text-align:center;
    transition:all .3s ease;
}

.scc-series-card a{
    text-decoration:none;
}

.scc-series-thumb{
    width:100%;
    border-radius:10px;
    transition:all .25s ease;
}

.scc-series-card:hover .scc-series-thumb{
    transform:scale(1.05);
}

.scc-card-number{
    margin-top:5px;
    font-size:14px;
    font-weight:700;
}

/* B/N per card non possedute */
.not-owned img{
    filter: grayscale(100%);
    opacity:0.6;
    transition:all .25s ease;
}
.not-owned img:hover{
    filter: none;
    opacity:1;
}

/* Card possedute */
.owned img{
    filter: none;
    opacity:1;
}
.scc-archive-wrapper{
    max-width:1200px;
    margin:50px auto;
    padding:0 20px;
    font-family:'Segoe UI',sans-serif;
}

.scc-archive-title{
    font-size:32px;
    margin-bottom:30px;
    text-align:center;
}

.scc-archive-grid{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(120px,1fr));
    gap:20px;
}

.scc-archive-card{
    text-align:center;
    transition:all .3s ease;
}

.scc-archive-card a{
    text-decoration:none;
}

.scc-archive-thumb{
    width:100%;
    border-radius:10px;
    transition:all .25s ease;
}

.scc-archive-card:hover .scc-archive-thumb{
    transform:scale(1.05);
}

.scc-card-number{
    margin-top:5px;
    font-size:14px;
    font-weight:700;
}

.scc-card-title{
    font-size:12px;
    margin-top:2px;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

/* B/N per card non possedute */
.not-owned img{
    filter: grayscale(100%);
    opacity:0.6;
    transition:all .25s ease;
}
.not-owned img:hover{
    filter:none;
    opacity:1;
}

/* Card possedute */
.owned img{
    filter:none;
    opacity:1;
}
/* ARCHIVE - GALLERY */
.scc-archive-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Segoe UI', sans-serif;
}

.scc-archive-title {
    font-size: 36px;
    text-align: center;
    margin-bottom: 30px;
}

.scc-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 15px;
    justify-items: center;
}

.scc-thumb-wrapper {
    position: relative;
    width: 120px;
    height: 120px;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
    cursor: pointer;
}

.scc-thumb-wrapper:hover {
    transform: scale(1.05);
}

.scc-archive-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.scc-thumb-info {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    text-align: center;
    color: #fff;
    font-size: 14px;
    background: rgba(0, 0, 0, 0.5);
    padding: 5px;
}

.scc-card-number {
    font-weight: bold;
    font-size: 16px;
}

/* B/N per card non posseduta */
.scc-thumb-wrapper.not-owned img {
    filter: grayscale(100%);
    opacity: 0.6;
}

.scc-thumb-wrapper.owned img {
    filter: none;
    opacity: 1;
}
.scc-series-card a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.scc-series-card a:hover img {
    transform: scale(1.05);
    transition: transform 0.3s;
}

/* =========================
   MINIATURE (THUMBNAILS) - Modifiche per evitare sovrapposizioni
========================= */
.scc-gameplay-icons{
    display:flex;
    gap:4px;
    margin:6px 0;
    justify-content:center;
}

.scc-gameplay-icon{
    width:20px;
    height:20px;
    object-fit:contain;
}
.scc-thumb-wrapper {
    position: relative;
    width: 100%;
    height: 120px; /* Riduci l'altezza per evitare sovrapposizioni */
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
}

.scc-thumb-wrapper:hover {
    transform: scale(1.05);
}

.scc-archive-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}

.scc-series-thumb,
.scc-archive-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

/* Regola la griglia delle miniature per evitarne l'accavallamento */
.scc-archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); /* Griglia con dimensioni più gestibili */
    gap: 20px;
    justify-items: center;
    align-items: center;
}

.scc-series-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); /* Stessa griglia per la serie */
    gap: 20px;
}
