/* 墨提斯今天也不开心 - 哥特风格样式 */

:root {
    --primary-color: #1a1a1a;
    --secondary-color: #333333;
    --accent-color: #ccffcc;
    --text-color: #e0e0e0;
    --bg-color: #0a0a0a;
    --card-bg: #1a1a1a;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    --border-radius: 0;
    --tag-bg: #2a2a2a;
    --tag-text: #e0e0e0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

/* Header 样式 */
header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 2rem 0;
    text-align: center;
    border-bottom: 3px solid var(--accent-color);
    position: relative;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 30%, rgba(220, 53, 69, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.site-title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 300;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.site-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.nav-links {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.nav-link {
    color: white;
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border-radius: 0;
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-weight: 500;
    position: relative;
    overflow: hidden;
    letter-spacing: 1px;
}

.nav-link:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    transform: translateY(0);
    box-shadow: 0 0 15px rgba(220, 53, 69, 0.4);
    letter-spacing: 2px;
}

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

.nav-link:hover::before {
    left: 100%;
}

/* Main Content 样式 */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
    background: var(--bg-color);
    color: var(--text-color);
}

.container {
    max-width: 800px;
    margin: 0 auto;
}

.section {
    margin-bottom: 4rem;
}

#welcome {
    background: var(--card-bg);
    margin: 0 -1rem 4rem -1rem;
    padding: 3rem 1rem;
}

#welcome h2 {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 2rem;
}

.intro-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    max-width: 100%;
}

.intro-text {
    flex: 1;
    min-width: 0;
}

.intro-text p {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.hidden-message {
    color: rgba(45, 52, 54, 0.3);
    font-size: 0.8rem;
    margin-top: 0.5rem;
    text-align: center;
}

/* Welcome Section */
#welcome {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow);
}

.intro-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.intro-text {
    flex: 1;
    min-width: 300px;
}

.intro-text p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.character-image {
    flex-shrink: 0;
}

.anime-avatar {
    width: 120px;
    height: 120px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    position: relative;
    box-shadow: var(--shadow);
}

.anime-avatar::before {
    content: '';
    position: absolute;
    top: 30%;
    left: 30%;
    width: 40%;
    height: 40%;
    background: white;
    border-radius: 50%;
    opacity: 0.8;
}

.anime-avatar::after {
    content: '';
    position: absolute;
    top: 35%;
    left: 35%;
    width: 30%;
    height: 30%;
    background: var(--text-color);
    border-radius: 50%;
}

/* Content Grid */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

/* Article Cards */
.article-card {
    background: var(--card-bg);
    border-radius: 0;
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
    border-left: 3px solid var(--accent-color);
    border-right: 1px solid var(--secondary-color);
    border-top: 1px solid var(--secondary-color);
    border-bottom: 1px solid var(--secondary-color);
    position: relative;
    overflow: hidden;
}

.article-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(204, 255, 204, 0.1);
    border-left-width: 5px;
    background: #222222;
}


.article-card h3 {
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.article-meta {
    font-size: 0.9rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.tag {
    display: inline-block;
    background: var(--tag-bg);
    color: var(--tag-text);
    padding: 0.3rem 1rem;
    border-radius: 0;
    font-size: 0.8rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    border: 1px solid var(--accent-color);
    font-weight: bold;
}

.read-more {
    display: inline-block;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.read-more:hover {
    color: var(--primary-color);
}

/* Footer */
footer {
    background: var(--primary-color);
    color: var(--text-color);
    text-align: center;
    padding: 2rem 0;
    margin-top: 3rem;
}

footer p {
    margin-bottom: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .site-title {
        font-size: 2rem;
    }

    .nav-links {
        flex-direction: column;
        gap: 1rem;
    }

    .intro-content {
        flex-direction: column;
        text-align: center;
    }

    .content-grid {
        grid-template-columns: 1fr;
    }
}

/* 深层次的表达样式 - 通过细微变化传达思想 */
.article-card:nth-child(odd) {
    border-left-color: var(--accent-color);
}

.article-card:hover {
    border-left-width: 6px;
}

/* 革命色彩的暗示 */
@media (prefers-color-scheme: dark) {
    :root {
        --primary-color: #e55039;
        --accent-color: #f8c291;
    }

    .article-card:hover {
        background: linear-gradient(135deg, var(--card-bg), #f0f0f0);
    }
}

/* 查看更多按钮样式 */
.more-btn-container {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

.more-btn {
    display: inline-block;
    background: var(--primary-color);
    color: white !important;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
}

.more-btn:hover {
    background: transparent;
    color: var(--primary-color) !important;
}