﻿
:root {
    --primary-color: #00a0e9;
    --secondary-color: #2a52d0;
    --accent-color: #00c6ff;
    --dark-bg: #0a1026;
    --darker-bg: #060b1a;
    --card-bg: rgba(16, 25, 56, 0.7);
    --text-light: #ffffff;
    --text-gray: #b0b8d0;
    --sidebar-bg: #0c142f;
    --content-bg: #0f172e;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Exo 2', sans-serif;
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
    color: var(--text-light);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

/* 导航栏样式 */
.top-nav {
    background: rgba(10, 16, 38, 0.9);
    backdrop-filter: blur(10px);
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 166, 255, 0.2);
}

.logo {
    display: flex;
    align-items: center;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--text-light);
    text-decoration: none;
}

    .logo i {
        color: var(--accent-color);
        margin-right: 10px;
        font-size: 2rem;
    }

.nav-links {
    display: flex;
    list-style: none;
    margin-right: auto;
    margin-left: 50px;
}

    .nav-links li {
        margin: 0 15px;
    }

    .nav-links a {
        color: var(--text-gray);
        text-decoration: none;
        font-size: 1.1rem;
        font-weight: 500;
        transition: color 0.3s;
        position: relative;
        padding: 5px 0;
    }

        .nav-links a:hover, .nav-links a.active {
            color: var(--text-light);
        }

        .nav-links a::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--accent-color);
            transition: width 0.3s;
        }

        .nav-links a:hover::after {
            width: 100%;
        }

.user-menu {
    display: flex;
    align-items: center;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-weight: 600;
}

.user-name {
    margin-right: 15px;
    font-weight: 500;
}

.el-button--primary {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border: none;
    transition: all 0.3s;
}

    .el-button--primary:hover {
        background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
        transform: translateY(-3px);
        box-shadow: 0 10px 20px rgba(0, 166, 255, 0.3);
    }

/* 主体布局 */
.main-container {
    display: flex;
    min-height: calc(100vh - 70px);
    padding: 100px 5%;
    /* max-width: 1600px; */
    margin: 0 auto;
}

/* 侧边栏 */
.sidebar {
    width: 260px;
    background: var(--sidebar-bg);
    border-radius: 15px;
    margin-right: 20px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
    align-self: flex-start;
    overflow: hidden;
}

.user-card {
    background: linear-gradient(135deg, rgba(0, 160, 233, 0.3), rgba(42, 82, 208, 0.3));
    padding: 30px 20px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.user-avatar-large {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 1.8rem;
    font-weight: 600;
    border: 3px solid rgba(255, 255, 255, 0.2);
}

.user-info h3 {
    font-size: 1.4rem;
    margin-bottom: 5px;
}

.user-info p {
    color: var(--accent-color);
    font-weight: 500;
}

.sidebar-menu {
    list-style: none;
    padding: 20px 0;
}

.menu-item {
    padding: 15px 30px;
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

    .menu-item i {
        width: 30px;
        font-size: 1.2rem;
        color: var(--text-gray);
        margin-right: 15px;
        transition: all 0.3s;
    }

    .menu-item.active, .menu-item:hover {
        background: rgba(0, 166, 255, 0.1);
        color: var(--accent-color);
    }

        .menu-item.active::before, .menu-item:hover::before {
            content: '';
            position: absolute;
            left: 0;
            top: 0;
            height: 100%;
            width: 4px;
            background: var(--accent-color);
        }

        .menu-item.active i, .menu-item:hover i {
            color: var(--accent-color);
            transform: scale(1.1);
        }

/* 内容区域 */
.content {
    flex: 1;
    background: var(--content-bg);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 166, 255, 0.1);
}

.content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.content-title {
    font-size: 1.8rem;
    font-weight: 600;
    background: linear-gradient(to right, #00a0e9, #00c6ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: 'Orbitron', sans-serif;
}

.welcome-text {
    color: var(--text-gray);
    font-size: 1.1rem;
}

/* 仪表盘区域 */
.dashboard-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.dashboard-card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 25px;
    transition: all 0.3s;
    border: 1px solid rgba(0, 166, 255, 0.1);
    position: relative;
    overflow: hidden;
}

    .dashboard-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0, 166, 255, 0.2);
    }

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.card-title {
    font-size: 1.2rem;
    font-weight: 500;
}

