/* ==========================================================================
   安全推广页面 - 统一响应式样式表
   设计理念：专业安全、视觉高级、响应式适配
   ========================================================================== */

/* ========================================
   CSS变量定义
   ======================================== */
:root {
    /* 主色调 - 深靛蓝色系 */
    --primary-dark: #0d1b2a;
    --primary-blue: #1b3a5f;
    --primary-light: #2d5a87;
    --accent-blue: #4a90d9;

    /* 点缀色 - 金色系 */
    --gold-dark: #b8860b;
    --gold-main: #d4af37;
    --gold-light: #f0d878;

    /* 中性色 */
    --surface-dark: rgba(15, 27, 42, 0.95);
    --surface-medium: rgba(27, 58, 95, 0.6);
    --surface-light: rgba(255, 255, 255, 0.08);
    --border-subtle: rgba(212, 175, 55, 0.2);

    /* 文字色 */
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.85);
    --text-muted: rgba(255, 255, 255, 0.6);

    /* 功能色 */
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;

    /* 间距 */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-xxl: 48px;

    /* 圆角 */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;

    /* 阴影 */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 30px rgba(212, 175, 55, 0.15);

    /* 过渡 */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* ========================================
   基础重置与全局样式
   ======================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    background: var(--primary-dark);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* 选中样式 */
::selection {
    background: var(--gold-main);
    color: var(--primary-dark);
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}

::-webkit-scrollbar-track {
    background: var(--surface-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--border-subtle);
    border-radius: 2px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold-main);
}

/* ========================================
   安全背景层
   ======================================== */
.secure-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(135deg, var(--primary-dark) 0%, #0a1628 50%, var(--primary-dark) 100%);
    overflow: hidden;
}

.bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--accent-blue), var(--primary-light));
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--gold-main), var(--gold-dark));
    bottom: -50px;
    left: -50px;
    animation-delay: -7s;
}

.orb-3 {
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, var(--primary-light), var(--accent-blue));
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -14s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(30px, -30px) scale(1.05);
    }
    50% {
        transform: translate(-20px, 20px) scale(0.95);
    }
    75% {
        transform: translate(20px, 30px) scale(1.02);
    }
}

/* ========================================
   主容器
   ======================================== */
.main-container {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    z-index: 1;
}

/* ========================================
   顶部安全提示栏
   ======================================== */
.header-secure {
    background: var(--surface-dark);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    padding: var(--space-md) var(--space-lg);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
    flex-wrap: wrap;
}

.security-badge {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-xs) var(--space-md);
    background: linear-gradient(135deg, var(--gold-dark), var(--gold-main));
    border-radius: var(--radius-lg);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-dark);
    box-shadow: var(--shadow-glow);
}

.shield-icon {
    width: 18px;
    height: 18px;
}

.secure-notice {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* ========================================
   主要内容区域
   ======================================== */
.content-wrapper {
    flex: 1;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: var(--space-lg);
}

/* ========================================
   品牌展示区
   ======================================== */
.brand-section {
    padding: var(--space-xl) 0;
    display: flex;
    justify-content: center;
}

.brand-card {
    text-align: center;
    animation: fadeInUp 0.8s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.brand-logo {
    margin-bottom: var(--space-md);
}

.brand-logo img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 4px 20px rgba(212, 175, 55, 0.3));
}

.brand-slogan {
    display: inline-block;
    padding: var(--space-sm) var(--space-lg);
    background: var(--surface-medium);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
}

.slogan-text {
    font-size: 1rem;
    color: var(--text-secondary);
    letter-spacing: 2px;
}

/* ========================================
   通用区块标题
   ======================================== */
.section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    margin: var(--space-xl) 0;
}

.section-title h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gold-main);
    text-shadow: 0 2px 10px rgba(212, 175, 55, 0.2);
    white-space: nowrap;
}

.title-line {
    flex: 1;
    max-width: 100px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-main), transparent);
}

/* ========================================
   客服联系方式区
   ======================================== */
.contact-section {
    margin-bottom: var(--space-xl);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
    width: 100%;
}

