body {
    background: #111;
    color: #00ff00;
    font-family: 'Consolas', 'Courier New', monospace;
    margin: 0;
    padding: 0;
}
a {
    color: #00ff00;
    text-decoration: underline;
}
.header, .footer {
    background: #222;
    padding: 20px;
    text-align: center;
    letter-spacing: 2px;
    position: relative;
}
.container {
    max-width: 800px;
    margin: 40px auto;
    background: #181818;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 0 10px #00ff0055;
}
.lang-switch {
    position: relative;
    margin-left: 20px;
    float: none;
    margin-top: 0;
}
.button {
    background: #ff0000;
    color: #ffffff;
    border: 1px solid #ff0000;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.2s;
}
.button:hover {
    background: #cc0000;
    color: #ffffff;
}
@media (max-width: 600px) {
    .container {
        max-width: 98vw;
        margin: 10px 1vw;
        padding: 12px;
    }
    .header, .footer {
        padding: 12px;
        font-size: 1rem;
    }
    .lang-switch {
        right: 10px;
        top: 10px;
    }
    h2, h3 {
        font-size: 1.1rem;
    }
    ul {
        padding-left: 18px;
    }
    .button {
        padding: 6px 10px;
        font-size: 0.95rem;
    }
}
.intro-section {
    background: #181818;
    border: 1.5px solid #00ff00;
    border-radius: 8px;
    padding: 22px 18px 16px 18px;
    margin: 18px 0 28px 0;
    color: #e0ffe0;
    box-shadow: 0 0 8px #00ff0033;
    font-size: 1.08rem;
    line-height: 1.7;
}
.intro-section h2 {
    color: #00ff00;
    font-size: 1.3rem;
    margin-bottom: 10px;
    letter-spacing: 1px;
}
.intro-section details {
    margin-bottom: 10px;
    background: #111;
    border-radius: 5px;
    border-left: 3px solid #00ff00;
    padding: 8px 10px 8px 14px;
}
.intro-section summary {
    color: #00ff00;
    font-weight: bold;
    font-size: 1.08rem;
    cursor: pointer;
    outline: none;
}
.intro-section ul {
    margin: 8px 0 0 0;
    padding-left: 20px;
}
.intro-section li {
    margin-bottom: 7px;
    color: #e0ffe0;
}
.intro-section .en {
    color: #7fff7f;
    font-size: 0.98em;
    display: block;
    margin-top: 2px;
}
.intro-note {
    margin-top: 16px;
    padding: 10px 12px;
    background: #222;
    border-left: 3px solid #ff0000;
    border-radius: 5px;
    color: #fff;
    font-size: 1rem;
}
@media (max-width: 700px) {
    .intro-section {
        padding: 10px 4vw 8px 4vw;
        font-size: 0.98rem;
    }
    .intro-section h2 {
        font-size: 1.05rem;
    }
    .intro-section details {
        padding: 6px 4px 6px 8px;
    }
    .intro-section .en {
        font-size: 0.93em;
    }
    .intro-note {
        font-size: 0.93rem;
    }
}
.main-flex {
    display: flex;
    gap: 32px;
    align-items: flex-start;
    margin-bottom: 18px;
}
.main-left {
    flex: 1 1 0;
    min-width: 0;
}
.main-right {
    flex: 0 0 340px;
    background: #181818;
    border: 1.5px solid #00ff00;
    border-radius: 8px;
    padding: 18px 16px 12px 16px;
    box-shadow: 0 0 8px #00ff0033;
    color: #e0ffe0;
    min-width: 240px;
    max-width: 380px;
}
.latest-posts-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.latest-posts-list li {
    margin-bottom: 10px;
    border-bottom: 1px solid #222;
    padding-bottom: 6px;
    font-size: 1.04rem;
}
.latest-posts-list li:last-child {
    border-bottom: none;
}
.latest-posts-list a {
    color: #00ff00;
    text-decoration: none;
    font-weight: bold;
}
.latest-posts-list a:hover {
    color: #fff;
}
@media (max-width: 900px) {
    .main-flex {
        flex-direction: column;
        gap: 0;
    }
    .main-right {
        max-width: 100%;
        margin-top: 18px;
    }
}
.main-left .search-box {
    width: 100%;
    max-width: none;
    margin-bottom: 18px;
    display: flex;
}
.main-left .search-box input[type='text'] {
    width: 100%;
    max-width: none;
    box-sizing: border-box;
    display: inline-block;
}
.main-left .search-box button {
    flex-shrink: 0;
}
.social-row {
    text-align: center;
    margin-bottom: 18px;
    display: flex;
    justify-content: center;
    gap: 22px;
}
.social-btn {
    display: inline-block;
    background: #181818;
    border: 2px solid #00ff00;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    line-height: 48px;
    text-align: center;
    transition: background 0.2s, box-shadow 0.2s, border 0.2s;
    box-shadow: 0 0 8px #00ff0033;
    margin: 0 2px;
}
.social-btn:hover {
    background: #00ff00;
    border-color: #ff0000;
    box-shadow: 0 0 16px #00ff00cc;
}
.social-btn svg {
    vertical-align: middle;
    margin-top: 2px;
}
@media (max-width: 600px) {
    .social-row {
        gap: 10px;
    }
    .social-btn {
        width: 38px;
        height: 38px;
        line-height: 38px;
    }
    .social-btn svg {
        width: 22px;
        height: 22px;
    }
}
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #222;
    padding: 0 20px;
    min-height: 56px;
    position: relative;
}
.navbar-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #222;
    border-top: 1px solid #00ff00;
    padding: 8px 20px;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.navbar-menu.active {
    display: block;
}
.nav-item {
    position: relative;
    margin-bottom: 4px;
}
.nav-link {
    color: #00ff00;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1.1rem;
    white-space: nowrap;
    position: relative;
}
.nav-link:hover {
    background: #333;
    color: #fff;
}
.nav-link::after {
    content: '';
    display: none;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #00ff00;
    margin-left: 4px;
    transition: transform 0.3s ease;
}
.nav-link.has-children::after {
    display: inline-block;
}
.nav-link.has-children:hover::after {
    transform: rotate(180deg);
}
.dropdown {
    position: static;
    background: #181818;
    border: none;
    border-radius: 4px;
    padding: 8px 0;
    margin: 4px 0 4px 16px;
    display: none;
    box-shadow: none;
}
.nav-item:hover .dropdown {
    display: block;
}
.subcat-link {
    display: block;
    padding: 8px 16px;
    color: #00ff00;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
    white-space: nowrap;
}
.subcat-link:hover {
    background: #333;
    color: #fff;
}
.menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    color: #00ff00;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}
.menu-toggle:hover {
    color: #fff;
}
.header {
    display: flex;
    align-items: center;
    gap: 20px;
}
.navbar-logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #00ff00;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.lang-switch {
    background: none;
    border: 1px solid #00ff00;
    color: #00ff00;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}
