/* CSS变量定义 */
:root {
    --anzhiyu-main: #159df7;
    --anzhiyu-background: #f7f9fe;
    --anzhiyu-card-bg: #fff;
    --anzhiyu-fontcolor: #363636;
    --anzhiyu-secondtext: rgba(60,60,67,0.8);
    --anzhiyu-theme-op: #159df723;
    --anzhiyu-border-radius: 8px;
    --card-box-shadow: 0 3px 8px 6px rgba(7,17,27,0.05);
    --card-hover-box-shadow: 0 3px 8px 6px rgba(7,17,27,0.09);
    --anzhiyu-card-border: #e3e8f7;
    --animation-in: cubic-bezier(0.6, 0.2, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'PingFang SC', 'Microsoft YaHei', sans-serif;
    color: var(--anzhiyu-fontcolor);
    background-color: var(--anzhiyu-background);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* 背景层样式 */
.background-layer {
    position: fixed;
    z-index: -999;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    transform: rotate(-10deg);  /* 背景旋转角度：-10° */
    background: var(--anzhiyu-background);
    background-attachment: local;
    background-position: center;
    background-size: 12rem;  /* 背景大小：15rem */
    background-image: url(img/bg.svg) !important;
    background-repeat: initial;
    opacity: 0.9;
}

/* 导航栏容器 */
.toolbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2.5px 40px;
    background: rgba(255, 255, 255, 0);  /* 导航栏透明 - 修改这里的 transparent 或改为 rgba(255, 255, 255, 0.X) 来调整透明度，X为0-1之间的数值 */
    backdrop-filter: blur(10px);  /* 毛玻璃效果 */
    box-shadow: none;  /* 移除阴影使其更透明 */
    border-bottom: 1px solid rgba(227, 232, 247, 0.3);  /* 半透明边框 */
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s var(--animation-in);
}

/* Logo区域 */
.toolbar-title {
    display: flex;
    align-items: center;
}

.logo-image {
    height: 32px;
    width: 100%;
    max-width: 110px;
}

.logo-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* 菜单容器 */
.menu-container {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.scroll-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 5px;
}

/* 菜单项 */
.menu-item {
    position: relative;
}

.my-menu {
    padding: 6px 16px;
    cursor: pointer;
    transition: all 0.3s var(--animation-in);
    border-radius: var(--anzhiyu-border-radius);
    white-space: nowrap;
}

.my-menu:hover {
    background: var(--anzhiyu-theme-op);
    transform: translateY(-2px);
}

.my-menu span {
    font-size: 14px;
    color: var(--anzhiyu-fontcolor);
    font-weight: 500;
}

/* 下拉菜单样式 */
.dropdown .my-menu::after {
    content: '▼';
    font-size: 10px;
    margin-left: 5px;
    opacity: 0.6;
}

/* 头像区域 */
.header-avatar-wrap {
    padding: 3px 8px;
    cursor: pointer;
}

.mini-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
    transition: transform 0.3s var(--animation-in);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.mini-avatar:hover {
    transform: scale(1.1);
}

.mini-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .toolbar-content {
        padding: 8px 20px;
    }
    
    .scroll-menu {
        gap: 0;
    }
    
    .my-menu {
        padding: 6px 12px;
    }
    
    .my-menu span {
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .toolbar-content {
        flex-direction: column;
        padding: 8px 15px;
    }
    
    .menu-container {
        width: 100%;
        margin-top: 8px;
    }
    
    .scroll-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 5px;
    }
    
    .my-menu {
        padding: 5px 10px;
    }
    
    .my-menu span {
        font-size: 12px;
    }
    
    .logo-image {
        height: 28px;
        max-width: 100px;
    }
    
    .mini-avatar {
        width: 28px;
        height: 28px;
    }
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.toolbar-content {
    animation: fadeIn 0.5s ease;
}

/* ==================== 主内容区域 ==================== */
.main-content {
    margin-top: 40px; /* 导航栏高度 + 间距 */
    padding: 0px 20px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

/* ==================== 卡片网格布局 ==================== */
.cards-grid {
    display: flex;
    flex-direction: column;
    gap: 24px; /* 行间距：24px - 可以修改 */
    width: 100%;
}

/* 每一行的容器 */
.card-row {
    display: flex;
    gap: 24px; /* 卡片之间的间距：24px - 可以修改 */
    width: 100%;
}

/* ==================== 单个卡片样式 ==================== */
.content-card {
    /* 
    调整卡片宽度和高度的参数：
    - width: 卡片宽度（默认自适应）
    - min-height: 最小高度
    - max-width: 最大宽度
    */
    width: 100%; /* 卡片宽度：占满网格列 */
    min-height: 200px; /* 最小高度：200px - 可以修改这个值 */
    max-width: 100%; /* 最大宽度：100% */
    
    /* 卡片外观 */
    /* background: rgba(255, 255, 255, 0); */
    background: white;
    border-radius: 16px; /* 圆角：16px - 可以修改 */
    box-shadow: 
        rgba(60, 64, 67, 0.3) 0 1px 2px 0,
        rgba(60, 64, 67, 0.15) 0 2px 6px 2px;
    
    transition: all 0.3s var(--animation-in);
    overflow: hidden;
}

/* 卡片悬停效果 */
.content-card:hover {
    transform: translateY(-4px);
    box-shadow: 
        rgba(60, 64, 67, 0.3) 0 2px 4px 0,
        rgba(60, 64, 67, 0.15) 0 4px 12px 4px;
}

/* 卡片内部内容 */
.card-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start; /* 改为顶部对齐 */
    padding: 20px 24px 24px;
    position: relative;
    height: 100%;
    min-height: 200px;
}

.card-inner h3 {
    color: var(--anzhiyu-fontcolor);
    font-size: 20px;
    margin-bottom: 20px;
    text-align: center;
    justify-content: center;
    flex-wrap: wrap;
    flex-shrink: 0;
}

/* h3.Tubiao 标题样式 - 在 card-inner 外部 */
.content-card h3.Tubiao {
    text-align: center;
    padding: 16px 24px;
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: var(--anzhiyu-fontcolor);
    border-bottom: 1px solid var(--anzhiyu-card-border);
}

.card-inner p {
    color: var(--anzhiyu-secondtext);
    font-size: 14px;
    line-height: 1.6;
    text-align: center;
}

/* ==================== 响应式布局 ==================== */

/* 平板 */
@media (max-width: 1024px) {
    .main-content { padding: 30px 15px; margin-top: 70px; }
    .cards-grid, .card-row { gap: 20px; }
    .card-inner { padding: 20px 20px 20px; }
    
    /* 覆盖可能的居中样式 */
    .shortcuts-grid {
        justify-content: flex-start !important;
        align-items: flex-start !important;
        text-align: left !important;
    }
}

/* 手机 - 改为单列 */
@media (max-width: 768px) {
    .main-content { padding: 20px 15px; margin-top: 120px; }
    .card-row { flex-direction: column; }
    .cards-grid, .card-row { gap: 16px; }
    .card-inner { padding: 24px 16px 16px; }
    .card-inner h3 { font-size: 18px; }
    .card-inner p { font-size: 13px; }
}


/* ==================== 卡片尺寸调节（核心参数） ==================== */

/* ⭐ 第一行：卡片1 + 卡片2 */
.card-1 { width: 30%; min-height: 400px; }  /* 左侧30% */
.card-2 { 
    width: 70%; 
    min-height: 420px;
    background: rgba(255, 255, 255, 0);
    overflow: visible;  /* 允许3D卡片效果溢出 */

    /* 移除可能的阴影属性 */
    box-shadow: none !important;
    filter: none !important;
    -webkit-box-shadow: none !important;
    -moz-box-shadow: none !important;

}  /* 右侧70% - 需要足够高度显示影视卡片 */

/* ⭐ 第二行：卡片3 + 卡片4 */
.card-3 { width: 100%; min-height: 300px; }  /* 左侧55% */
.card-4 { 
    width: 40%; 
    min-height: 0; 

}

/* 响应式：手机端改为单列 */
@media (max-width: 768px) {
    .card-1, .card-2, .card-3, .card-4 { 
        width: 100%; 
        min-height: 160px; 
    }
}


/* ==================== 快捷方式按钮样式 ==================== */

/* 快捷方式网格布局 */
.shortcuts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4列布局 - 可以修改列数 */
    gap: 20px; /* 按钮间距 - 可以修改 */
    width: 100%;
    padding: 10px 0;
}

