/* ============================================
   VentiMC 网站样式
   主题色: rgb(13, 227, 184) #0DE3B8
   ============================================ */

/* CSS 变量 */
:root {
    --primary: rgb(13, 227, 184);
    --primary-rgb: 13, 227, 184;
    --primary-dark: #00C9A2;
    --primary-light: #5DF5D5;
    --primary-pale: #E1FFF8;
    
    --bg-dark: #0a0a0a;
    --bg-dark-secondary: #141414;
    --bg-light: #f8f9fa;
    --bg-light-secondary: #ffffff;
    
    --text-dark: #ffffff;
    --text-dark-secondary: #b0b0b0;
    --text-light: #1a1a1a;
    --text-light-secondary: #666666;
    
    --glass-dark: rgba(20, 20, 20, 0.7);
    --glass-dark-border: rgba(255, 255, 255, 0.1);
    --glass-light: rgba(255, 255, 255, 0.7);
    --glass-light-border: rgba(0, 0, 0, 0.1);
    
    --shadow-dark: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-light: 0 8px 32px rgba(0, 0, 0, 0.1);
    
    --transition-fast: 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-normal: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-slow: 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-elastic: 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* 主题切换 */
[data-bs-theme="dark"] {
    --bg-primary: var(--bg-dark);
    --bg-secondary: var(--bg-dark-secondary);
    --text-primary: var(--text-dark);
    --text-secondary: var(--text-dark-secondary);
    --glass-bg: var(--glass-dark);
    --glass-border: var(--glass-dark-border);
    --shadow: var(--shadow-dark);
}

[data-bs-theme="light"] {
    --bg-primary: var(--bg-light);
    --bg-secondary: var(--bg-light-secondary);
    --text-primary: var(--text-light);
    --text-secondary: var(--text-light-secondary);
    --glass-bg: var(--glass-light);
    --glass-border: var(--glass-light-border);
    --shadow: var(--shadow-light);
}

/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    transition: background-color var(--transition-normal), color var(--transition-normal);
    overflow-x: hidden;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
}

/* ============================================
   加载动画
   ============================================ */
.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader-container.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
}

.loader-logo {
    margin-bottom: 2rem;
}

.loader-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    animation: loaderPulse 2s ease-in-out infinite;
    box-shadow: 0 0 40px rgba(var(--primary-rgb), 0.4);
}

@keyframes loaderPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.loader-spinner {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
}

.spinner-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 3px solid transparent;
    border-top-color: var(--primary);
    animation: spinnerRotate 1.5s linear infinite;
}

.spinner-ring:nth-child(1) {
    width: 80px;
    height: 80px;
    animation-duration: 1.5s;
}

.spinner-ring:nth-child(2) {
    width: 60px;
    height: 60px;
    animation-duration: 1s;
    animation-direction: reverse;
    border-top-color: var(--primary-light);
}

.spinner-ring:nth-child(3) {
    width: 40px;
    height: 40px;
    animation-duration: 0.8s;
    border-top-color: var(--primary-dark);
}

@keyframes spinnerRotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

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

/* ============================================
   液态玻璃效果
   ============================================ */
.glass-nav,
.glass-card,
.glass-dropdown,
.glass-toast {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow);
}

.glass-nav {
    padding: 0.75rem 0;
    transition: all var(--transition-normal);
}

.glass-nav.scrolled {
    padding: 0.5rem 0;
    background: rgba(var(--primary-rgb), 0.05);
}

.glass-card {
    border-radius: 20px;
    padding: 2rem;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transition: left 0.5s ease;
}

.glass-card:hover::before {
    left: 100%;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(var(--primary-rgb), 0.15);
    border-color: rgba(var(--primary-rgb), 0.3);
}

/* ============================================
   导航栏
   ============================================ */
.navbar-brand {
    color: var(--text-primary) !important;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
}

.nav-logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: transform var(--transition-elastic);
}

.navbar-brand:hover .nav-logo {
    transform: rotate(15deg) scale(1.1);
}

.brand-text {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-link {
    color: var(--text-secondary) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    margin: 0 0.25rem;
    border-radius: 10px;
    transition: all var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: all var(--transition-fast);
    transform: translateX(-50%);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary) !important;
    background: rgba(var(--primary-rgb), 0.1);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 60%;
}