.contact-card {
    background: var(--surface-medium);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    padding: var(--space-lg);
    transition: all var(--transition-normal);
    animation: fadeInUp 0.8s ease;
    animation-fill-mode: both;
    width: 100%;
}

.contact-card:nth-child(1) {
    animation-delay: 0.2s;
}

.contact-card:nth-child(2) {
    animation-delay: 0.4s;
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    border-color: var(--gold-main);
}

.card-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.contact-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon svg {
    width: 28px;
    height: 28px;
}

.feiyu-icon {
    background: linear-gradient(135deg, var(--primary-light), var(--accent-blue));
    color: var(--text-primary);
}

.wangwang-icon {
    background: linear-gradient(135deg, var(--gold-dark), var(--gold-main));
    color: var(--primary-dark);
}

.contact-info {
    flex: 1;
    min-width: 0;
}

.contact-label {
    display: block;
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: var(--space-xs);
}

.contact-id {
    display: block;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    font-family: 'Monaco', 'Consolas', monospace;
    word-break: break-all;
}

.card-actions {
    display: flex;
    gap: var(--space-md);
}

.btn-action {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-md);
    font-size: 0.9375rem;
    font-weight: 500;
    text-decoration: none;
    transition: all var(--transition-fast);
    cursor: pointer;
    border: none;
    outline: none;
    min-height: 48px;
}

.btn-action svg {
    width: 18px;
    height: 18px;
}

.btn-copy {
    background: var(--surface-light);
    color: var(--text-primary);
    border: 1px solid var(--border-subtle);
}

.btn-copy:hover {
    background: var(--primary-light);
    border-color: var(--accent-blue);
}

.btn-copy:active {
    transform: scale(0.98);
}

.btn-download {
    background: linear-gradient(135deg, var(--gold-dark), var(--gold-main));
    color: var(--primary-dark);
    font-weight: 600;
}

.btn-download:hover {
    background: linear-gradient(135deg, var(--gold-main), var(--gold-light));
    box-shadow: var(--shadow-glow);
}

.btn-download:active {
    transform: scale(0.98);
}

/* ========================================
   平台入口区
   ======================================== */
.platform-section {
    margin-bottom: var(--space-xl);
}

.platform-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-xl);
    width: 100%;
}

.platform-card {
    background: var(--surface-medium);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    overflow: hidden;
    transition: all var(--transition-normal);
    animation: fadeInUp 0.8s ease;
    animation-fill-mode: both;
    width: 100%;
}

.platform-card:nth-child(1) {
    animation-delay: 0.4s;
}

.platform-card:nth-child(2) {
    animation-delay: 0.6s;
}

.platform-card:hover {
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    border-color: var(--gold-main);
}

.platform-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: linear-gradient(135deg, var(--surface-dark), var(--surface-medium));
    border-bottom: 1px solid var(--border-subtle);
}

.platform-logo {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    overflow: hidden;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px;
}

.platform-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.platform-info {
    flex: 1;
    min-width: 0;
}

.platform-info h3 {
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
}

.platform-info p {
    font-size: 0.875rem;
    color: var(--gold-light);
}

/* 线路测速列表 */
.speed-list {
    padding: var(--space-md);
}

.speed-header {
    display: grid;
    grid-template-columns: 1fr 100px 100px;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    font-size: 0.8125rem;
    color: var(--text-muted);
    font-weight: 500;
}

.speed-items {
    list-style: none;
    margin-top: var(--space-sm);
}

