:root {
    --muted: #aaa39a;
    --gold: #d7b76a;
    --gold-line: rgba(215, 183, 106, 0.32);
    --panel: rgba(12, 12, 12, 0.9);
    --cell: rgba(12, 12, 12, 0.9);
    --line: #292929;
}

body {
    background:
        radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.045), transparent 28%),
        linear-gradient(140deg, #050505, #151515 46%, #030303);
}

body::before {
    opacity: 0.18;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.38), rgba(0, 0, 0, 0.92)),
        url("../img/lobby.webp") center / cover no-repeat;
}

.page {
    min-height: 100vh;
    padding: 38px 24px 54px;
}

@media (min-width: 1100px) {
    .page > .event-panel > .event-content {
        max-width: 1040px;
        margin: 28px auto 32px;
        border: 1px solid rgba(255, 255, 255, 0.07);
    }

    .page > .event-panel > .event-panel-header {
        padding-left: max(30px, calc((100% - 1040px) / 2 + 24px));
        padding-right: max(30px, calc((100% - 1040px) / 2 + 24px));
    }
}

.reforg {
    position: relative;
    overflow: hidden;
    min-height: 410px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 56px 32px;
    border: 1px solid var(--border);
    text-align: center;
    background:
        radial-gradient(ellipse at center, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.88) 75%),
        url("../img/banner.webp") center / cover no-repeat;
    box-shadow: 0 34px 90px rgba(0, 0, 0, 0.6);
}

.reforg::after {
    content: "";
    position: absolute;
    inset: 14px;
    border: 1px solid rgba(215, 183, 106, 0.12);
    pointer-events: none;
}

.reforg-content {
    position: relative;
    z-index: 1;
    max-width: 680px;
}

.hero-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 28px;
    list-style: none;
}

.hero-items li {
    display: grid;
    place-items: center;
    width: 62px;
    height: 62px;
    border: 1px solid rgba(215, 183, 106, 0.22);
    background: radial-gradient(circle, rgba(215, 183, 106, 0.1), rgba(0, 0, 0, 0.55) 70%);
    transition: border-color 0.25s ease, transform 0.25s ease;
}

.hero-items li:hover {
    border-color: var(--gold);
    transform: translateY(-2px);
}

.hero-items img {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.reforg .eyebrow {
    margin-bottom: 16px;
}

h1 {
    color: #fbf7ef;
    font-family: "Cinzel", serif;
    font-size: clamp(2.4rem, 6vw, 4.6rem);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: 0.08rem;
    text-shadow: 0 6px 30px rgba(0, 0, 0, 0.9);
}

.reforg-copy {
    max-width: 640px;
    margin: 0 auto;
    color: #cfc8be;
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.8;
}

.reforg-lista {
    min-height: 320px;
}

.event-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 250px));
    justify-content: center;
    gap: 18px;
    margin-top: 34px;
}

.event-card {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--panel);
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.45);
    transition: border-color 0.25s ease, transform 0.25s ease;
}

.event-card:hover {
    border-color: var(--gold-line);
    transform: translateY(-3px);
}

.event-card-media {
    display: grid;
    place-items: center;
    height: 150px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background:
        radial-gradient(circle at center, rgba(215, 183, 106, 0.16), rgba(0, 0, 0, 0.82) 62%),
        url("../img/banner.webp") center / cover no-repeat;
}

.event-card-media img {
    width: 92px;
    height: 92px;
    object-fit: contain;
    filter: drop-shadow(0 12px 26px rgba(0, 0, 0, 0.8));
    transition: transform 0.3s ease;
}

.event-card:hover .event-card-media img {
    transform: scale(1.05);
}

.event-card-body {
    padding: 18px 18px 20px;
}

.event-card-tag {
    color: var(--gold);
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.18rem;
    text-transform: uppercase;
}

.event-card-body h2 {
    margin-top: 8px;
    font-family: "Cinzel", serif;
    font-size: 1.2rem;
    font-weight: 600;
}

.event-card-body p {
    margin-top: 6px;
    color: var(--muted);
    font-size: 0.8rem;
}

.event-card-link {
    display: inline-block;
    margin-top: 18px;
    padding-bottom: 4px;
    border-bottom: 1px solid var(--gold-line);
    color: var(--white);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.16rem;
    text-transform: uppercase;
}

