@charset "UTF-8";

/* ==========================================================================
   디자인 토큰 (Design Tokens)
   ========================================================================== */
:root {
    /* 색상 토큰 */
    --color-primary: #5865f2;
    --color-secondary: #7b2cbf;
    --color-accent: #3a86ff;
    --color-text-title: #3b4354;
    --color-text-body: #444;
    --color-white: #ffffff;
    --color-title-accent: #6c25ea;
    --color-text-gray: #444;

    /* 레이어 z-index 토큰 */
    --z-bg: 1;
    --z-deco: 10;
    --z-text: 20;

    /* 간격 토큰 */
    --gap-xs: 8px;
    --gap-sm: 12px;
    --gap-md: 16px;
    --gap-lg: 24px;
}

@font-face {
    font-family: "Paperozi";
    src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-1Thin.woff2") format("woff2");
    font-weight: 100;
    font-display: swap;
}

@font-face {
    font-family: "Paperozi";
    src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-2ExtraLight.woff2") format("woff2");
    font-weight: 200;
    font-display: swap;
}

@font-face {
    font-family: "Paperozi";
    src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-3Light.woff2") format("woff2");
    font-weight: 300;
    font-display: swap;
}

@font-face {
    font-family: "Paperozi";
    src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-4Regular.woff2") format("woff2");
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "Paperozi";
    src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-5Medium.woff2") format("woff2");
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: "Paperozi";
    src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-6SemiBold.woff2") format("woff2");
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: "Paperozi";
    src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-7Bold.woff2") format("woff2");
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: "Paperozi";
    src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-8ExtraBold.woff2") format("woff2");
    font-weight: 800;
    font-display: swap;
}

@font-face {
    font-family: "Paperozi";
    src: url("https://cdn.jsdelivr.net/gh/projectnoonnu/2408-3@1.0/Paperlogy-9Black.woff2") format("woff2");
    font-weight: 900;
    font-display: swap;
}
/* ==========================================================================
   유틸리티 클래스 (Utility Classes)
   ========================================================================== */
.u-flex-column-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.u-text-center {
    text-align: center;
}

.u-full-width {
    width: 100%;
}

/* ==========================================================================
   메인 레이아웃 및 히어로 섹션 (Hero Section)
   ========================================================================== */
.pointmall-event {
    --font-family-base: "Paperozi", "Paperlogy", "Pretendard", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    width: 100%;
    min-height: 100vh;
    background-color: #ebf4ff;
    font-family: var(--font-family-base);
    overflow-x: hidden;
}

/* 레거시의 태그별 폰트 선언보다 우선하도록 텍스트 요소에 직접 지정 */
.pointmall-event :is(h1, h2, h3, p, span, a, button, strong, em) {
    font-family: var(--font-family-base);
}

/* 제목·문단 클래스의 기본 여백: 외부 리셋 CSS 없이도 동일하게 표시 */
.pointmall-event .hero-text__sub,
.pointmall-event .hero-text__title,
.pointmall-event .hero-text--description,
.pointmall-event .hero-text__desc,
.pointmall-event .section__title,
.pointmall-event .section__desc,
.pointmall-event .summary-desc-box__text,
.pointmall-event .activity-card__title,
.pointmall-event .activity-card__desc,
.pointmall-event .theme-card__title,
.pointmall-event .reward-card__text,
.pointmall-event .modal__title {
    margin: 0;
    padding: 0;
}

/* PC 히어로 섹션 외곽 컨테이너 (화면 너비 100%, 높이 1040px 고정, 넘치는 2560px 이미지 양옆 자름) */
.hero-pc {
    position: relative;
    width: 100%;
    height: 1040px;
    overflow: hidden;
    background-color: #72c4fd;
}

/* 2560px 고정 크기 히어로 스테이지 (창 크기에 맞춰 줄어들지 않고 원본 2560px 유지) */
.hero-pc__inner {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2560px;
    height: 1040px;
}

/* 배경 레이어 (2560x1040 고정) */
.hero-bg-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 2560px;
    height: 1040px;
    z-index: var(--z-bg);
    pointer-events: none;
}

.hero-bg-layer img {
    width: 2560px;
    height: 1040px;
    display: block;
}

/* 히어로 텍스트 컨텐츠 (2560px 캔버스 중앙 상단 고정 배치) */
.hero-text {
    position: absolute;
    top: 72px;
    left: 50%;
    transform: translateX(-50%);
    z-index: var(--z-text);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--gap-xs);
    text-align: center;
    pointer-events: auto;
    white-space: nowrap;
}

