/* 全局样式 - Vision OS风格 */
:root {
    --primary-color: #4c8df5;
    --primary-dark: #3a7be0;
    --secondary-color: #222639;
    --accent-color: #5ee7df;
    --light-color: #f8f9fc;
    --dark-color: #101425;
    --text-color: #333;
    --text-muted: #6c757d;
    --glass-bg: rgba(255, 255, 255, 0.65);
    --glass-dark-bg: rgba(20, 26, 46, 0.8);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-shadow: rgba(31, 38, 135, 0.15);
    --neon-glow: 0 0 15px rgba(92, 231, 223, 0.5);
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    background-color: #f0f3f9;
    line-height: 1.6;
    overflow-x: hidden;
    background: linear-gradient(135deg, #f6f9ff 0%, #e9f1ff 100%);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

.section-title {
    position: relative;
    font-size: 2.8rem;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
    letter-spacing: -0.5px;
    background: linear-gradient(90deg, var(--secondary-color), #4a5274);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.divider {
    height: 4px;
    width: 70px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
    margin-bottom: 2rem;
}

/* 导航栏样式 - Vision OS风格 */
.navbar {
    background-color: var(--glass-dark-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 0.8rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 8px 32px 0 var(--glass-shadow);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    position: relative;
}

.navbar-logo {
    height: 30px;
    width: auto;
    display: inline-block;
    vertical-align: middle;
}

.navbar-brand::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 60%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 10px;
    box-shadow: var(--neon-glow);
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    padding: 0.5rem 1rem;
    margin: 0 0.25rem;
    border-radius: 12px;
    position: relative;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 3px;
    box-shadow: var(--neon-glow);
}

/* Hero 部分 - Vision OS风格 */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6)), url('../images/minecraft-bg.jpg');
    background-size: cover;
    background-position: center;
    height: 100vh;
    color: white;
    position: relative;
    margin-top: -76px; /* 调整顶部边距以容纳固定导航栏 */
    padding-top: 76px;
}

.hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 6rem;
    font-weight: 700;
    letter-spacing: -1px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    background: linear-gradient(90deg, #ffffff, #e0e7ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
}