.lang-switch:hover {
    background: #00ff00;
    color: #000;
}
/* iPad 和类似尺寸的平板设备 */
@media (min-width: 701px) and (max-width: 1024px) {
    .header {
        gap: 18px;
    }
    
    .navbar-logo {
        font-size: 1.35rem;
    }
    
    .lang-switch {
        font-size: 1.05rem;
        padding: 6px 14px;
    }
    
    .menu-toggle {
        width: 44px;
        height: 44px;
        font-size: 1.6rem;
    }
    
    .navbar-menu {
        padding: 10px 25px;
    }
    
    .nav-link {
        font-size: 1.05rem;
        padding: 8px 12px;
    }
    
    .subcat-link {
        padding: 8px 14px;
        font-size: 1rem;
    }
}
@media (max-width: 700px) {
    .header {
        gap: 10px;
    }
    
    .navbar-logo {
        font-size: 1.1rem;
    }
    
    .lang-switch {
        font-size: 0.95rem;
        padding: 4px 10px;
    }
    
    .menu-toggle {
        width: 36px;
        height: 36px;
        font-size: 1.4rem;
    }
    
    .navbar-menu {
        padding: 6px 15px;
    }
    
    .nav-link {
        font-size: 0.95rem;
        padding: 6px 10px;
    }
    
    .subcat-link {
        padding: 6px 12px;
        font-size: 0.95rem;
    }
} 