/* 상품권 구매 방법 팝업 스타일 */
.gift-purchase-modal {
    font-family:'snsv','sans-serif';
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 999999;
    backdrop-filter: blur(5px);
    overflow-y: auto;
}

.gift-purchase-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.gift-purchase-content {
    position: relative;
    width: 90%;
    max-width: 800px;
    max-height: 100vh;
    background: linear-gradient(145deg, rgba(26, 26, 46, 0.98), rgba(22, 33, 62, 0.98));
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.gift-purchase-header {
    padding: 20px 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.3);
}

.gift-purchase-title {
    font-size: 20px;
    font-weight: 600;
    color: #00ff88;
    font-family: 'Noto Sans KR', sans-serif;
    display: flex;
    align-items: center;
    gap: 10px;
}

.gift-purchase-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 28px;
    cursor: pointer;
    transition: all 0.3s;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.gift-purchase-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.gift-purchase-tabs {
    display: flex;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.gift-tab-btn {
    flex: 1;
    padding: 15px 20px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Noto Sans KR', sans-serif;
    position: relative;
}

.gift-tab-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.9);
}

.gift-tab-btn.active {
    background: rgba(0, 255, 136, 0.1);
    color: #00ff88;
}

.gift-tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: #00ff88;
}

.gift-purchase-body {
    padding: 25px;
    overflow-y: auto;
    max-height: calc(90vh - 120px);
}

.gift-tab-content {
    display: none;
}

.gift-tab-content.active {
    display: block;
}

.gift-method-section {
    margin-bottom: 25px;
}

.gift-method-title {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.gift-method-description {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.gift-highlight-box {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.15), rgba(0, 204, 106, 0.1));
    border: 2px solid #00ff88;
    border-radius: 10px;
    padding: 18px;
    margin-bottom: 20px;
}

.gift-highlight-title {
    font-size: 15px;
    font-weight: 600;
    color: #00ff88;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.gift-highlight-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.gift-recommend-badge {
    display: inline-block;
    background: linear-gradient(135deg, #00ff88, #00cc6a);
    color: #000;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-left: 8px;
}

/* 이미지 슬라이더 스타일 */
.gift-slider-container {
    position: relative;
    width: 100%;
    margin: 20px 0;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    overflow: hidden;
}

.gift-image-swiper {
    width: 100%;
    padding: 40px 0;
}

.gift-image-swiper .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}

.gift-image-swiper img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.gift-swiper-button-prev,
.gift-swiper-button-next {
    color: #00ff88;
    background: rgba(0, 0, 0, 0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: all 0.3s;
}

.gift-swiper-button-prev:hover,
.gift-swiper-button-next:hover {
    background: rgba(0, 255, 136, 0.2);
    transform: scale(1.1);
}

.gift-swiper-button-prev::after,
.gift-swiper-button-next::after {
    font-size: 20px;
}

.gift-swiper-pagination {
    bottom: 10px !important;
}

.gift-swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.5);
}

.gift-swiper-pagination-bullet-active {
    background: #00ff88;
}

.gift-step-list {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.gift-step-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border-left: 3px solid #00ff88;
}

.gift-step-number {
    background: #00ff88;
    color: #000;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 13px;
    flex-shrink: 0;
}

.gift-step-text {
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    line-height: 1.5;
}

.gift-other-methods {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.gift-other-method-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    transition: all 0.3s;
}

.gift-other-method-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 255, 136, 0.3);
    transform: translateY(-2px);
}

.gift-other-method-icon {
    font-size: 32px;
    margin-bottom: 10px;
}

.gift-other-method-name {
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 5px;
}

.gift-other-method-desc {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

/* 스피드볼 특별 혜택 안내 */
.gift-speedball-notice {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    border: 2px solid #ff6b35;
    border-radius: 12px;
    padding: 5px;
    margin: 20px 0;
    position: relative;
    overflow: hidden;
    animation: giftPulse 2s ease-in-out infinite;
}

.gift-speedball-notice::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: giftShine 3s ease-in-out infinite;
}

.gift-speedball-content {
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
    z-index: 2;
}

.gift-speedball-icon {
    font-size: 36px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    animation: giftBounce 1.5s ease-in-out infinite;
}

.gift-speedball-text {
    flex: 1;
}

.gift-speedball-text strong {
    display: block;
    font-size: 16px;
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 5px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.gift-speedball-sub {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* 장점 강조 박스 */
.gift-advantages {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.2), rgba(0, 204, 106, 0.15));
    border: 2px solid #00ff88;
    border-left: 6px solid #00ff88;
}

.gift-advantages .gift-highlight-title {
    color: #00ff88;
}

.gift-advantages .gift-highlight-title i {
    color: #00cc6a;
}

/* 단점 안내 박스 */
.gift-disadvantages {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.15), rgba(255, 152, 0, 0.1));
    border: 2px solid #ffc107;
    border-left: 6px solid #ffc107;
}

.gift-disadvantages .gift-highlight-title {
    color: #ffc107;
}

.gift-disadvantages .gift-highlight-title i {
    color: #ff9800;
}

/* 애니메이션 효과 */
@keyframes giftPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 20px rgba(255, 107, 53, 0.3);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 6px 25px rgba(255, 107, 53, 0.5);
    }
}

@keyframes giftShine {
    0% {
        transform: translateX(-100%) translateY(-100%);
    }
    50% {
        transform: translateX(0%) translateY(0%);
    }
    100% {
        transform: translateX(100%) translateY(100%);
    }
}

@keyframes giftBounce {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-5px);
    }
}

/* 호버 효과 개선 */
.gift-advantages:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 255, 136, 0.2);
    transition: all 0.3s ease;
}

.gift-disadvantages:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.2);
    transition: all 0.3s ease;
}

/* 모바일 반응형 */
@media (max-width: 1500px) {
    .gift-purchase-content {
        width: 95%;
        max-width: 500px;
    }

    .gift-purchase-header {
        padding: 15px 20px;
    }

    .gift-purchase-title {
        font-size: 18px;
    }

    .gift-purchase-body {
        padding: 20px 15px;
    }

    .gift-tab-btn {
        padding: 12px 15px;
        font-size: 13px;
    }

    .gift-image-swiper img {
        max-width: 100%;
    }

    .gift-other-methods {
        grid-template-columns: 1fr;
    }

    .gift-swiper-button-prev,
    .gift-swiper-button-next {
        width: 35px;
        height: 35px;
    }

    .gift-swiper-button-prev::after,
    .gift-swiper-button-next::after {
        font-size: 18px;
    }
}

@media (max-width: 500px) {
    .gift-purchase-content {
        width: 100%;
        max-height: 100%;
        border-radius: 0;
    }

    .gift-purchase-body {
        max-height: calc(100vh - 200px);
    }

    .gift-highlight-box {
        padding: 15px;
    }

    .gift-method-description {
        padding: 12px;
        font-size: 13px;
    }

    /* 모바일 스피드볼 박스 */
    .gift-speedball-notice {
        padding: 5px;
        margin: 0 0 20px;
    }

    .gift-speedball-content {
        gap: 12px;
    }

    .gift-speedball-icon {
        font-size: 20px;
    }

    .gift-speedball-text strong {
        font-size: 14px;
    }

    .gift-speedball-sub {
        font-size: 12px;
    }
}

#body .swiper-pagination-bullet {
    background:#ffffff;
}