.card-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(0, 166, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent-color);
}

.card-value {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
    font-family: 'Orbitron', sans-serif;
}

    .card-value.small {
        font-size: 1.5rem;
    }

.card-label {
    color: var(--text-gray);
    font-size: 0.95rem;
}

.progress-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    margin: 15px 0;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 4px;
}

.card-actions {
    margin-top: 20px;
}

/* 套餐区域 */
.packages-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.package-card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 25px;
    transition: all 0.3s;
    border: 1px solid rgba(0, 166, 255, 0.1);
    position: relative;
    overflow: hidden;
}

    .package-card.popular {
        transform: scale(1.02);
        box-shadow: 0 0 30px rgba(0, 166, 255, 0.3);
        border: 1px solid rgba(0, 166, 255, 0.3);
    }

        .package-card.popular::before {
            content: '推荐';
            position: absolute;
            top: 15px;
            right: -30px;
            background: var(--accent-color);
            color: var(--dark-bg);
            padding: 5px 40px;
            transform: rotate(45deg);
            font-size: 0.9rem;
            font-weight: bold;
        }

.package-header {
    text-align: center;
    margin-bottom: 20px;
}

.package-name {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.package-price {
    font-size: 2.5rem;
    font-family: 'Orbitron', sans-serif;
    margin: 10px 0;
    color: var(--accent-color);
}

    .package-price span {
        font-size: 1rem;
        color: var(--text-gray);
    }

.package-features {
    list-style: none;
    margin: 20px 0;
}

    .package-features li {
        padding: 10px 0;
        border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
        display: flex;
        align-items: center;
    }

        .package-features li:last-child {
            border-bottom: none;
        }

        .package-features li i {
            color: var(--accent-color);
            margin-right: 10px;
        }

.package-actions {
    text-align: center;
}

/* 订单表格 */
.orders-table {
    width: 100%;
    margin-top: 30px;
    background: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    border-collapse: collapse;
}

    .orders-table th, .orders-table td {
        padding: 15px;
        text-align: left;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .orders-table th {
        background: rgba(0, 166, 255, 0.1);
        color: var(--accent-color);
        font-weight: 500;
    }

    .orders-table tr:hover {
        background: rgba(0, 166, 255, 0.05);
    }

.status-badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.status-active {
    background: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
}

.status-expired {
    background: rgba(244, 67, 54, 0.2);
    color: #F44336;
}

.status-pending {
    background: rgba(255, 152, 0, 0.2);
    color: #FF9800;
}

/* 设置表单 */
.settings-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
}

.el-input {
    width: 100%;
}

.el-input__inner {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    height: 50px;
    padding: 0 20px;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s;
}

    .el-input__inner:focus {
        border-color: var(--accent-color);
        box-shadow: 0 0 0 2px rgba(0, 198, 255, 0.2);
    }

.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

/* 响应式设计 */
@@media (max-width: 992px) {
    .main-container {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        margin-right: 0;
        margin-bottom: 20px;
    }

    .dashboard-cards, .packages-container {
        grid-template-columns: 1fr;
    }

    .nav-links {
        margin-left: 20px;
    }
}

@@media (max-width: 768px) {
    .user-name {
        display: none;
    }

    .content-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .welcome-text {
        margin-top: 10px;
    }

    .nav-links {
        display: none;
    }
}

/* 线路选择器 */
.plan-selector {
    display: flex;
    justify-content: center;
}

.plan-tabs {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50px;
    padding: 5px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.plan-tab {
    padding: 12px 30px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    margin: 0 5px;
}

    .plan-tab.active {
        background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
        box-shadow: 0 5px 15px rgba(0, 166, 255, 0.3);
    }

    .plan-tab::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
        opacity: 0;
        transition: opacity 0.3s;
        z-index: -1;
    }

    .plan-tab:hover::before {
        opacity: 1;
    }


.submit-btn {
    width: 100%;
    height: 50px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

    .submit-btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 0;
        height: 100%;
        background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
        transition: width 0.5s ease;
        z-index: -1;
    }

    .submit-btn:hover::before {
        width: 100%;
    }

    .submit-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 20px rgba(0, 166, 255, 0.3);
    }

