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

input, textarea {
    -webkit-user-select: auto;
    user-select: auto;
}

html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    touch-action: manipulation;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 50%, #16213e 100%);
    min-height: 100vh;
    color: #fff;
    -webkit-overflow-scrolling: touch;
    overflow-x: hidden;
}

.container {
    max-width: 480px;
    width: 100%;
    margin: 0 auto;
    padding: 20px;
    padding-bottom: 80px;
    min-height: 100vh;
}

/* 横幅广告 */
.banner-container {
    width: 100%;
    margin-bottom: 20px;
    border-radius: 12px;
    overflow: hidden;
}

.banner-container a {
    display: block;
    text-decoration: none;
}

.banner-container img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

.banner-container .banner-no-link {
    cursor: default;
}

.logo {
    text-align: center;
    margin-bottom: 30px;
}

.logo h1 {
    font-size: 28px;
    background: linear-gradient(90deg, #00d4ff, #7b2cbf);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo p {
    color: #8892b0;
    font-size: 12px;
    margin-top: 5px;
}

.form-box {
    background: rgba(26, 26, 46, 0.95);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: #8892b0;
    font-size: 12px;
    margin-bottom: 8px;
}

.form-group input {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #fff;
    font-size: 16px;
    outline: none;
    transition: all 0.3s;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-user-select: auto;
    user-select: auto;
    user-select: text;
}

.form-group input:focus {
    border-color: #00d4ff;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
}

.form-group input.error {
    border-color: #ff6b6b;
}

.form-group .error-text {
    color: #ff6b6b;
    font-size: 12px;
    margin-top: 5px;
}

.btn {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
}

.btn-primary {
    background: linear-gradient(135deg, #00d4ff, #7b2cbf);
    color: #fff;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(0, 212, 255, 0.5);
    color: #00d4ff;
}

.btn-small {
    padding: 8px 16px;
    font-size: 14px;
}

.btn-success {
    background: linear-gradient(135deg, #00c853, #00e676);
    color: #fff;
}

.btn-danger {
    background: linear-gradient(135deg, #ff5252, #ff1744);
    color: #fff;
}

.toggle-text {
    text-align: center;
    margin-top: 20px;
    color: #8892b0;
    font-size: 14px;
}

.toggle-text span {
    color: #00d4ff;
    cursor: pointer;
    position: relative;
    z-index: 2;
    display: inline-block;
    -webkit-tap-highlight-color: transparent;
}

.nav-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(15, 15, 35, 0.98);
    padding: 10px 0 20px 0;
    display: none;
    justify-content: space-around;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 9999;
    min-height: 60px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

.nav-bar.show {
    display: flex;
}

.nav-item {
    text-align: center;
    color: #8892b0;
    font-size: 12px;
    cursor: pointer;
    transition: color 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    min-height: 50px;
    position: relative;
}

.nav-item .nav-icon {
    font-size: 24px;
    display: block;
    margin-bottom: 4px;
}

.nav-item.active {
    color: #00d4ff;
}

/* Toast - 兼容性修复 */
.toast-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99999;
    display: none;
    padding: 20px;
    box-sizing: border-box;
}

.toast-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.toast-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    background-color: #1a1a2e;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    padding: 40px 30px 30px;
    text-align: center;
    max-width: 360px;
    width: 90%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-sizing: border-box;
}

.toast-popup.toast-success {
    border-top: 4px solid #00c853;
}

.toast-popup.toast-error {
    border-top: 4px solid #ff5252;
}

.toast-popup.toast-warning {
    border-top: 4px solid #ffc107;
}

.toast-popup.toast-info {
    border-top: 4px solid #00d4ff;
}

.toast-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    font-size: 30px;
    font-weight: bold;
}

.toast-popup.toast-success .toast-icon {
    background-color: rgba(0, 200, 83, 0.15);
    color: #00c853;
}

.toast-popup.toast-error .toast-icon {
    background-color: rgba(255, 82, 82, 0.15);
    color: #ff5252;
}

.toast-popup.toast-warning .toast-icon {
    background-color: rgba(255, 193, 7, 0.15);
    color: #ffc107;
}

.toast-popup.toast-info .toast-icon {
    background-color: rgba(0, 212, 255, 0.15);
    color: #00d4ff;
}

.toast-message {
    color: #ffffff;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 25px;
}

.toast-close-btn {
    width: 100%;
    padding: 12px 30px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
}

.toast-popup.toast-success .toast-close-btn {
    background-color: #00c853;
    color: #fff;
}

.toast-popup.toast-error .toast-close-btn {
    background-color: #ff5252;
    color: #fff;
}

.toast-popup.toast-warning .toast-close-btn {
    background-color: #ffc107;
    color: #000;
}

.toast-popup.toast-info .toast-close-btn {
    background-color: #00d4ff;
    color: #fff;
}

.toast-close-btn:hover {
    opacity: 0.9;
}

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

/* Cards */
.card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.card-title {
    font-size: 16px;
    font-weight: 600;
}

.card-subtitle {
    font-size: 12px;
    color: #8892b0;
    margin-top: 3px;
}

.status {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
}

.status.running {
    background: rgba(0, 255, 136, 0.15);
    color: #00ff88;
}

.status.stopped {
    background: rgba(255, 100, 100, 0.15);
    color: #ff6464;
}

.status.starting {
    background: rgba(255, 180, 0, 0.15);
    color: #ffb400;
}

/* Metrics */
.metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.metric-item {
    text-align: center;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
}

.metric-value {
    font-size: 22px;
    font-weight: 700;
    color: #00d4ff;
}

.metric-label {
    font-size: 11px;
    color: #8892b0;
    margin-top: 5px;
}

/* User Header */
.user-header {
    display: flex;
    align-items: flex-start;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(123, 44, 191, 0.1));
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.user-header .avatar {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00d4ff, #7b2cbf);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-right: 15px;
    flex-shrink: 0;
}

.user-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.user-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.user-left {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.user-name {
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 180px;
}

.server-count {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: #8892b0;
    white-space: nowrap;
}

.server-icon {
    font-size: 14px;
}

.balance-info {
    display: flex;
    align-items: center;
    gap: 5px;
    flex: 1;
    min-width: 0;
}

.balance-label {
    font-size: 14px;
    color: #8892b0;
    white-space: nowrap;
}

.balance-value {
    font-size: 15px;
    font-weight: 600;
    color: #00d4ff;
    white-space: nowrap;
    letter-spacing: -0.5px;
}

.power-info {
    display: flex;
    align-items: center;
    gap: 5px;
    flex: 1;
    min-width: 0;
}

.power-label {
    font-size: 14px;
    color: #8892b0;
    white-space: nowrap;
}

.power-value {
    font-size: 15px;
    font-weight: 600;
    color: #a855f7;
    white-space: nowrap;
    letter-spacing: -0.5px;
    min-width: 0;
    flex-shrink: 1;
    transition: font-size 0.2s ease;
    overflow: hidden;
    text-overflow: clip;
    display: inline-block;
    max-width: 100%;
}

.power-unit {
    font-size: 12px;
    color: #8892b0;
    white-space: nowrap;
}

.btn-small {
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    flex-shrink: 0;
}

.btn-small.btn-primary {
    background: linear-gradient(135deg, #00d4ff, #7b2cbf);
    color: #fff;
}

.btn-small.btn-primary:active {
    transform: scale(0.95);
    opacity: 0.9;
}

.btn-small.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-small.btn-secondary:active {
    transform: scale(0.95);
    opacity: 0.9;
}

.btn-small.btn-red {
    background: linear-gradient(135deg, #ff6b6b, #ee5a5a) !important;
    color: #fff !important;
    border: none !important;
}

.btn-small.btn-red:hover {
    background: linear-gradient(135deg, #ff5252, #e04040) !important;
}

.btn-small.btn-green {
    background: linear-gradient(135deg, #00d68f, #00b894) !important;
    color: #fff !important;
    border: none !important;
}

.btn-small.btn-green:hover {
    background: linear-gradient(135deg, #00c982, #00a876) !important;
}

.btn-small.btn-cashout {
    background: linear-gradient(135deg, #00d68f, #00b894) !important;
    color: #fff !important;
    border: none !important;
}

.btn-small.btn-cashout:hover {
    background: linear-gradient(135deg, #00c982, #00a876) !important;
}

/* 个人中心网格布局 */
.profile-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 0 8px;
}

.grid-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 20px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s;
    -webkit-tap-highlight-color: transparent;
}

.grid-item:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: rgba(0, 212, 255, 0.3);
    transform: translateY(-2px);
}

.grid-item:active {
    transform: scale(0.98);
}

.grid-item-danger {
    background: rgba(255, 100, 100, 0.08);
    border-color: rgba(255, 100, 100, 0.2);
}

.grid-item-danger:hover {
    background: rgba(255, 100, 100, 0.15);
    border-color: rgba(255, 100, 100, 0.4);
}

.grid-icon {
    font-size: 28px;
    margin-bottom: 8px;
}

.grid-title {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
}

.grid-desc {
    font-size: 11px;
    color: #8892b0;
}

/* Today Output Card */
.today-output-card {
    background: linear-gradient(135deg, rgba(123, 44, 191, 0.15), rgba(0, 212, 255, 0.15));
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid rgba(123, 44, 191, 0.3);
    text-align: center;
}

.today-title {
    font-size: 14px;
    color: #8892b0;
    margin-bottom: 10px;
}

.today-data {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
}

.today-value {
    font-size: 22px;
    font-weight: 700;
    color: #a855f7;
}

.today-unit {
    font-size: 12px;
    color: #8892b0;
}

/* Slider */
.slider-container {
    position: relative;
    margin-bottom: 20px;
    border-radius: 16px;
    overflow: hidden;
}

.slider {
    display: flex;
    transition: transform 0.5s ease;
}

.slide {
    flex: 0 0 100%;
    height: 150px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2), rgba(123, 44, 191, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    border-radius: 16px;
}

.slider-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background: #00d4ff;
    width: 20px;
    border-radius: 4px;
}

/* Currency Rate */
.currency-rate {
    text-align: center;
    padding: 15px;
    background: rgba(0, 255, 136, 0.1);
    border-radius: 12px;
    margin-bottom: 20px;
    color: #00ff88;
    font-size: 14px;
}

.currency-rate .rate-value {
    font-weight: 700;
    font-size: 18px;
}

/* Page Header */
.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding: 0 4px;
    min-height: 40px;
}

.page-header .back-btn {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-header .page-title {
    flex: 1;
    text-align: center;
    white-space: nowrap;
}

.back-btn {
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
    margin-right: 8px;
}

.page-title {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.2;
}

/* Server List */
.server-card-wrapper {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
    border-radius: 20px;
    padding: 2px;
    margin-bottom: 15px;
    border: 1px solid rgba(0, 212, 255, 0.1);
    transition: all 0.3s ease;
}

.server-card-wrapper:hover {
    border-color: rgba(0, 212, 255, 0.3);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.1);
}

.server-card-inner {
    background: rgba(10, 10, 30, 0.9);
    border-radius: 19px;
    padding: 20px;
}

.server-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.server-expire-info {
    font-size: 12px;
    color: #8892b0;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.server-expire-info .expire-label {
    color: #666;
}

.server-detail-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 4px;
    padding: 4px 12px;
    font-size: 11px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.server-detail-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.4);
}

.expire-expired {
    color: #e74c3c !important;
    font-weight: 600;
}

.expire-warning {
    color: #f39c12 !important;
    font-weight: 600;
}

.expire-soon {
    color: #f1c40f !important;
}

.expire-warning-box {
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 12px;
    margin-bottom: 12px;
}

.expire-warning-box.expire-danger {
    background: rgba(231, 76, 60, 0.15);
    color: #e74c3c;
    border: 1px solid rgba(231, 76, 60, 0.3);
}

.expire-warning-box.expire-warning {
    background: rgba(243, 156, 18, 0.15);
    color: #f39c12;
    border: 1px solid rgba(243, 156, 18, 0.3);
}

.server-actions {
    margin-top: 15px;
}

.server-action-btn.btn-renew {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: #fff;
}

.server-info {
    flex: 1;
}

.server-name-lg {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 3px;
}

.server-location {
    font-size: 12px;
    color: #8892b0;
}

.status-indicator {
    display: flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-indicator.running {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.2), rgba(0, 255, 136, 0.05));
    color: #00ff88;
    box-shadow: 0 0 15px rgba(0, 255, 136, 0.3);
}

.running-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #00ff88;
    margin-right: 6px;
    animation: pulse-dot 1.5s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.4);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.2);
        box-shadow: 0 0 0 8px rgba(0, 255, 136, 0);
    }
}

