/* 🔥 강력한 캐시 무효화 events CSS - 버스터: 1757640635847 */
/* 🎯 이벤트 페이지 프리미엄 디자인 시스템 v2.0 */

/* === 🔧 강제 흰색 배경 설정 === */
body {
    background-color: #ffffff !important;
    background: #ffffff !important;
}

html {
    background-color: #ffffff !important;
    background: #ffffff !important;
}

/* === 🎯 이벤트 페이지 전용 스타일 === */
/* 
 * ⚠️ 주의: 헤더와 사이드메뉴 스타일은 common.css에서 관리
 * 이 파일에서는 헤더/메뉴 스타일을 재정의하지 않음
 */

/* === 🌟 프리미엄 이벤트 히어로 섹션 === */
.events-hero {
    background: linear-gradient(135deg, #007aff 0%, #5856d6 50%, #af52de 100%);
    color: white;
    padding: 120px 40px 80px;
    text-align: center;
    margin-top: 72px;
    position: relative;
    overflow: hidden;
    border-radius: 0 0 40px 40px;
}

.events-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 30%, rgba(255, 255, 255, 0.08) 0%, transparent 40%);
    pointer-events: none;
}

.events-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.events-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.1;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, #ffffff 0%, #f0f8ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleGlow 3s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    0% { text-shadow: 0 4px 20px rgba(255, 255, 255, 0.3); }
    100% { text-shadow: 0 6px 30px rgba(255, 255, 255, 0.5); }
}

.events-hero p {
    font-size: 1.3rem;
    opacity: 0.95;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    line-height: 1.6;
}

.events-hero .hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 50px;
    position: relative;
    z-index: 1;
}

.hero-stat {
    text-align: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 24px 32px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.hero-stat:hover {
    transform: translateY(-5px) scale(1.05);
    background: rgba(255, 255, 255, 0.15);
}

.hero-stat .number {
    font-size: 2.8rem;
    font-weight: 800;
    display: block;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-stat .label {
    font-size: 1rem;
    opacity: 0.9;
    margin-top: 8px;
    font-weight: 500;
}

/* === 💎 프리미엄 이벤트 컨테이너 === */
.events-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 40px;
    position: relative;
    background-color: #ffffff; /* Safari 다크모드 대응 */
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 32px;
    margin-bottom: 40px;
}

/* === 🎨 프리미엄 이벤트 카드 === */
.event-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    height: auto;
    min-height: 500px; /* 모든 카드 최소 높이 통일 */
    display: flex;
    flex-direction: column;
}

.event-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #007aff, #5856d6, #af52de);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.event-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 122, 255, 0.2), 0 8px 32px rgba(0, 0, 0, 0.15);
}

.event-card:hover::before {
    opacity: 1;
}

.event-banner {
    height: 240px;
    background: linear-gradient(135deg, #007aff, #5856d6);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.4rem;
    font-weight: 700;
    overflow: hidden;
    flex-shrink: 0; /* 배너 높이 고정 */
}

.event-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.08) 0%, transparent 40%);
    pointer-events: none;
}