.hero-text__sub {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: -0.02em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.hero-text__title {
    font-size: 102px;
    font-weight: 900;
    color: var(--color-text-title);
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.hero-text__title--accent {
    font-size: 98px;
    color: var(--color-title-accent);
    display: inline-block;
}
.hero-text--description {
    font-size: 24px;
    font-weight: 500;
    color: var(--color-text-grey);
}

.hero-mobile {
    display: none;
}

/* 모바일: 780 × 889 원본 배경 좌표에 모든 레이어를 맞춘다. */
@media (max-width: 768px) {
    .hero-pc {
        display: none;
    }

    .hero-mobile {
        --hero-ratio: 780 / 889;
        --hero-text-top: 11.92%;
        --hero-text-gap: 1.03vw;
        --hero-sub-size: 5.13vw;
        --hero-title-size: 11.8vw;
        --hero-desc-size: 4.1vw;
        --hero-float-distance: -1.545vw;
        display: block;
        position: relative;
        width: 100%;
        overflow: hidden;
        background: url("/edu/skin/default/content/images/point_mall/introduce/hero_bg_mo.jpg") center top / 100% 100% no-repeat;
    }

    .hero-mobile__inner {
        position: relative;
        width: 100%;
        aspect-ratio: var(--hero-ratio);
        isolation: isolate;
    }

    .hero-text--mobile {
        top: var(--hero-text-top);
        width: 100%;
        gap: var(--hero-text-gap);
        white-space: nowrap;
    }

    .hero-text--mobile .hero-text__sub {
        font-size: var(--hero-sub-size);
        font-weight: 500;
        line-height: 1.2;
        color: var(--color-white);
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    }

    .hero-text--mobile .hero-text__title {
        font-size: var(--hero-title-size);
        line-height: 1.1;
    }

    .hero-text--mobile .hero-text__title--accent {
        font-size: inherit;
    }

    .hero-text--mobile .hero-text__desc {
        font-size: var(--hero-desc-size);
        font-weight: 400;
        color: var(--color-text-body);
        line-height: 1.3;
        letter-spacing: -0.04em;
    }

    .hero-mobile__screen-layer {
        position: absolute;
        top: 49.72%;
        left: 18.97%;
        width: 62.82%;
        height: 30.6%;
        z-index: 2;
    }

    .hero-mobile__screen-layer .hero-screen-img {
        width: 100%;
        height: 100%;
        object-fit: fill;
        border-radius: 2%;
    }

    .hero-mobile__deco {
        position: absolute;
        z-index: var(--z-deco);
        pointer-events: none;
        background: center / contain no-repeat;
        animation: heroMobileFloat 2.2s ease-in-out infinite alternate;
    }

    .hero-mobile__deco--coin {
        top: 8.55%;
        left: 3.46%;
        width: 13.59%;
        aspect-ratio: 150 / 121;
        background-image: url("/edu/skin/default/content/images/point_mall/introduce/coin_topleft.png");
    }

    .hero-mobile__deco--blurred-coin {
        top: -2.25%;
        right: 1.92%;
        width: 23.08%;
        aspect-ratio: 263 / 165;
        background-image: url("/edu/skin/default/content/images/point_mall/introduce/coin_topright.png");
        animation-delay: -0.6s;
    }

    .hero-mobile__deco--cloud-character {
        top: 46.68%;
        right: -1.28%;
        width: 20.51%;
        aspect-ratio: 236 / 224;
        background-image: url("/edu/skin/default/content/images/point_mall/introduce/girl_cloud.png");
        animation-duration: 2.8s;
        animation-delay: -1.2s;
    }
}

@keyframes heroMobileFloat {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(var(--hero-float-distance));
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-mobile__deco {
        animation: none;
    }

    .hero-mobile__screen-layer .hero-screen-img {
        transition: none;
    }
}

/* ==========================================================================
   데코레이션 레이어 (Deco Layers & Animations)
   ========================================================================== */
/* 공통 데코 레이어 (배경 레이어 위에 위치함) */
.hero-deco-layer {
    position: absolute;
    z-index: var(--z-deco);
    pointer-events: none;
    animation: floatAnimation 3.2s ease-in-out infinite alternate;
}

.hero-deco-layer img {
    display: block;
}

/* 좌상단 코인 (150x121) */
.hero-deco-layer--topleft {
    top: 78px;
    left: 706px;
    width: 150px;
    height: 121px;
    animation-delay: 0s;
}

/* 우상단 코인 (263x165) */
.hero-deco-layer--topright {
    top: 0;
    left: 1630px;
    width: 263px;
    height: 165px;
    animation-delay: 0.6s;
}

/* 우측 구름위 캐릭터 (236x224) */
.hero-deco-layer--cloudgirl {
    top: 365px;
    right: 690px;
    width: 236px;
    height: 224px;
    animation-delay: 1.2s;
}

/* 중앙 노트북 스크린 데코 레이어 (689x382, 위아래 움직임 금지, 3초마다 페이드 전환) */
.hero-deco-layer--center {
    top: 393px;
    left: 937px;
    width: 689px;
    height: 382px;
    /* 위아래 움직임 금지 */
    animation: none;
}

/* 스크린 이미지 공통 스타일 및 페이드 트랜지션 */
.hero-screen-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 689px;
    height: 382px;
    object-fit: cover;
    border-radius: 4px;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

/* 활성화된 스크린 이미지 */
.hero-screen-img--active {
    opacity: 1;
}

/* ==========================================================================
   애니메이션 키프레임 (Keyframes)
   ========================================================================== */
/* 위아래 둥실둥실 모션 애니메이션 */
@keyframes floatAnimation {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-16px);
    }
}

