/* =============================
   CSS Reset & Base
============================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Noto Sans KR", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    min-height: 100vh;
    color: #2d3748;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(249, 16, 71, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(102, 126, 234, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* =============================
   Container
============================= */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* =============================
   Top Header (화려한 그라데이션)
============================= */
.top-header {
    padding: 50px 20px 70px;
    text-align: center;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.top-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
    animation: pulse 20s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.5; }
    50% { transform: scale(1.2) rotate(180deg); opacity: 0.8; }
}

.header-content {
    position: relative;
    z-index: 1;
}

.header-badge {
    display: inline-block;
    padding: 10px 24px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 50px;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.header-title {
    font-size: 48px;
    font-weight: 800;
    letter-spacing: -3px;
    margin-bottom: 16px;
    color: #ffffff;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, #ffffff 0%, #f0f0f0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header-subtitle {
    font-size: 16px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.5px;
}

/* =============================
   Main Content
============================= */
.main-content {
    margin-top: -60px;
    padding-bottom: 80px;
    position: relative;
    z-index: 2;
}

/* =============================
   Download Section (화려한 카드 레이아웃)
============================= */
.download-section {
    display: grid;
    gap: 28px;
    margin-bottom: 40px;
}

.download-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 28px;
    padding: 28px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.download-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #f91047 0%, #ff6b96 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.download-card:hover::before {
    transform: scaleX(1);
}

.download-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.8) inset;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
}

.card-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a202c;
    letter-spacing: -0.8px;
}

.card-body {
    padding: 0;
}

/* =============================
   Download Buttons (각각 다른 컬러 테마)
============================= */
.download-btn {
    display: flex;
    align-items: center;
    gap: 24px;
    width: 100%;
    padding: 20px 24px;
    background: #ffffff;
    border: 2px solid transparent;
    border-radius: 20px;
    text-decoration: none;
    color: #2d3748;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.download-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.btn-windows::before {
    background: linear-gradient(135deg, rgba(249, 16, 71, 0.08) 0%, rgba(255, 77, 122, 0.08) 100%);
}

.btn-downloader::before {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.08) 100%);
}

.btn-mac::before {
    background: linear-gradient(135deg, rgba(240, 147, 251, 0.08) 0%, rgba(245, 175, 255, 0.08) 100%);
}

.download-btn:hover::before {
    opacity: 1;
}

.download-btn:hover {
    transform: translateX(12px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.btn-windows:hover {
    border-color: #f91047;
}

.btn-downloader:hover {
    border-color: #667eea;
}

.btn-mac:hover {
    border-color: #f093fb;
}

.btn-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    font-size: 32px;
    flex-shrink: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.btn-windows .btn-icon {
    background: linear-gradient(135deg, #f91047 0%, #ff4d7a 100%);
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(249, 16, 71, 0.35);
}

.btn-downloader .btn-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.35);
}

.btn-mac .btn-icon {
    background: linear-gradient(135deg, #f093fb 0%, #f5afff 100%);
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(240, 147, 251, 0.35);
}

.download-btn:hover .btn-icon {
    transform: scale(1.15) rotate(-5deg);
}

.btn-windows:hover .btn-icon {
    box-shadow: 0 12px 32px rgba(249, 16, 71, 0.5);
}

.btn-downloader:hover .btn-icon {
    box-shadow: 0 12px 32px rgba(102, 126, 234, 0.5);
}

.btn-mac:hover .btn-icon {
    box-shadow: 0 12px 32px rgba(240, 147, 251, 0.5);
}

.btn-content {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: left;
    position: relative;
    z-index: 1;
}

.btn-title {
    font-size: 17px;
    font-weight: 700;
    color: #1a202c;
    letter-spacing: -0.5px;
}

.btn-subtitle {
    font-size: 13px;
    font-weight: 400;
    color: #718096;
}

/* =============================
   Update Info (글로우 효과)
============================= */
.update-info {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 32px 40px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    display: flex;
    align-items: center;
    gap: 24px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.update-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(249, 16, 71, 0.05) 0%, rgba(102, 126, 234, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.update-info:hover::before {
    opacity: 1;
}

.update-info:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 16px 48px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.8) inset;
}

.update-icon {
    font-size: 40px;
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, #ffeaa7 0%, #fdcb6e 100%);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 8px 24px rgba(253, 203, 110, 0.4);
    transition: all 0.4s ease;
}

.update-info:hover .update-icon {
    transform: rotate(15deg) scale(1.1);
}

.update-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
    z-index: 1;
}

.update-label {
    font-size: 14px;
    font-weight: 600;
    color: #718096;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.update-date {
    font-size: 22px;
    font-weight: 700;
    background: linear-gradient(135deg, #f91047 0%, #667eea 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

/* =============================
   Responsive Design
============================= */
@media (max-width: 768px) {
    .header-title {
        font-size: 44px;
        letter-spacing: -2px;
    }
    
    .header-subtitle {
        font-size: 17px;
    }
    
    .download-card {
        padding: 28px;
    }
    
    .card-title {
        font-size: 20px;
    }
    
    .download-btn {
        padding: 24px;
        gap: 20px;
    }
    
    .btn-icon {
        width: 56px;
        height: 56px;
        font-size: 28px;
    }
    
    .btn-title {
        font-size: 19px;
    }
    
    .btn-subtitle {
        font-size: 14px;
    }
    
    .update-info {
        padding: 24px 28px;
        gap: 20px;
    }
    
    .update-icon {
        width: 60px;
        height: 60px;
        font-size: 32px;
    }
    
    .update-date {
        font-size: 19px;
    }
}

@media (max-width: 480px) {
    .top-header {
        padding: 60px 20px 80px;
    }
    
    .header-title {
        font-size: 36px;
        letter-spacing: -1.5px;
    }
    
    .header-subtitle {
        font-size: 15px;
    }
    
    .download-btn {
        flex-direction: column;
        text-align: center;
        padding: 24px 20px;
    }
    
    .btn-content {
        text-align: center;
    }
    
    .update-info {
        flex-direction: column;
        text-align: center;
        padding: 24px;
    }
    
    .update-content {
        align-items: center;
    }
}
