.skill-explorer-section {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 9% 18%, rgba(38, 174, 164, .16), transparent 22rem),
        radial-gradient(circle at 91% 78%, rgba(82, 94, 255, .18), transparent 24rem),
        linear-gradient(135deg, #e8f6f7 0%, #eef1ff 50%, #f4efff 100%);
    border-top: 1px solid rgba(41, 110, 148, .12);
    border-bottom: 1px solid rgba(41, 110, 148, .12);
}

.skill-explorer-section::before {
    position: absolute;
    inset: 0;
    background:
        url(/center-assets/img/svg/neuron.svg) -6rem calc(100% + 8rem) / 24rem no-repeat,
        url(/center-assets/img/svg/neural-network.svg) calc(100% + 2rem) 50% / 19rem no-repeat;
    content: "";
    filter: saturate(.8);
    opacity: .14;
    pointer-events: none;
}

.skill-explorer-section::after {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(52, 113, 151, .08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(52, 113, 151, .08) 1px, transparent 1px),
        radial-gradient(circle, rgba(82, 94, 255, .32) 0 2px, transparent 2.5px);
    background-size: 52px 52px, 52px 52px, 104px 104px;
    content: "";
    mask-image: linear-gradient(90deg, #000, transparent 35%, transparent 65%, #000);
    opacity: .48;
    pointer-events: none;
}

.skill-explorer-panel {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin-inline: auto;
    background: rgba(255, 255, 255, .88);
    border: 1px solid rgba(255, 255, 255, .9);
    border-radius: 1.5rem;
    box-shadow: 0 1.5rem 4rem rgba(38, 68, 111, .13);
    backdrop-filter: blur(12px);
}

.skill-explorer-panel .nav-tabs {
    --ar-nav-tabs-border-color: rgba(82, 94, 255, .15);
}

.skill-games-section .col {
    display: flex;
}

.skill-game-card {
    width: 100%;
    background: #fff;
    border: 1px solid #e4e8f2;
    border-radius: 1.25rem;
    box-shadow: 0 .75rem 2.25rem rgba(30, 40, 80, .08);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.skill-game-card:hover {
    transform: translateY(-6px);
    border-color: rgba(82, 94, 255, .3);
    box-shadow: 0 1.25rem 3rem rgba(30, 40, 80, .14);
}

.skill-game-card__visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 10.5rem;
    overflow: hidden;
    background: linear-gradient(145deg, #f2f4ff 0%, #f8f6ff 55%, #eef8ff 100%);
    border-bottom: 1px solid #edf0f6;
}

.skill-game-card__glow {
    position: absolute;
    width: 9rem;
    height: 9rem;
    border-radius: 50%;
    background: rgba(82, 94, 255, .13);
    filter: blur(10px);
    transition: transform .25s ease;
}

.skill-game-card:hover .skill-game-card__glow {
    transform: scale(1.12);
}

.skill-game-card__visual img {
    position: relative;
    z-index: 1;
    width: auto;
    max-width: 8.5rem;
    max-height: 6.5rem;
    object-fit: contain;
    filter: drop-shadow(0 .75rem 1rem rgba(40, 48, 110, .15));
    transition: transform .25s ease;
}

.skill-game-card:hover .skill-game-card__visual img {
    transform: scale(1.05);
}

.skill-game-card__body {
    padding: 1.5rem 1.5rem 1.25rem;
}

.skill-game-card__body p {
    color: #647085;
    line-height: 1.6;
}

.skill-game-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding: 0 1.5rem 1.5rem;
    color: var(--ar-primary);
    font-weight: 600;
    background: #fff;
    border: 0;
}

.skill-game-card__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    color: #fff;
    background: var(--ar-primary);
    transition: transform .25s ease;
}

.skill-game-card:hover .skill-game-card__arrow {
    transform: translateX(4px);
}

.skill-course-section {
    overflow: hidden;
    background: linear-gradient(180deg, #f5f7fb 0%, #edf1f8 100%);
    border-top: 1px solid #e4e8f1;
    border-bottom: 1px solid #e4e8f1;
}

.skill-course-visual-wrap {
    max-width: 31rem;
    margin-inline: auto;
}

.skill-course-visual {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 19rem;
    padding: 2.5rem;
    overflow: hidden;
    color: #121a2f;
    background: rgba(255, 255, 255, .92);
    border: 1px solid rgba(82, 94, 255, .14);
    border-radius: 1.5rem;
    box-shadow: 0 1.5rem 4rem rgba(31, 42, 86, .13);
    transition: transform .25s ease, box-shadow .25s ease;
}

.skill-course-visual:hover {
    color: #121a2f;
    transform: translateY(-5px);
    box-shadow: 0 2rem 4.5rem rgba(31, 42, 86, .17);
}

.skill-course-visual__orb {
    position: absolute;
    right: -5rem;
    bottom: -7rem;
    width: 19rem;
    height: 19rem;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(82, 94, 255, .17), rgba(179, 88, 213, .13));
}

.skill-course-avatar {
    position: relative;
    z-index: 1;
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 7rem;
    height: 7rem;
    margin-right: 1.5rem;
    border-radius: 1.5rem;
    box-shadow: 0 1rem 2.25rem rgba(82, 36, 120, .22);
}

.skill-course-avatar img {
    width: 3.5rem;
    max-height: 3.5rem;
    object-fit: contain;
}

.skill-course-visual__copy {
    position: relative;
    z-index: 1;
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.skill-course-visual__eyebrow {
    margin-bottom: .45rem;
    color: var(--ar-primary);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.skill-course-visual__title {
    font-size: clamp(1.15rem, 2vw, 1.55rem);
    font-weight: 700;
    line-height: 1.25;
}

.skill-course-visual__arrow {
    position: absolute;
    top: 1.35rem;
    right: 1.35rem;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    color: var(--ar-primary);
    background: #f1f3ff;
    border-radius: 50%;
}

@media (max-width: 767.98px) {
    .skill-explorer-section {
        margin-top: 0 !important;
    }

    .skill-explorer-panel {
        border-radius: 1.15rem;
    }

    .skill-course-visual {
        min-height: 16rem;
        padding: 2rem 1.5rem;
    }

    .skill-course-avatar {
        width: 6rem;
        height: 6rem;
        margin-right: 1rem;
        border-radius: 1.25rem;
    }
}

@media (max-width: 419.98px) {
    .skill-course-visual {
        align-items: flex-start;
        flex-direction: column;
    }

    .skill-course-avatar {
        margin: 0 0 1.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .skill-game-card,
    .skill-game-card__glow,
    .skill-game-card__visual img,
    .skill-game-card__arrow,
    .skill-course-visual {
        transition: none;
    }
}