/* ==========================================================================
   공통 시맨틱 섹션 컴포넌트 (Mandatory Section Template)
   ========================================================================== */
.section {
    padding: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

.section__inner {
    width: 960px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.section__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
}

.section__header--left {
    align-items: flex-start;
    text-align: left;
}

.section__header--right {
    align-items: flex-end;
    text-align: right;
}

.section__tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    background-color: var(--color-white);
    color: var(--color-primary, #1a75ff);
    font-size: 20px;
    font-weight: 700;
    border-radius: 999px;
    white-space: nowrap;
}

.section__title {
    font-size: 42px;
    font-weight: 800;
    color: #333333;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.section__title--accent {
    color: #1a75ff;
}

.section__desc {
    font-size: 24px;
    font-weight: 400;
    color: #666666;
    line-height: 1.4;
}

.section__body {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

/* ==========================================================================
   버튼 컴포넌트 (Button Template)
   ========================================================================== */
.pm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    text-decoration: none;
    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
    border: none;
    outline: none;
}

.pm-btn:hover {
    transform: translateY(-2px);
    opacity: 0.95;
}

.pm-btn:focus-visible,
.screen-slider__btn:focus-visible,
.screen-slider__indicator:focus-visible,
.pm-modal__close:focus-visible,
.pm-modal__preview-close:focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: 3px;
}

.pm-btn__text {
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
}

/* 주요 파란색 버튼 */
.pm-btn--primary {
    background-color: #1e70ff;
    color: var(--color-white);
    padding: 10px 20px;
    border-radius: 99px;
}

/* 테마 미리보기 버튼 */
.pm-btn--preview {
    background-color: #1e70ff;
    color: var(--color-white);
    padding: 8px 16px;
    border-radius: 99px;
}

.pm-btn--preview .pm-btn__text {
    font-size: 16px;
}

.pm-btn--preview img,
.pm-btn--preview svg {
    width: 16px;
    height: 16px;
}

/* 하단 큰 CTA 버튼 */
.pm-btn--cta {
    background-color: #8947ff;
    color: var(--color-white);
    padding: 18px 36px;
    border-radius: 200px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}
.pm-btn--cta:hover,
.pm-btn--cta:focus {
    color: var(--color-white);
}

.pm-btn--cta .pm-btn__text {
    font-size: 28px;
}

.pm-btn--cta img,
.pm-btn--cta svg {
    width: 28px;
    height: 28px;
}