/* 快捷方式按钮 */
.shortcut-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px; /* 图标和文字间距 - 可以修改 */
    padding: 15px 10px; /* 按钮内边距 - 可以修改 */
    background: transparent;
    border: none;
    border-radius: 12px; /* 圆角 - 可以修改 */
    cursor: pointer;
    transition: all 0.3s var(--animation-in);
}

/* 快捷方式按钮悬停效果 */
.shortcut-btn:hover {
    background: var(--anzhiyu-theme-op);
    transform: translateY(-3px);
}

/* 快捷方式图标 */
.shortcut-icon {
    width: 48px;  /* 图标宽度 - 可以修改 */
    height: 48px; /* 图标高度 - 可以修改 */
    object-fit: contain;
    border-radius: 8px; /* 图标圆角 - 可以修改 */
}

/* 快捷方式名称 */
.shortcut-name {
    font-size: 13px; /* 文字大小 - 可以修改 */
    color: var(--anzhiyu-fontcolor);
    text-align: center;
    font-weight: 500;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 响应式：平板 */
@media (max-width: 1024px) {
    .shortcuts-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 15px;
    }
    
    .shortcut-icon {
        width: 42px;
        height: 42px;
    }
    
    .shortcut-name {
        font-size: 12px;
    }
}

/* 响应式：手机 */
@media (max-width: 768px) {
    .shortcuts-grid {
        grid-template-columns: repeat(4, 1fr); /* 手机上保持4列 */
        gap: 12px;
    }
    
    .shortcut-btn {
        padding: 12px 8px;
    }
    
    .shortcut-icon {
        width: 36px;
        height: 36px;
    }
    
    .shortcut-name {
        font-size: 11px;
    }
}