.hero .lead {
    font-size: 1.8rem;
    font-weight: 300;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.hero-tagline {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 15px 25px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn {
    border-radius: 15px;
    padding: 12px 28px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.hero .btn-primary {
    background: rgba(76, 141, 245, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 20px rgba(76, 141, 245, 0.3);
}

.hero .btn-primary:hover {
    background: rgba(76, 141, 245, 0.95);
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(76, 141, 245, 0.4), var(--neon-glow);
}

.hero .btn-outline-light {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.1);
}

.hero .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(255, 255, 255, 0.15);
}

/* 特色部分 - Vision OS风格 */
#features {
    background: linear-gradient(135deg, #f0f4ff 0%, #e2e9ff 100%);
    padding: 8rem 0;
}

.feature-card {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 2.5rem;
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 15px 35px var(--glass-shadow);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(31, 38, 135, 0.25), var(--neon-glow);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card .icon-container {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: var(--neon-glow), 0 10px 20px rgba(92, 231, 223, 0.3);
}

.feature-card .icon-container i {
    font-size: 2.2rem;
}

.feature-card h3 {
    margin-bottom: 1.2rem;
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.feature-card p {
    color: var(--text-muted);
    margin-bottom: 0;
    font-size: 1.05rem;
    flex-grow: 1;
}

/* 展示部分 - Vision OS风格 */
#showcase {
    background: linear-gradient(135deg, #e8eeff 0%, #d9e3ff 100%);
    padding: 8rem 0;
}

.showcase-card {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 15px 35px var(--glass-shadow);
    height: 100%;
    overflow: hidden;
    position: relative;
}

.showcase-img {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.showcase-img img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.showcase-img:hover img {
    transform: scale(1.05);
}

.showcase-text h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.showcase-text p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* 加入我们部分 - Vision OS风格 */
#join {
    background: linear-gradient(135deg, #e6f0ff 0%, #d5e3ff 100%);
    padding: 8rem 0;
}

.join-info {
    padding: 2.5rem;
}

.join-info h3 {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.list-group-item {
    background: transparent;
    border-left: none;
    border-right: none;
    padding: 1rem 0;
    color: var(--text-color);
    font-size: 1.05rem;
}

.join-card {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    padding: 3rem;
    box-shadow: 0 15px 35px var(--glass-shadow);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.join-card::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, var(--accent-color) 0%, transparent 70%);
    opacity: 0.3;
    border-radius: 50%;
}

.server-info-box {
    background: var(--glass-dark-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    color: white;
    padding: 2rem;
    border-radius: 20px;
    margin-top: 2rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.server-info-box h4 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.server-address-large {
    font-size: 1.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 服务器信息模态框 - Vision OS风格 */
.modal-content {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
}

.modal-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1.5rem;
}

.modal-body {
    padding: 2rem;
}

.modal-footer {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1.5rem;
}

.server-address {
    display: flex;
    align-items: center;
    justify-content: center;
}

.server-address code {
    background: rgba(0, 0, 0, 0.05);
    padding: 8px 15px;
    border-radius: 10px;
}

/* 常见问题部分 - Vision OS风格 */
#faq {
    background: linear-gradient(135deg, #eef4ff 0%, #dfe9ff 100%);
    padding: 8rem 0;
}

.accordion {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px var(--glass-shadow);
}

.accordion-item {
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
}

.accordion-item:first-child {
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.accordion-item:last-child {
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.accordion-button {
    padding: 1.25rem 1.5rem;
    font-weight: 500;
    color: var(--secondary-color);
    background: transparent;
}

.accordion-button:not(.collapsed) {
    color: var(--primary-color);
    background: rgba(76, 141, 245, 0.05);
}

.accordion-body {
    padding: 1.5rem;
    color: var(--text-muted);
}

/* 页脚 - Vision OS风格 */
.footer {
    background: var(--glass-dark-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    color: white;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem 0 2rem;
}

.footer-brand {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: inline-block;
    background: linear-gradient(90deg, #ffffff, #e0e7ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer a {
    color: rgba(255, 255, 255, 0.75);
    transition: color 0.3s ease;
}

.footer-link {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-weight: 500;
}

.footer-link:hover {
    color: white;
    text-decoration: underline;
}

.footer a:hover {
    color: white;
}

.footer-links h5 {
    margin-bottom: 1rem;
    color: white;
}

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

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

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--neon-glow);
}

.copyright {
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* 响应式调整 */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 4.5rem;
    }
    
    .feature-card {
        height: auto;
        min-height: 320px;
    }
}

/* 针对平板电脑和小型显示器的断点 */
@media (min-width: 768px) and (max-width: 991px) {
    #features .row {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    #features .col-md-4 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    .feature-card {
        min-height: 350px;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 3.5rem;
    }
    
    .hero {
        text-align: center;
    }
    
    #features, #showcase, #join, #faq {
        padding: 5rem 0;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .feature-card {
        min-height: 280px;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .feature-card, .join-card, .showcase-card {
        padding: 2rem;
        min-height: auto;
    }
    
    .btn {
        padding: 10px 20px;
    }
    
    #features {
        padding: 4rem 0;
    }
    
    #features .col-md-4 {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .feature-card .icon-container {
        width: 70px;
        height: 70px;
        margin-bottom: 1rem;
    }
    
    .feature-card .icon-container i {
        font-size: 1.8rem;
    }
    
    .feature-card h3 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
    
    .feature-card p {
        font-size: 0.95rem;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fadeInUp {
    animation: fadeInUp 0.6s ease-out forwards;
}

@keyframes floatingGlow {
    0% {
        box-shadow: 0 5px 15px rgba(92, 231, 223, 0.3);
        transform: translateY(0px);
    }
    50% {
        box-shadow: 0 15px 25px rgba(92, 231, 223, 0.4);
        transform: translateY(-5px);
    }
    100% {
        box-shadow: 0 5px 15px rgba(92, 231, 223, 0.3);
        transform: translateY(0px);
    }
}

.floating-glow {
    animation: floatingGlow 3s ease-in-out infinite;
}

.server-logo-img {
    width: 60%;
    height: 60%;
    object-fit: contain;
} 