:root {
    --primary-color: #2e7d32;
    --secondary-color: #4caf50;
    --text-color: #333;
    --bg-color: #f4f7f6;
    --white: #ffffff;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    margin: 0;
    padding: 0;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background: var(--white);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 15px 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
}

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

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
}

main {
    margin-top: 40px;
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

h1 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

h2 {
    color: var(--primary-color);
    margin-top: 30px;
    border-bottom: 2px solid var(--bg-color);
    padding-bottom: 10px;
}

h3 {
    color: var(--secondary-color);
    margin-top: 25px;
}

.cta-block {
    margin: 30px 0;
    display: flex;
    gap: 15px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: #1b5e20;
}

.btn-secondary {
    background: var(--secondary-color);
    color: var(--white);
}

.btn-secondary:hover {
    background: #388e3c;
}

footer {
    margin-top: 50px;
    padding: 30px 0;
    background: #263238;
    color: #cfd8dc;
    text-align: center;
}

.footer-links {
    margin-bottom: 15px;
}

.footer-links a {
    color: #cfd8dc;
    margin: 0 10px;
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--white);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    cursor: pointer;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

.server-status {
    margin: 30px 0;
    padding: 20px;
    background: #e8f5e9;
    border-radius: 8px;
}

.status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.status-item {
    display: flex;
    justify-content: space-between;
    font-weight: 500;
}

.status-online {
    color: #2e7d32;
    font-weight: bold;
}

.status-online::before {
    content: '●';
    margin-right: 5px;
}

.reviews-container {
    margin-top: 20px;
}

.review-card {
    background: #fff;
    border: 1px solid #eee;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.review-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    border-bottom: 1px solid #f5f5f5;
    padding-bottom: 5px;
}

.review-date {
    color: #999;
    font-size: 0.85rem;
}

.online-users {
    font-size: 0.85rem;
    color: #2e7d32;
    background: #e8f5e9;
    padding: 5px 10px;
    border-radius: 15px;
    font-weight: bold;
}

.news-container {
    margin-top: 20px;
}

.news-item {
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.news-date {
    font-size: 0.8rem;
    color: #999;
}

.news-item h4 {
    margin: 5px 0;
    color: var(--primary-color);
}

.news-item p {
    font-size: 0.95rem;
    margin: 0;
}

.update-date {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 10px;
    font-weight: 500;
}

.accordion-input {
    display: none;
}

.faq-question {
    display: block;
    padding: 15px;
    background: #f9f9f9;
    border-left: 4px solid var(--primary-color);
    cursor: pointer;
    font-weight: bold;
    transition: background 0.3s;
    position: relative;
}

.faq-question:hover {
    background: #f0f0f0;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 20px;
    font-size: 1.2rem;
}

.accordion-input:checked + .faq-question::after {
    content: '−';
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: #fff;
    border-left: 4px solid var(--primary-color);
}

.accordion-input:checked ~ .faq-answer {
    max-height: 200px;
    padding: 0 15px 15px 15px;
}

.faq-answer p {
    margin: 0;
    padding-top: 10px;
}
