
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f5f5dc;
    min-height: 100vh;
    padding-bottom: 100px;
}

.container {
    max-width: 480px;
    margin: 0 auto;
    background: #f5f5dc;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

/* 데스크톱에서 중앙 정렬 */
@media (min-width: 768px) {
    .container {
        max-width: 500px;
        margin-top: 0;
        min-height: 100vh;
    }
}

.header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    text-align: center;
    padding: 40px 20px 30px;
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}

.header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="80" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    animation: float 20s ease-in-out infinite;
    z-index: 1;
}

.header-content {
    position: relative;
    z-index: 2;
}

.title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
    animation: slideInDown 1s ease-out;
}

.subtitle {
    font-size: 14px;
    opacity: 0.9;
    animation: slideInDown 1s ease-out 0.2s both;
}

.avatar-section {
    padding: 30px 20px;
    text-align: center;
    background: #f5f5dc;
    position: relative;
}

.avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 50%, #fecfef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: white;
    font-weight: bold;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    animation: bounceIn 1s ease-out 0.5s both;
    position: relative;
    overflow: hidden;
}

.avatar::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shine 3s ease-in-out infinite;
}

.expert-name {
    font-size: 22px;
    font-weight: 700;
    color: #1e3c72;
    margin-bottom: 8px;
    animation: fadeInUp 1s ease-out 0.7s both;
}

.expert-title {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease-out 0.9s both;
}

.content-section {
    padding: 0 20px 40px;
}

.section {
    margin-bottom: 30px;
    animation: fadeInUp 1s ease-out both;
}

.section:nth-child(1) { animation-delay: 1.1s; }
.section:nth-child(2) { animation-delay: 1.3s; }
.section:nth-child(3) { animation-delay: 1.5s; }

.section-title {
    font-size: 18px;
    font-weight: 600;
    color: #1e3c72;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.section-title::before {
    content: '🔥';
    margin-right: 8px;
    animation: pulse 2s ease-in-out infinite;
}

.section-content {
    font-size: 14px;
    line-height: 1.7;
    color: #555;
}

.highlight {
    border-radius: 15px;
    margin: 20px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 1s ease-out 1.7s both;
}

.highlight-title {
    font-size: 16px;
    font-weight: 600;
    color: #1e3c72;
    margin-bottom: 10px;
}

.benefits {
    list-style: none;
    padding: 0;
}

.benefits li {
    padding: 8px 0;
    position: relative;
    padding-left: 25px;
}

.benefits li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #1e3c72;
    font-weight: bold;
}

/* 按钮容器 - 确保完全居中 */
.button-container {
    position: fixed;
    bottom: 20px;
    left: 0;
    right: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    pointer-events: none;
}

.cta-button {
    background: linear-gradient(135deg, #ff6b6b 0%, #ffa500 100%);
    color: white;
    border: none;
    padding: 18px 40px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(255, 107, 107, 0.4);
    transition: all 0.3s ease;
    animation: pulse 2s ease-in-out infinite, slideInUp 1s ease-out 2s both;
    pointer-events: auto;
    white-space: nowrap;
    margin: 0;
    display: inline-block;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.6);
}

.cta-button:active {
    transform: translateY(-1px);
}

/* 애니메이션 정의 */
@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes shine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

/* 이미지 섹션 스타일 */
.image-section {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin: 30px 0;
    animation: fadeInUp 1s ease-out 1.4s both;
}

.image-placeholder {
    flex: 1;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    padding: 20px 10px;
    text-align: center;
    color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.image-placeholder:hover {
    transform: translateY(-5px);
}

.image-icon {
    font-size: 24px;
    margin-bottom: 8px;
}

.image-placeholder p {
    font-size: 12px;
    font-weight: 500;
    margin: 0;
}

/* 모바일 최적화 */
@media (max-width: 375px) {
    .container {
        max-width: 100%;
    }
    
    .title {
        font-size: 20px;
    }
    
    .avatar {
        width: 100px;
        height: 100px;
        font-size: 40px;
    }

    .image-section {
        flex-direction: column;
        gap: 10px;
    }

    .image-placeholder {
        padding: 15px;
    }
}