.status-indicator.stopped {
    background: linear-gradient(135deg, rgba(255, 100, 100, 0.2), rgba(255, 100, 100, 0.05));
    color: #ff6464;
}

.status-indicator.starting {
    background: linear-gradient(135deg, rgba(255, 200, 50, 0.2), rgba(255, 200, 50, 0.05));
    color: #ffc832;
    animation: pulse 1.5s ease-in-out infinite;
}

.server-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 15px;
}

.server-stat-box {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 12px;
    text-align: center;
}

.server-stat-label {
    font-size: 11px;
    color: #8892b0;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.server-stat-value {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
}

.server-stat-value.highlight {
    color: #00d4ff;
}

.server-action-btn {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-start {
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    color: #fff;
}

.btn-stop {
    background: linear-gradient(135deg, #ff6464, #cc4444);
    color: #fff;
}

.btn-disabled {
    background: rgba(255, 255, 255, 0.1);
    color: #8892b0;
    cursor: not-allowed;
}

/* Server Stats Bar */
.server-stats-bar {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    overflow-x: auto;
    padding-bottom: 5px;
}

.server-stat-tag {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    font-size: 13px;
    color: #8892b0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.server-stat-tag .count {
    background: rgba(0, 212, 255, 0.2);
    color: #00d4ff;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
}

.server-stat-tag.active {
    background: rgba(0, 212, 255, 0.1);
    border-color: rgba(0, 212, 255, 0.3);
    color: #00d4ff;
}

.server-stat-tag.active .count {
    background: #00d4ff;
    color: #0a0a1e;
}

.server-stat-tag:hover:not(.active) {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

/* Server Grid Layout for Multiple Servers */
.server-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 12px;
}

.server-grid .server-card-wrapper {
    margin-bottom: 0;
}

.server-grid .server-card-inner {
    padding: 15px;
}

.server-grid .server-name-lg {
    font-size: 15px;
}

.server-grid .server-location {
    font-size: 11px;
}

.server-grid .server-stats-grid {
    gap: 8px;
    margin-bottom: 12px;
}

.server-grid .server-stat-box {
    padding: 8px;
}

.server-grid .server-stat-label {
    font-size: 10px;
}

.server-grid .server-stat-value {
    font-size: 14px;
}

.server-grid .server-action-btn {
    padding: 10px;
    font-size: 12px;
}

/* Progress Bar */
.progress-bar-container {
    margin-bottom: 15px;
}

.progress-bar-label {
    font-size: 11px;
    color: #8892b0;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
}

.progress-bar-track {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}

.progress-bar-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 0.3s ease;
    background: linear-gradient(90deg, #00d4ff, #7b2cbf);
}

.progress-bar-fill.starting {
    background: linear-gradient(90deg, #ffc832, #ff8c00);
}

/* Table */
.table-container {
    overflow-x: auto;
    margin-top: 15px;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

.data-table th, .data-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.data-table th {
    color: #8892b0;
    font-weight: 600;
}

.data-table td {
    color: #fff;
}

/* Tabs */
.tabs {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 4px;
    margin-bottom: 20px;
}

.tab {
    flex: 1;
    text-align: center;
    padding: 12px;
    border-radius: 10px;
    cursor: pointer;
    color: #8892b0;
    font-size: 14px;
    transition: all 0.3s;
}

.tab.active {
    background: rgba(0, 212, 255, 0.2);
    color: #00d4ff;
}

.tab-badge {
    display: inline-block;
    background: #ff5252;
    color: #fff;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: 4px;
}

/* Notification Item */
.notification-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
}

.notification-item.unread {
    border-left: 3px solid #00d4ff;
    background: rgba(0, 212, 255, 0.05);
}

.notification-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
}

.notification-content {
    font-size: 13px;
    color: #8892b0;
    margin-bottom: 8px;
}

.notification-time {
    font-size: 11px;
    color: #666;
}

/* Server Shop */
.filter-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
    padding: 0 4px;
}

@media (max-width: 480px) {
    .filter-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}

.country-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 0;
    flex: 1;
}