.el-form-item__label {
    color: white
}

.s5-item {
    margin-bottom: 10px;
}

.rounded-border {
    border: 1px solid rgba(0, 166, 255, 0.1);
    border-radius: 8px; /* 圆角 */
    padding: 15px;
    margin: 10px;
    width: 155px;
}

/* 会员充值区域 */
.membership-section {
    /*padding: 100px 5%;*/
    background: linear-gradient(135deg, rgba(6, 11, 26, 0.8), rgba(10, 16, 38, 0.8));
}

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 15px;
    text-align: center;
    background: linear-gradient(to right, #00a0e9, #00c6ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    color: var(--text-gray);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 60px;
    text-align: center;
}

.membership-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
}

.membership-tab {
    padding: 15px 30px;
    margin: 0 10px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.05);
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
}

    .membership-tab.active {
        background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
        box-shadow: 0 5px 15px rgba(0, 166, 255, 0.3);
    }

.membership-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.membership-card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s;
    border: 1px solid rgba(0, 166, 255, 0.1);
    position: relative;
    overflow: hidden;
}

    .membership-card.popular {
        transform: scale(1.05);
        border: 1px solid rgba(0, 166, 255, 0.3);
        box-shadow: 0 10px 30px rgba(0, 166, 255, 0.3);
    }

        .membership-card.popular::before {
            content: '最受欢迎';
            position: absolute;
            top: 20px;
            right: -35px;
            background: var(--accent-color);
            color: var(--dark-bg);
            padding: 5px 40px;
            transform: rotate(45deg);
            font-size: 0.9rem;
            font-weight: bold;
        }

    .membership-card.vip::before {
        content: '至尊VIP';
        background: gold;
        color: var(--dark-bg);
    }

.membership-level {
    font-size: 1.2rem;
    color: var(--accent-color);
    margin-bottom: 10px;
    font-weight: 600;
}

.membership-price {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    margin: 20px 0;
    color: var(--text-light);
}

    .membership-price span {
        font-size: 1rem;
        color: var(--text-gray);
    }

.discount-badge {
    display: inline-block;
    background: linear-gradient(90deg, #ff6b6b, #ff8e53);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 20px;
    font-weight: 500;
}

.membership-features {
    list-style: none;
    margin: 25px 0;
    text-align: left;
}

    .membership-features li {
        padding: 10px 0;
        color: var(--text-gray);
        border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
        display: flex;
        align-items: center;
    }

        .membership-features li:last-child {
            border-bottom: none;
        }

        .membership-features li i {
            color: var(--accent-color);
            margin-right: 10px;
        }

.recharge-btn {
    width: 100%;
    padding: 15px;
    border-radius: 10px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border: none;
    color: white;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 20px;
}

    .recharge-btn:hover {
        background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
        transform: translateY(-3px);
        box-shadow: 0 10px 20px rgba(0, 166, 255, 0.3);
    }

    .recharge-btn.vip {
        background: linear-gradient(90deg, #ff8e53, #ff6b6b);
    }

        .recharge-btn.vip:hover {
            background: linear-gradient(90deg, #ff6b6b, #ff8e53);
        }
@media (max-width: 992px) {
    .hero {
        text-align: center;
    }

    .hero-content {
        margin: 0 auto;
    }

    .hero-image {
        display: none;
    }

    .membership-cards, .plan-tabs {
        grid-template-columns: 1fr;
    }

    .membership-tabs, .plan-tabs {
        flex-wrap: wrap;
    }

    .membership-tab, .plan-tab {
        margin: 5px;
        padding: 10px 20px;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .membership-card.popular {
        transform: scale(1);
    }
}