/* ===========================
   1. 全局基础设置
   =========================== */
@font-face {
    font-family: 'LocalFont';
    src: url('../fonts/myfont.ttf') format('truetype'); 
    font-weight: normal;
    font-style: normal;
}

:root {
    --bg-gradient: linear-gradient(135deg, #fff1eb 0%, #ace0f9 100%);
    --card-bg: rgba(255, 255, 255, 0.7);
    --step-bg: rgba(255, 255, 255, 0.5);
    --card-border: rgba(255, 255, 255, 0.8);
    --text-primary: #4a4a4a;
    --text-secondary: #666;
    --primary-accent: #ff758c; 
    --secondary-accent: #667eea;
    --shadow-soft: 0 20px 50px rgba(0,0,0,0.05);
}

* { margin: 0; padding: 0; box-sizing: border-box; cursor: default; }

@media (pointer: fine) { * { cursor: none !important; } }

body {
    font-family: 'LocalFont', -apple-system, sans-serif;
    background-image: var(--bg-gradient);
    background-size: 400% 400%;
    animation: gradientFlow 15s ease infinite;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    padding: 40px 20px;
    color: var(--text-primary);
}

/* ===========================
   2. 主容器
   =========================== */
.container {
    position: relative;
    background: var(--card-bg);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 2px solid var(--card-border);
    border-radius: 40px;
    padding: 40px;
    box-shadow: var(--shadow-soft);
    max-width: 600px;
    width: 100%;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: slideUp 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* ===========================
   3. 头部样式
   =========================== */
.header { text-align: center; margin-bottom: 40px; }

.icon-wrapper {
    width: 80px; height: 80px;
    background: #fff;
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    animation: floatIcon 6s ease-in-out infinite;
}

.title {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 5px;
    background: linear-gradient(90deg, var(--primary-accent), var(--secondary-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle { color: var(--text-secondary); font-size: 0.95rem; }

/* ===========================
   4. 步骤列表样式
   =========================== */
.steps-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.step-card {
    background: var(--step-bg);
    border: 1px solid rgba(255,255,255,0.6);
    border-radius: 20px;
    padding: 20px;
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.step-card:hover {
    transform: translateX(10px);
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.step-number {
    font-size: 2rem;
    font-weight: 900;
    color: rgba(0,0,0,0.05); /* 淡淡的背景数字 */
    margin-right: 20px;
    min-width: 40px;
    text-align: center;
    position: relative;
}
/* 数字上的彩色圆点装饰 */
.step-number::after {
    content: attr(data-index);
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    color: var(--primary-accent);
    font-size: 1.2rem;
    opacity: 1;
}

.step-content { flex: 1; }
.step-title { font-weight: 700; margin-bottom: 4px; font-size: 1.05rem; }
.step-desc { font-size: 0.9rem; color: var(--text-secondary); }

/* 模拟图标样式 (用于步骤描述中) */
.icon-share, .icon-add, .icon-menu {
    display: inline-block;
    vertical-align: middle;
    width: 20px; height: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    margin: 0 5px;
}

/* ===========================
   5. 底部按钮
   =========================== */
.btn-back {
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    background: #fff;
    color: var(--text-primary);
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.btn-back:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* ===========================
   6. 装饰与光标
   =========================== */
.bg-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
    opacity: 0.6;
    animation: floatShape 10s infinite alternate;
}
.shape-1 { width: 400px; height: 400px; background: #ff9a9e; top: -100px; left: -100px; }
.shape-2 { width: 300px; height: 300px; background: #a18cd1; bottom: -50px; right: -50px; }

.cursor-dot { width: 8px; height: 8px; background: var(--primary-accent); border-radius: 50%; position: fixed; pointer-events: none; z-index: 9999; }
.cursor-outline { width: 30px; height: 30px; border: 2px solid rgba(255,117,140,0.5); border-radius: 50%; position: fixed; pointer-events: none; z-index: 9998; transition: 0.15s; }
.cursor-outline.hovered { width: 50px; height: 50px; background: rgba(255,117,140,0.1); border-color: transparent; }

@keyframes gradientFlow { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes floatIcon { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes floatShape { 0% { transform: translate(0, 0); } 100% { transform: translate(30px, 40px); } }

@media (max-width: 600px) {
    .container { padding: 30px 20px; width: 90%; }
    .step-card { padding: 15px; }
    * { cursor: auto !important; }
    .cursor-dot, .cursor-outline { display: none; }
}