.nav-icon-btn {
    color: var(--text-secondary);
    padding: 0.5rem;
    border-radius: 10px;
    transition: all var(--transition-fast);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-icon-btn:hover {
    color: var(--primary);
    background: rgba(var(--primary-rgb), 0.1);
}

[data-bs-theme="light"] .dark-icon,
[data-bs-theme="dark"] .light-icon {
    display: none;
}

.dropdown-menu {
    border-radius: 15px;
    padding: 0.5rem;
    min-width: 120px;
}

.dropdown-item {
    border-radius: 10px;
    padding: 0.5rem 1rem;
    color: var(--text-primary);
    transition: all var(--transition-fast);
}

.dropdown-item:hover {
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
}

/* ============================================
   页面容器和切换
   ============================================ */
.page-container {
    min-height: calc(100vh - 200px);
    padding-top: 80px;
}

.page {
    display: none;
    animation: pageFadeIn 0.5s ease;
}

.page.active {
    display: block;
}

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

/* ============================================
   Hero 区域
   ============================================ */
.hero-section {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 2rem 0;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.floating-blocks {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.block {
    position: absolute;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 12px;
    opacity: 0.15;
    animation: blockFloat 8s ease-in-out infinite;
}

.block::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
}

.block-1 { top: 10%; left: 10%; animation-delay: 0s; transform: scale(1.2); }
.block-2 { top: 20%; right: 15%; animation-delay: 1s; transform: scale(0.8); }
.block-3 { top: 60%; left: 5%; animation-delay: 2s; transform: scale(1.5); }
.block-4 { bottom: 20%; right: 10%; animation-delay: 3s; transform: scale(1); }
.block-5 { top: 40%; left: 20%; animation-delay: 4s; transform: scale(0.6); }
.block-6 { bottom: 30%; left: 15%; animation-delay: 5s; transform: scale(1.3); }

@keyframes blockFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-20px) rotate(5deg);
    }
    50% {
        transform: translateY(-10px) rotate(-5deg);
    }
    75% {
        transform: translateY(-30px) rotate(3deg);
    }
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, transparent 0%, var(--bg-primary) 70%);
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero-logo-wrapper {
    margin-bottom: 2rem;
}

.hero-logo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    box-shadow: 0 0 60px rgba(var(--primary-rgb), 0.4);
    animation: heroLogoFloat 4s ease-in-out infinite;
}

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

.hero-title {
    font-size: clamp(3rem, 10vw, 6rem);
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1;
}

.title-main {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, var(--primary) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleShine 3s linear infinite;
}

@keyframes titleShine {
    to { background-position: 200% center; }
}

.hero-subtitle {
    font-size: clamp(1rem, 3vw, 1.5rem);
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-weight: 400;
}

.hero-buttons {
    margin-bottom: 3rem;
}

/* 按钮样式 */
.btn-glass {
    border-radius: 12px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all var(--transition-elastic);
    position: relative;
    overflow: hidden;
}

.btn-primary.btn-glass {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border: none;
    color: #000;
}

.btn-primary.btn-glass:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px rgba(var(--primary-rgb), 0.4);
}

.btn-outline-light.btn-glass {
    background: transparent;
    border: 2px solid var(--glass-border);
    color: var(--text-primary);
}

.btn-outline-light.btn-glass:hover {
    background: rgba(var(--primary-rgb), 0.1);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-3px);
}

/* 服务器信息卡片 */
.server-card {
    padding: 1.5rem 2rem;
    display: inline-block;
}

.server-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    position: relative;
}

.server-stat i {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.server-stat .stat-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.server-stat .stat-value {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.btn-copy {
    position: absolute;
    top: -5px;
    right: -25px;
    padding: 0.25rem;
    color: var(--text-secondary);
    background: transparent;
    border: none;
    transition: all var(--transition-fast);
}

.btn-copy:hover {
    color: var(--primary);
    transform: scale(1.1);
}

/* ============================================
   通用区块样式
   ============================================ */
.section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--primary-light));
    border-radius: 2px;
}

/* ============================================
   游戏模式卡片
   ============================================ */
.game-modes {
    background: linear-gradient(180deg, var(--bg-primary) 0%, rgba(var(--primary-rgb), 0.03) 50%, var(--bg-primary) 100%);
}

.game-card {
    text-align: center;
    height: 100%;
    cursor: pointer;
}

.card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #000;
    transition: all var(--transition-elastic);
}

.game-card:hover .card-icon {
    transform: rotate(10deg) scale(1.1);
    box-shadow: 0 10px 30px rgba(var(--primary-rgb), 0.4);
}

.game-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.game-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.card-tags {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.tag {
    padding: 0.25rem 0.75rem;
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    transition: all var(--transition-fast);
}

.tag:hover {
    background: var(--primary);
    color: #000;
}

/* ============================================
   统计卡片
   ============================================ */
.why-us {
    background: var(--bg-primary);
}

.stat-card {
    padding: 2rem 1rem;
    height: 100%;
}

.stat-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: #000;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    display: inline;
}

.stat-suffix {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    display: inline;
}

