/* Mobile-First Full-Bleed Design System */
:root {
    --primary-line: #06C755;
    --primary-line-hover: #05b04b;
    --primary-line-active: #049840;
    --bg-gradient: linear-gradient(180deg, #E6F8EE 0%, #F4F7F6 45%, #FFFFFF 100%);
    --card-bg: #FFFFFF;
    --text-dark: #0F172A;
    --text-muted: #64748B;
    --border-color: rgba(6, 199, 85, 0.15);
    --shadow-soft: 0 12px 36px rgba(6, 199, 85, 0.1), 0 4px 16px rgba(0, 0, 0, 0.03);
    --radius-card: 28px;
    --radius-btn: 18px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

html, body {
    width: 100%;
    height: 100%;
    background: var(--bg-gradient);
    background-attachment: fixed;
    color: var(--text-dark);
    font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 28px 16px;
    min-height: 100vh;
}

/* 动态背景 */
.ambient-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.6;
}

.blob-1 {
    width: 300px;
    height: 300px;
    background: #06C755;
    top: -60px;
    left: -40px;
}

.blob-2 {
    width: 340px;
    height: 340px;
    background: #38BDF8;
    bottom: -60px;
    right: -40px;
}

/* 页面主容器 */
.direct-container {
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

/* 大幅加宽卡片内部与各组件间距 */
.direct-card {
    background: var(--card-bg);
    border-radius: var(--radius-card);
    padding: 44px 26px 40px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    border: 1.5px solid var(--border-color);
}

@media (max-width: 480px) {
    body {
        padding: 0;
        justify-content: flex-start;
        background: #FFFFFF;
    }

    .direct-container {
        max-width: 100%;
        min-height: 100vh;
    }

    .direct-card {
        border-radius: 0;
        border: none;
        box-shadow: none;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 48px 22px 40px;
        background: linear-gradient(180deg, #E6F8EE 0%, #FFFFFF 35%);
    }
}

/* LINE 头像图标组间距大幅加大 */
.header-profile {
    display: flex;
    justify-content: center;
    margin-top: 0;
    margin-bottom: 24px;
}

.avatar-wrapper {
    position: relative;
    width: 76px;
    height: 76px;
    background: #EBFDF2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(6, 199, 85, 0.2);
    border: 2.5px solid #06C755;
}

.official-line-logo {
    width: 46px;
    height: 46px;
}

/* 在线绿点定位 */
.online-indicator {
    position: absolute;
    bottom: 4px;
    right: 4px;
    width: 16px;
    height: 16px;
    background-color: #10B981;
    border: 2.5px solid #FFFFFF;
    border-radius: 50%;
    box-shadow: 0 0 8px #10B981;
}

/* 在线状态 Pill 间距大幅加大 */
.status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(6, 199, 85, 0.1);
    color: #047835;
    font-size: 13px;
    font-weight: 700;
    padding: 8px 20px;
    border-radius: 30px;
    margin-bottom: 28px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background-color: #10B981;
    border-radius: 50%;
    box-shadow: 0 0 8px #10B981;
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* 标题 - 保证在一行显示且留出宽松间距 */
.direct-title {
    font-size: clamp(16px, 5.2vw, 21px);
    font-weight: 900;
    color: var(--text-dark);
    margin-bottom: 18px;
    line-height: 1.3;
    letter-spacing: -0.6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.direct-sub {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 34px;
    padding: 0 4px;
}

/* CTA 按钮样式与发光脉冲 */
.cta-wrapper {
    position: relative;
    margin-bottom: 20px;
}

.line-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    background-color: var(--primary-line);
    color: #FFFFFF;
    border: none;
    padding: 19px 16px;
    border-radius: var(--radius-btn);
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 28px rgba(6, 199, 85, 0.35);
    transition: all 0.2s ease-in-out;
    animation: pulse-glow 2.2s infinite;
    white-space: nowrap;
}

@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 0 0 rgba(6, 199, 85, 0.6);
    }
    70% {
        box-shadow: 0 0 0 16px rgba(6, 199, 85, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(6, 199, 85, 0);
    }
}

.line-btn:hover {
    background-color: var(--primary-line-hover);
    transform: translateY(-2px);
}

.line-btn:active {
    background-color: var(--primary-line-active);
    transform: translateY(0);
}

.line-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.cta-tip {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 32px;
}

/* 专业 SVG 矢量 Icon 特性列间距大幅加大 */
.pro-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: #F8FAFC;
    padding: 20px 22px;
    border-radius: 20px;
    border: 1px solid #E2E8F0;
    text-align: left;
}

.pro-feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    font-weight: 700;
    color: #334155;
}

.pro-icon {
    width: 18px;
    height: 18px;
    color: #06C755;
    flex-shrink: 0;
}