.event-banner.special {
    background: linear-gradient(135deg, #ff3b30, #ff9500, #ffcc02);
}

.event-banner.premium {
    background: linear-gradient(135deg, #5856d6, #af52de, #ff2d92);
}

/* 친구 추천 이벤트 전용 배너 스타일 추가 */
.event-banner.referral {
    background: linear-gradient(135deg, #34c759, #30d158, #00d4aa);
}

.event-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #333;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.event-badge.hot {
    background: linear-gradient(135deg, #ff3b30, #ff9500);
    color: white;
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.event-badge.new {
    background: linear-gradient(135deg, #34c759, #30d158);
    color: white;
}

.event-content {
    padding: 32px;
    position: relative;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* 남은 공간 채우기 */
    justify-content: space-between; /* 내용 균등 분배 */
}

.event-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: #1d1d1f;
    line-height: 1.3;
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
    text-align: center; /* 제목 중앙 정렬 */
}

.event-description {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
    text-align: center; /* 설명 중앙 정렬 */
    flex-grow: 0;
}

.event-benefits {
    margin-bottom: 24px;
    text-align: left !important;
    flex-grow: 1; /* 혜택 목록이 유연하게 공간 차지 */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.event-benefits li {
    padding: 12px 0 12px 36px;
    color: #333;
    position: relative;
    margin-bottom: 8px;
    min-height: 32px;
    display: flex;
    align-items: center;
    font-weight: 500;
    transition: all 0.2s ease;
    text-align: left !important;
    justify-content: flex-start;
    line-height: 1.5;
}

.event-benefits li:hover {
    color: #007aff;
    transform: translateX(4px);
}

.event-benefits li::before {
    content: "✓";
    position: absolute;
    left: 0px;
    top: 50%;
    transform: translateY(-50%);
    color: #34c759;
    font-weight: 800;
    width: 24px;
    height: 24px;
    text-align: center;
    font-size: 1.1rem;
    background: rgba(52, 199, 89, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(52, 199, 89, 0.2);
    flex-shrink: 0;
}

.event-period {
    background: linear-gradient(135deg, #f0f8ff 0%, #e6f3ff 100%);
    border: 2px solid rgba(0, 122, 255, 0.2);
    padding: 14px 18px;
    border-radius: 10px;
    font-size: 0.9rem;
    color: #333;
    margin-bottom: 20px;
    border-left: 4px solid #007aff;
    position: relative;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 122, 255, 0.1);
}

.event-period::before {
    content: '📅';
    margin-right: 6px;
    font-size: 1rem;
    vertical-align: middle;
}

/* === 🚀 프리미엄 CTA 버튼 (파란색 복원) === */
.event-cta {
    background: linear-gradient(135deg, #007aff 0%, #0066cc 100%) !important;
    color: white !important;
    border: none;
    padding: 20px 40px !important;
    border-radius: 16px;
    font-weight: 700;
    width: 100%;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    font-size: 1.2rem !important;
    box-shadow: 0 12px 32px rgba(0, 122, 255, 0.4) !important;
    position: relative;
    overflow: hidden;
    text-transform: none;
    letter-spacing: 0.5px;
    margin-top: auto; /* 버튼을 하단으로 밀기 */
    display: block;
    min-height: 64px !important;
    flex-shrink: 0; /* 버튼 크기 고정 */
}

/* 친구 추천 이벤트 버튼 전용 스타일 */
.event-cta[data-event-type="referral"] {
    background: linear-gradient(135deg, #34c759 0%, #30d158 100%) !important;
    box-shadow: 0 12px 32px rgba(52, 199, 89, 0.4) !important;
}

.event-cta[data-event-type="referral"]:hover {
    background: linear-gradient(135deg, #30d158 0%, #00d4aa 100%) !important;
    box-shadow: 0 20px 50px rgba(52, 199, 89, 0.5) !important;
}

.event-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.event-cta:hover {
    background: linear-gradient(135deg, #0066cc 0%, #004499 100%) !important;
    transform: translateY(-4px) scale(1.03) !important;
    box-shadow: 0 20px 50px rgba(0, 122, 255, 0.5) !important;
}

.event-cta:hover::before {
    left: 100%;
}

.event-cta:active {
    transform: translateY(-1px) scale(1);
    box-shadow: 0 8px 24px rgba(0, 122, 255, 0.3);
}

/* === 📋 섹션 타이틀 === */
.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 16px;
    color: #1d1d1f;
    background: linear-gradient(135deg, #1d1d1f 0%, #007aff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1.6;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* === 🎯 특별 혜택 섹션 === */
.special-offers {
    background: linear-gradient(135deg, #fafbff 0%, #f0f8ff 100%);
    padding: 80px 40px;
    margin: 80px 0;
    border-radius: 32px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 122, 255, 0.1);
}

.special-offers::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(0, 122, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(88, 86, 214, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.offer-item {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 40px 32px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.offer-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #007aff, #5856d6);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.offer-item:hover {
    border-color: rgba(0, 122, 255, 0.3);
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 20px 60px rgba(0, 122, 255, 0.15);
}

.offer-item:hover::before {
    transform: scaleX(1);
}

.offer-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #007aff, #5856d6);
    border-radius: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 2.5rem;
    color: white;
    box-shadow: 0 8px 24px rgba(0, 122, 255, 0.3);
    position: relative;
}

.offer-icon::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    background: linear-gradient(135deg, #007aff, #5856d6);
    border-radius: 44px;
    opacity: 0.3;
    animation: iconPulse 2s ease-in-out infinite;
    z-index: -1;
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.1); opacity: 0.1; }
}

.offer-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #1d1d1f;
}

.offer-value {
    font-size: 2.2rem;
    font-weight: 800;
    color: #007aff;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #007aff, #5856d6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.offer-description {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 400;
}

/* === 🌟 프리미엄 CTA 섹션 === */
.final-cta-section {
    padding: 80px 40px 120px;
    background: linear-gradient(135deg, #fafbff 0%, #f0f4ff 100%);
    position: relative;
    overflow: hidden;
    transform: translateZ(0);
    will-change: auto;
}

.final-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 70%, rgba(0, 122, 255, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(175, 82, 222, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.final-cta-container {
    max-width: 1400px;
    margin: 0 auto;
    display: block;
    position: relative;
    z-index: 1;
    transform: translateZ(0);
}

.final-cta-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 40px;
    line-height: 1.2;
    text-align: center;
    color: #1d1d1f;
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(135deg, #1d1d1f 0%, #007aff 50%, #5856d6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-button-container {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-radius: 24px;
    padding: 40px;
    margin: 0 auto;
    max-width: 800px;
    box-shadow: 0 8px 32px rgba(0, 122, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    position: relative;
    transform: translateZ(0);
    will-change: auto;
}

.cta-button-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #007aff, #5856d6);
    transform: scaleX(0);
    transition: transform 0.6s ease;
}

.cta-button-container:hover {
    background: rgba(255, 255, 255, 0.6);
    box-shadow: 0 12px 40px rgba(0, 122, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.cta-button-container:hover::before {
    transform: scaleX(1);
}

.event-cta-style {
    background: linear-gradient(135deg, #007aff 0%, #5856d6 50%, #af52de 100%);
    color: white;
    border: none;
    padding: 24px 48px;
    border-radius: 20px;
    font-weight: 800;
    width: 100%;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    font-size: 1.3rem;
    box-shadow: 0 12px 40px rgba(0, 122, 255, 0.4);
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
    text-transform: none;
    letter-spacing: 0.5px;
}

.event-cta-style::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.8s ease;
}

.event-cta-style:hover {
    background: linear-gradient(135deg, #5856d6 0%, #af52de 50%, #ff2d92 100%);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 122, 255, 0.5);
}

.event-cta-style:hover::before {
    left: 100%;
}

.event-cta-style:active {
    transform: translateY(-2px) scale(1);
}

/* === ⏰ 실시간 카운터 === */
.realtime-counter {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    background: rgba(248, 249, 250, 0.8);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 20px 28px;
    border-radius: 16px;
    border: 1px solid rgba(233, 236, 239, 0.5);
    margin-top: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.realtime-counter:hover {
    background: rgba(248, 249, 250, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.counter-icon {
    width: 12px;
    height: 12px;
    background: linear-gradient(135deg, #34c759, #30d158);
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(52, 199, 89, 0.5);
    animation: pulseCounter 2s infinite;
    position: relative;
}

.counter-icon::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    background: linear-gradient(135deg, #34c759, #30d158);
    border-radius: 50%;
    opacity: 0.3;
    animation: pulseRing 2s infinite;
}

@keyframes pulseCounter {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 0 12px rgba(52, 199, 89, 0.5);
    }
    50% { 
        transform: scale(1.2);
        box-shadow: 0 0 20px rgba(52, 199, 89, 0.7);
    }
}

@keyframes pulseRing {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.5); opacity: 0; }
}

.counter-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
}

.counter-number {
    font-weight: 800;
    font-size: 1.2rem;
    color: #34c759;
    background: linear-gradient(135deg, #34c759, #30d158);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: numberPulse 2s infinite;
}

@keyframes numberPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* === 📜 유의사항 섹션 === */
.terms-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 50px 40px 60px;
    margin-top: 0;
    clear: both;
    overflow: visible;
    border-radius: 24px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.terms-content {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    overflow: visible;
}

.terms-title {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 32px;
    color: #1d1d1f;
    text-align: center;
    position: relative;
    z-index: 2;
    font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
}

.terms-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #007aff, #5856d6);
    border-radius: 2px;
}

.terms-list {
    text-align: left !important;
    list-style: none;
    padding: 0;
    margin: 0;
}

.terms-list li {
    font-size: 0.9rem;
    line-height: 1.7;
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    min-height: 24px;
    display: block;
    color: #555;
    font-weight: 400;
    transition: all 0.2s ease;
    text-align: left !important;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.terms-list li:hover {
    color: #007aff;
    transform: translateX(2px);
}

.terms-list li::before {
    content: "•";
    position: absolute;
    left: 0px;
    top: 4px;
    color: #007aff;
    font-weight: 600;
    width: 16px;
    height: 16px;
    text-align: center;
    flex-shrink: 0;
    line-height: 16px;
    font-size: 1rem;
}

.terms-list li a {
    color: #007aff;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}

.terms-list li a:hover {
    border-bottom-color: #007aff;
}

/* === 📱 모바일 최적화 === */
@media (max-width: 768px) {
    .events-hero {
        padding: 80px 24px 60px;
        margin-top: 64px;
        border-radius: 0 0 24px 24px;
        text-align: center; /* 모바일 중앙정렬 보장 */
    }

    .events-hero h1 {
        font-size: 2.5rem;
        line-height: 1.2;
        margin-bottom: 20px;
        text-align: center; /* 제목 중앙정렬 */
    }

    .events-hero p {
        font-size: 1.1rem;
        margin-bottom: 32px;
        text-align: center; /* 부제목 중앙정렬 */
    }

    .hero-stats {
        flex-direction: row;
        gap: 20px;
        justify-content: center; /* 통계 섹션 중앙정렬 */
        margin-top: 32px;
    }

    .hero-stat {
        padding: 20px 24px;
        border-radius: 16px;
    }

    .hero-stat .number {
        font-size: 2rem;
    }

    .hero-stat .label {
        font-size: 0.9rem;
    }

    /* 작은 모바일 카운트다운 타이머 */
    .countdown-timer {
        font-size: 1.2rem !important;
        min-width: 180px;
        line-height: 1.3;
    }

    .events-container {
        padding: 40px 24px;
        text-align: center; /* 컨테이너 전체 중앙정렬 */
    }

    .events-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        margin-bottom: 50px;
    }

    .event-card {
        border-radius: 20px;
        text-align: center; /* 카드 내용 중앙정렬 */
    }

    .event-content {
        padding: 24px;
        text-align: center; /* 카드 콘텐츠 중앙정렬 */
    }

    .event-title {
        font-size: 1.3rem;
        margin-bottom: 12px;
        text-align: center; /* 이벤트 제목 중앙정렬 */
    }

    .event-description {
        font-size: 1rem;
        margin-bottom: 20px;
        text-align: center; /* 이벤트 설명 중앙정렬 */
    }

    .event-benefits li {
        padding: 10px 0 10px 36px;
        margin-bottom: 6px;
        min-height: 32px;
        display: flex;
        align-items: center;
        line-height: 1.4;
    }

    .event-benefits li::before {
        left: 0px;
        top: 50%;
        transform: translateY(-50%);
        width: 22px;
        height: 22px;
        font-size: 1rem;
    }

    .event-cta {
        padding: 16px 24px;
        font-size: 1rem;
        min-height: 52px;
        border-radius: 14px;
        margin-top: 20px;
    }

    .offers-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .offer-item {
        padding: 32px 24px;
        border-radius: 16px;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 16px;
    }

    .section-subtitle {
        font-size: 1.1rem;
        margin-bottom: 40px;
    }

    .event-banner {
        height: 180px;
        font-size: 1.2rem;
    }

    .special-offers {
        padding: 60px 24px;
        margin: 60px 0;
        border-radius: 24px;
    }

    .final-cta-section {
        padding: 60px 24px 80px;
    }

    .final-cta-container {
        gap: 32px;
    }

    .final-cta-title {
        font-size: 2.2rem;
        margin-bottom: 32px;
        line-height: 1.3;
    }

    .cta-button-container {
        padding: 32px 24px;
        margin-bottom: 0;
        border-radius: 20px;
        background: rgba(255, 255, 255, 0.5);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
    }

    .event-cta-style {
        padding: 20px 32px;
        font-size: 1.2rem;
        min-height: 56px;
        border-radius: 16px;
        margin-bottom: 0;
    }

    .realtime-counter {
        flex-direction: row;
        gap: 12px;
        padding: 16px 20px;
        margin-top: 20px;
        border-radius: 12px;
        background: rgba(248, 249, 250, 0.9);
    }

    .counter-icon {
        width: 10px;
        height: 10px;
    }

    .counter-text {
        font-size: 1rem;
    }

    .counter-number {
        font-size: 1.1rem;
    }

    .terms-section {
        padding: 40px 24px 50px;
        margin-top: 0;
        border-radius: 20px;
        overflow: visible;
    }

    .terms-title {
        font-size: 1.4rem;
        margin-bottom: 28px;
    }

    .terms-list li {
        padding-left: 24px;
        margin-bottom: 12px;
        font-size: 0.85rem;
        line-height: 1.6;
        word-break: keep-all;
        overflow-wrap: break-word;
    }

    .terms-list li::before {
        left: 0px;
        top: 2px;
        width: 16px;
        height: 16px;
        font-size: 0.9rem;
        line-height: 16px;
    }

    /* 사이드메뉴 정상 작동 허용 */
}

@media (max-width: 480px) {
    .premium-modal {
        padding: 10px !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .premium-modal-content {
        width: 98% !important;
        max-width: 350px !important;
        margin: 0 auto !important;
        border-radius: 20px;
        left: 0 !important;
        right: 0 !important;
        transform: none !important;
    }

    .premium-modal-header {
        padding: 16px 16px 12px !important;
        text-align: center !important;
    }

    .premium-modal-body {
        padding: 12px 16px !important;
    }

    .premium-modal-footer {
        padding: 16px 16px 20px !important;
    }

    .premium-modal-title {
        font-size: 1.3rem !important;
        text-align: center !important;
        margin: 0 auto !important;
    }

    .premium-modal-close {
        top: 12px !important;
        right: 12px !important;
        width: 30px !important;
        height: 30px !important;
        font-size: 20px !important;
    }

    .events-hero {
        padding: 60px 20px 40px;
        border-radius: 0 0 20px 20px;
    }

    .events-hero h1 {
        font-size: 2rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }

    .hero-stat {
        padding: 16px 20px;
        border-radius: 12px;
    }

    .events-container {
        padding: 32px 20px;
    }

    .event-content {
        padding: 20px;
    }

    .event-benefits {
        margin-bottom: 20px;
    }

    .event-benefits li {
        padding-left: 32px;
        font-size: 0.9rem;
    }

    .event-benefits li::before {
        left: 8px;
        width: 18px;
        height: 18px;
    }

    .event-cta {
        margin-top: 16px;
    }

    .events-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .final-cta-section {
        padding: 50px 20px 70px;
    }

    .final-cta-title {
        font-size: 1.8rem;
        margin-bottom: 28px;
    }

    .cta-button-container {
        padding: 28px 20px;
        margin-bottom: 0;
        border-radius: 16px;
    }

    .event-cta-style {
        padding: 18px 28px;
        font-size: 1.1rem;
        margin-bottom: 0;
        border-radius: 14px;
    }

    .realtime-counter {
        padding: 14px 18px;
        margin-top: 16px;
        background: rgba(248, 249, 250, 0.95);
        border-radius: 10px;
    }

    .special-offers {
        padding: 50px 20px;
        margin: 50px 0;
        border-radius: 20px;
    }

    .terms-section {
        padding: 35px 20px 45px;
        margin-top: 0;
        border-radius: 16px;
        overflow: visible;
    }

    .terms-title {
        font-size: 1.2rem;
        margin-bottom: 24px;
    }

    .terms-list li {
        font-size: 0.8rem;
        line-height: 1.6;
        padding-left: 20px;
        margin-bottom: 10px;
        word-break: keep-all;
        overflow-wrap: break-word;
        hyphens: auto;
    }

    .terms-list li::before {
        left: 0px;
        top: 2px;
        font-size: 0.8rem;
        width: 14px;
        height: 14px;
        line-height: 14px;
    }

    /* 사이드메뉴 정상 작동 허용 */

    .side-menu a {
        padding: 18px 24px;
        font-size: 16px;
        border-radius: 16px;
    }

    .side-menu .close-button {
        width: 44px;
        height: 44px;
        top: 24px;
        right: 24px;
        font-size: 18px;
    }
}

/* === 🎯 프리미엄 패키지 모달 (메이저 브랜드 스타일) === */
.premium-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    animation: modalFadeIn 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.premium-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.premium-modal-content {
    background: linear-gradient(135deg, #ffffff 0%, #fafcff 100%);
    border-radius: 32px;
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 40px 100px rgba(0, 122, 255, 0.25);
    border: 1px solid rgba(0, 122, 255, 0.1);
    position: relative;
    transform: scale(0.9) translateY(30px);
    animation: modalSlideIn 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.premium-modal.show .premium-modal-content {
    transform: scale(1) translateY(0);
}

@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes modalSlideIn {
    from {
        transform: scale(0.9) translateY(30px);
        opacity: 0;
    }
    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

/* === 🎯 프리미엄 모달 세부 스타일 === */
.premium-modal-header {
    padding: 32px 40px 24px 40px;
    border-bottom: 1px solid #e5e5e5;
    position: relative;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: center;
}

.premium-modal-title {
    margin: 0;
    font-size: 1.6rem;
    color: #1d1d1f;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #007aff 0%, #5856d6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.premium-modal-close {
    background: none;
    border: none;
    font-size: 28px;
    color: #86868b;
    cursor: pointer;
    padding: 8px;
    width: 44px;
    height: 44px;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.premium-modal-close:hover {
    background-color: rgba(0, 122, 255, 0.1);
    color: #007aff;
}

.premium-modal-body {
    padding: 32px 40px 40px 40px;
    max-height: 60vh;
    overflow-y: auto;
}

.premium-intro {
    text-align: center;
    margin-bottom: 36px;
    padding: 0 16px;
}

.premium-intro-text {
    font-size: 1.05rem;
    color: #333333;
    line-height: 1.6;
    margin: 0;
    font-weight: 400;
}

.premium-benefits {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 32px;
}

.benefit-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px;
    background: #fafbfc;
    border: 1px solid #e8e8e8;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    background: #f5f7fa;
    border-color: #d0d0d0;
    transform: translateY(-1px);
}

.benefit-icon {
    font-size: 2.2rem;
    min-width: 56px;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #e3f2ff 0%, #f0f8ff 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1;
    flex-shrink: 0;
}

.benefit-content {
    flex: 1;
}

.benefit-content h3 {
    margin: 0 0 8px 0;
    font-size: 1.2rem;
    color: #1d1d1f;
    font-weight: 700;
    line-height: 1.4;
}

.benefit-highlight {
    background: linear-gradient(135deg, #007aff 0%, #0056cc 100%);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.benefit-description {
    color: #555555;
    line-height: 1.7;
    font-size: 0.95rem;
}

.benefit-description p {
    margin: 4px 0;
}

.benefit-note {
    font-size: 0.85rem;
    color: #86868b;
    margin-top: 8px;
    line-height: 1.4;
}

.benefit-badge {
    background: rgba(0, 122, 255, 0.1);
    color: #007aff;
    padding: 2px 8px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    display: inline-block;
    margin-top: 4px;
}

.service-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 8px 0;
}

.service-item {
    background: rgba(52, 199, 89, 0.1);
    color: #34c759;
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
}

.premium-modal-footer {
    text-align: center;
    border-top: 1px solid #e5e5e5;
    padding: 32px 40px;
    background: #fafbfc;
}

.premium-cta-btn {
    background: linear-gradient(135deg, #007aff 0%, #0056cc 100%);
    color: white;
    border: none;
    padding: 18px 40px;
    border-radius: 16px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    box-shadow: 0 6px 24px rgba(0, 122, 255, 0.25);
    position: relative;
    overflow: hidden;
    letter-spacing: -0.01em;
}

.premium-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 122, 255, 0.35);
}

.premium-note {
    font-size: 0.85rem;
    color: #86868b;
    margin-top: 12px;
    line-height: 1.4;
}

/* === 📱 모바일 최적화 === */
@media (max-width: 768px) {
    .premium-modal {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 20px;
    }

    .premium-modal-content {
        width: 95%;
        max-width: 480px;
        margin: 16px auto;
        max-height: 90vh;
        border-radius: 20px;
    }

    .premium-modal-header {
        padding: 24px 24px 20px 24px;
        text-align: center;
        position: relative;
    }

    .premium-modal-title {
        font-size: 1.4rem;
        text-align: center;
        margin: 0 auto;
        line-height: 1.3;
    }

    .premium-modal-body,
    .premium-modal-footer {
        padding-left: 20px;
        padding-right: 20px;
    }

    .premium-modal-body {
        padding: 24px;
    }

    .premium-intro {
        margin-bottom: 28px;
        padding: 0 8px;
    }

    .premium-intro-text {
        font-size: 1rem;
    }

    .premium-benefits {
        gap: 20px;
        margin-bottom: 28px;
    }

    .benefit-card {
        flex-direction: column;
        text-align: center;
        padding: 20px 16px;
        gap: 16px;
        align-items: center;
    }

    .benefit-icon {
        font-size: 2rem;
        width: 48px;
        height: 48px;
        margin: 0;
    }

    .benefit-content {
        text-align: center;
    }

    .benefit-content h3 {
        font-size: 1.1rem;
        text-align: center;
        margin-bottom: 8px;
    }

    .benefit-description {
        font-size: 0.9rem;
        text-align: center;
    }

    .service-list {
        justify-content: center;
        gap: 6px;
    }

    .service-item {
        font-size: 0.8rem;
        padding: 3px 8px;
    }

    .premium-modal-footer {
        padding: 32px 40px;
    }
}

/* === 🚀 성능 최적화 === */
.events-grid {
    will-change: transform;
}

.event-card {
    will-change: transform, box-shadow;
}

.event-cta,
.event-cta-style {
    will-change: transform, box-shadow;
}

/* === 🎨 접근성 개선 === */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* === GPU 가속 활성화 === */
.event-card,
.event-cta,
.event-cta-style,
.cta-button-container,
.hero-stat,
.offer-item {
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}