/* 전체 테마 더보기 큰 버튼 */
.pm-btn--more {
    background-color: #8947ff;
    color: var(--color-white);
    padding: 16px 32px;
    border-radius: 99px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.pm-btn--more .pm-btn__text {
    font-size: 28px;
}
.pm-btn--more .pm-btn__img {
    width: 28px;
    aspect-ratio: 1/1;
    height: auto;
}

/* ==========================================================================
   1. 요약 섹션 (section--summary)
   ========================================================================== */
.section--summary {
    position: relative;
    background-color: #ffffff;
    padding-top: 60px;
    padding-bottom: 20px;
    overflow: hidden;
}

.summary-bg-elipse {
    position: absolute;
    top: 320px;
    left: 50%;
    transform: translateX(-50%);
    width: 2520px;
    height: 694px;
    max-width: none;
    pointer-events: none;
    z-index: 1;
}

.section--summary .section__inner {
    position: relative;
    z-index: 2;
}

.step-card-group {
    --step-reveal-duration: 420ms;
    --step-reveal-interval: 130ms;
    --step-reveal-distance: -24px;
    --step-reveal-easing: cubic-bezier(0.22, 1, 0.36, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    width: 100%;
}

.step-card-group--reveal-ready > :is(.step-card, .step-arrow) {
    opacity: 0;
    transform: translateX(var(--step-reveal-distance));
}

.step-card-group--revealed > :is(.step-card, .step-arrow) {
    animation: step-reveal var(--step-reveal-duration) var(--step-reveal-easing) both;
}

.step-card-group--revealed > :nth-child(2) {
    animation-delay: var(--step-reveal-interval);
}

.step-card-group--revealed > :nth-child(3) {
    animation-delay: calc(var(--step-reveal-interval) * 2);
}

.step-card-group--revealed > :nth-child(4) {
    animation-delay: calc(var(--step-reveal-interval) * 3);
}

.step-card-group--revealed > :nth-child(5) {
    animation-delay: calc(var(--step-reveal-interval) * 4);
}

@keyframes step-reveal {
    from {
        opacity: 0;
        transform: translateX(var(--step-reveal-distance));
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.step-card {
    position: relative;
    width: 305px;
    height: 250px;
    border-radius: 32px;
    background: linear-gradient(180deg, #8947ff 0%, #50a5ff 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 20px;
    box-sizing: border-box;
    overflow: visible;
}

.step-card__tag {
    background-color: var(--color-white);
    color: #1a75ff;
    font-size: 20px;
    font-weight: 700;
    padding: 8px 16px;
    border-radius: 999px;
    z-index: 2;
}

.step-card__img {
    position: absolute;
    top: 70px;
    bottom: auto;
    left: 50%;
    transform: translateX(-50%);
    width: 206px;
    height: 206px;
    object-fit: contain;
}

.step-arrow {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.step-arrow img {
    width: 32px;
    height: 32px;
}

.summary-desc-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
    padding-top: 20px;
}

.summary-desc-box__icon {
    width: 66px;
    height: 53px;
}

.summary-desc-box__text {
    font-size: 26px;
    color: #333333;
    line-height: 1.35;
    font-weight: 400;
}

.summary-desc-box__text--highlight {
    color: #1b75ff;
    font-weight: 400;
}

/* ==========================================================================
   2. 참여 섹션 (section--participation)
   ========================================================================== */
.section--participation {
    background-color: #e1f1fe;
    padding-top: 80px;
    padding-bottom: 100px;
}

.intro-split {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    width: 100%;
}

.intro-split__text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.intro-split__deco {
    position: relative;
    width: 332px;
    height: 258px;
}

.intro-split__char {
    position: relative;
}

.activity-card-group {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 12px;
}

.activity-card {
    flex: 1;
    height: 170px;
    background-color: var(--color-white);
    border-radius: 12px;
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.activity-card__icon {
    height: 52px;
    object-fit: contain;
}

.activity-card__title {
    font-size: 22px;
    font-weight: 800;
    color: #333333;
}

.activity-card__desc {
    font-size: 17px;
    color: #666666;
    text-align: center;
    line-height: 1.25;
}

/* ==========================================================================
   3. 성장 섹션 (section--growth)
   ========================================================================== */
.section--growth {
    background-color: #c5e1f7;
    padding-top: 100px;
    padding-bottom: 100px;
}

.growth-flow-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: 100%;
}

.growth-flow-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex-wrap: wrap;
}

.growth-chip {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 12px 20px;
    background-color: var(--color-white);
    border: 1px solid #8bb3ef;
    border-radius: 999px;
}

.growth-chip__icon {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.growth-chip__text {
    font-size: 32px;
    font-weight: 700;
    color: #1a75ff;
    white-space: nowrap;
}

.level-gauge-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    width: 100%;
    margin-top: 20px;
}

.level-gauge-bar {
    position: relative;
    width: 746px;
    height: 44px;
    background-color: var(--color-white);
    border: 1px solid #d5dde8;
    border-radius: 999px;
    padding: 6px;
    box-sizing: border-box;
}

.level-gauge-bar__fill {
    position: relative;
    width: 80%;
    height: 100%;
    background: linear-gradient(90deg, #feca2e 0%, #ff5557 100%);
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 6px;
    box-sizing: border-box;
}

.level-gauge-bar__dot {
    width: 20px;
    height: 20px;
    background-color: var(--color-white);
    border-radius: 50%;
}

.level-gauge-bar__flame {
    position: absolute;
    top: -45px;
    right: 120px;
    width: 76px;
    height: 99px;
}

.level-gauge-badge {
    width: 198px;
    height: 169px;
}

/* ==========================================================================
   4. 테마 섹션 (section--theme)
   ========================================================================== */
.section--theme {
    background-color: #e1f1fe;
    padding-top: 100px;
}

.theme-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    width: 100%;
}

.theme-card {
    position: relative;
    width: 100%;
    height: 180px;
    border-radius: 19px;
    overflow: hidden;
    padding: 20px 24px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    box-shadow: 0 10px 18px rgba(45, 72, 115, 0.16);
    background: linear-gradient(143deg, #14275e 0%, #754bd5 100%);
}

.theme-card__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.theme-card__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.theme-card__title {
    position: relative;
    z-index: 3;
    font-size: 24px;
    font-weight: 700;
    color: var(--color-white);
}

.theme-card__btn {
    position: relative;
    z-index: 3;
}

/* ==========================================================================
   5. 뱃지 섹션 (section--badge)
   ========================================================================== */
.section--badge {
    background-color: #e1f1fe;
    padding-top: 100px;
}

.badge-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    width: 100%;
}

.badge-card {
    flex: 0 0 180px;
    width: 180px;
    height: 180px;
    background-color: var(--color-white);
    border: 1px solid #dddddd;
    border-radius: 18px;
    padding: 20px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-sizing: border-box;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.badge-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
}

.badge-card__img {
    --badge-hover-scale: 1.1;
    --badge-wobble-angle: 3deg;
    --badge-wobble-duration: 300ms;
    --badge-scale-duration: 180ms;
    width: 90px;
    height: 107px;
    object-fit: contain;
    transition: scale var(--badge-scale-duration) ease-in-out;
}

@media (hover: hover) and (pointer: fine) {
    .badge-card:hover .badge-card__img {
        scale: var(--badge-hover-scale);
        animation: badge-wobble var(--badge-wobble-duration) ease-in-out 3;
    }
}

@keyframes badge-wobble {
    0%,
    100% {
        rotate: 0deg;
    }
    25% {
        rotate: calc(var(--badge-wobble-angle) * -1);
    }
    75% {
        rotate: var(--badge-wobble-angle);
    }
}

@media (prefers-reduced-motion: reduce) {
    .step-card-group--reveal-ready > :is(.step-card, .step-arrow) {
        opacity: 1;
        transform: none;
        animation: none;
    }

    .badge-card,
    .badge-card__img {
        transition: none;
    }

    .badge-card:hover {
        transform: none;
    }

    .badge-card:hover .badge-card__img {
        scale: 1;
        animation: none;
    }
}

.badge-card__name {
    font-size: 14px;
    font-weight: 700;
    color: #333333;
    text-align: center;
    line-height: 1.2;
    word-break: keep-all;
}

/* ==========================================================================
   6. 실제 수업 화면 섹션 (section--real-screen)
   ========================================================================== */
.section--real-screen {
    background-color: #e1f1fe;
    padding-top: 100px;
}

.screen-slider-container {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: grab;
    touch-action: pan-y;
    user-select: none;
}

.screen-slider-container--dragging {
    cursor: grabbing;
}

.screen-slider-container img {
    -webkit-user-drag: none;
    user-select: none;
}

.screen-slider-frame {
    position: relative;
    width: 960px;
    height: 680px;
    overflow: hidden;
}

.screen-slider__img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.screen-slider__img--active {
    opacity: 1;
}

.screen-slider__btn {
    position: absolute;
    top: 42%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 10;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition:
        transform 0.2s ease,
        opacity 0.2s ease;
}

.screen-slider__btn:hover {
    transform: translateY(-50%) scale(1.1);
    opacity: 0.85;
}

.screen-slider__btn img {
    display: block;
    width: auto;
    height: auto;
}

.screen-slider__btn--prev {
    left: -60px;
}

.screen-slider__btn--next {
    right: -60px;
}

/* 슬라이더 인디케이터 컴포넌트 */
.screen-slider__indicators {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 10;
}

.screen-slider__indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #fff;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.screen-slider__indicator--active {
    width: 32px;
    border-radius: 999px;
    background-color: #8947ff;
}

/* ==========================================================================
   7. 대시보드 섹션 (section--dashboard)
   ========================================================================== */
.section--dashboard {
    background-color: #e1f1fe;
    padding-top: 100px;
    padding-bottom: 100px;
}

.dashboard-preview {
    width: 100%;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.dashboard-preview img {
    width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   8. 리워드 섹션 (section--reward)
   ========================================================================== */
.section--reward {
    background-color: #c5e1f7;
    padding-top: 100px;
    padding-bottom: 100px;
}

.reward-process-group {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 12px;
}

.reward-card {
    flex: 1;
    height: 150px;
    background-color: var(--color-white);
    border-radius: 20px;
    padding: 16px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.reward-card__icon {
    height: 56px;
    object-fit: contain;
}

.reward-card__text {
    font-size: 20px;
    font-weight: 700;
    color: #333333;
    text-align: center;
    line-height: 1.25;
}

/* ==========================================================================
   9. 아웃트로 섹션 (section--outro)
   ========================================================================== */
.section--outro {
    position: relative;
    background-color: #111827;
    background-image: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)), url("/edu/skin/default/content/images/point_mall/introduce/outro_final.jpg");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    padding-top: 80px;
    padding-bottom: 80px;
    overflow: hidden;
}

.section--outro .section__inner {
    position: relative;
    z-index: 2;
    height: 520px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.section--outro .section__title,
.section--outro .section__desc {
    color: var(--color-white);
}

/* 모바일 대응 (768px 이하) */
@media (max-width: 768px) {
    .section--outro {
        background-image:
            linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)), url("/edu/skin/default/content/images/point_mall/introduce/outro_final_mo.jpg");
        padding-top: 60px;
        padding-bottom: 60px;
    }
}

/* ==========================================================================
   10. 모달 팝업 컴포넌트 (Modals: 43:1921 & 32:1481)
   ========================================================================== */
.pm-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
}

.pm-modal--active {
    opacity: 1;
    visibility: visible;
}

/* 모달 dimmed 어두운 배경 */
.pm-modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
}

/* 모달 윈도우 메인 프레임 */
.pm-modal__window {
    position: relative;
    z-index: 1001;
    background-color: var(--color-white);
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    transform: scale(0.95);
    transition: transform 0.3s ease;
}

.pm-modal--active .pm-modal__window {
    transform: scale(1);
}

/* 전체 테마 모달 윈도우 스타일 (43:1921) */
.pm-modal__window--all-themes {
    width: 960px;
    height: 840px;
    overflow: hidden;
}

/* 모달 헤더 */
.pm-modal__header {
    background-color: #115fd4;
    padding: 20px 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-shrink: 0;
}

.pm-modal__title {
    font-size: 26px;
    font-weight: 700;
    color: var(--color-white);
    text-align: center;
}

.pm-modal__close {
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
}

.pm-modal__close svg,
.pm-modal__close img {
    width: 28px;
    height: 28px;
}

/* 모달 바디 */
.pm-modal__body {
    padding: 20px;
    overflow-y: auto;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pm-modal__grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    width: 100%;
}

.pm-modal__grid .theme-card {
    flex: 0 0 290px;
    width: 290px;
}

/* 테마 미리보기 모달 윈도우 스타일 (32:1481) */
.pm-modal__window--preview {
    width: 1000px;
    max-width: 95vw;
    background-color: transparent;
    box-shadow: none;
}

.pm-modal__preview-content {
    position: relative;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
    border: 3px solid rgba(255, 255, 255, 0.9);
}

.pm-modal__preview-img {
    width: 100%;
    height: auto;
    display: block;
}

.pm-modal__preview-close {
    position: absolute;
    top: -50px;
    right: 0;
    width: 36px;
    height: 36px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    border: none;
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.2s ease;
}

.pm-modal__preview-close:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* 769~1100px: PC 구성을 유지하는 태블릿 대응 */
@media (min-width: 769px) and (max-width: 1100px) {
    .section {
        padding-left: 24px;
        padding-right: 24px;
    }

    .section__inner {
        width: 100%;
        max-width: 960px;
    }

    .step-card-group {
        gap: 12px;
    }

    .step-card {
        flex: 1;
        width: auto;
        min-width: 0;
    }

    .step-card__tag {
        padding-right: 10px;
        padding-left: 10px;
        font-size: clamp(15px, 2vw, 20px);
    }

    .level-gauge-bar {
        flex: 1;
        width: auto;
        min-width: 0;
    }

    .level-gauge-badge {
        width: clamp(150px, 20vw, 198px);
        height: auto;
    }

    .screen-slider-frame {
        width: 100%;
        height: auto;
        aspect-ratio: 960 / 680;
    }

    .screen-slider__btn--prev {
        left: 8px;
    }

    .screen-slider__btn--next {
        right: 8px;
    }
}

.mobile-break {
    display: none;
}
.section__copy--mobile {
    display: none;
}

/* mobile */
@media (max-width: 768px) {
    .pointmall-event {
        --mobile-gutter: 12px;
        --mobile-content: 351px;
        --mobile-section-space: 60px;
        --mobile-gap: 20px;
        --mobile-title: clamp(23px, 7.47vw, 28px);
        --mobile-body: clamp(14px, 4.27vw, 16px);
        --mobile-summary-body: clamp(15px, 4.8vw, 18px);
        --mobile-card-title: 20px;
        --mobile-radius: 14px;
        --mobile-blue: #1a75ff;
    }

    .mobile-break {
        display: initial;
    }
    .section__copy--mobile {
        display: inline;
    }
    .section__copy--desktop {
        display: none;
    }
    .section {
        padding: var(--mobile-section-space) var(--mobile-gutter);
    }
    .section__inner {
        width: 100%;
        max-width: var(--mobile-content);
        min-width: 0;
        gap: var(--mobile-gap);
    }
    .section__header,
    .section__header--left,
    .section__header--right {
        width: 100%;
        align-items: center;
        text-align: center;
        gap: 12px;
    }
    .section__title {
        font-size: var(--mobile-title);
        word-break: keep-all;
    }
    .section__desc {
        font-size: var(--mobile-body);
        line-height: 1.35;
        word-break: keep-all;
        overflow-wrap: anywhere;
        letter-spacing: -0.04em;
    }
    .section__body {
        min-width: 0;
        gap: var(--mobile-gap);
    }
    .section__tag {
        font-size: var(--mobile-body);
        color: var(--mobile-blue);
    }

    /* 요약: 첫 단계 아래에 성장과 리워드를 나란히 배치 */
    .section--summary {
        padding-top: 20px;
        padding-bottom: 0;
    }
    .section--summary .section__inner {
        gap: 30px;
    }
    .section--summary .section__body {
        gap: 30px;
    }
    .section--summary .section__title {
        line-height: 1.35;
        letter-spacing: -0.055em;
    }
    .summary-bg-elipse {
        width: 853px;
        height: 557px;
        top: 182px;
    }
    .step-card-group {
        position: relative;
        display: grid;
        grid-template-columns: minmax(0, 150px) 24px minmax(0, 150px);
        justify-content: center;
        gap: 20px 4px;
    }
    .step-card {
        width: 100%;
        height: 123px;
        padding-top: 14px;
        border-radius: var(--mobile-radius);
    }
    .step-card:first-child {
        grid-column: 1 / -1;
        width: 150px;
        justify-self: center;
    }
    .step-card-group > .step-arrow:nth-child(2) {
        position: absolute;
        top: 46px;
        left: calc(50% + 79px);
    }
    .step-card__tag {
        font-size: 11px;
        padding: 4px 8px;
    }
    .step-card__img {
        width: 108px;
        height: 108px;
        top: 34px;
        bottom: auto;
    }
    .step-card:first-child .step-card__img {
        top: 26px;
    }
    .step-arrow,
    .step-arrow img {
        width: 24px;
        height: 24px;
    }
    .summary-desc-box {
        padding-top: 8px;
        gap: 16px;
    }
    .summary-desc-box__icon {
        width: 43px;
        height: 35px;
    }
    .summary-desc-box__text {
        font-size: var(--mobile-summary-body);
        line-height: 1.3;
        letter-spacing: -0.055em;
    }

    /* 태그 → 캐릭터 → 제목 → 설명. 기존 PC DOM을 모바일에서 재배치 */
    .intro-split {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        text-align: center;
    }
    .intro-split .section__header {
        display: contents;
    }
    .intro-split .section__tag {
        order: 0;
    }
    .intro-split__deco {
        order: 1;
        width: 100%;
        max-width: 330px;
        height: auto;
    }
    .intro-split__char {
        width: 100%;
        height: auto;
    }
    .intro-split .section__title {
        order: 2;
        width: 100%;
        font-size: clamp(22px, 6.93vw, 26px);
    }
    .intro-split .section__desc {
        order: 3;
        width: 100%;
    }
    .section--participation .section__title {
        letter-spacing: -0.055em;
    }
    .activity-card-group {
        display: grid;
        grid-template-columns: 32px minmax(0, 1fr) 32px minmax(0, 1fr);
        grid-template-rows: repeat(2, minmax(147px, auto));
        align-items: center;
        justify-content: center;
        width: min(367px, calc(100vw - 8px));
        gap: 12px 4px;
    }
    .activity-card-group > .activity-card:nth-child(1) {
        grid-column: 2;
        grid-row: 1;
    }
    .activity-card-group > .step-arrow:nth-child(2) {
        grid-column: 3;
        grid-row: 1;
    }
    .activity-card-group > .activity-card:nth-child(3) {
        grid-column: 4;
        grid-row: 1;
    }
    .activity-card-group > :nth-child(-n + 3) {
        transform: translateX(-18px);
    }
    .activity-card-group > .step-arrow:nth-child(4) {
        grid-column: 1;
        grid-row: 2;
    }
    .activity-card-group > .activity-card:nth-child(5) {
        grid-column: 2;
        grid-row: 2;
    }
    .activity-card-group > .step-arrow:nth-child(6) {
        grid-column: 3;
        grid-row: 2;
    }
    .activity-card-group > .activity-card:nth-child(7) {
        grid-column: 4;
        grid-row: 2;
    }
    .activity-card-group > .step-arrow,
    .activity-card-group > .step-arrow img {
        width: 32px;
        height: 32px;
    }
    .activity-card {
        width: 100%;
        height: 100%;
        min-height: 147px;
        padding: 12px 10px;
        gap: 4px;
        border-radius: 20px;
    }
    .activity-card__title {
        font-size: var(--mobile-card-title);
        line-height: 1.4;
    }
    .activity-card__desc {
        font-size: 14px;
        line-height: 1.2;
        word-break: keep-all;
        letter-spacing: -0.04em;
    }

    /* 성장 단계: 2개씩 3줄 */
    .growth-flow-box {
        display: grid;
        grid-template-columns: 24px minmax(0, 1fr) 24px minmax(0, 1fr);
        gap: 10px 2px;
    }
    .growth-flow-row {
        display: contents;
    }
    .growth-flow-row:first-child > .growth-chip:first-child {
        grid-column: 2;
    }
    .growth-chip {
        min-width: 0;
        justify-content: center;
        padding: 7px 3px;
        gap: 2px;
    }
    .growth-chip__icon {
        width: 29px;
        height: 29px;
        flex-shrink: 0;
    }
    .growth-chip__text {
        font-size: clamp(13px, 4.27vw, 16px);
        line-height: 1.45;
    }
    .level-gauge-wrapper {
        margin-top: 0;
        gap: 8px;
    }
    .level-gauge-bar {
        width: auto;
        flex: 1;
        min-width: 0;
        height: 40px;
    }
    .level-gauge-bar__fill {
        width: 70%;
        padding-right: 4px;
    }
    .level-gauge-bar__dot {
        width: 5px;
        height: 5px;
    }
    .level-gauge-bar__flame {
        width: 55px;
        height: 72px;
        top: -30px;
        right: 20%;
    }
    .level-gauge-badge {
        width: 39%;
        height: auto;
    }

    .section--theme,
    .section--badge,
    .section--real-screen {
        padding-bottom: 0;
    }
    .theme-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: var(--mobile-gap);
    }
    .theme-grid > .theme-card:nth-child(n + 4) {
        display: none;
    }
    .theme-card {
        height: 180px;
    }
    .theme-card__title {
        font-size: var(--mobile-card-title);
    }
    .pm-btn--more {
        max-width: 100%;
        padding: 12px 24px;
        gap: 8px;
    }
    .pm-btn--more .pm-btn__text {
        font-size: clamp(16px, 5.33vw, 20px);
        white-space: nowrap;
    }
    .pm-btn--more .pm-btn__img {
        flex-shrink: 0;
    }
    .badge-grid {
        gap: 10px;
    }
    .badge-card {
        flex: 0 0 calc((100% - 20px) / 3);
        max-width: none;
        width: auto;
        height: 104px;
        padding: 12px 3px;
        gap: 6px;
        border-radius: 11px;
    }
    .badge-card__img {
        width: 54px;
        height: 64px;
    }
    .badge-card__name {
        font-size: 8.4px;
        white-space: nowrap;
        letter-spacing: -0.04em;
    }

    .screen-slider-container {
        width: 100%;
    }
    .screen-slider-frame {
        width: calc(100% - 30px);
        height: auto;
        aspect-ratio: 960 / 680;
    }
    .screen-slider__img {
        object-fit: contain;
    }
    .screen-slider__btn {
        width: 44px;
        height: 44px;
        top: 42%;
    }
    .screen-slider__btn img {
        width: 21px;
        height: 21px;
    }
    .screen-slider__btn--prev {
        left: -12px;
    }
    .screen-slider__btn--next {
        right: -12px;
    }
    .screen-slider__indicators {
        bottom: 20px;
        gap: 0;
        background-color: rgba(256, 256, 256, 0.8);
        border-radius: 99px;
        padding: 0 10px;
    }
    .screen-slider__indicator {
        position: relative;
        width: 22px;
        height: 22px;
        background: transparent;
        border-radius: 0;
    }
    .screen-slider__indicator::after {
        content: "";
        position: absolute;
        width: 8px;
        height: 8px;
        border-radius: 99px;
        background: #989898;
        top: 7px;
        left: 7px;
    }
    .screen-slider__indicator--active {
        width: 28px;
        background: transparent;
    }
    .screen-slider__indicator--active::after {
        width: 16px;
        left: 6px;
        background: #8947ff;
    }
    .dashboard-preview {
        width: min(100%, 320px);
        border-radius: 16px;
        box-shadow: none;
    }

    .section--reward .intro-split__deco {
        max-width: 300px;
    }
    .section--reward .section__title {
        font-size: var(--mobile-title);
    }
    .reward-process-group {
        display: grid;
        grid-template-columns: 32px minmax(0, 1fr) 32px minmax(0, 1fr);
        grid-template-rows: repeat(2, minmax(147px, auto));
        align-items: center;
        justify-content: center;
        width: min(367px, calc(100vw - 8px));
        gap: 12px 4px;
    }
    .reward-process-group > .reward-card:nth-child(1) {
        grid-column: 2;
        grid-row: 1;
    }
    .reward-process-group > .step-arrow:nth-child(2) {
        grid-column: 3;
        grid-row: 1;
    }
    .reward-process-group > .reward-card:nth-child(3) {
        grid-column: 4;
        grid-row: 1;
    }
    .reward-process-group > :nth-child(-n + 3) {
        transform: translateX(-18px);
    }
    .reward-process-group > .step-arrow:nth-child(4) {
        grid-column: 1;
        grid-row: 2;
    }
    .reward-process-group > .reward-card:nth-child(5) {
        grid-column: 2;
        grid-row: 2;
    }
    .reward-process-group > .step-arrow:nth-child(6) {
        grid-column: 3;
        grid-row: 2;
    }
    .reward-process-group > .reward-card:nth-child(7) {
        grid-column: 4;
        grid-row: 2;
    }
    .reward-process-group > .step-arrow,
    .reward-process-group > .step-arrow img {
        width: 32px;
        height: 32px;
    }
    .reward-card {
        width: 100%;
        min-width: 0;
        height: 100%;
        min-height: 147px;
        padding: 12px 10px;
        gap: 4px;
        border-radius: 20px;
    }
    .reward-card__icon {
        width: 72px;
        height: 56px;
        object-fit: contain;
    }
    .reward-card__text {
        font-size: var(--mobile-body);
        font-weight: 600;
        line-height: 1.2;
    }
    .section--outro {
        min-height: 481px;
        padding-top: 60px;
        padding-bottom: 46px;
    }
    .section--outro .section__inner {
        height: auto;
        min-height: 375px;
        flex-direction: column;
        justify-content: space-between;
    }
    .pm-btn--cta {
        padding: 12px 24px;
    }
    .pm-btn--cta .pm-btn__text {
        font-size: clamp(20px, 6.4vw, 24px);
    }

    /* 모바일 팝업도 화면 폭 안에서 스크롤 및 닫기 가능 */
    .pm-modal__window {
        border-radius: 16px;
        max-height: 85vh;
        max-height: 85dvh;
    }
    .pm-modal__window--all-themes {
        width: calc(100% - 24px);
        max-width: 480px;
        height: 760px;
    }
    .pm-modal__header {
        padding: 18px 44px;
    }
    .pm-modal__title {
        font-size: 20px;
    }
    .pm-modal__close {
        right: 6px;
        width: 40px;
        height: 40px;
    }
    .pm-modal__body {
        padding: 12px;
    }
    .pm-modal__grid {
        gap: 12px;
    }
    .pm-modal__grid .theme-card {
        flex: 0 0 100%;
        width: 100%;
    }
    .pm-modal__window--preview {
        width: calc(100% - 24px);
        max-width: 600px;
    }
    .pm-modal__preview-close {
        width: 44px;
        height: 44px;
        top: -50px;
    }
}