/* 响应式：小手机 */
@media (max-width: 480px) {
    .shortcuts-grid {
        grid-template-columns: repeat(4, 1fr); /* 小手机上也保持4列 */
        gap: 10px;
    }
    
    .shortcut-btn {
        padding: 10px 5px;
    }
    
    .shortcut-icon {
        width: 32px;
        height: 32px;
    }
    
    .shortcut-name {
        font-size: 10px;
    }
}


/* ==================== 活动推广信息条样式 ==================== */

/* 信息条容器 */
.alerts-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    padding: 10px 0;
}

/* 信息条基础样式 */
.alert {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    border-radius: 8px;
    border-left: 4px solid;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
}

.alert:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* 信息条图标 */
.alert-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    margin-right: 10px;
}

/* 信息条文字 */
.alert-text {
    font-size: 13px;
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
}

/* 成功/新品信息（绿色） */
.alert-success {
    background-color: #d1fae5;
    border-left-color: #10b981;
    color: #065f46;
}

.alert-success .alert-icon {
    color: #059669;
}

.alert-success:hover {
    background-color: #a7f3d0;
}

/* 会员/信息提示（蓝色） */
.alert-info {
    background-color: #dbeafe;
    border-left-color: #3b82f6;
    color: #1e40af;
}

.alert-info .alert-icon {
    color: #2563eb;
}

.alert-info:hover {
    background-color: #bfdbfe;
}

/* 限时/警告信息（黄色） */
.alert-warning {
    background-color: #fef3c7;
    border-left-color: #f59e0b;
    color: #92400e;
}

.alert-warning .alert-icon {
    color: #d97706;
}

.alert-warning:hover {
    background-color: #fde68a;
}

/* 热卖/重要信息（红色） */
.alert-error {
    background-color: #fee2e2;
    border-left-color: #ef4444;
    color: #991b1b;
}

.alert-error .alert-icon {
    color: #dc2626;
}

