/* WIDI에서 진행하는 라이브방송 상품 팔기 섹션 CSS */

/* 섹션 전체 - 풀화면 구현 */
.kt-live-selling-section {
    position: relative;
    width: 100vw;
    min-height: 100vh;
    left: 50%;
    margin-left: -50vw;
    background: linear-gradient(135deg, #8e44ad 0%, #e74c3c 100%); /* 라이브방송 테마 그라데이션 */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 80px 20px;
    box-sizing: border-box;
    overflow: hidden;
}

/* 배경 */
.kt-live-selling-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #8e44ad 0%, #e74c3c 100%);
    z-index: 1;
}

.kt-live-selling-content-wrapper {
    position: relative;
    z-index: 2;
    max-width: 1440px;
    width: 100%;
    padding: 0 20px;
    text-align: center;
}

/* 타이틀 영역 */
.kt-live-selling-title-area {
    margin-bottom: 40px;
}

.kt-live-selling-main-title {
    font-size: 3.2rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 20px 0;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

/* 설명문 */
.kt-live-selling-description {
    margin-bottom: 60px;
}

.kt-live-selling-description p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    line-height: 1.6;
    font-weight: 500;
}

/* 카드 그리드 */
.kt-live-selling-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

/* PC용 2열 레이아웃 */
@media (min-width: 1200px) {
    .kt-live-selling-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
        max-width: 1000px;
    }
}

/* 카드 */
.kt-live-selling-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.kt-live-selling-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.kt-live-selling-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #8e44ad, #e74c3c);
}

/* 카드 번호 */
.kt-live-selling-card-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #8e44ad, #e74c3c);
    color: #ffffff;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 50px;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 20px rgba(142, 68, 173, 0.4);
}

/* 카드 아이콘 */
.kt-live-selling-card-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.kt-live-selling-card:hover .kt-live-selling-card-icon {
    transform: scale(1.1) rotate(5deg);
}

.kt-live-selling-card-icon span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.8rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 1px;
}

/* 아이콘 배경 */
.kt-icon-cart {
    background: linear-gradient(45deg, #ff6b6b, #ffa726);
}

.kt-icon-promotion {
    background: linear-gradient(45deg, #4ecdc4, #45b7d1);
}

.kt-icon-order {
    background: linear-gradient(45deg, #96ceb4, #feca57);
}

.kt-icon-profit {
    background: linear-gradient(45deg, #ff9ff3, #54a0ff);
}

/* 카드 제목 */
.kt-live-selling-card-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2c3e50;
    margin: 0 0 1rem 0;
    line-height: 1.3;
}

/* 카드 내용 */
.kt-live-selling-card-content p {
    font-size: 1rem;
    color: #5a6c7d;
    margin: 0;
    line-height: 1.6;
    font-weight: 500;
}

/* 모바일 반응형 */
@media (max-width: 768px) {
    .kt-live-selling-section {
        padding: 60px 15px;
        min-height: auto;
    }
    
    .kt-live-selling-main-title {
        font-size: 2.2rem;
    }
    
    .kt-live-selling-description p {
        font-size: 1.1rem;
    }
    
    .kt-live-selling-cards-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .kt-live-selling-card {
        padding: 2rem 1.5rem;
    }
    
    .kt-live-selling-card-title {
        font-size: 1.3rem; /* 온보딩 섹션과 동일 */
    }
    
    .kt-live-selling-card-content p {
        font-size: 1.35rem; /* 온보딩 섹션과 동일 */
    }
}

@media (max-width: 480px) {
    .kt-live-selling-section {
        padding: 40px 10px;
    }
    
    .kt-live-selling-main-title {
        font-size: 1.8rem;
    }
    
    .kt-live-selling-description p {
        font-size: 1rem;
    }
    
    .kt-live-selling-card {
        padding: 1.5rem 1rem;
    }
    
    .kt-live-selling-card-icon {
        width: 60px;
        height: 60px;
    }
    
    .kt-live-selling-card-number {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        line-height: 40px;
    }
    
    .kt-live-selling-card-title {
        font-size: 1.2rem; /* 온보딩 섹션과 동일 */
    }
    
    .kt-live-selling-card-content p {
        font-size: 1.275rem; /* 온보딩 섹션과 동일 */
    }
}

/* 접근성 고려 */
@media (prefers-reduced-motion: reduce) {
    .kt-live-selling-card,
    .kt-live-selling-card-icon {
        transition: none;
    }
    
    .kt-live-selling-card:hover {
        transform: none;
    }
}