.country-tag {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s;
}

.country-tag:hover {
    border-color: #00d4ff;
}

.country-tag.selected {
    background: rgba(0, 212, 255, 0.2);
    border-color: #00d4ff;
    color: #00d4ff;
}

.server-grid {
    display: block;
}

.server-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 16px;
    overflow: hidden;
}

.server-card:hover {
    border-color: #00d4ff;
}

.server-card.out-of-stock {
    opacity: 0.6;
    cursor: not-allowed;
}

.server-card-content {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
}

.server-card-left {
    flex-shrink: 0;
}

.server-room-image {
    width: 75px;
    height: 75px;
    border-radius: 12px;
    object-fit: cover;
    border: 2px solid rgba(0, 212, 255, 0.3);
}

.server-room-image-placeholder {
    width: 75px;
    height: 75px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2), rgba(123, 44, 191, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
}

.server-card-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
}

.server-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 6px;
}

.server-name-section {
    flex: 1;
    margin-right: 8px;
    min-width: 0;
}

.server-name {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.server-spec {
    font-size: 11px;
    color: #8892b0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.server-price-section {
    text-align: right;
    flex-shrink: 0;
}

.server-price {
    font-size: 18px;
    font-weight: 700;
    color: #00d4ff;
    line-height: 1;
    white-space: nowrap;
}

.server-price-unit {
    font-size: 11px;
    color: #8892b0;
    white-space: nowrap;
}

.server-card-middle {
    margin-bottom: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.server-power-rate {
    font-size: 12px;
    color: #8892b0;
    white-space: nowrap;
}

.server-card-bottom {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.server-stock {
    font-size: 12px;
    display: flex;
    align-items: center;
    white-space: nowrap;
    flex-wrap: nowrap;
}

.server-valid-days {
    font-size: 12px;
    color: #8892b0;
    white-space: nowrap;
    flex-shrink: 0;
}

.server-card-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #00d4ff, #7b2cbf);
    border: none;
    border-radius: 12px;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
}

.server-card-btn:disabled {
    background: rgba(255, 255, 255, 0.1);
    color: #666;
    cursor: not-allowed;
}

.stock-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
}

.stock-badge.stock-warning {
    background: rgba(243, 156, 18, 0.15);
    color: #f39c12;
    border: 1px solid rgba(243, 156, 18, 0.3);
}

.stock-badge.stock-out {
    background: rgba(255, 100, 100, 0.15);
    color: #ff6464;
    border: 1px solid rgba(255, 100, 100, 0.3);
}


/* Input with Button */
.input-with-btn {
    display: flex;
    gap: 10px;
}

.input-with-btn input {
    flex: 1;
}

.input-with-btn .btn {
    width: auto;
    white-space: nowrap;
}

/* Profile Menu */
.profile-menu {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.menu-item {
    display: flex;
    align-items: center;
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.3s;
}

.menu-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

.menu-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2), rgba(123, 44, 191, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-right: 15px;
}

.menu-text {
    flex: 1;
}

.menu-title {
    font-size: 15px;
    font-weight: 500;
}

.menu-desc {
    font-size: 12px;
    color: #8892b0;
    margin-top: 3px;
}

.menu-arrow {
    color: #8892b0;
    font-size: 18px;
}

/* Invite Page */
.invite-card {
    text-align: center;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(123, 44, 191, 0.1));
    border-radius: 20px;
    padding: 30px 20px;
    margin-bottom: 20px;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.qr-code-box {
    width: 180px;
    height: 180px;
    background: #fff;
    border-radius: 12px;
    margin: 20px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
}

.invite-code-box {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.invite-code {
    font-size: 20px;
    font-weight: 700;
    color: #00d4ff;
    letter-spacing: 3px;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-state-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.empty-state-title {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 10px;
}

.empty-state-desc {
    font-size: 14px;
    color: #8892b0;
    margin-bottom: 24px;
}

/* Page transitions */
.page {
    display: none;
}

.page.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

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

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.6;
    }
}

/* Loading */
.loading {
    text-align: center;
    padding: 40px;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: #00d4ff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto;
}

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

/* Skeleton Loading */
.skeleton-loading {
    opacity: 0.6;
}

.skeleton {
    background: linear-gradient(90deg, rgba(255,255,255,0.1) 25%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0.1) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.stat-item .stat-icon.skeleton {
    width: 45px;
    height: 45px;
    border-radius: 12px;
}

.stat-item .stat-content .stat-value.skeleton {
    width: 60px;
    height: 18px;
    border-radius: 4px;
}

.stat-item .stat-content .stat-label.skeleton {
    width: 50px;
    height: 12px;
    border-radius: 4px;
    margin-top: 5px;
}

/* Responsive */
/* 提现展示模块 */
.cashout-display-container {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.cashout-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cashout-item {
    font-size: 13px;
    color: #8892b0;
    padding: 2px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    animation: fadeIn 0.3s ease;
}

/* 手机端响应式优化 - 确保字体不会太小 */
@media (max-width: 480px) {
    .cashout-display-container {
        padding: 10px;
    }
    
    .cashout-item {
        font-size: 12px;
    }
}

@media (max-width: 420px) {
    .cashout-item {
        font-size: 11px;
    }
}

@media (max-width: 380px) {
    .cashout-item {
        font-size: 10px;
    }
}

@media (max-width: 340px) {
    .cashout-item {
        font-size: 9px;
    }
}

@media (max-width: 320px) {
    .cashout-item {
        font-size: 8px;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* 排序选择器 */
.sort-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0;
    flex-wrap: nowrap;
}

.sort-label {
    font-size: 12px;
    color: #8892b0;
    white-space: nowrap;
    font-weight: 500;
}

.sort-select {
    padding: 10px 42px 10px 20px !important;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.12), rgba(123, 44, 191, 0.12)) !important;
    border: 1px solid rgba(0, 212, 255, 0.35) !important;
    border-radius: 30px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: #00d4ff !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24'%3E%3Cpath fill='%2300d4ff' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
    background-size: 16px !important;
    min-width: 110px !important;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
    letter-spacing: 0.3px;
}

.sort-select:hover {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.22), rgba(123, 44, 191, 0.22)) !important;
    border-color: #00d4ff !important;
    box-shadow: 0 6px 25px rgba(0, 212, 255, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
    transform: translateY(-2px) !important;
}

.sort-select:active {
    transform: translateY(0) !important;
    box-shadow: 0 2px 10px rgba(0, 212, 255, 0.2) !important;
}

.sort-select:focus {
    outline: none !important;
    border-color: #00d4ff !important;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.28), rgba(123, 44, 191, 0.28)) !important;
    box-shadow: 0 0 0 4px rgba(0, 212, 255, 0.25), 0 6px 25px rgba(0, 212, 255, 0.35) !important;
}

.sort-select option {
    background: #1a1a2e !important;
    color: #ffffff !important;
    padding: 16px 20px !important;
    font-size: 14px !important;
    border: none !important;
    margin: 0 !important;
    border-radius: 0 !important;
    cursor: pointer !important;
}

.sort-select option:hover,
.sort-select option:focus {
    background: linear-gradient(90deg, rgba(0, 212, 255, 0.25), rgba(123, 44, 191, 0.25)) !important;
    color: #00d4ff !important;
}

.sort-select option:checked {
    background: linear-gradient(90deg, rgba(0, 212, 255, 0.35), rgba(123, 44, 191, 0.35)) !important;
    color: #00d4ff !important;
    font-weight: 600 !important;
}

@media (max-width: 480px) {
    .sort-select {
        padding: 12px 46px 12px 22px !important;
        font-size: 14px !important;
        min-width: 120px !important;
    }
    
    .sort-label {
        font-size: 13px !important;
    }
    
    .sort-selector {
        width: 100%;
        justify-content: space-between;
    }
}

/* 有效天数显示 */
.server-valid-days {
    font-size: 12px;
    color: #8892b0;
    margin-left: 12px;
    white-space: nowrap;
}

/* 工单页面头部 */
.ticket-page-header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 16px;
    padding: 0 4px;
}

