.scm-wrapper {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
}

/* Banner próximo concierto */
.scm-next-banner {
    margin-bottom: 32px;
    padding: 28px;
    background: #000000;
    color: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    animation: scmFadeUp 0.8s ease both;
}

.scm-next-banner__content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 28px;
    align-items: center;
}

.scm-label {
    display: inline-block;
    margin-bottom: 12px;
    padding: 7px 12px;
    background: #ffffff;
    color: #000000;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

.scm-next-banner h2 {
    margin: 0 0 12px;
    font-size: clamp(32px, 5vw, 58px);
    line-height: 1;
}

.scm-next-meta,
.scm-next-place {
    margin: 0 0 10px;
    font-size: 18px;
}

.scm-next-button {
    display: inline-block;
    margin-top: 18px;
    padding: 13px 22px;
    background: #ffffff;
    color: #000000;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.scm-next-button:hover {
    transform: translateY(-2px);
    opacity: 0.85;
}

.scm-next-banner__image {
    position: relative;
    animation: scmPosterFloat 3.5s ease-in-out infinite;
}

.scm-next-banner__image img {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    border-radius: 18px;
    display: block;
    box-shadow: 0 18px 45px rgba(0,0,0,0.35);
}

.scm-next-banner-ended {
    text-align: center;
}

/* Countdown */
.scm-countdown {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 26px;
}

.scm-countdown div {
    min-width: 92px;
    padding: 16px 12px;
    background: rgba(255,255,255,0.12);
    border-radius: 14px;
    text-align: center;
}

.scm-countdown strong {
    display: block;
    font-size: 34px;
    line-height: 1;
}

.scm-countdown span {
    display: block;
    margin-top: 7px;
    font-size: 13px;
    text-transform: uppercase;
}

/* Estadísticas */
.scm-stats {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 34px;
}

.scm-stats div {
    min-width: 180px;
    padding: 18px 24px;
    background: #f4f4f4;
    border-radius: 16px;
    text-align: center;
}

.scm-stats strong {
    display: block;
    font-size: 34px;
    line-height: 1;
    color: #000000;
}

.scm-stats span {
    display: block;
    margin-top: 8px;
    color: #333333;
    font-size: 14px;
}

/* Mapa */
.scm-map {
    position: relative;
    width: 100%;
    margin-bottom: 40px;
}

.scm-map img {
    width: 100%;
    display: block;
    height: auto;
}

.scm-point {
    position: absolute;
    width: 22px;
    height: 22px;
    background: #000000;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    display: block;
    text-decoration: none;
    transition: all 0.25s ease;
    z-index: 2;
}

.scm-point::after {
    content: "";
    position: absolute;
    inset: -8px;
    border: 2px solid #000000;
    border-radius: 50%;
    animation: scmPulse 1.8s ease infinite;
}

.scm-point:hover {
    transform: translate(-50%, -50%) scale(1.25);
}

.scm-point span {
    position: absolute;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%);
    background: #000000;
    color: #ffffff;
    font-size: 13px;
    padding: 6px 9px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.scm-point:hover span {
    opacity: 1;
}

.scm-point-past {
    opacity: 0.28;
    filter: grayscale(1);
    pointer-events: none;
}

.scm-point-past::after {
    animation: none;
    opacity: 0;
}

/* Tabla */
.scm-table-wrapper {
    overflow-x: auto;
}

.scm-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 16px;
}

.scm-table th,
.scm-table td {
    padding: 15px 12px;
    border-bottom: 1px solid #dddddd;
    text-align: left;
}

.scm-table th {
    background: #f5f5f5;
    font-weight: 700;
}

.scm-table tr.scm-future {
    cursor: pointer;
}

.scm-table tr.scm-future:hover {
    background: #f9f9f9;
}

.scm-table a {
    color: #000000;
    font-weight: 700;
    text-decoration: underline;
}

.scm-past {
    opacity: 0.38;
    filter: grayscale(1);
    cursor: default;
}

.scm-past a {
    pointer-events: none;
}

.scm-disabled {
    color: #777777;
    font-weight: 700;
}