.event-card:hover .event-card-link {
    border-bottom-color: var(--gold);
}

.summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    margin-top: 1px;
    border: 1px solid var(--border);
    border-top: 0;
    background: var(--border);
}

.summary-item {
    padding: 14px 20px;
    background: var(--cell);
}

.summary-item span,
.event-panel-header span {
    display: block;
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.18rem;
    text-transform: uppercase;
}

.summary-item span {
    color: var(--muted);
}

.summary-item strong {
    display: block;
    margin-top: 8px;
    color: var(--white);
    font-family: "Cinzel", serif;
    font-size: 0.98rem;
    font-weight: 700;
}

.event-panel {
    position: relative;
    overflow: hidden;
    margin-top: 28px;
    border: 1px solid var(--border);
    background: var(--panel);
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.45);
}

.event-panel::before {
    content: "";
    position: absolute;
    top: 0;
    left: 28px;
    right: 28px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-line), transparent);
}

.event-panel-header {
    padding: 26px 30px 22px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background:
        radial-gradient(circle at 86% 0%, rgba(215, 183, 106, 0.1), transparent 34%),
        rgba(255, 255, 255, 0.012);
}

.event-panel-header span {
    color: var(--gold);
}

.event-panel-header h2 {
    margin-top: 8px;
    font-family: "Cinzel", serif;
    font-size: clamp(1.3rem, 2.4vw, 1.95rem);
    font-weight: 600;
    letter-spacing: 0.03rem;
}

.event-panel-header p {
    max-width: 850px;
    margin-top: 8px;
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.65;
}

.event-content {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    background: rgba(255, 255, 255, 0.08);
}

.event-block {
    min-width: 0;
    padding: 22px 24px;
    background: var(--cell);
}

.event-block.full {
    grid-column: 1 / -1;
}

.event-block h3 {
    margin-bottom: 14px;
    color: var(--gold);
    font-family: "Cinzel", serif;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.06rem;
}

.event-block h3:empty {
    display: none;
}

.info-content {
    grid-template-columns: minmax(0, 1fr);
}

.info-block > p {
    color: #c9c2b8;
    font-size: 0.92rem;
    line-height: 1.7;
}

.info-block .warning-list {
    margin-top: 14px;
}

.info-acciones {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    padding-top: 28px;
    padding-bottom: 30px;
}

.reward-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 8px;
    list-style: none;
}

.reward-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.025);
    color: #d3ccc2;
    font-size: 0.84rem;
    line-height: 1.35;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.reward-list li:hover {
    border-color: rgba(215, 183, 106, 0.3);
    background: rgba(215, 183, 106, 0.05);
}

.reward-list img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    flex-shrink: 0;
}

.warning-list {
    display: grid;
    gap: 10px;
}

.warning-list p {
    padding: 10px 14px;
    border-left: 2px solid var(--gold);
    background: rgba(215, 183, 106, 0.05);
    color: #c9c2b8;
    font-size: 0.86rem;
    line-height: 1.6;
}

.attendance-content {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 1px;
    border: 1px solid var(--line);
    background: var(--line);
}

.attendance-row {
    display: contents;
}

.attendance-day {
    padding: 16px 10px 18px;
    text-align: center;
}

.attendance-day h3 {
    margin: 0 0 10px;
    font-size: 0.82rem;
}