/* ========== 服务器详情页面美化 ========== */
.detail-server-card {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.95), rgba(22, 33, 62, 0.95));
    border-radius: 24px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.detail-server-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.detail-server-icon {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2), rgba(123, 44, 191, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00d4ff;
    font-size: 32px;
    flex-shrink: 0;
}

.detail-server-icon svg {
    width: 36px;
    height: 36px;
}

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

.detail-server-name {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
    letter-spacing: 0.3px;
}

.detail-server-spec {
    font-size: 14px;
    color: #8892b0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.detail-status-badge {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    flex-shrink: 0;
}

.detail-status-badge.running {
    background: linear-gradient(135deg, rgba(0, 255, 127, 0.2), rgba(0, 255, 127, 0.1));
    color: #00ff7f;
    border: 1px solid rgba(0, 255, 127, 0.3);
    display: flex;
    align-items: center;
}

.detail-status-badge.running .running-dot {
    margin-right: 8px;
    margin-left: 0;
}

.detail-status-badge.stopped {
    background: linear-gradient(135deg, rgba(255, 82, 82, 0.2), rgba(255, 82, 82, 0.1));
    color: #ff5252;
    border: 1px solid rgba(255, 82, 82, 0.3);
}

.detail-status-badge.starting {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.2), rgba(255, 193, 7, 0.1));
    color: #ffc107;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.detail-status-badge.stopping {
    background: linear-gradient(135deg, rgba(255, 152, 0, 0.2), rgba(255, 152, 0, 0.1));
    color: #ff9800;
    border: 1px solid rgba(255, 152, 0, 0.3);
}