.alert-error:hover {
    background-color: #fecaca;
}

/* 响应式：手机 */
@media (max-width: 768px) {
    .alerts-container {
        gap: 10px;
    }
    
    .alert {
        padding: 8px 10px;
    }
    
    .alert-icon {
        width: 18px;
        height: 18px;
        margin-right: 8px;
    }
    
    .alert-text {
        font-size: 12px;
    }
}


/* ==================== 影视卡片效果样式（新版3D翻转效果） ==================== */

/* 影视卡片区域内部布局 */
.movie-card-inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 20px 24px 24px;
    height: 100%;
    min-height: 400px;
}

/* 切换类型菜单 - 固定在顶部 */
.movie-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    justify-content: center;
    flex-wrap: wrap;
    flex-shrink: 0;
}

.movie-tab {
    padding: 8px 20px;
    background: var(--anzhiyu-secondbg);
    border: 2px solid transparent;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: var(--anzhiyu-fontcolor);
    transition: all 0.3s ease;
}

.movie-tab:hover {
    background: var(--anzhiyu-theme-op);
    border-color: var(--anzhiyu-main);
}

.movie-tab.active {
    background: var(--anzhiyu-main);
    color: white;
    border-color: var(--anzhiyu-main);
}

/* 影视卡片容器 - 横向滚动 */
.movie-cards-container {
    padding: 20px 10px 40px;
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: visible;
    gap: 30px;
    cursor: grab;
    scrollbar-width: thin;
    scrollbar-color: var(--anzhiyu-main) transparent;
    flex: 1;
    min-height: 320px;
    position: relative;
    z-index: 1;

        /* 新增这两行 */
    padding-left: 40px;      /* 增加左边距 */
    margin-left: -30px;      /* 负边距抵消，使视觉对齐 */
}

/* 分类组容器 */
.category-group {
    display: flex;
    flex-wrap: nowrap;
    gap: 30px;
}

.category-group[style*="display: none"] {
    display: none !important;
}

.movie-cards-container:active {
    cursor: grabbing;
}

/* 自定义滚动条 */
.movie-cards-container::-webkit-scrollbar {
    height: 6px;
}

.movie-cards-container::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 3px;
}

.movie-cards-container::-webkit-scrollbar-thumb {
    background: var(--anzhiyu-main);
    border-radius: 3px;
}

.movie-cards-container::-webkit-scrollbar-thumb:hover {
    background: #1089d8;
}

/* ==================== 新版影视卡片样式（3D翻转效果） ==================== */

/* 卡片外层容器 */
.b-game-card {
    position: relative;
    z-index: 1;
    width: 180px;
    height: 270px;
    perspective: 1000px;
    flex-shrink: 0;
}

/* 卡片封面层 */
.b-game-card__cover {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-image: linear-gradient(120deg, #f6d365 0%, #fda085 100%);
    background-size: cover;
    background-position: center;
    perspective-origin: 50% 50%;
    transform-style: preserve-3d;
    transform-origin: top center;
    will-change: transform;
    transform: skewX(0.001deg);
    transition: transform 0.35s ease-in-out;
    border-radius: 8px;
}

/* 光泽效果 */
.b-game-card__cover::after {
    display: block;
    content: "";
    position: absolute;
    z-index: 100;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background: linear-gradient(226deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.4) 35%, rgba(255, 255, 255, 0.2) 42%, rgba(255, 255, 255, 0) 60%);
    transform: translateY(-20%);
    will-change: transform;
    transition: transform 0.35s ease-in-out;
}

/* 悬停时封面翻转效果 */
.b-game-card:hover .b-game-card__cover {
    transform: rotateX(7deg) translateY(-6px);
}

/* 悬停时光泽效果 */
.b-game-card:hover .b-game-card__cover::after {
    transform: translateY(0%);
}

/* 阴影效果 */
.b-game-card::before {
    display: block;
    content: "";
    position: absolute;
    top: 5%;
    left: 5%;
    width: 90%;
    height: 90%;
    background: rgba(0, 0, 0, 0.5);
    box-shadow: 0 6px 12px 12px rgba(0, 0, 0, 0.4);
    will-change: opacity;
    transform-origin: top center;
    transform: skewX(0.001deg);
    transition: transform 0.35s ease-in-out, opacity 0.35s ease-in-out;
    border-radius: 8px;
}

