/* ==========================================================
   WAR LEGACY - PORTAL / AGENDA / SISTEMAS
   ========================================================== */

.wl-portal {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.wl-portal::before {
    content: "";
    position: absolute;
    width: 520px;
    height: 520px;
    left: -260px;
    top: 100px;
    border-radius: 50%;
    background: rgba(142, 92, 255, .08);
    filter: blur(70px);
    pointer-events: none;
}

.wl-portal .container {
    position: relative;
    z-index: 1;
}

.wl-portal-heading {
    max-width: 760px;
    margin-bottom: 42px;
}

.wl-portal-heading > span {
    display: block;
    margin-bottom: 10px;
    color: #a986e8;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .16em;
}

.wl-portal-heading h2 {
    margin: 0 0 14px;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.08;
}

.wl-portal-heading p {
    max-width: 680px;
    margin: 0;
    color: #9d96a7;
    line-height: 1.75;
}

.wl-agenda-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(290px, .7fr);
    gap: 22px;
    align-items: stretch;
}

.wl-panel {
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 22px;
    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.045),
            rgba(255,255,255,.018)
        );
    box-shadow: 0 22px 60px rgba(0,0,0,.18);
}

.wl-agenda-panel {
    padding: 28px;
}

.wl-panel-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
}

.wl-panel-top h3 {
    margin: 0 0 5px;
    font-size: 20px;
}

.wl-panel-top p {
    margin: 0;
    color: #817b89;
    font-size: 13px;
}

.wl-live-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    flex-shrink: 0;
    padding: 7px 11px;
    border: 1px solid rgba(96, 224, 145, .18);
    border-radius: 999px;
    background: rgba(96, 224, 145, .07);
    color: #80daa3;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
}

.wl-live-pill::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 12px currentColor;
}

.wl-schedule {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.wl-event {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 69px;
    padding: 14px 16px;
    border: 1px solid rgba(255,255,255,.055);
    border-radius: 14px;
    background: rgba(0,0,0,.13);
    transition:
        transform .2s ease,
        border-color .2s ease,
        background .2s ease;
}

.wl-event:hover {
    transform: translateY(-2px);
    border-color: rgba(164,126,230,.22);
    background: rgba(142,92,255,.055);
}

.wl-event-time {
    min-width: 52px;
    color: #c8aef4;
    font-size: 13px;
    font-weight: 800;
}

.wl-event-info strong {
    display: block;
    margin-bottom: 3px;
    color: #eeeaf2;
    font-size: 13px;
}

.wl-event-info small {
    color: #77717f;
    font-size: 11px;
}

.wl-schedule-note {
    margin: 17px 0 0;
    color: #77717f;
    font-size: 11px;
    line-height: 1.7;
}

.wl-woe-card {
    display: flex;
    flex-direction: column;
    padding: 30px;
    background:
        radial-gradient(
            circle at top right,
            rgba(178,128,255,.12),
            transparent 42%
        ),
        linear-gradient(
            145deg,
            rgba(94,55,140,.16),
            rgba(20,16,28,.80)
        );
}

.wl-card-kicker {
    display: inline-block;
    margin-bottom: 13px;
    color: #ad8ce8;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .16em;
}

.wl-woe-card h3 {
    margin: 0;
    font-size: 27px;
}

.wl-woe-card > p {
    margin: 10px 0 24px;
    color: #918a99;
    line-height: 1.65;
}

.wl-woe-day {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 14px 0;
    border-top: 1px solid rgba(255,255,255,.06);
}

.wl-woe-day:last-of-type {
    border-bottom: 1px solid rgba(255,255,255,.06);
}

.wl-woe-day span {
    color: #96909d;
    font-size: 12px;
}

.wl-woe-day strong {
    color: #f0e8fb;
    font-size: 14px;
}

.wl-castle {
    margin-top: 22px;
    padding: 16px;
    border: 1px solid rgba(194,157,255,.12);
    border-radius: 14px;
    background: rgba(142,92,255,.055);
}

.wl-castle small {
    display: block;
    margin-bottom: 3px;
    color: #817989;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .1em;
}

.wl-castle strong {
    color: #cdb9ed;
}

.wl-systems {
    margin-top: 72px;
}

.wl-systems-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.wl-system-card {
    min-height: 215px;
    padding: 26px;
    border: 1px solid rgba(255,255,255,.06);
    border-radius: 18px;
    background: rgba(255,255,255,.022);
}

.wl-system-number {
    display: block;
    margin-bottom: 29px;
    color: #735aa0;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .14em;
}

.wl-system-card h3 {
    margin: 0 0 10px;
    font-size: 17px;
}

.wl-system-card p {
    margin: 0;
    color: #8f8995;
    font-size: 13px;
    line-height: 1.7;
}

.wl-system-card strong {
    color: #c9b6e8;
    font-weight: 600;
}

.wl-tech {
    margin-top: 72px;
    padding: 34px;
}

.wl-tech-header {
    margin-bottom: 25px;
}

.wl-tech-header span {
    color: #a987e5;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .14em;
}

.wl-tech-header h3 {
    margin: 7px 0 0;
    font-size: 25px;
}

.wl-tech-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
}

.wl-tech-item {
    padding: 18px 10px;
    border: 1px solid rgba(255,255,255,.055);
    border-radius: 14px;
    background: rgba(0,0,0,.12);
    text-align: center;
}

.wl-tech-item strong {
    display: block;
    margin-bottom: 6px;
    color: #e9e1f4;
    font-size: 18px;
}

.wl-tech-item span {
    color: #817a88;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .07em;
}

.wl-portal-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 11px;
    margin-top: 42px;
}

@media (max-width: 900px) {
    .wl-agenda-layout {
        grid-template-columns: 1fr;
    }

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

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

@media (max-width: 600px) {
    .wl-portal {
        padding: 72px 0;
    }

    .wl-agenda-panel,
    .wl-woe-card,
    .wl-tech {
        padding: 20px;
    }

    .wl-panel-top {
        display: block;
    }

    .wl-live-pill {
        margin-top: 13px;
    }

    .wl-schedule {
        grid-template-columns: 1fr;
    }

    .wl-systems-grid {
        grid-template-columns: 1fr;
    }

    .wl-system-card {
        min-height: unset;
    }

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

    .wl-portal-heading {
        margin-bottom: 30px;
    }
}