.attendance-reward {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.attendance-reward img {
    display: block;
    width: 46px;
    height: 46px;
    object-fit: contain;
    flex-shrink: 0;
}

.attendance-reward span {
    overflow-wrap: anywhere;
    color: #d3ccc2;
    font-size: 0.78rem;
    line-height: 1.3;
}

.letters-event-content {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    border: 1px solid var(--line);
    background: var(--line);
}

.letters-words {
    display: flex;
    flex-direction: column;
}

.letter-challenge {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 14px 0;
    text-align: center;
}

.letter-divider {
    flex: 0 0 1px;
    width: 100%;
    height: 1px;
    background: var(--line);
}

.letters-prizes h3 {
    text-align: center;
}

.letter-tiles {
    display: flex;
    justify-content: center;
    gap: 1px;
    width: 100%;
}

.letter-tiles span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    flex: 0 1 52px;
    border: 1px solid #a83222;
    background: linear-gradient(145deg, #35100b, #090707);
    box-shadow: inset 0 0 8px rgba(180, 25, 10, 0.45);
    color: #ffca20;
    font-family: "Cinzel", serif;
    font-size: 28px;
    font-weight: 700;
    text-shadow: 0 0 6px rgba(255, 130, 0, 0.5);
}

.letter-challenge p {
    margin-top: 10px;
    font-size: 0.9rem;
}

.letter-challenge strong {
    color: #ffca20;
}

.creature-combo-content,
.level-challenge-content {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.creature-card,
.halloween-set-part {
    text-align: center;
}

.creature-image,
.halloween-set-image {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 96px;
    padding: 6px;
}

.creature-image img {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.creature-card .warning-list p {
    padding: 8px 10px;
    text-align: center;
}

.halloween-capsule-image {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 220px;
    padding: 15px;
}

.halloween-capsule-image img {
    width: 100%;
    max-width: 200px;
    max-height: 200px;
    height: auto;
    object-fit: contain;
}

.halloween-set-content {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.halloween-set-part h3 {
    font-size: 0.82rem;
}

.halloween-set-image img {
    width: 52px;
    height: 52px;
    object-fit: contain;
}

.halloween-set-part .warning-list p {
    padding: 6px 8px;
    border-left: 0;
    border-top: 2px solid var(--gold);
    font-size: 0.8rem;
    text-align: center;
}

.connection-bar-content,
.event-boss-content,
.event-craft-content {
    grid-template-columns: minmax(0, 1fr);
}

.connection-bar-block,
.event-boss-block,
.event-craft-block {
    text-align: center;
}

.connection-bar-image,
.event-boss-image,
.event-craft-image {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
}

.connection-bar-image img {
    display: block;
    width: 100%;
    max-width: 280px;
    height: auto;
    object-fit: contain;
}

.event-boss-image img {
    display: block;
    width: 130px;
    height: 130px;
    object-fit: contain;
}

.event-craft-image img {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 300px;
    height: auto;
    object-fit: contain;
}

.panel-pair {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    margin-top: 28px;
}

.panel-pair .event-panel {
    display: flex;
    flex-direction: column;
    margin-top: 0;
}

.panel-pair .event-content {
    flex: 1;
    grid-template-rows: 1fr auto;
}

.panel-pair .connection-bar-block,
.panel-pair .event-boss-block,
.panel-pair .event-craft-block {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (max-width: 900px) {
    .attendance-content {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .halloween-set-content {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .event-content,
    .letters-event-content,
    .level-challenge-content,
    .creature-combo-content,
    .panel-pair {
        grid-template-columns: minmax(0, 1fr);
    }

    .panel-pair {
        gap: 20px;
        margin-top: 20px;
    }
}

@media (max-width: 600px) {
    .halloween-event-content {
        grid-template-columns: minmax(0, 1fr);
    }

    .event-list {
        grid-template-columns: minmax(0, 340px);
    }
}

@media (max-width: 640px) {
    .page {
        padding: 18px 12px 32px;
    }

    .reforg {
        min-height: 300px;
        padding: 40px 18px;
    }

    .summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .event-panel {
        margin-top: 20px;
    }

    .event-panel-header {
        padding: 20px 18px 16px;
    }

    .event-block {
        padding: 18px 14px;
    }

    .reward-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px;
    }

    .reward-list li {
        flex-direction: column;
        justify-content: center;
        gap: 6px;
        padding: 10px 6px;
        font-size: 0.76rem;
        text-align: center;
    }

    .reward-list img {
        width: 40px;
        height: 40px;
    }

    .attendance-content {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .attendance-day {
        padding: 12px 6px 14px;
    }

    .attendance-reward img {
        width: 38px;
        height: 38px;
    }

    .attendance-reward span {
        font-size: 0.7rem;
    }

    .letter-tiles span {
        width: min(14vw, 46px);
        height: min(14vw, 46px);
        flex-basis: min(14vw, 46px);
        font-size: min(7vw, 24px);
    }

    .halloween-set-content {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .creature-combo-content {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .creature-card h3 {
        font-size: 0.76rem;
    }

    .creature-card .warning-list p {
        padding: 6px 4px;
        font-size: 0.72rem;
    }

    .warning-list p {
        font-size: 0.82rem;
    }

    .event-boss-image img {
        width: 180px;
        height: 180px;
    }
}
/* v1025-paso351: Meta De Conectados (events/fds), camino de metas */
.meta-camino {
    display: block;
    padding: 44px 36px 30px;
    background: rgba(255, 255, 255, 0.015);
}

.meta-track {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.meta-track::before {
    content: "";
    position: absolute;
    top: 44px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, rgba(201, 173, 106, 0.15), var(--gold) 50%, rgba(201, 173, 106, 0.15));
}

.meta-step {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.meta-nodo {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 88px;
    height: 88px;
    border: 2px solid var(--gold-line);
    border-radius: 50%;
    background: radial-gradient(circle at 50% 40%, #2a2418, #0d0c0a 70%);
    box-shadow: 0 0 0 6px #0d0c0a;
}

.meta-nodo img {
    width: 52px;
    height: 52px;
    object-fit: contain;
}

.meta-num {
    margin-top: 16px;
    font-family: "Cinzel", serif;
    font-size: 1.9rem;
    font-weight: 700;
    line-height: 1;
    color: var(--gold);
}

.meta-sub {
    margin-top: 4px;
    font-size: 0.68rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--muted);
}

.meta-premio {
    margin: 14px 0 0;
    padding-top: 12px;
    border-top: 1px solid var(--border);
    width: 85%;
    font-size: 0.92rem;
    color: var(--white);
}

.meta-step.meta-mayor .meta-nodo {
    width: 104px;
    height: 104px;
    margin-top: -8px;
    border-color: var(--gold);
    box-shadow: 0 0 0 6px #0d0c0a, 0 0 26px rgba(201, 173, 106, 0.35);
}

.meta-step.meta-mayor .meta-nodo img {
    width: 62px;
    height: 62px;
}

.meta-step.meta-mayor .meta-premio {
    color: var(--gold);
}

.meta-etiqueta {
    margin-top: 8px;
    padding: 3px 10px;
    border: 1px solid var(--gold-line);
    font-size: 0.62rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
}

.meta-nota {
    margin: 34px auto 0;
    max-width: 640px;
    text-align: center;
    font-size: 0.88rem;
    line-height: 1.7;
    color: var(--muted);
}

.meta-nota strong {
    color: var(--white);
    font-weight: 500;
}

@media (max-width: 820px) {
    .meta-camino {
        padding: 30px 20px 24px;
    }

    .meta-track {
        grid-template-columns: minmax(0, 1fr);
        gap: 22px;
    }

    .meta-track::before {
        top: 20px;
        bottom: 20px;
        left: 43px;
        right: auto;
        width: 2px;
        height: auto;
        background: linear-gradient(180deg, rgba(201, 173, 106, 0.15), var(--gold) 50%, rgba(201, 173, 106, 0.15));
    }

    .meta-step {
        display: grid;
        grid-template-columns: 88px minmax(0, 1fr);
        grid-template-rows: auto auto auto;
        column-gap: 18px;
        align-items: center;
        text-align: left;
    }

    .meta-nodo,
    .meta-step.meta-mayor .meta-nodo {
        grid-row: 1 / 4;
        width: 72px;
        height: 72px;
        margin: 0 auto;
    }

    .meta-nodo img,
    .meta-step.meta-mayor .meta-nodo img {
        width: 44px;
        height: 44px;
    }

    .meta-num {
        margin-top: 0;
        font-size: 1.5rem;
    }

    .meta-premio {
        width: auto;
        margin-top: 6px;
        padding-top: 6px;
    }

    .meta-etiqueta {
        justify-self: start;
    }
}

/* v1025-paso351 (ronda 3): diseños propios de los eventos de events/fds */
.meta-track.meta-tres {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.meta-track.meta-tres::before {
    left: 17%;
    right: 17%;
}

.fx-cuerpo {
    display: block;
    padding: 40px 36px 32px;
    background: rgba(255, 255, 255, 0.015);
}

.fx-objetivo {
    display: grid;
    grid-template-columns: auto auto minmax(0, 1fr);
    align-items: center;
    gap: 28px;
    max-width: 820px;
    margin: 0 auto;
}

.fx-anillo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 150px;
    height: 150px;
    border: 2px solid var(--gold);
    border-radius: 50%;
    background: radial-gradient(circle at 50% 40%, #2a2418, #0d0c0a 70%);
    box-shadow: 0 0 0 8px #0d0c0a, 0 0 30px rgba(201, 173, 106, 0.28);
}

.fx-anillo strong {
    font-family: "Cinzel", serif;
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    color: var(--gold);
}

.fx-anillo span {
    margin-top: 6px;
    font-size: 0.7rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--muted);
}

.fx-flecha {
    font-family: "Cinzel", serif;
    font-size: 2rem;
    color: var(--gold-line);
}

.fx-premios {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.fx-premio {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 220px;
    padding: 14px 18px;
    border: 1px solid var(--gold-line);
    background: linear-gradient(90deg, rgba(201, 173, 106, 0.08), rgba(201, 173, 106, 0.01));
}

.fx-premio img {
    width: 52px;
    height: 52px;
    object-fit: contain;
}

.fx-premio b {
    display: block;
    font-family: "Cinzel", serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1.1;
}

.fx-premio small {
    display: block;
    font-size: 0.86rem;
    color: var(--white);
}

.fx-reglas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 10px 26px;
    max-width: 880px;
    margin: 34px auto 0;
    padding: 22px 0 0;
    border-top: 1px solid var(--border);
    list-style: none;
}

.fx-reglas li {
    position: relative;
    padding-left: 20px;
    font-size: 0.86rem;
    line-height: 1.6;
    color: var(--muted);
}

.fx-reglas li::before {
    content: "";
    position: absolute;
    top: 0.55em;
    left: 2px;
    width: 7px;
    height: 7px;
    background: var(--gold);
    transform: rotate(45deg);
}

.fx-reglas strong {
    color: var(--white);
    font-weight: 500;
}

.fx-insignias {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 26px;
}

.fx-insignia {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 230px;
    padding: 26px 18px 22px;
    border: 1px solid var(--gold-line);
    background: radial-gradient(circle at 50% 0%, rgba(201, 173, 106, 0.14), rgba(13, 12, 10, 0) 70%);
    text-align: center;
}

.fx-insignia img {
    width: 56px;
    height: 56px;
    object-fit: contain;
}

.fx-insignia strong {
    margin-top: 10px;
    font-family: "Cinzel", serif;
    font-size: 3.4rem;
    font-weight: 700;
    line-height: 1;
    color: var(--gold);
}

.fx-insignia span {
    margin-top: 8px;
    font-size: 0.72rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--white);
}

.fx-cifras {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    max-width: 880px;
    margin: 0 auto;
    border: 1px solid var(--border);
    background: var(--border);
}

.fx-cifras.fx-una {
    grid-template-columns: minmax(0, 1fr);
    max-width: 340px;
}

.fx-cifra {
    padding: 22px 12px 18px;
    background: #0e0d0b;
    text-align: center;
}

.fx-cifra strong {
    display: block;
    font-family: "Cinzel", serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1.1;
}

.fx-cifra span {
    display: block;
    margin-top: 6px;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted);
}

.fx-pasos {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    max-width: 880px;
    margin: 34px auto 0;
    padding: 0;
    list-style: none;
    counter-reset: fxpaso;
}

.fx-pasos::before {
    content: "";
    position: absolute;
    top: 21px;
    left: 17%;
    right: 17%;
    height: 1px;
    background: var(--gold-line);
}

.fx-pasos li {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    counter-increment: fxpaso;
}

.fx-pasos li::before {
    content: counter(fxpaso);
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--gold);
    border-radius: 50%;
    background: #0d0c0a;
    box-shadow: 0 0 0 6px #0d0c0a;
    font-family: "Cinzel", serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--gold);
}

.fx-pasos b {
    margin-top: 12px;
    font-family: "Cinzel", serif;
    font-size: 1.05rem;
    color: var(--white);
}

.fx-pasos small {
    margin-top: 6px;
    max-width: 220px;
    font-size: 0.84rem;
    line-height: 1.55;
    color: var(--muted);
}

.fx-niveles {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    max-width: 760px;
    margin: 0 auto;
}

.fx-nivel {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 20px 24px;
    border: 1px solid var(--border);
    background: #0e0d0b;
    text-align: center;
}

.fx-nivel.fx-oro {
    border-color: var(--gold);
    background: radial-gradient(circle at 50% 0%, rgba(201, 173, 106, 0.16), #0e0d0b 70%);
    box-shadow: 0 0 26px rgba(201, 173, 106, 0.18);
}

.fx-nivel em {
    position: absolute;
    top: -11px;
    padding: 2px 12px;
    border: 1px solid var(--gold);
    background: #0d0c0a;
    font-style: normal;
    font-size: 0.66rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
}

.fx-nivel h3 {
    margin: 0;
    font-family: "Cinzel", serif;
    font-size: 1.15rem;
    color: var(--white);
}

.fx-nivel img {
    width: 60px;
    height: 60px;
    margin: 16px 0 10px;
    object-fit: contain;
}

.fx-nivel b {
    font-family: "Cinzel", serif;
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1;
    color: var(--gold);
}

.fx-nivel span {
    margin-top: 4px;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--muted);
}

.fx-nivel p {
    margin: 14px 0 0;
    padding-top: 12px;
    border-top: 1px solid var(--border);
    width: 80%;
    font-size: 0.9rem;
    color: var(--white);
}

@media (max-width: 820px) {
    .fx-cuerpo {
        padding: 30px 20px 24px;
    }

    .fx-objetivo {
        grid-template-columns: minmax(0, 1fr);
        justify-items: center;
        gap: 18px;
    }

    .fx-flecha {
        transform: rotate(90deg);
    }

    .fx-premios {
        justify-content: center;
    }

    .fx-premio {
        min-width: 0;
        width: 100%;
    }

    .fx-cifras,
    .fx-niveles {
        grid-template-columns: minmax(0, 1fr);
    }

    .fx-pasos {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    .fx-pasos::before {
        display: none;
    }

    .meta-track.meta-tres {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* v1025-paso351 (ronda 3): Stage Halloween (fases), Rondas (barra) y Hora Feliz (relojes) */
.fx-fases {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.5fr);
    align-items: stretch;
    gap: 6px;
    max-width: 900px;
    margin: 0 auto;
}

.fx-fase {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 22px 26px 22px 34px;
    background: linear-gradient(135deg, rgba(217, 130, 43, 0.32), rgba(120, 52, 12, 0.22));
    clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 50%, calc(100% - 22px) 100%, 0 100%, 22px 50%);
    text-align: center;
}

.fx-fase:first-child {
    clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 50%, calc(100% - 22px) 100%, 0 100%);
}

.fx-fase span {
    font-size: 0.68rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: #f0c48f;
}

.fx-fase b {
    font-family: "Cinzel", serif;
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1.1;
    color: #ffe2bd;
}

.fx-fase-premio {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-left: 8px;
    padding: 16px 20px;
    border: 1px solid rgba(217, 130, 43, 0.6);
    background: radial-gradient(circle at 20% 50%, rgba(217, 130, 43, 0.22), rgba(13, 12, 10, 0) 70%);
    box-shadow: 0 0 24px rgba(217, 130, 43, 0.18);
}

.fx-fase-premio img {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.fx-fase-premio b {
    display: block;
    font-family: "Cinzel", serif;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    color: #f5a54a;
}

.fx-fase-premio small {
    display: block;
    margin-top: 4px;
    font-size: 0.88rem;
    color: var(--white);
}

.fx-fase-premio em {
    display: inline-block;
    margin-top: 8px;
    padding: 2px 8px;
    border: 1px solid rgba(217, 130, 43, 0.55);
    font-style: normal;
    font-size: 0.7rem;
    color: #f0c48f;
}

.fx-escudos {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
    max-width: 780px;
    margin: 0 auto;
}

.fx-escudo {
    --metal: #b87333;
    --metal-claro: #e3a36a;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.fx-escudo.fx-plata {
    --metal: #8f979e;
    --metal-claro: #dfe4e8;
}

.fx-escudo.fx-oro {
    --metal: #a8873f;
    --metal-claro: #f1d58f;
}

.fx-escudo-forma {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 128px;
    height: 148px;
    padding-bottom: 14px;
    background: linear-gradient(160deg, var(--metal-claro), var(--metal) 55%, #2a2015);
    clip-path: polygon(50% 0, 100% 13%, 100% 56%, 50% 100%, 0 56%, 0 13%);
}

.fx-escudo-forma::before {
    content: "";
    position: absolute;
    inset: 5px;
    background: radial-gradient(circle at 50% 30%, #262016, #0d0c0a 75%);
    clip-path: polygon(50% 0, 100% 13%, 100% 56%, 50% 100%, 0 56%, 0 13%);
}

.fx-escudo-forma b,
.fx-escudo-forma span {
    position: relative;
}

.fx-escudo-forma b {
    font-family: "Cinzel", serif;
    font-size: 2.6rem;
    font-weight: 700;
    line-height: 1;
    color: var(--metal-claro);
}

.fx-escudo-forma span {
    margin-top: 4px;
    font-size: 0.66rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--muted);
}

.fx-escudo.fx-oro .fx-escudo-forma {
    filter: drop-shadow(0 0 14px rgba(241, 213, 143, 0.35));
}

.fx-escudo-premio {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    margin-top: 18px;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-top: 2px solid var(--metal);
    background: #0e0d0b;
    text-align: left;
}

.fx-escudo-premio img {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.fx-escudo-premio small {
    display: block;
    font-size: 0.66rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--metal-claro);
}

.fx-escudo-premio b {
    display: block;
    margin-top: 2px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--white);
}

.fx-agenda {
    max-width: 720px;
    margin: 0 auto;
}

.fx-agenda-dias {
    margin: 0 0 22px;
    text-align: center;
    font-family: "Cinzel", serif;
    font-size: 0.9rem;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--gold);
}

.fx-agenda-dias i {
    margin: 0 10px;
    font-style: normal;
    font-size: 0.6rem;
    color: var(--gold-line);
    vertical-align: middle;
}

.fx-agenda-lista {
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--gold-line);
    list-style: none;
}

.fx-turno {
    display: grid;
    grid-template-columns: 130px 54px minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
    padding: 16px 22px;
    border-bottom: 1px solid var(--border);
}

.fx-turno-hora {
    font-family: "Cinzel", serif;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    color: var(--white);
}

.fx-turno img {
    width: 46px;
    height: 46px;
    object-fit: contain;
}

.fx-turno-nombre {
    font-size: 1rem;
    letter-spacing: 0.04em;
    color: var(--white);
}

.fx-turno-nivel {
    display: flex;
    gap: 7px;
}

.fx-turno-nivel i {
    width: 9px;
    height: 9px;
    border: 1px solid var(--gold-line);
    transform: rotate(45deg);
}

.fx-turno-nivel i.fx-on {
    border-color: var(--gold);
    background: var(--gold);
}

.fx-turno-top {
    border-bottom-color: var(--gold-line);
    background: linear-gradient(90deg, rgba(201, 173, 106, 0.12), rgba(201, 173, 106, 0));
}

.fx-turno-top .fx-turno-hora,
.fx-turno-top .fx-turno-nombre {
    color: var(--gold);
}

@media (max-width: 820px) {
    .fx-fases {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .fx-fase {
        padding: 16px 18px 16px 26px;
    }

    .fx-fase-premio {
        grid-column: 1 / -1;
        margin: 10px 0 0;
    }

    .fx-escudos {
        grid-template-columns: minmax(0, 1fr);
        max-width: 340px;
    }


    .fx-turno {
        grid-template-columns: 82px 40px minmax(0, 1fr);
        gap: 12px;
        padding: 14px 10px;
    }

    .fx-turno-hora {
        font-size: 1.4rem;
    }

    .fx-turno img {
        width: 36px;
        height: 36px;
    }

    .fx-turno-nivel {
        grid-column: 3;
    }

    .fx-agenda-dias {
        letter-spacing: 0.18em;
    }
}

/* v1025-paso356: iconos sobrios (SVG de assets/img/iconos) en lugar de las imagenes del juego */
.halloween-capsule-image img[src$=".svg"] {
    width: 130px;
    max-width: 100%;
    height: 130px;
}

.connection-bar-image img[src$=".svg"],
.event-boss-image img[src$=".svg"],
.event-craft-image img[src$=".svg"] {
    width: 110px;
    max-width: 100%;
    height: 110px;
    margin: 0 auto;
}
