/* CSS Variables - Pastel Color Palette */
:root {
    --mimi-pink: #ffd6ff;
    --mauve: #e7c6ff;
    --mauve-2: #c8b6ff;
    --periwinkle: #b8c0ff;
    --periwinkle-2: #bbd0ff;

    /* New Color Palette - Vibrant Collection */
    --light-green: #61e294;
    --tiffany-blue: #7bcdba;
    --cool-gray: #9799ca;
    --wisteria: #bd93d8;
    --lavender-floral: #b47aea;

    /* HSL Variations */
    --light-green-hsl: hsla(144, 69%, 63%, 1);
    --tiffany-blue-hsl: hsla(166, 45%, 64%, 1);
    --cool-gray-hsl: hsla(238, 32%, 69%, 1);
    --wisteria-hsl: hsla(277, 47%, 71%, 1);
    --lavender-floral-hsl: hsla(271, 73%, 70%, 1);

    /* RGB Variations */
    --light-green-rgb: rgba(97, 226, 148, 1);
    --tiffany-blue-rgb: rgba(123, 205, 186, 1);
    --cool-gray-rgb: rgba(151, 153, 202, 1);
    --wisteria-rgb: rgba(189, 147, 216, 1);
    --lavender-floral-rgb: rgba(180, 122, 234, 1);

    /* New Gradient Variations */
    --gradient-top: linear-gradient(0deg, var(--light-green), var(--tiffany-blue), var(--cool-gray), var(--wisteria), var(--lavender-floral));
    --gradient-right: linear-gradient(90deg, var(--light-green), var(--tiffany-blue), var(--cool-gray), var(--wisteria), var(--lavender-floral));
    --gradient-bottom: linear-gradient(180deg, var(--light-green), var(--tiffany-blue), var(--cool-gray), var(--wisteria), var(--lavender-floral));
    --gradient-left: linear-gradient(270deg, var(--light-green), var(--tiffany-blue), var(--cool-gray), var(--wisteria), var(--lavender-floral));
    --gradient-top-right: linear-gradient(45deg, var(--light-green), var(--tiffany-blue), var(--cool-gray), var(--wisteria), var(--lavender-floral));
    --gradient-bottom-right: linear-gradient(135deg, var(--light-green), var(--tiffany-blue), var(--cool-gray), var(--wisteria), var(--lavender-floral));
    --gradient-top-left: linear-gradient(225deg, var(--light-green), var(--tiffany-blue), var(--cool-gray), var(--wisteria), var(--lavender-floral));
    --gradient-bottom-left: linear-gradient(315deg, var(--light-green), var(--tiffany-blue), var(--cool-gray), var(--wisteria), var(--lavender-floral));
    --gradient-radial: radial-gradient(var(--light-green), var(--tiffany-blue), var(--cool-gray), var(--wisteria), var(--lavender-floral));

    /* Original Gradient variations */
    --gradient-main: linear-gradient(135deg, var(--periwinkle-2) 0%, var(--mauve) 100%);
    --gradient-accent: linear-gradient(135deg, var(--mimi-pink) 0%, var(--periwinkle) 100%);
    --gradient-soft: linear-gradient(135deg, var(--mauve-2) 0%, var(--periwinkle-2) 100%);

    /* Text colors */
    --text-primary: #4a5568;
    --text-secondary: #6b7280;
    --text-accent: #7c3aed;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #000000;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(120, 119, 198, 0.2) 0%, transparent 50%);
    min-height: 100vh;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Chrome Holographic Elements */
.holographic-element {
    position: fixed;
    border-radius: 50%;
    background: linear-gradient(45deg,
            rgba(255, 255, 255, 0.05) 0%,
            rgba(200, 200, 200, 0.1) 25%,
            rgba(150, 150, 150, 0.15) 50%,
            rgba(100, 100, 100, 0.1) 75%,
            rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 0 20px rgba(255, 255, 255, 0.1);
    animation: chromeFloat 8s ease-in-out infinite;
    z-index: -1;
}

.holographic-1 {
    width: 300px;
    height: 300px;
    top: -150px;
    left: -150px;
    animation-delay: 0s;
}

.holographic-2 {
    width: 200px;
    height: 200px;
    top: 20%;
    right: -100px;
    animation-delay: 2s;
}

.holographic-3 {
    width: 400px;
    height: 400px;
    bottom: -200px;
    right: -200px;
    animation-delay: 4s;
}

.holographic-4 {
    width: 150px;
    height: 150px;
    bottom: 30%;
    left: -75px;
    animation-delay: 1s;
}

@keyframes chromeFloat {

    0%,
    100% {
        transform: translateY(0px) scale(1);
        opacity: 0.3;
    }

    50% {
        transform: translateY(-30px) scale(1.1);
        opacity: 0.6;
    }
}

/* Chrome Navigation */
.nav {
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 1000;
}

.nav-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.nav-btn {
    padding: 12px 24px;
    background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 4px 15px rgba(0, 0, 0, 0.3);
}

.nav-btn:hover {
    background: linear-gradient(145deg, #3a3a3a, #2a2a2a);
    transform: translateY(-2px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 8px 25px rgba(0, 0, 0, 0.4);
}

.nav-btn.active {
    background: linear-gradient(145deg, #4a4a4a, #3a3a3a);
    border-color: rgba(255, 255, 255, 0.2);
}

.nav-menu {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

/* Container */
.container {
    max-width: 1600px;
    /* 전체 컨테이너도 더 넓게 */
    margin: 0 auto;
    padding: 120px 40px 40px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
    width: 100%;
}

/* Header */
.header {
    text-align: center;
    margin-bottom: 60px;
    padding: 0;
}

.logo-section {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main-logo {
    max-width: 640px;
    /* 800px × 0.8 = 640px */
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 40px rgba(255, 255, 255, 0.5));
    transition: all 0.3s ease;
}

.main-logo:hover {
    filter: drop-shadow(0 0 50px rgba(255, 255, 255, 0.7));
    transform: scale(1.02);
}

.subtitle {
    font-size: 1.155rem;
    /* 1.65rem × 0.7 = 1.155rem */
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
    line-height: 1.6;
    max-width: 1600px;
    text-align: center;
}

/* Main Content */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
    /* 행간 간격 더 줄임 */
    align-items: center;
    max-width: 1600px;
    /* 좌우 길이 늘림 */
    margin: 0 auto;
    padding: 0 40px;
}

/* Professional Control Panel */
.control-panel {
    width: 100%;
    max-width: 1600px;
    /* 좌우 길이 늘림 */
    background: linear-gradient(145deg, #2e2e2e, #1e1e1e);
    border-radius: 20px;
    padding: 50px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 20px 50px rgba(0, 0, 0, 0.7),
        0 10px 25px rgba(0, 0, 0, 0.5),
        0 4px 12px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

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

.control-panel:hover::before {
    left: 100%;
}

.panel-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* 완벽한 1:1 비율 */
    gap: 60px;
    /* 황금비율 기반 간격 */
    align-items: stretch;
    /* 높이 완전 동일 */
    justify-items: center;
    /* 중앙 정렬 */
}

.upload-area {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    max-width: 1600px;
    /* 전체 너비와 동일 */
    align-items: center;
    /* 중앙 정렬 */
    text-align: center;
}

.upload-info {
    margin-top: 8px;
}

.upload-hint {
    font-size: 0.84rem;
    /* 1.2rem × 0.7 = 0.84rem */
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
    line-height: 1.4;
    margin: 0;
    text-align: center;
}

.upload-label {
    font-size: 0.84rem;
    /* 1.2rem × 0.7 = 0.84rem */
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
    text-align: center;
}

.stats-display {
    display: flex;
    justify-content: center;
    /* 중앙 정렬 */
    width: 100%;
    max-width: 1600px;
    /* 전체 너비와 동일 */
}

.chrome-stat.compact {
    min-height: 96px;
    /* 120px × 0.8 = 96px */
    height: 96px;
    /* 강제 고정 높이 */
    padding: 24px;
    /* 패딩도 원래대로 */
    width: 100%;
    max-width: 1600px;
    background: linear-gradient(145deg, #3a3a3a, #2a2a2a);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        0 12px 30px rgba(0, 0, 0, 0.6),
        0 6px 15px rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Chrome Card Effect - 전문가 수준 디자인 */
.chrome-card {
    background: linear-gradient(145deg, #2c2c2c, #1c1c1c);
    border-radius: 20px;
    /* 더 부드러운 모서리 */
    padding: 32px;
    /* 더 여유로운 패딩 */
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.18),
        0 16px 40px rgba(0, 0, 0, 0.6),
        0 8px 20px rgba(0, 0, 0, 0.4),
        0 2px 8px rgba(0, 0, 0, 0.2);
    /* 다층 그림자로 깊이감 */
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    /* 더 부드러운 애니메이션 */
    position: relative;
    overflow: hidden;
    min-height: 112px;
    /* 140px × 0.8 = 112px */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

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

.chrome-card:hover::before {
    left: 100%;
}

.chrome-card:hover {
    transform: translateY(-3px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 12px 35px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.2);
}

.chrome-card.emphasized {
    background: linear-gradient(145deg, #3a3a3a, #2a2a2a);
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 0 30px rgba(255, 255, 255, 0.1),
        0 15px 40px rgba(0, 0, 0, 0.6);
    padding: 32px;
}

.section-header {
    margin-bottom: 16px;
    align-self: flex-start;
}

.section-title {
    font-size: 1.155rem;
    /* 1.65rem × 0.7 = 1.155rem */
    font-weight: 600;
    color: #ffffff;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    background: linear-gradient(45deg, #ffffff, #cccccc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Upload Section */
.upload-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.file-info {
    margin-bottom: 24px;
}

.info-text {
    font-size: 0.945rem;
    /* 1.35rem × 0.7 = 0.945rem */
    font-weight: 600;
    margin-bottom: 6px;
    color: rgba(255, 255, 255, 0.9);
}

.info-subtext {
    font-size: 0.84rem;
    /* 1.2rem × 0.7 = 0.84rem */
    color: rgba(255, 255, 255, 0.6);
}

.file-upload {
    position: relative;
    display: flex;
    width: 100%;
    max-width: 1600px;
    /* 전체 너비와 동일 */
    height: 96px;
    /* 120px × 0.8 = 96px */
}

.file-input {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    z-index: 2;
}

.file-label {
    width: 100%;
    height: 96px !important;
    /* 120px × 0.8 = 96px */
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: #BBD0FF !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 16px !important;
    color: white !important;
    font-weight: 700 !important;
    font-size: 1.764rem !important;
    /* 2.52rem × 0.7 = 1.764rem */
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        0 8px 25px rgba(74, 144, 226, 0.4),
        0 4px 12px rgba(0, 0, 0, 0.3);
    gap: 12px;
    letter-spacing: 0.5px;
    text-align: center;
}

.file-label:hover {
    background: #B8C0FF !important;
    /* 호버시 더 진한 퍼플 */
    transform: translateY(-2px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        0 12px 35px rgba(74, 144, 226, 0.5),
        0 6px 18px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.4) !important;
}

/* Chrome Button */
.chrome-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 24px;
    background: linear-gradient(145deg, #4a4a4a, #2a2a2a);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: white;
    font-weight: 600;
    font-size: 0.945rem;
    /* 1.35rem × 0.7 = 0.945rem */
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 4px 15px rgba(0, 0, 0, 0.3);
    min-height: 50px;
    max-width: 1600px;
    /* 전체 너비와 동일 */
    width: auto;
    /* 내용에 맞춰 크기 조정 */
}

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

.chrome-button:hover::before {
    left: 100%;
}

.chrome-button:hover {
    transform: translateY(-3px);
    background: linear-gradient(145deg, #5a5a5a, #3a3a3a);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 8px 25px rgba(0, 0, 0, 0.4);
}

.chrome-button.primary {
    background: linear-gradient(145deg, #6a6a6a, #4a4a4a);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.chrome-button.primary:hover {
    background: linear-gradient(145deg, #7a7a7a, #5a5a5a);
}

.emphasized-button {
    padding: 30px 100px;
    font-size: 1.764rem;
    /* 2.52rem × 0.7 = 1.764rem */
    font-weight: 700;
    border-radius: 16px;
    background: linear-gradient(145deg, #4a90e2, #357abd);
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        0 12px 35px rgba(74, 144, 226, 0.5),
        0 6px 18px rgba(0, 0, 0, 0.4);
    transform: none;
    min-width: 500px;
    width: 100%;
    max-width: 1600px;
    /* 좌우 길이 늘림 */
    height: 96px;
    /* 120px × 0.8 = 96px */
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.emphasized-button:hover {
    transform: translateY(-4px);
    /* 다른 카드와 동일한 호버 효과 */
    background: linear-gradient(145deg, #5ba0f2, #4080d0);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        0 16px 40px rgba(74, 144, 226, 0.6),
        0 8px 20px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.4);
}

.button-icon {
    font-size: 2.1rem;
    /* 3rem × 0.7 = 2.1rem */
}

.button-text {
    font-weight: 700;
}

.button-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.4s ease;
    pointer-events: none;
}

.chrome-button:hover .button-glow {
    width: 200px;
    height: 200px;
}

.chrome-reflection {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg,
            rgba(255, 255, 255, 0.1) 0%,
            transparent 100%);
    border-radius: 16px 16px 0 0;
    pointer-events: none;
}

/* Data Section */
.data-section {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    /* 오른쪽 정렬 */
}

.stats-container {
    display: flex;
    justify-content: flex-end;
    /* 오른쪽 정렬 */
    margin-bottom: 0;
    width: 100%;
}

.chrome-stat {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    /* chrome-card와 동일한 패딩 */
    background: linear-gradient(145deg, #3a3a3a, #2a2a2a);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
    min-width: 200px;
    min-height: 96px;
    /* chrome-card와 동일한 높이 (80%) */
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 6px 20px rgba(0, 0, 0, 0.4);
    justify-content: center;
    /* 내용 중앙 정렬 */
}

.chrome-stat:hover {
    background: linear-gradient(145deg, #4a4a4a, #3a3a3a);
    transform: translateY(-4px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 12px 35px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.3);
}

.stat-icon {
    font-size: 2.1rem;
    /* 3rem × 0.7 = 2.1rem */
    opacity: 0.9;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.stat-content {
    flex: 1;
}

.stat-label {
    display: block;
    font-size: 1.18125rem;
    /* 1.6875rem × 0.7 = 1.18125rem */
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 6px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value {
    display: block;
    font-size: 2.52rem;
    /* 3.6rem × 0.7 = 2.52rem */
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    background: linear-gradient(45deg, #ffffff, #cccccc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-value-single {
    display: block;
    font-size: 1.764rem;
    /* 2.52rem × 0.7 = 1.764rem */
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    background: linear-gradient(45deg, #ffffff, #cccccc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
}



/* Action Section - Clean Button Only */
.action-section {
    text-align: center;
    width: 100%;
    max-width: 1600px;
    margin: 20px auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.start-button::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.6s ease;
}

.start-button:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(200, 182, 255, 0.5);
    background: linear-gradient(135deg, var(--mauve-2) 0%, var(--periwinkle) 100%);
}

.start-button:hover:not(:disabled)::before {
    left: 100%;
}

.start-button:active:not(:disabled) {
    transform: translateY(-1px);
}

.start-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 6px 20px rgba(200, 182, 255, 0.2);
}

/* Progress Section */
.progress-section {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
}

.progress-container {
    background: linear-gradient(145deg, #1a1a1a, #0a0a0a);
    border-radius: 20px;
    padding: 6px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow:
        inset 0 2px 4px rgba(0, 0, 0, 0.5),
        0 4px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.progress-bar {
    background: linear-gradient(90deg, #4a4a4a, #6a6a6a, #4a4a4a);
    border-radius: 16px;
    height: 24px;
    width: 0%;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.2s ease;
    position: relative;
    transform-origin: center;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 2px 8px rgba(255, 255, 255, 0.1);
}

.progress-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmer 2s infinite;
    border-radius: 16px;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    height: 10px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.3) 0%, transparent 100%);
    border-radius: 14px;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

@keyframes bounce {

    0%,
    100% {
        transform: scaleY(1);
    }

    50% {
        transform: scaleY(1.2);
    }
}

.progress-bar.milestone {
    animation: bounce 0.4s ease;
}

/* Progress Steps with Emojis */
.progress-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding: 0 8px;
    position: relative;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
}

.step-emoji {
    font-size: 1.89rem;
    /* 2.7rem × 0.7 = 1.89rem */
    margin-bottom: 4px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: grayscale(100%) opacity(0.4);
    transform: scale(0.8);
}

.step-emoji.active {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.2);
    animation: stepActivate 0.6s ease;
}

.step-emoji.completed {
    filter: grayscale(0%) opacity(1);
    transform: scale(1);
    animation: stepComplete 0.4s ease;
}

@keyframes stepActivate {
    0% {
        transform: scale(0.8);
        filter: grayscale(100%) opacity(0.4);
    }

    50% {
        transform: scale(1.4);
        filter: grayscale(0%) opacity(1);
    }

    100% {
        transform: scale(1.2);
        filter: grayscale(0%) opacity(1);
    }
}

@keyframes stepComplete {
    0% {
        transform: scale(1.2);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

.step-label {
    font-size: 1.26rem;
    /* 1.8rem × 0.7 = 1.26rem */
    font-weight: 600;
    color: rgba(124, 58, 237, 0.6);
    text-align: center;
    transition: all 0.3s ease;
    opacity: 0.6;
}

.step-label.active {
    color: var(--text-accent);
    opacity: 1;
    transform: translateY(-2px);
}

.step-label.completed {
    color: var(--periwinkle);
    opacity: 0.8;
}

/* Progress Steps Connection Line */
.progress-steps::before {
    content: '';
    position: absolute;
    top: 0.9rem;
    left: 8px;
    right: 8px;
    height: 3px;
    background: linear-gradient(90deg, var(--mauve), var(--periwinkle-2));
    z-index: 1;
    border-radius: 2px;
    opacity: 0.3;
}

.progress-text {
    text-align: center;
    font-weight: 700;
    color: #ffffff !important;
    /* 강제로 흰색 적용 */
    font-size: 1.764rem;
    /* 2.52rem × 0.7 = 1.764rem */
    margin-top: 15px;
    text-shadow: 0 3px 8px rgba(0, 0, 0, 0.8);
    /* 더 강한 그림자 */
    transition: all 0.3s ease;
    min-height: 2rem;
    /* 그라데이션 제거하고 순수 흰색 사용 */
}

.progress-text.celebrating {
    color: #ffffff !important;
    transform: scale(1.1);
    animation: pulse 0.6s ease;
    text-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

.progress-text.step-change {
    animation: textSlideUp 0.4s ease;
}

@keyframes textSlideUp {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1.05);
    }

    50% {
        transform: scale(1.1);
    }
}

/* Celebration Effects */
.progress-celebration {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2.1rem;
    /* 3rem × 0.7 = 2.1rem */
    opacity: 0;
    pointer-events: none;
    z-index: 10;
}

.progress-celebration.show {
    animation: celebrationPop 1.2s ease forwards;
}

@keyframes celebrationPop {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(0) scale(0.5);
    }

    20% {
        opacity: 1;
        transform: translateX(-50%) translateY(-15px) scale(1.2);
    }

    40% {
        transform: translateX(-50%) translateY(-25px) scale(1);
    }

    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(-40px) scale(0.8);
    }
}

/* Results Section */
.results-section {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    animation: fadeInUp 0.5s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.results-title {
    text-align: center;
    font-size: 2.1rem;
    /* 3rem × 0.7 = 2.1rem */
    font-weight: 700;
    color: var(--text-accent);
    margin-bottom: 28px;
    animation: titleBounce 0.8s ease forwards;
    text-shadow: 0 2px 4px rgba(124, 58, 237, 0.1);
}

@keyframes titleBounce {
    0% {
        opacity: 0;
        transform: translateY(-10px) scale(0.9);
    }

    50% {
        transform: translateY(5px) scale(1.05);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.results-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto 20px auto;
}

.result-card {
    background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
    border-radius: 16px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 6px 20px rgba(0, 0, 0, 0.4);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    min-height: 96px;
    /* 120px × 0.8 = 96px */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.result-card:hover {
    transform: translateY(-4px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 10px 30px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.2);
}

.result-card.triple {
    border-left: 3px solid #ffffff;
}

.result-card.pair {
    border-left: 3px solid #cccccc;
}

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

.result-card:hover::before {
    left: 100%;
}

.match-type {
    font-size: 0.84rem;
    /* 1.2rem × 0.7 = 0.84rem */
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.match-icon {
    font-size: 1.26rem;
    /* 1.8rem × 0.7 = 1.26rem */
    animation: iconBounce 2s infinite;
}

@keyframes iconBounce {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.match-members {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: center;
}

.member {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    background: linear-gradient(145deg, #3a3a3a, #2a2a2a);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 2px 8px rgba(0, 0, 0, 0.3);
}

.member:hover {
    background: linear-gradient(145deg, #4a4a4a, #3a3a3a);
    transform: translateY(-2px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 4px 12px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
}

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

.member:hover::before {
    left: 100%;
}

.member-name {
    color: #ffffff;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.member-team {
    font-size: 0.8925rem;
    /* 1.275rem × 0.7 = 0.8925rem */
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
}

.match-separator {
    color: #ffffff;
    font-size: 1.26rem;
    /* 1.8rem × 0.7 = 1.26rem */
    font-weight: 700;
    margin: 0 8px;
    animation: separatorPulse 2s infinite;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

@keyframes separatorPulse {

    0%,
    100% {
        opacity: 0.7;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

.match-validation {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 1.26rem;
    /* 1.8rem × 0.7 = 1.26rem */
    animation: validationGlow 2s infinite;
}

@keyframes validationGlow {

    0%,
    100% {
        opacity: 0.8;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

.validation-icon.success {
    color: var(--periwinkle);
}

.validation-icon.warning {
    color: #f39c12;
}

/* Enhanced card animations */
@keyframes cardPopIn {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.8);
    }

    50% {
        transform: translateY(-5px) scale(1.05);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes memberSlideIn {
    0% {
        opacity: 0;
        transform: translateX(-20px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Sparkle effects */
.card-sparkle-effect {
    position: absolute;
    pointer-events: none;
    z-index: 10;
}

@keyframes cardSparkleFloat {
    0% {
        opacity: 0;
        transform: translateY(0) scale(0.5);
    }

    20% {
        opacity: 1;
        transform: translateY(-10px) scale(1.2);
    }

    100% {
        opacity: 0;
        transform: translateY(-30px) scale(0.8) rotate(180deg);
    }
}

.download-info {
    text-align: center;
    padding: 20px;
    background: rgba(187, 208, 255, 0.15);
    border-radius: 12px;
    border: 1px solid rgba(184, 192, 255, 0.3);
    transition: all 0.3s ease;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
}

.download-info:hover {
    background: rgba(187, 208, 255, 0.25);
    transform: translateY(-1px);
}

.download-info p {
    color: var(--text-accent);
    font-weight: 600;
    font-size: 1.1025rem;
    /* 1.575rem × 0.7 = 1.1025rem */
}

/* Error Message */
.error-message {
    position: fixed;
    top: 20px;
    right: 20px;
    color: white;
    padding: 16px 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    z-index: 1000;
    animation: slideInRight 0.3s ease;
    cursor: pointer;
    transition: all 0.3s ease;
    max-width: 400px;
    word-wrap: break-word;
}

/* Error severity levels */
.error-message.error-error {
    background: linear-gradient(135deg, #ff6b6b, #ff8a80);
    box-shadow: 0 6px 25px rgba(255, 107, 107, 0.4);
    border-left: 4px solid #ff5252;
}

.error-message.error-warning {
    background: linear-gradient(135deg, #ffa726, #ffb74d);
    box-shadow: 0 6px 25px rgba(255, 167, 38, 0.4);
    border-left: 4px solid #ff9800;
}

.error-message.error-info {
    background: var(--gradient-soft);
    box-shadow: 0 6px 25px rgba(200, 182, 255, 0.4);
    border-left: 4px solid var(--periwinkle);
}

.error-message.error-success {
    background: linear-gradient(135deg, #66bb6a, #81c784);
    box-shadow: 0 6px 25px rgba(102, 187, 106, 0.4);
    border-left: 4px solid #4caf50;
}

.error-message:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .top-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .results-container {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .holographic-1,
    .holographic-3 {
        display: none;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 80px 16px 40px;
    }

    .nav {
        top: 20px;
        right: 20px;
    }

    .nav-buttons {
        gap: 10px;
    }

    .nav-btn {
        padding: 10px 16px;
    }

    .main-content {
        padding: 0 20px;
        gap: 60px;
    }

    .control-panel {
        padding: 40px 30px;
        max-width: 100%;
    }

    .panel-content {
        grid-template-columns: 1fr;
        gap: 30px;
        /* 모바일에서도 간격 줄임 */
        text-align: center;
    }

    .upload-area,
    .stats-display {
        width: 100%;
        max-width: 100%;
    }

    .file-upload {
        max-width: 100%;
    }

    .chrome-stat.compact {
        width: 100%;
        max-width: 100%;
    }

    .emphasized-button {
        min-width: 100%;
        max-width: 100%;
        padding: 25px 40px;
    }

    font-size: 13px;
}

.main-logo {
    max-width: 640px;
    /* 데스크톱과 동일한 크기 (80%) */
}

.subtitle {
    font-size: 1.05rem;
    /* 1.5rem × 0.7 = 1.05rem */
}

.chrome-card {
    padding: 20px;
}

.section-title {
    font-size: 1.05rem;
    /* 1.5rem × 0.7 = 1.05rem */
}

.chrome-button {
    padding: 12px 20px;
    font-size: 0.8925rem;
    /* 1.275rem × 0.7 = 0.8925rem */
}

.emphasized-button {
    padding: 24px 50px;
    /* 모바일에서도 더 넓게 */
    font-size: 1.764rem;
    /* 2.52rem × 0.7 = 1.764rem */
    transform: scale(1.1);
    min-width: 280px;
    /* 모바일 최소 너비 */
}

.emphasized-button:hover {
    transform: scale(1.15) translateY(-5px);
}

.chrome-stat {
    min-width: 180px;
    padding: 16px;
}

.stat-icon {
    font-size: 3rem;
    /* 2rem × 1.5 = 3rem */
}

.stat-value {
    font-size: 2.52rem;
    /* 3.6rem × 0.7 = 2.52rem */
}

.result-card {
    padding: 18px;
    min-height: 80px;
    /* 100px × 0.8 = 80px */
}

.match-members {
    gap: 10px;
}

.member {
    padding: 6px 12px;
    font-size: 1.35rem;
    /* 0.9rem × 1.5 = 1.35rem */
}

.holographic-2,
.holographic-4 {
    opacity: 0.3;
}
}

@media (max-width: 480px) {
    .container {
        padding: 60px 12px 20px;
    }

    .nav-buttons {
        gap: 8px;
    }

    .nav-btn {
        padding: 8px 12px;
        font-size: 12px;
    }

    .main-logo {
        max-width: 640px;
        /* 데스크톱과 동일한 크기 (80%) */
    }

    .subtitle {
        font-size: 1.35rem;
        /* 0.9rem × 1.5 = 1.35rem */
    }

    .chrome-card {
        padding: 20px;
    }

    .chrome-button {
        max-width: 1600px;
        /* 모바일에서도 전체 너비와 동일 */
        width: auto;
        justify-content: center;
        padding: 16px;
    }

    .emphasized-button {
        width: 100%;
        padding: 24px;
        font-size: 2.52rem;
        /* 3.6rem × 0.7 = 2.52rem */
        transform: scale(1);
    }

    .emphasized-button:hover {
        transform: scale(1.05) translateY(-3px);
    }

    .chrome-stat {
        flex-direction: column;
        text-align: center;
        gap: 12px;
        min-width: auto;
    }

    .stat-icon {
        font-size: 3rem;
        /* 2rem × 1.5 = 3rem */
    }

    .holographic-element {
        display: none;
    }
}