.speed-item {
    display: grid;
    grid-template-columns: 1fr 100px 100px;
    gap: var(--space-sm);
    padding: var(--space-md);
    margin-bottom: var(--space-sm);
    background: var(--surface-dark);
    border-radius: var(--radius-md);
    align-items: center;
    transition: all var(--transition-fast);
    animation: slideIn 0.4s ease;
    animation-fill-mode: both;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.speed-item:hover {
    background: var(--surface-light);
}

.speed-item .item-name {
    font-size: 0.875rem;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.speed-item .item-speed {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.875rem;
    font-weight: 500;
    justify-content: center;
}

.speed-item .speed-icon {
    width: 20px;
    height: 16px;
    position: relative;
    flex-shrink: 0;
}

.speed-item .speed-icon.wifi-1 {
    background: url('../images/level1.png') no-repeat center;
    background-size: contain;
}

.speed-item .speed-icon.wifi-2 {
    background: url('../images/level2.png') no-repeat center;
    background-size: contain;
}

.speed-item .speed-icon.wifi-4 {
    background: url('../images/level4.png') no-repeat center;
    background-size: contain;
}

.speed-item .speed-value {
    font-size: 0.8125rem;
}

.speed-item .speed-value.c-green {
    color: var(--success);
}

.speed-item .speed-value.c-yellow {
    color: var(--warning);
}

.speed-item .speed-value.c-red {
    color: var(--danger);
}

.speed-item .item-action {
    text-align: center;
}

.speed-item .item-action a {
    display: inline-block;
    padding: var(--space-sm) var(--space-md);
    background: linear-gradient(135deg, var(--primary-light), var(--accent-blue));
    color: var(--text-primary);
    text-decoration: none;
    border-radius: var(--radius-sm);
    font-size: 0.8125rem;
    font-weight: 500;
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.speed-item .item-action a:hover {
    background: linear-gradient(135deg, var(--accent-blue), var(--primary-light));
    transform: translateY(-1px);
}

.speed-item .item-action a:active {
    transform: scale(0.98);
}

/* ========================================
   底部安全栏
   ======================================== */
.footer-secure {
    background: var(--surface-dark);
    border-top: 1px solid var(--border-subtle);
    padding: var(--space-lg);
    margin-top: auto;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-lg);
    margin-bottom: var(--space-md);
}

.badge-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.badge-item svg {
    width: 16px;
    height: 16px;
    color: var(--gold-main);
}

.copyright {
    font-size: 0.75rem;
    color: var(--text-muted);
    opacity: 0.8;
}

/* ========================================
   复制成功提示
   ======================================== */
.copy-toast {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: var(--surface-dark);
    backdrop-filter: blur(20px);
    border: 1px solid var(--gold-main);
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-primary);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    max-width: 80%;
    text-align: center;
}

.copy-toast.show {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.copy-toast svg {
    width: 22px;
    height: 22px;
    color: var(--success);
    flex-shrink: 0;
}

/* ========================================
   加载动画
   ======================================== */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 27, 42, 0.9);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
    z-index: 999;
    opacity: 1;
    visibility: visible;
    transition: all var(--transition-normal);
}

.loading-overlay.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-spinner {
    position: relative;
    width: 60px;
    height: 60px;
}

.spinner-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: var(--gold-main);
    animation: spin 1.2s linear infinite;
}

.spinner-ring:nth-child(2) {
    width: 80%;
    height: 80%;
    top: 10%;
    left: 10%;
    border-top-color: var(--accent-blue);
    animation-duration: 1s;
    animation-direction: reverse;
}

.spinner-ring:nth-child(3) {
    width: 60%;
    height: 60%;
    top: 20%;
    left: 20%;
    border-top-color: var(--success);
    animation-duration: 0.8s;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.loading-overlay p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

/* ========================================
   响应式设计 - 大屏设备
   ======================================== */
@media screen and (min-width: 1200px) {
    .content-wrapper {
        max-width: 1400px;
        padding: var(--space-xl);
    }

    .brand-logo img {
        max-width: 600px;
    }
}

/* ========================================
   响应式设计 - 平板设备 (768px - 1199px)
   ======================================== */
@media screen and (max-width: 1199px) and (min-width: 768px) {
    .content-wrapper {
        padding: var(--space-md);
        padding-left: var(--space-md);
        padding-right: var(--space-md);
    }

    .platform-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }

    .platform-card {
        max-width: none;
    }

    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }

    .contact-card {
        max-width: none;
    }

    .header-content {
        flex-direction: row;
        flex-wrap: wrap;
        gap: var(--space-md);
    }

    .platform-header {
        padding: var(--space-md);
    }

    .platform-logo {
        width: 56px;
        height: 56px;
    }

    .speed-item {
        padding: var(--space-sm) var(--space-md);
    }
}