.stat-card .stat-label {
    color: var(--text-secondary);
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

/* ============================================
   特色功能
   ============================================ */
.features {
    background: linear-gradient(180deg, var(--bg-primary) 0%, rgba(var(--primary-rgb), 0.02) 100%);
}

.feature-item {
    padding: 1.5rem;
    border-radius: 15px;
    transition: all var(--transition-normal);
}

.feature-item:hover {
    background: rgba(var(--primary-rgb), 0.05);
    transform: translateX(5px);
}

.feature-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #000;
    margin-right: 1rem;
    transition: all var(--transition-elastic);
}

.feature-item:hover .feature-icon {
    transform: rotate(10deg) scale(1.1);
}

.feature-content h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.feature-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.feature-link {
    display: inline-flex;
    align-items: center;
    font-size: 0.8rem;
    color: var(--primary);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.feature-link:hover {
    color: var(--primary-light);
    text-decoration: underline;
}

/* ============================================
   页面头部
   ============================================ */
.page-header {
    padding: 4rem 0 3rem;
    text-align: center;
    background: linear-gradient(180deg, rgba(var(--primary-rgb), 0.1) 0%, transparent 100%);
    margin-bottom: 2rem;
}

.page-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.page-content {
    padding-bottom: 5rem;
}

/* ============================================
   加入游戏页
   ============================================ */
.platform-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.platform-header {
    text-align: center;
    margin-bottom: 2rem;
}

.platform-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}

.platform-icon.java {
    background: linear-gradient(135deg, #f89820, #e76f00);
    color: white;
}

.platform-icon.bedrock {
    background: linear-gradient(135deg, #00a8e8, #0077b6);
    color: white;
}

.platform-body {
    flex: 1;
}

.info-item {
    margin-bottom: 1.5rem;
}

.info-label {
    display: block;
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.info-value {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
}

.copy-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.copy-group code {
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 1rem;
}

.platform-footer {
    margin-top: 1.5rem;
}

/* 快速入门 */
.step-card {
    padding: 2rem;
    height: 100%;
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
}

.step-card h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.step-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* ============================================
   赞助页
   ============================================ */
.donate-intro {
    max-width: 600px;
    margin: 0 auto;
    color: var(--text-secondary);
}

.donate-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.donate-card.featured {
    border: 2px solid var(--primary);
    transform: scale(1.05);
}

.featured-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #000;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}

.donate-header {
    text-align: center;
    margin-bottom: 2rem;
}

.donate-header h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.donate-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
}

.donate-price .currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary);
}

.donate-price .amount {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
}

.donate-price .period {
    color: var(--text-secondary);
}

.donate-body {
    flex: 1;
}

.donate-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.donate-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.donate-features li:last-child {
    border-bottom: none;
}

.donate-features i {
    color: var(--primary);
    font-size: 1.1rem;
}

.donate-footer {
    margin-top: 1.5rem;
}

/* 一次性赞助 */
.one-time-donate h4 {
    margin-bottom: 0.5rem;
}

