* { margin: 0; padding: 0; box-sizing: border-box; }
        
        body {
            font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', sans-serif;
            min-height: 100vh;
            color: #fff;
            line-height: 1.6;
            /* 
            */
            background: url('https://91550.cc/LOGO/代理主界面背景.png') repeat-y center top;
            background-size: 100% auto;
            /* 备用背景色 */
            background-color: #8b0000;
        }

        .container {
            max-width: 800px;
            margin: 0 auto;
            padding: 40px 20px;
        }

        .header {
            text-align: center;
            margin-bottom: 35px;
        }
        .header .logo {
            max-width: 120px;
            height: auto;
            margin-bottom: 12px;
            filter: drop-shadow(0 4px 12px rgba(0,0,0,0.4));
        }
        .header h1 {
            font-size: 26px;
            font-weight: 700;
            color: #ffd700;
            text-shadow: 0 2px 8px rgba(0,0,0,0.4);
            letter-spacing: 2px;
        }
        .header .subtitle {
            font-size: 14px;
            color: rgba(255,255,255,0.85);
            margin-top: 6px;
            text-shadow: 0 1px 3px rgba(0,0,0,0.3);
        }

        .glass-card {
            background: rgba(0, 0, 0, 0.25);
            backdrop-filter: blur(16px);
            -webkit-backdrop-filter: blur(16px);
            border: 1px solid rgba(255, 215, 0, 0.15);
            border-radius: 18px;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
            padding: 24px;
            margin-bottom: 24px;
        }

        .nav-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 12px;
        }
        .nav-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 16px 12px;
            border-radius: 12px;
            text-decoration: none;
            font-size: 15px;
            font-weight: 600;
            color: #ffd700;
            letter-spacing: 1px;
            transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            background: linear-gradient(145deg, rgba(40, 10, 10, 0.8), rgba(80, 20, 20, 0.6));
            border: 1px solid rgba(255, 215, 0, 0.25);
            box-shadow: 
                0 6px 20px rgba(0,0,0,0.4),
                inset 0 1px 0 rgba(255, 215, 0, 0.1);
            transform: translateY(0);
        }
        .nav-btn:hover {
            transform: translateY(-5px);
            box-shadow: 
                0 12px 35px rgba(0,0,0,0.5),
                0 0 15px rgba(255, 215, 0, 0.15),
                inset 0 1px 0 rgba(255, 215, 0, 0.2);
            border-color: rgba(255, 215, 0, 0.5);
            color: #fff;
            background: linear-gradient(145deg, rgba(60, 15, 15, 0.9), rgba(100, 25, 25, 0.7));
        }
        .nav-btn:active {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0,0,0,0.4);
        }

        .section-title {
            font-size: 17px;
            font-weight: 700;
            margin-bottom: 14px;
            color: #ffd700;
            text-shadow: 0 1px 4px rgba(0,0,0,0.3);
            letter-spacing: 1px;
        }
        .tutorial-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
            gap: 10px;
        }
        .tutorial-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 13px 10px;
            border-radius: 10px;
            background: rgba(0, 0, 0, 0.3);
            backdrop-filter: blur(8px);
            -webkit-backdrop-filter: blur(8px);
            border: 1px solid rgba(255, 215, 0, 0.15);
            color: rgba(255,255,255,0.9);
            font-size: 13px;
            font-weight: 500;
            cursor: pointer;
            text-align: center;
            transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            box-shadow: 0 4px 15px rgba(0,0,0,0.3);
            transform: translateY(0);
        }
        .tutorial-btn:hover {
            transform: translateY(-4px);
            box-shadow: 0 8px 25px rgba(0,0,0,0.4);
            background: rgba(0, 0, 0, 0.45);
            border-color: rgba(255, 215, 0, 0.35);
            color: #ffd700;
        }

        .content-images img {
            width: 100%;
            border-radius: 12px;
            margin-bottom: 14px;
            box-shadow: 0 4px 20px rgba(0,0,0,0.35);
        }

        .modal-overlay {
            display: none;
            position: fixed;
            top: 0; left: 0; right: 0; bottom: 0;
            background: rgba(0, 0, 0, 0.55);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            z-index: 9999;
            justify-content: center;
            align-items: flex-end;
            opacity: 0;
            transition: opacity 0.3s ease;
        }
        .modal-overlay.active {
            display: flex;
            opacity: 1;
        }
        .modal-content {
            background: #f2f2f7;
            border-radius: 20px 20px 0 0;
            width: 100%;
            max-width: 600px;
            max-height: 88vh;
            overflow-y: auto;
            transform: translateY(100%);
            transition: transform 0.45s cubic-bezier(0.32, 0.72, 0, 1);
            box-shadow: 0 -10px 60px rgba(0,0,0,0.4);
        }
        .modal-overlay.active .modal-content {
            transform: translateY(0);
        }
        .modal-handle {
            width: 36px;
            height: 5px;
            background: rgba(0,0,0,0.2);
            border-radius: 3px;
            margin: 10px auto 0;
        }
        .modal-header {
            position: sticky;
            top: 0;
            background: rgba(242,242,247,0.95);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            padding: 14px 20px;
            border-bottom: 0.5px solid rgba(0,0,0,0.1);
            display: flex;
            justify-content: space-between;
            align-items: center;
            z-index: 10;
        }
        .modal-header h3 {
            font-size: 17px;
            font-weight: 600;
            color: #1a1a1a;
        }
        .modal-close {
            width: 30px;
            height: 30px;
            border-radius: 50%;
            background: rgba(0,0,0,0.06);
            border: none;
            font-size: 16px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #8e8e93;
            transition: background 0.2s;
        }
        .modal-close:hover {
            background: rgba(0,0,0,0.12);
        }
        .modal-body {
            padding: 20px;
        }
        .modal-body img {
            width: 100%;
            border-radius: 14px;
            margin-bottom: 12px;
            box-shadow: 0 2px 12px rgba(0,0,0,0.1);
        }

        .footer {
            text-align: center;
            padding: 20px;
            color: rgba(255,255,255,0.45);
            font-size: 12px;
        }

        @media (min-width: 1200px) {
            .container {
                max-width: 900px;
                padding: 60px 40px;
            }
            .header h1 { font-size: 34px; }
            .nav-btn {
                padding: 20px 18px;
                font-size: 17px;
                border-radius: 14px;
            }
            .tutorial-grid {
                grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
            }
        }

        /* ========== 响应式：平板/中屏 ========== */
        @media (min-width: 768px) and (max-width: 1199px) {
            .container {
                padding: 50px 30px;
            }
            .header h1 { font-size: 30px; }
            .nav-btn {
                padding: 18px 14px;
                font-size: 16px;
            }
            .glass-card { padding: 28px; }
        }

        /* ========== 响应式：手机端 ========== */
        @media (max-width: 480px) {
            .container { padding: 25px 15px; }
            .nav-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 10px;
            }
            .nav-btn {
                padding: 14px 8px;
                font-size: 14px;
            }
            .tutorial-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 8px;
            }
            .header h1 { font-size: 22px; }
            .glass-card {
                padding: 18px;
                border-radius: 14px;
            }
        }