/* ========================================
   响应式设计 - 移动设备 (小于768px)
   ======================================== */
@media screen and (max-width: 767px) {
    /* 基础字体调整 */
    html {
        font-size: 14px;
    }

    /* 主容器 */
    .main-container {
        min-height: auto;
        display: block;
    }

    /* 内容区域 */
    .content-wrapper {
        padding: var(--space-sm);
        padding-bottom: calc(var(--space-lg) + 60px);
    }

    /* 顶部安全栏 */
    .header-secure {
        padding: var(--space-sm) var(--space-sm);
        position: relative;
    }

    .header-content {
        flex-direction: column;
        gap: var(--space-xs);
    }

    .security-badge {
        font-size: 0.75rem;
        padding: var(--space-xs) var(--space-sm);
    }

    .shield-icon {
        width: 14px;
        height: 14px;
    }

    .secure-notice {
        font-size: 0.7rem;
        color: var(--text-muted);
    }

    /* 品牌展示区 */
    .brand-section {
        padding: var(--space-md) 0;
    }

    .brand-logo {
        margin-bottom: var(--space-sm);
    }

    .brand-logo img {
        max-width: 100%;
        width: 280px;
    }

    .brand-slogan {
        padding: var(--space-xs) var(--space-md);
        border-radius: var(--radius-md);
    }

    .slogan-text {
        font-size: 0.75rem;
        letter-spacing: 1px;
    }

    /* 区块标题 */
    .section-title {
        margin: var(--space-md) 0;
        gap: var(--space-sm);
    }

    .section-title h2 {
        font-size: 1.125rem;
    }

    .title-line {
        max-width: 50px;
    }

    /* 客服联系方式 */
    .contact-section {
        margin-bottom: var(--space-md);
    }

    .contact-grid {
        display: flex;
        flex-direction: column;
        gap: var(--space-sm);
    }

    .contact-card {
        padding: var(--space-sm);
        border-radius: var(--radius-md);
        animation: none;
        opacity: 1;
        transform: none;
    }

    .card-header {
        flex-direction: row;
        gap: var(--space-sm);
        margin-bottom: var(--space-sm);
        text-align: left;
    }

    .contact-icon {
        width: 44px;
        height: 44px;
        border-radius: var(--radius-sm);
    }

    .contact-icon svg {
        width: 22px;
        height: 22px;
    }

    .contact-label {
        font-size: 0.75rem;
        margin-bottom: 2px;
    }

    .contact-id {
        font-size: 1rem;
    }

    .card-actions {
        gap: var(--space-sm);
    }

    .btn-action {
        padding: var(--space-sm) var(--space-md);
        font-size: 0.875rem;
        min-height: 44px;
        border-radius: var(--radius-sm);
    }

    .btn-action svg {
        width: 16px;
        height: 16px;
    }

    /* 平台入口区 */
    .platform-section {
        margin-bottom: var(--space-md);
    }

    .platform-grid {
        display: flex;
        flex-direction: column;
        gap: var(--space-sm);
    }

    .platform-card {
        border-radius: var(--radius-md);
        animation: none;
        opacity: 1;
        transform: none;
    }

    .platform-header {
        flex-direction: row;
        gap: var(--space-sm);
        padding: var(--space-sm);
        text-align: left;
    }

    .platform-logo {
        width: 48px;
        height: 48px;
        padding: 4px;
        border-radius: var(--radius-sm);
    }

    .platform-info h3 {
        font-size: 1.125rem;
        margin-bottom: 2px;
    }

    .platform-info p {
        font-size: 0.75rem;
    }

    /* 线路测速列表 */
    .speed-list {
        padding: var(--space-sm);
    }

    .speed-header {
        display: none;
    }

    .speed-items {
        margin-top: var(--space-xs);
    }

    .speed-item {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: var(--space-xs);
        padding: var(--space-sm);
        margin-bottom: var(--space-xs);
        border-radius: var(--radius-sm);
    }

    .speed-item .item-name {
        flex: 1;
        font-size: 0.8125rem;
        min-width: 120px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        order: 1;
    }

    .speed-item .item-speed {
        order: 3;
        width: 100%;
        justify-content: flex-start;
        font-size: 0.75rem;
        margin-top: var(--space-xs);
    }

    .speed-item .speed-icon {
        width: 18px;
        height: 14px;
    }

    .speed-item .speed-value {
        font-size: 0.75rem;
    }

    .speed-item .item-action {
        order: 2;
        text-align: right;
    }

    .speed-item .item-action a {
        padding: var(--space-xs) var(--space-sm);
        font-size: 0.75rem;
        border-radius: var(--radius-sm);
    }

    /* 底部安全栏 */
    .footer-secure {
        padding: var(--space-md) var(--space-sm);
        position: relative;
    }

    .footer-badges {
        gap: var(--space-sm);
        margin-bottom: var(--space-sm);
    }

    .badge-item {
        font-size: 0.6875rem;
    }

    .badge-item svg {
        width: 14px;
        height: 14px;
    }

    .copyright {
        font-size: 0.6875rem;
    }

    /* 背景光效 */
    .bg-orb {
        opacity: 0.2;
        filter: blur(60px);
    }

    .orb-1 {
        width: 200px;
        height: 200px;
    }

    .orb-2 {
        width: 150px;
        height: 150px;
    }

    .orb-3 {
        width: 180px;
        height: 180px;
    }

    /* 复制提示 */
    .copy-toast {
        padding: var(--space-sm) var(--space-lg);
        font-size: 0.875rem;
    }

    .copy-toast svg {
        width: 18px;
        height: 18px;
    }

    /* 加载动画 */
    .loading-overlay p {
        font-size: 0.875rem;
    }
}