.detail-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.detail-stat-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 16px 12px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.3s ease;
}

.detail-stat-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.detail-stat-icon {
    width: 40px;
    height: 40px;
    margin: 0 auto 10px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(123, 44, 191, 0.15));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00d4ff;
}

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

.detail-stat-label {
    font-size: 12px;
    color: #8892b0;
    margin-bottom: 6px;
}

.detail-stat-value {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.3px;
}

.detail-stat-value.highlight {
    background: linear-gradient(90deg, #00d4ff, #7b2cbf);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 操作按钮 */
.detail-action-section {
    margin-bottom: 24px;
}

.detail-action-btn {
    width: 100%;
    padding: 16px;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.detail-action-btn.btn-start {
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    color: #fff;
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.3);
}

.detail-action-btn.btn-start:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(0, 212, 255, 0.4);
}

.detail-action-btn.btn-stop {
    background: linear-gradient(135deg, #ff5252, #cc4444);
    color: #fff;
    box-shadow: 0 4px 20px rgba(255, 82, 82, 0.3);
}

.detail-action-btn.btn-stop:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 82, 82, 0.4);
}

.detail-action-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* 历史记录 */
.detail-history-section {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.95), rgba(22, 33, 62, 0.95));
    border-radius: 24px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.detail-history-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.detail-history-title {
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 0.3px;
}

.detail-history-icon {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(123, 44, 191, 0.15));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00d4ff;
}

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

.detail-history-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.detail-history-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.detail-history-item:hover {
    background: rgba(255, 255, 255, 0.06);
}

.detail-history-date {
    font-size: 14px;
    color: #8892b0;
}

.detail-history-power {
    font-size: 16px;
    font-weight: 700;
    color: #00d4ff;
}

.detail-history-empty {
    text-align: center;
    padding: 30px;
    color: #8892b0;
    font-size: 14px;
}

/* 服务器列表中的免费服务器标识 */
.server-name-lg .free-server-badge {
    display: inline-block;
    padding: 3px 10px;
    margin-left: 8px;
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.2), rgba(255, 152, 0, 0.2));
    border: 1px solid rgba(255, 193, 7, 0.4);
    border-radius: 20px;
    font-size: 11px;
    color: #ffc107;
    font-weight: 600;
    vertical-align: middle;
}

.free-server-tip {
    font-size: 12px;
    color: #ffc107;
    margin-top: 6px;
    padding: 6px 10px;
    background: rgba(255, 193, 7, 0.1);
    border-radius: 6px;
    border-left: 3px solid #ffc107;
}

/* 历史记录分页 */
.history-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.pagination-btn {
    padding: 8px 20px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(123, 44, 191, 0.15));
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 30px;
    color: #00d4ff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.25), rgba(123, 44, 191, 0.25));
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.2);
}

.pagination-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
}

.pagination-info {
    font-size: 14px;
    color: #8892b0;
    font-weight: 500;
}