/* Animaciones */
@keyframes scmFadeUp {
    from {
        opacity: 0;
        transform: translateY(22px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scmPosterFloat {
    0%, 100% {
        transform: translateY(0) rotate(-1deg);
    }
    50% {
        transform: translateY(-8px) rotate(1deg);
    }
}

@keyframes scmPulse {
    0% {
        opacity: 0.7;
        transform: scale(0.8);
    }
    100% {
        opacity: 0;
        transform: scale(1.8);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .scm-next-banner {
        padding: 22px;
    }

    .scm-next-banner__content {
        grid-template-columns: 1fr;
    }

    .scm-countdown {
        justify-content: center;
    }

    .scm-countdown div {
        min-width: 76px;
    }

    .scm-countdown strong {
        font-size: 28px;
    }

    .scm-point {
        width: 18px;
        height: 18px;
    }

    .scm-table {
        font-size: 14px;
    }
}

.scm-logo-circle {
    position: relative;
    width: min(90vw, 820px);
    height: min(90vw, 820px);
    margin: 60px auto;
}

.scm-logo-circle__center {
    position: absolute;
    width: 42%;
    height: 42%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.scm-logo-circle__center img {
    max-width: 100%;
    height: auto;
}

.scm-town {
    position: absolute;
    left: 50%;
    top: 50%;
    transform:
        rotate(var(--angle))
        translate(330px)
        rotate(calc(-1 * var(--angle)));
    transform-origin: center;
    color: #000;
    font-family: Impact, "Arial Black", sans-serif;
    font-size: clamp(16px, 2vw, 28px);
    font-weight: 900;
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.scm-town:hover {
    opacity: 0.7;
}

.scm-town-past {
    opacity: 0.25;
    filter: grayscale(1);
    pointer-events: none;
}

@media (max-width: 768px) {
    .scm-logo-circle {
        height: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .scm-logo-circle__center,
    .scm-town {
        position: static;
        transform: none;
    }

    .scm-logo-circle__center {
        width: 220px;
        height: auto;
        margin-bottom: 20px;
    }
}

.scm-table-wrapper {
    max-width: 1180px;
    margin: 40px auto;
    overflow-x: auto;
    border-radius: 22px;
    box-shadow: 0 18px 45px rgba(0,0,0,0.08);
    background: #ffffff;
}

.scm-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 16px;
    overflow: hidden;
}

.scm-table thead th {
    background: #8a9f32;
    color: #ffffff;
    padding: 18px 16px;
    text-align: left;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 14px;
}

.scm-table tbody tr {
    transition: all 0.25s ease;
}

.scm-table tbody tr:nth-child(even) {
    background: #f7f5ec;
}

.scm-table tbody tr:nth-child(odd) {
    background: #ffffff;
}

.scm-table tbody tr.scm-future:hover {
    background: #eef3d7;
    transform: scale(1.01);
}

.scm-table td {
    padding: 18px 16px;
    border-bottom: 1px solid #e5e0d3;
    color: #111111;
}

.scm-table td:first-child {
    font-weight: 800;
}

.scm-table a {
    display: inline-block;
    background: #000000;
    color: #ffffff !important;
    padding: 9px 16px;
    border-radius: 999px;
    text-decoration: none !important;
    font-weight: 800;
    transition: all 0.25s ease;
}

.scm-table a:hover {
    background: #8a9f32;
    transform: translateY(-2px);
}

.scm-past {
    opacity: 0.35;
    filter: grayscale(1);
}

.scm-disabled {
    display: inline-block;
    padding: 9px 16px;
    border-radius: 999px;
    background: #dddddd;
    color: #555555;
    font-weight: 800;
}

@media (max-width: 768px) {
    .scm-table {
        font-size: 14px;
        /*min-width: 780px;*/
    }

    .scm-table td,
    .scm-table thead th {
        padding: 14px 12px;
    }
} 


@media (max-width: 768px) {

    .scm-table-wrapper {
        overflow: visible !important;
        box-shadow: none;
        background: transparent;
        margin: 24px auto;
        padding: 0 12px;
    }

    .scm-table,
    .scm-table tbody,
    .scm-table tr,
    .scm-table td {
        display: block;
        width: 100%;
    }

    .scm-table thead {
        display: none;
    }

    .scm-table tbody tr {
        margin-bottom: 20px;
        padding: 20px;
        border-radius: 20px;
        background: #ffffff !important;
        box-shadow: 0 10px 28px rgba(0,0,0,0.08);
        border: 1px solid #e2dccd;
    }

    .scm-table td {
        padding: 10px 0;
        border: none;
        text-align: left;
    }

    .scm-table td::before {
        content: attr(data-label);
        display: block;
        margin-bottom: 4px;
        font-weight: 900;
        color: #8a9f32;
        text-transform: uppercase;
        font-size: 13px;
        letter-spacing: 0.04em;
    }

    .scm-table td {
        font-size: 16px;
        color: #111;
    }

    .scm-table td[data-label="Estat"] {
        padding-top: 16px;
    }

    .scm-table td[data-label="Estat"] a,
    .scm-table td[data-label="Estat"] .scm-disabled {
        display: block;
        width: 100%;
        box-sizing: border-box;
        text-align: center;
        padding: 14px 18px;
        border-radius: 999px;
    }

    .scm-table tbody tr.scm-future:hover {
        transform: none;
    }
}

@media (max-width: 768px) {
    .scm-table td[data-label="Estat"] {
        display: block !important;
        width: 100% !important;
        overflow: visible !important;
    }

    .scm-table td[data-label="Estat"] a {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        background: #000000 !important;
        color: #ffffff !important;
        text-align: center !important;
        padding: 14px 18px !important;
        border-radius: 999px !important;
        text-decoration: none !important;
        line-height: 1.2 !important;
        white-space: normal !important;
        overflow: visible !important;
    }

    .scm-table tbody tr {
        overflow: visible !important;
    }
}



@media (max-width: 768px) {

    .scm-table {
        min-width: 0 !important;
        width: 100% !important;
        table-layout: fixed !important;
    }

    .scm-table-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
        padding: 0 14px !important;
        box-sizing: border-box !important;
    }

    .scm-table tbody tr {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .scm-table td,
    .scm-table td * {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .scm-table td[data-label="Estat"] a {
        display: block !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        white-space: normal !important;
        overflow-wrap: break-word !important;
        text-align: center !important;
    }
}