/* 悬停时阴影效果 */
.b-game-card:hover::before {
    opacity: 0.6;
    transform: rotateX(7deg) translateY(-6px) scale(1.05);
}

/* 信息层样式 - 默认显示 */
.b-game-card__info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.6) 50%, transparent 100%);
    color: #fff;
    z-index: 101;
    border-radius: 0 0 8px 8px;
}

/* 信息层标题 - 默认稍微放大 */
.b-game-card__info h4 {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 响应式：平板 */
@media (max-width: 1024px) {
    .b-game-card {
        width: 160px;
        height: 240px;
    }
    
    .b-game-card__info h4 {
        font-size: 14px;
    }
    
    .movie-cards-container {
        min-height: 280px;
        gap: 20px;
    }
}

/* 响应式：手机 */
@media (max-width: 768px) {
    .movie-tabs {
        gap: 8px;
    }
    
    .movie-tab {
        padding: 6px 15px;
        font-size: 12px;
    }
    
    .b-game-card {
        width: 130px;
        height: 195px;
    }
    
    .b-game-card__info {
        padding: 10px;
    }
    
    .b-game-card__info h4 {
        font-size: 12px;
    }
    
    .movie-cards-container {
        min-height: 220px;
        padding: 15px 10px 30px;
        gap: 15px;
    }
}


/* ==================== 弹窗样式 ==================== */

/* 遮罩层 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

/* 弹窗主体 */
.modal-window {
    max-width: 90vw;
    max-height: 90vh;
    overflow: auto;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transform: scale(0.9) translateY(20px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.modal-overlay.active .modal-window {
    transform: scale(1) translateY(0);
}

.modal-window:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transform: scale(1.02);
}

/* 关闭按钮 */
.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 32px;
    height: 32px;
    border: none;
    background: #f3f4f6;
    border-radius: 50%;
    font-size: 20px;
    color: #6b7280;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 10;
}

.modal-close:hover {
    background: #e5e7eb;
    color: #374151;
    transform: rotate(90deg);
}

/* 弹窗内容区域 */
.modal-content {
    padding: 30px;
    height: 100%;
    overflow-y: auto;
}

.modal-title {
    font-size: 24px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 15px;
}

.modal-desc {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.6;
}

/* 响应式：平板 */
@media (max-width: 900px) {
    .modal-window {
        width: 90%;
        max-width: 700px;
        height: 450px;
    }
}

/* 响应式：手机 */
@media (max-width: 600px) {
    .modal-window {
        width: 95%;
        height: 80vh;
        max-height: 500px;
        border-radius: 16px;
    }
    
    .modal-content {
        padding: 20px;
    }
    
    .modal-title {
        font-size: 20px;
    }
}


/* 弹窗内容切换 - 默认隐藏所有内容 */
.modal-content[data-modal] {
    display: none;
}

.modal-content[data-modal].active {
    display: block;
}

/* Todesk的p标签样式 */
.modal-desc-red {
    color: red !important;
    font-weight: bold !important;
    font-size: 22px;
    margin: 0 0 10px 0;
}


/* ==================== ToDesk 弹窗步骤样式 ==================== */

/* 步骤容器 - 两列布局 */
.steps-container {
    display: flex;
    gap: 20px;
    height: calc(100% - 80px);
}

.steps-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* 步骤盒子基础样式 */
.step-box {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
}

/* 步骤头部 - 图标和标题同行不换行 */
.step-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    white-space: nowrap;
    flex-shrink: 0;
}

.step-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.step-title {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
}

/* ===== 步骤1 独立样式 ===== */
.step-content-1 {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 15px 15px;
    gap: 8px;
}