/* ========================================
   响应式设计 - 小屏移动设备 (小于480px)
   ======================================== */
@media screen and (max-width: 479px) {
    html {
        font-size: 13px;
    }

    .content-wrapper {
        padding: var(--space-xs);
        padding-bottom: var(--space-md);
    }

    .brand-logo img {
        width: 240px;
    }

    .slogan-text {
        font-size: 0.6875rem;
    }

    .contact-icon {
        width: 40px;
        height: 40px;
    }

    .contact-icon svg {
        width: 20px;
        height: 20px;
    }

    .contact-id {
        font-size: 0.9375rem;
    }

    .platform-logo {
        width: 42px;
        height: 42px;
    }

    .platform-info h3 {
        font-size: 1rem;
    }

    .platform-info p {
        font-size: 0.6875rem;
    }

    .speed-item {
        padding: var(--space-xs) var(--space-sm);
    }

    .speed-item .item-name {
        font-size: 0.75rem;
        min-width: 100px;
    }

    .speed-item .item-speed {
        font-size: 0.6875rem;
    }

    .speed-item .item-action a {
        font-size: 0.6875rem;
        padding: 4px var(--space-sm);
    }

    .btn-action {
        font-size: 0.8125rem;
        padding: var(--space-xs) var(--space-sm);
        min-height: 40px;
    }
}

/* ========================================
   响应式设计 - 超小屏设备 (小于375px)
   ======================================== */
@media screen and (max-width: 374px) {
    html {
        font-size: 12px;
    }

    .brand-logo img {
        width: 200px;
    }

    .platform-header {
        flex-direction: column;
        text-align: center;
    }

    .platform-logo {
        margin: 0 auto;
    }

    .contact-card {
        padding: var(--space-xs) var(--space-sm);
    }

    .card-header {
        flex-direction: column;
        text-align: center;
    }

    .contact-icon {
        margin: 0 auto;
    }

    .speed-item .item-name {
        min-width: 80px;
    }
}

/* ========================================
   打印样式
   ======================================== */
@media print {
    .secure-bg,
    .header-secure,
    .footer-secure,
    .copy-toast,
    .loading-overlay,
    .card-actions {
        display: none !important;
    }

    .main-container {
        display: block;
    }

    .content-wrapper {
        max-width: none;
        padding: 0;
    }

    body {
        background: white;
        color: black;
    }
}