.one-time-donate p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.donate-amounts {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.donate-amounts .btn {
    min-width: 80px;
}

/* 新赞助页样式 */
.alipay-qr-wrapper {
    max-width: 300px;
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.alipay-qr {
    width: 100%;
    height: auto;
    display: block;
}

.donate-tier-item {
    background: rgba(var(--primary-rgb), 0.05);
    border-radius: 12px;
    padding: 1rem;
    height: 100%;
    transition: all var(--transition-normal);
}

.donate-tier-item:hover {
    background: rgba(var(--primary-rgb), 0.1);
    transform: translateY(-3px);
}

.tier-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.tier-name {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary);
}

.tier-badge {
    padding: 0.2rem 0.6rem;
    background: rgba(var(--primary-rgb), 0.2);
    color: var(--primary);
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
}

.tier-badge.tier-popular {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #000;
}

.tier-badge.tier-vip {
    background: linear-gradient(135deg, #ffd700, #ffaa00);
    color: #000;
}

.tier-badge.tier-custom {
    background: linear-gradient(135deg, #9b59b6, #8e44ad);
    color: #fff;
}

.tier-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tier-features li {
    padding: 0.3rem 0;
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tier-features li i {
    color: var(--primary);
    font-size: 0.8rem;
}

/* ============================================
   赞助者列表
   ============================================ */
.donors-section {
    background: linear-gradient(180deg, var(--bg-primary) 0%, rgba(var(--primary-rgb), 0.03) 50%, var(--bg-primary) 100%);
}

.donors-card {
    padding: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.donors-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.donor-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: rgba(var(--primary-rgb), 0.05);
    border-radius: 50px;
    border: 1px solid rgba(var(--primary-rgb), 0.2);
    transition: all var(--transition-normal);
}

.donor-item:hover {
    background: rgba(var(--primary-rgb), 0.1);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(var(--primary-rgb), 0.15);
}

.donor-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

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

.donor-info {
    display: flex;
    flex-direction: column;
}

.donor-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.donor-title {
    font-size: 0.75rem;
    color: var(--primary);
    font-style: italic;
}

.donor-amount {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--primary);
    margin-left: 0.5rem;
    padding-left: 0.75rem;
    border-left: 1px solid var(--glass-border);
}

/* ============================================
   首页服务器版本信息
   ============================================ */
.server-version-info {
    border-color: var(--glass-border) !important;
}

.version-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.java-badge {
    background: linear-gradient(135deg, #f89820, #e76f00);
    color: white;
}

.bedrock-badge {
    background: linear-gradient(135deg, #00a8e8, #0077b6);
    color: white;
}

/* ============================================
   帮助页样式
   ============================================ */
.help-card {
    overflow: hidden;
}

.help-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    user-select: none;
}

.help-header:hover {
    background: rgba(var(--primary-rgb), 0.05);
}

.help-header i:first-child {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 1.25rem;
}

.help-header h4 {
    margin: 0;
    font-size: 1.1rem;
}

.help-header .bi-chevron-down {
    transition: transform var(--transition-fast);
    color: var(--text-secondary);
}

.help-header[aria-expanded="true"] .bi-chevron-down {
    transform: rotate(180deg);
}

.help-body {
    padding: 0 1.5rem 1.5rem;
}

.command-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--glass-border);
}

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

.command-item code {
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-family: 'Consolas', 'Monaco', monospace;
    white-space: nowrap;
    min-width: 140px;
}

.command-item span {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.faq-card {
    padding: 1.5rem;
    height: 100%;
}

.faq-card h5 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.faq-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* ============================================
   关于我们页
   ============================================ */
.about-image {
    position: relative;
}

.image-card {
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-card img {
    max-width: 100%;
    border-radius: 15px;
}

.about-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.about-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.stat-item {
    padding: 1rem;
    text-align: center;
}

.stat-item .stat-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
}

.stat-item .stat-value {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary);
}

/* 团队 */
.team-card {
    padding: 2rem;
}

.team-avatar {
    width: 100px;
    height: 100px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary);
}

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

.team-card h4 {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

.team-role {
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.team-desc {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 0;
}

/* 联系我们 */
.contact-link {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem;
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 15px;
    transition: all var(--transition-normal);
    width: 100%;
}

.contact-link:hover {
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary);
    transform: translateY(-3px);
}

.contact-link i {
    font-size: 2rem;
}

/* ============================================
   页脚
   ============================================ */
.footer {
    background: linear-gradient(180deg, transparent 0%, rgba(var(--primary-rgb), 0.05) 100%);
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--glass-border);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.footer-desc {
    color: var(--text-secondary);
}

.footer h5 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links a::before {
    content: '';
    width: 0;
    height: 0;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 6px solid var(--primary);
    transition: all var(--transition-fast);
    opacity: 0;
}

.footer-links a:hover {
    color: var(--primary);
    transform: translateX(5px);
}

.footer-links a:hover::before {
    opacity: 1;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 45px;
    height: 45px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    font-size: 1.25rem;
    transition: all var(--transition-elastic);
    text-decoration: none;
}

.social-link:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #000;
    transform: translateY(-5px) rotate(10deg);
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    text-align: center;
}

.footer-bottom p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* ============================================
   Toast 通知
   ============================================ */
.glass-toast {
    border-radius: 12px;
}

.toast-body {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
}

/* ============================================
   响应式适配
   ============================================ */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background: var(--glass-bg);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-radius: 15px;
        padding: 1rem;
        margin-top: 1rem;
        border: 1px solid var(--glass-border);
    }
    
    .hero-section {
        min-height: auto;
        padding: 4rem 0;
    }
    
    .hero-logo {
        width: 120px;
        height: 120px;
    }
    
    .server-card {
        padding: 1rem;
    }
    
    .server-stat {
        min-width: 100px;
    }
    
    .donate-card.featured {
        transform: none;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 767.98px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin: 0.5rem 0 !important;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .glass-card {
        padding: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .footer-brand {
        justify-content: center;
    }
    
    .footer h5 {
        text-align: center;
    }
    
    .footer-links {
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

/* ============================================
   动画类
   ============================================ */
.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

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

.slide-in-left {
    animation: slideInLeft 0.5s ease forwards;
}

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

.slide-in-right {
    animation: slideInRight 0.5s ease forwards;
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

.scale-in {
    animation: scaleIn 0.5s ease forwards;
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

/* 3D 倾斜效果 */
[data-tilt] {
    transform-style: preserve-3d;
    perspective: 1000px;
}

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

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* 选择文本样式 */
::selection {
    background: rgba(var(--primary-rgb), 0.3);
    color: var(--text-primary);
}