/* 下载按钮 */
.download-btn {
    padding: 10px 50px;
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    background: linear-gradient(to bottom right, #00c6ff, #0072ff);
    border: none;
    border-radius: 30px;
    box-shadow: 0 3px 0 #0072ff;
    cursor: pointer;
    transition: all 0.2s ease;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 0 #0072ff;
}

.download-btn:active {
    transform: translateY(0);
    box-shadow: none;
}

/* 步骤提示文字 */
.step-hint {
    font-size: 15px;
    color: #7c3aed; /* 紫色 */
    margin-top: 30px;
    text-align: center;
    font-weight: 500;
    animation: float 2.5s ease-in-out infinite;
    padding: 4px 8px;
    border-radius: 4px;
    background: rgba(124, 58, 237, 0.1);
    display: inline-block;
}

/* ToDesk专属步骤提示文字 */
.step-hint-todesk {
    font-size: 13px;
    color: #7c3aed; /* 紫色 */
    margin: 5px 0;
    text-align: center;
    font-weight: 500;
    animation: float 2.5s ease-in-out infinite;
    padding: 4px 8px;
    border-radius: 4px;
    background: rgba(124, 58, 237, 0.1);
    display: inline-block;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-3px) scale(1.05);
    }
}

/* ===== 步骤2 独立样式 ===== */
.step-content-2 {
    padding: 0 15px 15px;
}

/* ===== 步骤3 独立样式 ===== */
.step-box-3 {
    flex: 2;
}

.step-content-3 {
    padding: 0 15px 15px;
}

/* 图片容器 - 固定大小，图片自适应缩放 */
.step-image-wrapper {
    width: 100%;
    height: 150px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f9fafb;
}

.step-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.step-image-large {
    height: 270px;
}


/* 响应式 */
@media (max-width: 700px) {
    .steps-container {
        flex-direction: column;
        height: auto;
    }
    
    .step-image-large {
        height: 120px;
    }
}


/* ==================== ChatGPT/Gemini 弹窗样式 ==================== */

/* 副标题 */
.modal-subtitle {
    font-size: 14px;
    color: #6b7280;
    margin: 0 0 25px 0;
}

/* 两列容器 */
.gpt-container {
    display: flex;
    gap: 40px;
    margin-top: 20px;
}

.gpt-column-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.gpt-column-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* 联系方式 */
.gpt-contact {
    font-size: 18px;
    font-weight: 600;
    color: #b45309;
    margin: 30px 0 0 0;
    text-align: center;
}

.gpt-highlight {
    color: #dc2626;
    font-weight: 700;
}

/* 建议标题 */
.gpt-advice-title {
    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 10px 0;
}

/* 建议项 */
.gpt-advice-item {
    display: flex;
    gap: 10px;
    font-size: 16px;
}

.gpt-advice-label {
    font-weight: 600;
    color: #1f2937;
}

.gpt-advice-value {
    font-weight: 700;
    color: #1f2937;
}

/* 响应式 */
@media (max-width: 700px) {
    .gpt-container {
        flex-direction: column;
        gap: 25px;
    }
    
    .gpt-column-left {
        align-items: flex-start;
    }
}


/* ==================== Chrome/Clash 下载步骤样式 ==================== */

.download-steps {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin-top: 50px;
}

.download-step {
    display: flex;
    align-items: center;
    gap: 15px;
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.step-number svg {
    width: 40px;
    height: 40px;
}

/* 复制密码按钮和下载按钮 - 蓝色渐变样式 */
.copy-pwd-btn,
.download-link-btn {
    padding: 12px 28px;
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    background: linear-gradient(to bottom right, #00c6ff, #0072ff);
    border: none;
    border-radius: 40px;
    box-shadow: 0 4px 0 #0072ff;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 200px;
}

.copy-pwd-btn:hover,
.download-link-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 0 #0072ff;
}

.copy-pwd-btn:active,
.download-link-btn:active {
    transform: translateY(0);
    box-shadow: none;
    background: linear-gradient(to bottom right, #0072ff, #00c6ff);
}

/* 复制成功状态 */
.copy-pwd-btn.copied {
    background: linear-gradient(to bottom right, #10b981, #059669);
    box-shadow: 0 4px 0 #047857;
}
