@charset "UTF-8";

/* ==========================================
   Z-Blog 主题 - 韩国落地页样式
   ========================================== */

/* 基础重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* CSS 变量 */
:root {
    --primary-color: #2c5ef7;
    --secondary-color: #00c9a7;
    --dark-bg: #0f1419;
    --card-bg: rgba(255, 255, 255, 0.95);
    --text-dark: #1a1a1a;
    --text-light: #666;
    --border-radius: 16px;
    --transition: all 0.3s ease;
}

/* 主体样式 */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "맑은 고딕", sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow-x: hidden;
}

/* 容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 通用按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 32px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

.btn:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* 响应式设计 */
@media (max-width: 768px) {
    body {
        font-size: 14px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    h1 {
        font-size: 28px;
    }
    
    h2 {
        font-size: 24px;
    }
}

/* Z-Blog 特定样式 */
#divMain {
    background: transparent;
}

#divMain a {
    color: var(--primary-color);
    transition: var(--transition);
}

#divMain a:hover {
    color: var(--secondary-color);
}

/* 清除浮动 */
.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

/* 图片响应式 */
img {
    max-width: 100%;
    height: auto;
}

/* 表单样式 */
input,
textarea,
select {
    font-family: inherit;
    font-size: inherit;
}

/* 链接默认样式 */
a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

/* 页面过渡效果 */
.page-transition {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
