* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Pretendard', sans-serif;
}

body {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    color: #2c3e50;
}

.container {
    max-width: 800px;
    width: 100%;
    padding: 30px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

header {
    text-align: center;
    margin-bottom: 40px;
    padding: 20px;
}

.profile-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 20px;
    object-fit: cover;
    border: 4px solid white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.profile-img:hover {
    transform: scale(1.05);
}

header h1 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    background: linear-gradient(45deg, #2c3e50, #3498db);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

header p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
}

.links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    padding: 10px;
}

.link-card {
    background: white;
    padding: 20px;
    border-radius: 15px;
    text-decoration: none;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.link-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: rgba(52, 152, 219, 0.3);
}

.icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #e0eafc 0%, #cfdef3 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: #3498db;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.link-card:hover .icon {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    transform: rotate(360deg);
}

.link-content {
    flex-grow: 1;
}

.link-content h2 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.link-content p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.4;
}

.link-card:hover .link-content h2 {
    color: #3498db;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .container {
        padding: 20px;
    }
    
    header h1 {
        font-size: 1.8rem;
    }
    
    .links {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 15px;
    }
    
    header {
        padding: 15px;
    }
    
    .profile-img {
        width: 100px;
        height: 100px;
    }
    
    header h1 {
        font-size: 1.6rem;
    }
    
    header p {
        font-size: 1rem;
    }
    
    .link-card {
        padding: 15px;
    }
    
    .icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .link-content h2 {
        font-size: 1.1rem;
    }
}

/* 다크모드 지원 */
@media (prefers-color-scheme: dark) {
    body {
        background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    }
    
    .container {
        background: rgba(44, 62, 80, 0.9);
    }
    
    header p, .link-content p {
        color: #bdc3c7;
    }
    
    .link-card {
        background: rgba(255, 255, 255, 0.05);
        border-color: rgba(255, 255, 255, 0.1);
    }
    
    .link-content h2 {
        color: #ecf0f1;
    }
}
