/* 가로 스와이프 슬라이더 (첫 번째 다 나오고 두 번째 반 걸치는 구조) */
.event-slider {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; 
    scroll-snap-type: x mandatory;
    padding-left: 0;
    padding-right: 0;
    scrollbar-width: none;
    box-sizing: border-box;
    width: 100%;
}
.event-slider::-webkit-scrollbar {
    display: none;
}

/* 개별 이벤트 아이템 */
.event-item {
    flex: 0 0 75%; 
    max-width: 320px; 
    scroll-snap-align: start;
    cursor: pointer;
}

/* 이미지 카드 박스 */
.event-card-img {
    border-radius: 16px;
    overflow: hidden;
    background: #f4f7f9; 
    border: 1px solid #e1ecf4;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.event-card-img img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 4 / 5; 
    object-fit: cover;
    transition: transform 0.2s ease;
}

.event-item:active .event-card-img img {
    transform: scale(0.98);
}

/* 이미지 하단 텍스트 영역 */
.event-txt {
    padding: 10px 4px 0 4px;
}

.event-txt .tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    color: var(--point_color);
    background: rgba(13, 65, 105, 0.08);
    padding: 2px 6px;
    border-radius: 4px;
    margin-bottom: 4px;
    letter-spacing: 0.5px;
}

.event-txt h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--text_dark);
    margin: 0;
    letter-spacing: -0.5px;
}
/* 이용 방법 전체 영역 */

.howto-section {
    width: 100%;
    padding: 24px 20px 35px ;
    box-sizing: border-box;
    background: #ffffff;
}

.howto-section .section-title {
    padding: 0;
    margin-bottom: 14px;
}

.howto-section .section-title h2 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text_dark);
    margin: 0 0 2px 0;
    letter-spacing: -0.5px;
	margin-bottom: 10px;
}

.howto-section .section-title p {
    font-size: 13px;
    color: #666666;
    margin: 0;
    letter-spacing: -0.5px;
}

/* 가로 스와이프 슬라이더 영역 */
.howto-slider {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding-left: 20px;
    padding-right: 40px;
    scrollbar-width: none;
    box-sizing: border-box;
    width: 100%;
}

.howto-slider::-webkit-scrollbar {
    display: none;
}

/* 개별 카드 디자인 (레퍼런스처럼 컬러풀하고 큼직한 박스) */

.howto-card {
    flex: 0 0 82%;
    max-width: 320px;
    scroll-snap-align: start;
    background: var(--point_color);
    border-radius: 24px;
    padding: 26px 20px 20px 20px;
    box-sizing: border-box;
    box-shadow: 0 8px 24px rgba(13, 65, 105, 0.15);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 180px;
    position: relative;
    overflow: hidden;
}
/* STEP 1 카드 그라데이션 (밝고 청량한 블루 톤) */
.howto-card:nth-child(1) {
    background: linear-gradient(135deg, #2fa4e7 0%, #1e83bb 100%);
}

/* STEP 2 카드 그라데이션 (안정감 있는 메인 블루 톤) */
.howto-card:nth-child(2) {
    background: linear-gradient(135deg, #1e83bb 0%, #135d8c 100%);
}

/* STEP 3 카드 그라데이션 (딥하고 묵직한 네이비 블루 톤) */
.howto-card:nth-child(3) {
    background: linear-gradient(135deg, #135d8c 0%, #0d4169 100%);
}
/* 스마트폰 외곽 프레임 (카드 우측 하단에 밀착) */
.css-phone-mockup {
    width: 68px;
    height: 110px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 14px;
    box-sizing: border-box;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-right: -4px;
    margin-bottom: -6px; /* 바닥에 살짝 걸치게 밀착 */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* 스마트폰 내부 화면 영역 */
.css-phone-mockup .phone-screen {
    width: 100%;
    height: 100%;
    background: #ffffff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* 내부 화면에 들어가는 사용자의 아이콘 이미지 */
.css-phone-mockup .phone-screen img {
    width: 70%;
    height: 70%;
    object-fit: contain;
}
/* 상단 타이틀 영역 */
.howto-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1.35;
    letter-spacing: -0.5px;
}

/* 하단 영역: 뱃지와 이미지를 좌우로 배치 */
.howto-card .card-bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

}

.howto-card .step-badge {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.22);
    padding: 6px 14px;
    border-radius: 8px;
    letter-spacing: 0.5px;
    margin-bottom: 24px; 
}
.howto-card .card-img {
    height: 110px; 
    width: auto;   
    flex-shrink: 0;
    margin-right: -6px;
    margin-bottom: 0;
}

.howto-card .card-img img {
    height: 100%;  
    width: auto;   
    object-fit: contain;
    object-position: bottom right;
}

#main .order { width: 100%; height: 350px; padding: 56px 0; box-sizing: border-box; background: url('../img/main_pic1.png') center center no-repeat; background-size: cover; }
#main .order input[type="button"] { display: block; left: 0; right: 0; border-radius: 10px; margin: auto; width: 166px; height: 44px; background: #284889; border: 1px solid #284889; box-sizing: border-box; font-size: 16px; font-weight: 400; color: #fff; }
#main .order input[type="image"] { width: 256px; border-radius: 12px; }
#main .order input[type="button"]:active { background: #fff; color: #284889; }



