/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #6e44ff;
    --secondary-color: #f72585;
    --dark-bg: #0a0a0a;
    --medium-bg: #121212;
    --light-bg: #1e1e1e;
    --text-light: #ffffff;
    --text-dim: #b0b0b0;
    --accent-color: #4cc9f0;
    --danger-color: #f94144;
    --success-color: #43aa8b;
    --header-font: 'Orbitron', sans-serif;
    --body-font: 'Roboto', sans-serif;
    --transition: all 0.3s ease;
}

body {
    font-family: var(--body-font);
    background-color: var(--dark-bg);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--header-font);
    margin-bottom: 1rem;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: var(--accent-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

img {
    max-width: 100%;
    height: auto;
}

/* Header Styles */
header {
    background-color: rgba(10, 10, 10, 0.95);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0;
    letter-spacing: 1px;
}

.tagline {
    font-size: 0.8rem;
    color: var(--text-dim);
    letter-spacing: 2px;
    text-transform: uppercase;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 1.5rem;
}

nav ul li a {
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.5rem 0;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

nav ul li a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-light);
    margin: 2px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 80vh;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://via.placeholder.com/1920x1080?text=Schedule+1+Game') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary-color) 0%, transparent 70%);
    opacity: 0.3;
}

.hero-content {
    max-width: 800px;
    padding: 2rem;
    position: relative;
    z-index: 1;
}

.hero h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    letter-spacing: 2px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-dim);
}

.cta-button {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--text-light);
    padding: 0.8rem 2rem;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    color: var(--text-light);
}

.cta-button.secondary {
    background-color: transparent;
    border: 2px solid var(--secondary-color);
}

.cta-button.secondary:hover {
    background-color: var(--secondary-color);
}

.cta-button.discord {
    background-color: #5865F2;
}

.cta-button.discord:hover {
    background-color: #4752C4;
}

/* Game Overview Section */
.game-overview {
    padding: 5rem 0;
    background-color: var(--medium-bg);
}

.game-overview h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.overview-content {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.overview-text {
    flex: 1;
}

.overview-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.key-features {
    margin-top: 2rem;
    background-color: var(--light-bg);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
}

.key-features h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.key-features ul {
    list-style-type: none;
}

.key-features ul li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.key-features ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.overview-image {
    flex: 1;
}

.image-placeholder {
    background-color: var(--light-bg);
    border-radius: 8px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dim);
    font-style: italic;
    border: 1px dashed var(--text-dim);
}

.image-placeholder.tall {
    height: 400px;
}

/* Getting Started Section */
.getting-started {
    padding: 5rem 0;
    background-color: var(--dark-bg);
}

.getting-started h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.guides-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.guide-card {
    background-color: var(--light-bg);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
}

.guide-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.guide-card .image-placeholder {
    height: 180px;
    border-radius: 8px 8px 0 0;
    border: none;
    background-color: var(--medium-bg);
}

.guide-card h3 {
    padding: 1.5rem 1.5rem 0.5rem;
    color: var(--accent-color);
}

.guide-card p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-dim);
}

.read-more {
    display: inline-block;
    margin: 0 1.5rem 1.5rem;
    font-weight: 700;
    position: relative;
}

.read-more::after {
    content: ' →';
    opacity: 0;
    transition: var(--transition);
}

.read-more:hover::after {
    opacity: 1;
    margin-left: 5px;
}

/* Advanced Strategies Section */
.advanced-strategies {
    padding: 5rem 0;
    background-color: var(--medium-bg);
}

.advanced-strategies h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.strategy-content {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.strategy-text {
    flex: 1;
}

.strategy-text p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.strategy-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.highlight {
    background-color: var(--light-bg);
    padding: 1.5rem;
    border-radius: 8px;
    border-top: 3px solid var(--secondary-color);
}

.highlight h4 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.highlight p {
    margin-bottom: 0;
    font-size: 0.9rem;
}

.strategy-image {
    flex: 1;
}

/* Latest Updates Section */
.latest-updates {
    padding: 5rem 0;
    background-color: var(--dark-bg);
}

.latest-updates h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.updates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.update-card {
    background-color: var(--light-bg);
    border-radius: 8px;
    padding: 1.5rem;
    transition: var(--transition);
}

.update-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.update-date {
    color: var(--accent-color);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.update-card h3 {
    margin-bottom: 1rem;
}

.update-card p {
    color: var(--text-dim);
    margin-bottom: 1rem;
}

/* Community Spotlight Section */
.community-spotlight {
    padding: 5rem 0;
    background-color: var(--medium-bg);
}

.community-spotlight h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.testimonials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.testimonial {
    background-color: var(--light-bg);
    padding: 2rem;
    border-radius: 8px;
    position: relative;
}

.testimonial::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 15px;
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.2;
    font-family: Georgia, serif;
}

.quote {
    font-style: italic;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.author {
    color: var(--accent-color);
    font-weight: 700;
}

.community-cta {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
    background-color: var(--light-bg);
    border-radius: 8px;
}

.community-cta h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.community-cta p {
    margin-bottom: 1.5rem;
}

/* Footer */
footer {
    background-color: var(--dark-bg);
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--light-bg);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 3rem;
}

.footer-logo h2 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.footer-logo p {
    color: var(--text-dim);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
}

.link-column h3 {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.link-column ul {
    list-style: none;
}

.link-column ul li {
    margin-bottom: 0.5rem;
}

.link-column ul li a {
    color: var(--text-dim);
    transition: var(--transition);
}

.link-column ul li a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--light-bg);
    color: var(--text-dim);
    font-size: 0.9rem;
}

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

.social-icon {
    color: var(--text-dim);
    transition: var(--transition);
}

.social-icon:hover {
    color: var(--accent-color);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .overview-content, .strategy-content {
        flex-direction: column;
    }
    
    .hero h2 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    nav ul {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .hero h2 {
        font-size: 2.2rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .footer-links {
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .hero {
        height: 60vh;
    }
    
    .hero h2 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    h2 {
        font-size: 2rem !important;
    }
    
    .footer-links {
        flex-direction: column;
    }
}




/* 在现有CSS基础上添加或修改这些样式 */

/* 修改标题基础样式，确保一致的间距 */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--header-font);
    margin-top: 2rem;      /* 添加顶部间距 */
    margin-bottom: 1rem;   /* 保持底部间距 */
    line-height: 1.2;
}

/* 针对指南内容中的标题特别设置 */
.guide-section h2,
.getting-started h2,
.game-overview h2,
.advanced-strategies h2,
.latest-updates h2,
.community-spotlight h2 {
    margin-top: 2.5rem;    /* 增加标题之间的间距 */
    margin-bottom: 1.5rem; /* 增加标题与内容之间的间距 */
}

/* 确保第一个标题没有过多顶部间距 */
section h2:first-child,
.guide-section h2:first-child {
    margin-top: 0;
}

/* 确保内容块之间有足够间距 */
p + h2,
ul + h2,
ol + h2 {
    margin-top: 2.5rem;    /* 确保内容后面的标题有足够间距 */
}

/* 列表样式 */
ul, ol {
    margin-bottom: 1.5rem; /* 确保列表与下一个元素有间距 */
}

/* 段落样式 */
p {
    margin-bottom: 1.5rem; /* 确保段落与下一个元素有间距 */
}