/* 响应式 */
@media (max-width: 400px) {
    .detail-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .detail-server-icon {
        width: 56px;
        height: 56px;
    }
    
    .detail-server-name {
        font-size: 18px;
    }
}

/* ========== 幻灯片图片 ========== */
.slide {
    flex: 0 0 100%;
    height: 180px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2), rgba(123, 44, 191, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 16px;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide .placeholder {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
}

/* 邀请说明模块 */
.invite-desc-card {
    margin-bottom: 16px;
}

.invite-desc-content {
    color: #8892b0;
    font-size: 13px;
    line-height: 1.8;
}

.invite-desc-content p {
    margin: 0;
}

/* 邀请码卡片 */
.invite-code-card {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(123, 44, 191, 0.15));
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 16px;
}

.invite-code-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.invite-code-icon {
    font-size: 24px;
}

.invite-code-title {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

.invite-code-display {
    font-size: 28px;
    font-weight: 700;
    color: #00d4ff;
    text-align: center;
    margin: 16px 0;
    letter-spacing: 4px;
}

.invite-copy-btn {
    width: 100%;
}

/* 邀请统计卡片 */
.invite-stats-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 16px;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.stat-card-highlight {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(123, 44, 191, 0.15));
}

.stat-icon-wrapper {
    font-size: 28px;
}

.stat-info {
    flex: 1;
}

.stat-number {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: font-size 0.2s ease;
}

.stat-text {
    font-size: 11px;
    color: #8892b0;
}

/* 二维码容器 */
.qr-container {
    text-align: center;
    padding: 20px 0;
}

.qr-code-box {
    width: 180px;
    height: 180px;
    margin: 0 auto 12px;
    background: #fff;
    border-radius: 12px;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-label {
    font-size: 12px;
    color: #8892b0;
}

.qr-save-btn {
    margin-top: 12px;
}

/* 邀请链接 */
.link-box {
    display: flex;
    gap: 8px;
}

.link-input {
    flex: 1;
    min-width: 0;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-size: 11px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.link-copy-btn {
    width: 100%;
    padding: 14px;
    font-size: 14px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    white-space: nowrap;
}

/* 邀请列表项 */
.invite-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.invite-item:last-child {
    border-bottom: none;
}

.invite-item-left {
    flex: 1;
    min-width: 0;
}

.invite-username {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.invite-info {
    display: flex;
    gap: 12px;
    font-size: 11px;
    color: #8892b0;
}

.invite-date, .invite-server {
    white-space: nowrap;
}

.invite-item-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}

.invite-reward {
    font-size: 14px;
    font-weight: 600;
    color: #00c853;
}

.invite-detail-btn {
    padding: 6px 12px;
    background: rgba(0, 212, 255, 0.15);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 8px;
    color: #00d4ff;
    font-size: 11px;
    cursor: pointer;
}

/* 邀请详情页面 */
.invite-detail-info {
    text-align: center;
    padding: 20px 0;
}

.detail-username {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
}

.detail-desc {
    font-size: 12px;
    color: #8892b0;
}

.invite-detail-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.invite-detail-item:last-child {
    border-bottom: none;
}

.detail-date {
    font-size: 12px;
    color: #8892b0;
    width: 100px;
}

.detail-power {
    font-size: 12px;
    color: #fff;
    width: 80px;
    text-align: center;
}

.detail-reward {
    font-size: 12px;
    color: #00c853;
    width: 80px;
    text-align: right;
}

/* 响应式样式 - 小屏幕手机 */
@media (max-width: 375px) {
    .container {
        padding: 12px;
        padding-bottom: 90px;
    }
    
    .logo h1 {
        font-size: 24px;
    }
    
    .form-box {
        padding: 20px;
    }
    
    .form-group input {
        padding: 12px;
        font-size: 16px;
    }
    
    .btn {
        padding: 12px;
        font-size: 15px;
    }
    
    .server-grid {
        grid-template-columns: 1fr;
    }
    
    .metrics {
        grid-template-columns: 1fr;
    }
    
    .slide {
        height: 150px;
    }
}

/* 响应式样式 - 中等屏幕手机 */
@media (max-width: 480px) {
    .container {
        padding: 15px;
        padding-bottom: 90px;
    }
    
    .server-grid {
        grid-template-columns: 1fr;
    }
    
    .metrics {
        grid-template-columns: 1fr;
    }
}

/* 响应式样式 - 大屏幕手机 */
@media (min-width: 481px) and (max-width: 768px) {
    .container {
        padding: 20px;
        max-width: 540px;
    }
    
    .server-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 横屏模式优化 */
@media (orientation: landscape) and (max-height: 500px) {
    .container {
        padding-bottom: 100px;
    }
    
    .logo {
        margin-bottom: 15px;
    }
    
    .form-box {
        padding: 20px;
    }
}

/* 模态框 */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    z-index: 99999;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
}

.modal-content {
    position: relative;
    background: rgba(26, 26, 46, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    width: 90%;
    max-width: 400px;
    overflow: hidden;
    margin: auto;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-title {
    font-size: 16px;
    font-weight: 600;
}

.modal-close {
    width: 32px;
    height: 32px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #8892b0;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.modal-body {
    padding: 20px;
}

.modal-footer {
    display: flex;
    gap: 10px;
    padding: 16px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-footer .btn {
    flex: 1;
}

.upload-area {
    border: 2px dashed rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    background: rgba(255, 255, 255, 0.03);
}

.upload-area:hover {
    border-color: #00d4ff;
    background: rgba(0, 212, 255, 0.1);
}

.upload-icon {
    font-size: 40px;
    margin-bottom: 12px;
}

.upload-text {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 6px;
}

.upload-hint {
    font-size: 12px;
    color: #8892b0;
}

/* 登录页面背景 */
.login-bg {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
    opacity: 0.4;
}

/* 提醒模块 */
.reminder-box {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.1), rgba(255, 152, 0, 0.1));
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 20px;
    display: flex;
    gap: 12px;
}

.reminder-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.reminder-content {
    flex: 1;
}

.reminder-title {
    font-size: 13px;
    font-weight: 600;
    color: #ffc107;
    margin-bottom: 4px;
}

.reminder-text {
    font-size: 12px;
    color: #b8b8b8;
    line-height: 1.5;
}

/* 邀请页面样式 */
.invite-code-card {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(123, 44, 191, 0.15));
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 15px;
    text-align: center;
}

.invite-code-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 12px;
}

.invite-code-icon {
    font-size: 20px;
}

.invite-code-title {
    font-size: 14px;
    color: #8892b0;
}

.invite-code-display {
    font-size: 28px;
    font-weight: 700;
    color: #00d4ff;
    letter-spacing: 4px;
    margin-bottom: 15px;
    font-family: 'Courier New', monospace;
}

.invite-copy-btn {
    width: 100%;
    max-width: 200px;
}

/* 邀请统计卡片 */
.invite-stats-card {
    margin-bottom: 15px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.stat-card-highlight {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.1), rgba(0, 212, 255, 0.1));
    border-color: rgba(0, 255, 136, 0.3);
}

.stat-icon-wrapper {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.stat-card-highlight .stat-icon-wrapper {
    background: rgba(0, 255, 136, 0.2);
}

.stat-info {
    flex: 1;
}

.stat-number {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}

.stat-card-highlight .stat-number {
    color: #00ff88;
}

.stat-text {
    font-size: 12px;
    color: #8892b0;
}

/* 二维码容器 */
.qr-container {
    padding: 20px;
    text-align: center;
}

.qr-code-box {
    width: 160px;
    height: 160px;
    margin: 0 auto 12px;
    background: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-label {
    font-size: 12px;
    color: #8892b0;
}

.qr-save-btn {
    margin-top: 12px;
}

/* 链接输入框 */
.link-box {
    padding: 0 15px;
}

.link-input {
    width: 100%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #fff;
    font-size: 12px;
    margin-bottom: 12px;
}

.link-copy-btn {
    width: 100%;
}

/* 警告框 */
.warning-box {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.15), rgba(255, 152, 0, 0.15));
    border: 1px solid rgba(255, 193, 7, 0.4);
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 20px;
    display: flex;
    gap: 12px;
}

.warning-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.warning-content {
    flex: 1;
}

.warning-title {
    font-size: 13px;
    font-weight: 600;
    color: #ffc107;
    margin-bottom: 4px;
}

.warning-text {
    font-size: 12px;
    color: #d4d4d4;
    line-height: 1.5;
}

/* 工单页面样式 */
.ticket-textarea {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #fff;
    font-size: 16px;
    outline: none;
    resize: none;
    min-height: 150px;
}

.image-upload-area {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.upload-box {
    width: 80px;
    height: 80px;
    border: 2px dashed rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.upload-box:hover {
    border-color: #00d4ff;
    background: rgba(0, 212, 255, 0.1);
}

.upload-box .upload-icon {
    font-size: 24px;
}

.upload-box .upload-text {
    font-size: 11px;
    color: #8892b0;
    margin-top: 4px;
}

.image-preview-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.image-preview {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 10px;
    overflow: hidden;
}

.image-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-preview .remove-btn {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 20px;
    height: 20px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    border: none;
    color: #fff;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 快捷金额按钮 */
.quick-amount-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 20px;
    padding: 0 4px;
}

.quick-amount-btn {
    padding: 10px 4px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

.quick-amount-btn:hover {
    background: rgba(0, 212, 255, 0.15);
    border-color: rgba(0, 212, 255, 0.4);
    color: #00d4ff;
}

.quick-amount-btn:active {
    transform: scale(0.95);
    opacity: 0.8;
}

.quick-amount-btn.selected {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.3), rgba(123, 44, 191, 0.3));
    border-color: #00d4ff;
    color: #00d4ff;
}

/* 用户卡片 - 所有页面顶部 */
.user-card {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(123, 44, 191, 0.1));
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 20px;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.user-card .user-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.user-card .avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00d4ff, #7b2cbf);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.user-card .avatar svg {
    width: 28px;
    height: 28px;
    color: #fff;
}

.user-card .user-details {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-card .user-sub {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 4px;
}

.user-card .user-id {
    font-size: 12px;
    color: #8892b0;
}

/* 提现展示模块 */
.cashout-display-container {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.08), rgba(0, 212, 255, 0.08));
    border-radius: 16px;
    padding: 14px;
    margin-bottom: 20px;
    border: 1px solid rgba(0, 255, 136, 0.2);
}

.cashout-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cashout-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: 13px;
    color: #00ff88;
    white-space: nowrap;
    overflow: hidden;
}

.cashout-item-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

/* 手机端响应式优化 - 确保字体不会太小 */
@media (max-width: 480px) {
    .cashout-display-container {
        padding: 12px;
    }
    
    .cashout-item {
        font-size: 12px;
        gap: 3px;
    }
}

@media (max-width: 420px) {
    .cashout-item {
        font-size: 11px;
    }
}

@media (max-width: 380px) {
    .cashout-item {
        font-size: 10px;
    }
}

@media (max-width: 340px) {
    .cashout-item {
        font-size: 9px;
    }
}

@media (max-width: 320px) {
    .cashout-item {
        font-size: 8px;
    }
}

/* 确保底部导航栏在手机上可见 */
@media (max-width: 768px) {
    .nav-bar {
        padding: 10px 0;
        z-index: 9999;
    }
    
    .container {
        padding-bottom: 90px;
    }
}

/* ========== 体验算力机弹窗样式 ========== */
.free-server-modal-content {
    max-width: 360px;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.98), rgba(22, 33, 62, 0.98));
    border: 2px solid rgba(0, 212, 255, 0.3);
    box-shadow: 0 0 40px rgba(0, 212, 255, 0.2);
    animation: modalAppear 0.3s ease-out;
}

@keyframes modalAppear {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.free-server-popup {
    padding: 24px;
    text-align: center;
}

.free-server-header {
    margin-bottom: 20px;
}

.free-server-icon {
    font-size: 48px;
    margin-bottom: 12px;
    animation: bounce 1s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.free-server-title {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(90deg, #ffd700, #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.free-server-info {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 20px;
}

.free-server-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.free-server-item:last-child {
    border-bottom: none;
}

.free-server-label {
    font-size: 14px;
    color: #8892b0;
}

.free-server-value {
    font-size: 14px;
    font-weight: 600;
    color: #00d4ff;
}

.free-server-btn {
    width: 100%;
    padding: 16px;
    font-size: 16px;
    font-weight: 700;
    background: linear-gradient(135deg, #ffd700, #ff6b6b);
    color: #fff;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    animation: pulse 1.5s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.free-server-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: shimmer 2s infinite;
}

.free-server-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
    animation: none;
}

.free-server-btn:active {
    transform: translateY(0);
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.4);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(255, 215, 0, 0);
    }
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.urgent-text {
    color: #ff4444 !important;
    font-weight: 700;
    animation: blink 1s ease-in-out infinite;
}

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

.free-server-tip {
    font-size: 12px;
    color: #8892b0;
    margin-top: 12px;
}

.free-server-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #8892b0;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.free-server-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* ========== 体验算力机Banner样式 ========== */
.free-banner {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(255, 107, 107, 0.15));
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 16px;
}

.free-banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.free-banner-icon {
    font-size: 24px;
    margin-right: 10px;
}

.free-banner-text {
    flex: 1;
    font-size: 14px;
    font-weight: 600;
    color: #ffd700;
}

.free-banner-btn {
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 600;
    background: linear-gradient(135deg, #ffd700, #ff6b6b);
    color: #fff;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
}

.free-banner-btn:hover {
    transform: scale(1.05);
}

/* 响应式调整 */
@media (max-width: 480px) {
    .free-server-modal-content {
        width: 95%;
        max-width: none;
    }
    
    .free-server-popup {
        padding: 20px;
    }
    
    .free-server-title {
        font-size: 18px;
    }
    
    .free-server-icon {
        font-size: 40px;
    }
}

/* ========== 邀请列表筛选和排序样式 ========== */
.filter-sort-bar {
    padding: 0 16px 16px;
}

.filter-group {
    display: flex;
    gap: 10px;
}

.filter-select {
    flex: 1;
    padding: 12px 36px 12px 16px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(123, 44, 191, 0.1));
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 30px;
    font-size: 13px;
    font-weight: 500;
    color: #00d4ff;
    outline: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24'%3E%3Cpath fill='%2300d4ff' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 14px;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    letter-spacing: 0.3px;
}

.filter-select:hover {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.2), rgba(123, 44, 191, 0.2));
    border-color: #00d4ff;
    box-shadow: 0 6px 25px rgba(0, 212, 255, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.filter-select:focus {
    border-color: #00d4ff;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.25), rgba(123, 44, 191, 0.25));
    box-shadow: 0 0 0 4px rgba(0, 212, 255, 0.25), 0 6px 25px rgba(0, 212, 255, 0.35);
}

.filter-select option {
    background: #1a1a2e;
    color: #ffffff;
    padding: 16px 20px;
    font-size: 14px;
    border: none;
    margin: 0;
    border-radius: 0;
    cursor: pointer;
}

.filter-select option:hover,
.filter-select option:focus {
    background: linear-gradient(90deg, rgba(0, 212, 255, 0.25), rgba(123, 44, 191, 0.25));
    color: #00d4ff;
}

.filter-select option:checked {
    background: linear-gradient(90deg, rgba(0, 212, 255, 0.35), rgba(123, 44, 191, 0.35));
    color: #00d4ff;
    font-weight: 600;
}

@media (max-width: 480px) {
    .filter-select {
        padding: 14px 40px 14px 18px;
        font-size: 14px;
    }
}

/* ========== 分页样式 ========== */
.pagination-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 20px 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.page-btn {
    padding: 10px 20px;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(123, 44, 191, 0.1));
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    color: #00d4ff;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.page-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    color: #0f172a;
    border-color: #00d4ff;
    box-shadow: 0 6px 25px rgba(0, 212, 255, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.page-btn:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(0, 212, 255, 0.25);
}

.page-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.1);
    color: #8892b0;
    box-shadow: none;
    transform: none;
}

.page-info {
    font-size: 13px;
    color: #8892b0;
    font-weight: 500;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* ========== 邀请详情页面新增样式 ========== */
.detail-section {
    margin-bottom: 20px;
}

.detail-section-title {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.detail-server-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.detail-server-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.detail-server-info {
    flex: 1;
}

.detail-server-name {
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.detail-server-spec {
    font-size: 12px;
    color: #8892b0;
}

.detail-server-date {
    font-size: 11px;
    color: #6b7280;
    margin-top: 4px;
}

.detail-server-status {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
}

.detail-server-status.status-running {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
}

.detail-server-status.status-stopped {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

.detail-server-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    flex-shrink: 0;
}

.free-badge {
    background: rgba(251, 191, 36, 0.15);
    color: #fbbf24;
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
    white-space: nowrap;
}

.empty-state-small {
    text-align: center;
    padding: 20px;
    color: #8892b0;
    font-size: 13px;
}

/* 体验服务器标注 */
.free-server-badge {
    display: inline-block;
    padding: 4px 10px;
    margin-left: 8px;
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.2), rgba(255, 152, 0, 0.2));
    border: 1px solid rgba(255, 193, 7, 0.4);
    border-radius: 30px;
    font-size: 11px;
    color: #ffc107;
    font-weight: 500;
    white-space: nowrap;
}
