:root {
    --bg-color: #121212;
    --primary-color: #eb8538;
    --primary-hover: #FF8F00;
    --text-color: #E0E0E0;
    --text-secondary: #9E9E9E;
    --card-bg: #1E1E1E;
    --online: #4CAF50;
    --offline: #F44336;

    --card-border: #3f362e;
    --card-border: #3f362e;
    --text-main: #e0e0e8;
    --text-secondary: #a0a0b0;
    --primary: #ff9752;
    --primary-hover: #ec7d4a;
    --error: #ff4757;
    --success: #1dd1a1;
    --transition: all 0.35s ease;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

.navbar {
    background-color: rgba(30, 30, 30, 0.9);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(255, 109, 0, 0.2);
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: bold;
    text-decoration: none;
}

.menu {
    display: flex;
    gap: 1.5rem;
}

.menu-item {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s;
    position: relative;
}

.menu-item:hover, .menu-item.active {
    color: var(--primary-color);
}

.menu-item.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-color);
    transition: all 0.3s;
}

.container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.hero {
    text-align: center;
    padding: 3rem 0;
}

.server-name {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.server-description {
    max-width: 800px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.server-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    font-size: 1.2rem;
}

.status-indicator {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--offline);
}

.status-indicator.online {
    background-color: var(--online);
}

.online-count {
    font-weight: bold;
    color: var(--primary-color);
}

.tg-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--primary-color);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
    margin-top: 1rem;
}

.tg-button:hover {
    background-color: var(--primary-hover);
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.feature-card {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: 8px;
    transition: transform 0.3s;
    border: 1px solid rgba(255, 109, 0, 0.1);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 109, 0, 0.3);
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-secondary);
}

.footer {
    text-align: center;
    padding: 2rem;
    margin-top: 3rem;
    color: var(--text-secondary);
    border-top: 1px solid rgba(255, 109, 0, 0.1);
}

















/* Стили для страницы правил */
.rules-section {
    background-color: var(--card-bg);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 109, 0, 0.1);
}

.section-title {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.2rem;
}

.rules-category {
    margin-bottom: 2.5rem;
}

.rules-category h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    border-bottom: 1px solid rgba(255, 109, 0, 0.3);
    padding-bottom: 0.5rem;
}

.rules-list {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.rules-list li {
    margin-bottom: 0.7rem;
    color: var(--text-secondary);
}

.punishment-list {
    list-style: none;
    padding-left: 0;
}

.punishment-list li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-secondary);
}

.punishment-list li::before {
    content: '•';
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

.punishment-type {
    color: var(--primary-color);
    font-weight: bold;
    display: inline-block;
    min-width: 80px;
}

.rules-note {
    margin-top: 2rem;
    padding: 1rem;
    background-color: rgba(255, 109, 0, 0.1);
    border-left: 3px solid var(--primary-color);
    color: var(--text-secondary);
}












/* Стили для страницы Заявка */

.page-wrapper {
    min-height: 100vh;
    padding: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--bg-darker);
}

.form-container {
    width: 100%;
    max-width: 600px;
    background-color: var(--card-bg);
    border-radius: 12px;
    border: 1px solid var(--card-border);
    box-shadow: 0 0px 30px #ff975267;
    overflow: hidden;
}

.form-header {
    padding: 2rem;
    border-bottom: 1px solid var(--card-border);
    background: linear-gradient(145deg, #241f1a 0%, #2c1e0f 100%);
}

.form-header h1 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    background: linear-gradient(to right, #e7945c, #fecb9b);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.form-header p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.application-form {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-main);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.9rem 1.2rem;
    background-color: rgba(59, 52, 45, 0.5);
    border: 1px solid var(--card-border);
    border-radius: 8px;
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.2);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 1rem 0;
}

.checkbox-group input {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
}

.checkbox-group label {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.checkbox-group a {
    color: var(--primary);
    text-decoration: none;
}

.checkbox-group a:hover {
    text-decoration: underline;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background-color: var(--primary);
    color: rgb(26, 26, 26);
    border: none;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.submit-btn:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
}

.submit-btn:active {
    transform: translateY(0);
}

.cooldown-notice {
    text-align: center;
    margin-top: 1.5rem;
    padding: 0.9rem;
    background-color: rgba(40, 40, 55, 0.5);
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    display: none;
}

.cooldown-notice #timer {
    color: var(--primary);
    font-weight: 500;
}

.error-message {
    color: var(--error);
    font-size: 0.85rem;
    margin-top: 0.5rem;
    display: none;
}

@media (max-width: 768px) {
    .page-wrapper {
        padding: 1rem;
    }
    
    .form-header {
        padding: 1.5rem;
    }
    
    .application-form {
        padding: 1.5rem;
    }
}














/* Стили для страницы Доната */
.donate-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.section-description {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.donate-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.donate-card {
    background: var(--card-bg);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s;
    border: 1px solid transparent;
}

.donate-card:hover {
    transform: translateY(-5px);
}

.donate-card.bronze {
    border-color: #cd7f32;
}

.donate-card.silver {
    border-color: #c0c0c0;
}

.donate-card.gold {
    border-color: #ffd700;
}

.donate-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.donate-card.bronze h3 {
    color: #cd7f32;
}

.donate-card.silver h3 {
    color: #c0c0c0;
}

.donate-card.gold h3 {
    color: #ffd700;
}

.price {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.benefits {
    text-align: left;
    margin-bottom: 2rem;
    min-height: 180px;
}

.benefits li {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    position: relative;
    padding-left: 1.5rem;
}

.benefits li::before {
    content: '✓';
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

.donate-button {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
    width: 100%;
}

.donate-button:hover {
    background: var(--primary-hover);
}

.donate-info {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.donate-info ol {
    padding-left: 1.5rem;
    margin: 1.5rem 0;
}

.donate-info li {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.warning {
    background: rgba(255, 0, 0, 0.1);
    padding: 1rem;
    border-radius: 4px;
    border-left: 3px solid #f44336;
    margin-top: 1.5rem;
}

.warning p {
    color: #f44336;
    margin: 0;
}

@media (max-width: 768px) {
    .donate-cards {
        grid-template-columns: 1fr;
    }
    
    .benefits {
        min-height: auto;
    }
}



















/* Стили для базы знаний */
.knowledge-base {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}


.categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.category-card {
    background: var(--card-bg);
    border-radius: 8px;
    padding: 1.5rem;
    border-left: 4px solid var(--primary-color);
}

.category-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.category-icon {
    width: 32px;
    height: 32px;
    margin-right: 1rem;
}

.articles-list {
    list-style: none;
    padding-left: 0;
}

.articles-list li {
    margin-bottom: 0.5rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 109, 0, 0.1);
}

.articles-list li:last-child {
    border-bottom: none;
}

.articles-list a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s;
    display: block;
}

.articles-list a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.popular-articles {
    margin-top: 3rem;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.article-card {
    background: var(--card-bg);
    border-radius: 8px;
    padding: 1.5rem;
    display: block;
    color: var(--text-color);
    text-decoration: none;
    position: relative;
    transition: transform 0.3s;
    border: 1px solid rgba(255, 109, 0, 0.1);
}

.article-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 109, 0, 0.3);
}

.article-badge {
    position: absolute;
    top: -10px;
    right: 15px;
    background: var(--primary-color);
    color: white;
    padding: 0.2rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: bold;
}

@media (max-width: 768px) {
    .categories {
        grid-template-columns: 1fr;
    }
    
    .search-box {
        margin: 1rem 0;
    }
}



























/* Стили для страницы статьи */
.article-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1rem;
    line-height: 1.7;
}

.breadcrumbs {
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.breadcrumbs a {
    color: var(--text-secondary);
    text-decoration: none;
}

.breadcrumbs a:hover {
    color: var(--primary-color);
}

.article-header {
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 109, 0, 0.2);
    padding-bottom: 1.5rem;
}

.article-category {
    display: inline-block;
    background: rgba(255, 109, 0, 0.2);
    color: var(--primary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
    margin-bottom: 1rem;
}

.article-meta {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.article-image {
    width: 100%;
    border-radius: 8px;
    margin: 1.5rem 0;
    border: 1px solid rgba(255, 109, 0, 0.1);
}

.article-body h2 {
    color: var(--primary-color);
    margin: 2rem 0 1rem;
    border-bottom: 1px solid rgba(255, 109, 0, 0.1);
    padding-bottom: 0.5rem;
}

.article-body ul, .article-body ol {
    padding-left: 1.5rem;
    margin: 1rem 0;
}

.article-body li {
    margin-bottom: 0.5rem;
}

.minecraft-tip {
    background: rgba(255, 109, 0, 0.1);
    border-left: 4px solid var(--primary-color);
    padding: 1rem;
    border-radius: 0 4px 4px 0;
    margin: 1.5rem 0;
    display: flex;
    align-items: center;
}

.minecraft-tip img {
    width: 40px;
    height: 40px;
    margin-right: 1rem;
}

.minecraft-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

.minecraft-table th, .minecraft-table td {
    padding: 0.8rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 109, 0, 0.1);
}

.minecraft-table th {
    background: rgba(255, 109, 0, 0.1);
    color: var(--primary-color);
}

.code-block {
    background: #1e1e1e;
    padding: 1rem;
    border-radius: 4px;
    margin: 1.5rem 0;
    overflow-x: auto;
}

.code-block pre {
    margin: 0;
    font-family: 'Courier New', monospace;
    color: #f8f8f2;
}

.article-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.article-gallery img {
    width: 100%;
    border-radius: 4px;
    border: 1px solid rgba(255, 109, 0, 0.1);
}

.article-navigation {
    display: flex;
    justify-content: space-between;
    margin: 3rem 0;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 109, 0, 0.2);
    border-bottom: 1px solid rgba(255, 109, 0, 0.2);
}

.article-navigation a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.article-navigation a:hover {
    color: var(--primary-color);
}

.comments {
    margin-top: 3rem;
}

.comment {
    display: flex;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 109, 0, 0.1);
}

.comment-author {
    min-width: 150px;
    margin-right: 1.5rem;
}

.comment-author img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-bottom: 0.5rem;
}

.comment-text {
    flex-grow: 1;
}

.comment-date {
    display: block;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

.comment-form {
    margin-top: 2rem;
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 8px;
}

.comment-form textarea {
    width: 100%;
    min-height: 100px;
    padding: 1rem;
    margin: 1rem 0;
    background: var(--bg-color);
    border: 1px solid rgba(255, 109, 0, 0.2);
    border-radius: 4px;
    color: var(--text-color);
}

.comment-form button {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
}

.comment-form button:hover {
    background: var(--primary-hover);
}

@media (max-width: 768px) {
    .article-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .article-navigation {
        flex-direction: column;
        gap: 1rem;
    }
    
    .comment {
        flex-direction: column;
    }
    
    .comment-author {
        margin-bottom: 1rem;
    }
}































/* Стили для FAQ */
.faq-section {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.search-box {
    display: flex;
    margin: 2rem 0;
    max-width: 600px;
}

.search-box input {
    flex-grow: 1;
    padding: 0.8rem 1rem;
    border: 1px solid var(--primary-color);
    border-radius: 4px 0 0 4px;
    background: var(--card-bg);
    color: var(--text-color);
}

.search-box button {
    padding: 0 1.5rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: background 0.3s;
}

.search-box button:hover {
    background: var(--primary-hover);
}

.faq-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 1.5rem 0;
}

.category-btn {
    background: var(--card-bg);
    color: var(--text-color);
    border: 1px solid rgba(255, 109, 0, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
}

.category-btn:hover, .category-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.faq-accordion {
    margin: 2rem 0;
}

.faq-item {
    margin-bottom: 0.5rem;
    border-radius: 8px;
    overflow: hidden;
    background: var(--card-bg);
    border: 1px solid rgba(255, 109, 0, 0.1);
}

.faq-question {
    width: 100%;
    padding: 1.2rem 1.5rem;
    text-align: left;
    background: transparent;
    border: none;
    color: var(--text-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1.1rem;
    transition: background 0.3s;
}

.faq-question:hover {
    background: rgba(255, 109, 0, 0.1);
}

.toggle-icon {
    font-size: 1.5rem;
    font-weight: bold;
    margin-left: 1rem;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 1.5rem;
    background: rgba(255, 109, 0, 0.05);
}

.faq-item.active .faq-answer {
    padding: 1rem 1.5rem;
}

.faq-answer p, .faq-answer ul, .faq-answer ol {
    margin: 1rem 0;
}

.faq-answer li {
    margin-bottom: 0.5rem;
}

.faq-contact {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    margin-top: 3rem;
    border-left: 4px solid var(--primary-color);
}

.contact-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

.contact-btn {
    background: var(--primary-color);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    transition: background 0.3s;
}

.contact-btn:hover {
    background: var(--primary-hover);
}

@media (max-width: 768px) {
    .search-box {
        margin: 1rem 0;
    }
    
    .faq-question {
        padding: 1rem;
        font-size: 1rem;
    }
    
    .contact-links {
        flex-direction: column;
    }
    
    .contact-btn {
        width: 100%;
        text-align: center;
    }
}





























/* Стили для радио */
.radio-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.radio-stations {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.radio-card {
    background: var(--card-bg);
    border-radius: 8px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 109, 0, 0.1);
    transition: transform 0.3s;
}

.radio-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 109, 0, 0.3);
}

.radio-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.radio-logo {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
}

.radio-details h3 {
    margin: 0 0 0.3rem;
    color: var(--primary-color);
}

.radio-details p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.radio-listeners {
    font-size: 0.8rem;
    color: var(--text-secondary);
    display: block;
    margin-top: 0.3rem;
}

.radio-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.radio-controls button {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.6rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
    font-size: 1rem;
    min-width: 100px;
}

.radio-controls button:hover {
    background: var(--primary-hover);
}

.volume-slider {
    flex-grow: 1;
    accent-color: var(--primary-color);
    min-width: 100px;
}

.radio-notice {
    background: var(--card-bg);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 2rem;
    text-align: center;
    border-left: 4px solid var(--primary-color);
}

.radio-notice a {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .radio-stations {
        grid-template-columns: 1fr;
    }
    
    .radio-info {
        flex-direction: column;
        text-align: center;
    }
    
    .radio-controls {
        justify-content: center;
    }
}


















/* Стили для слайдера | главная страница фото */
.server-slider {
    position: relative;
    margin: 3rem 0;
}

.slider-container {
    position: relative;
    height: 500px;
    overflow: hidden;
    border-radius: 8px;
    border: 2px solid rgba(255, 109, 0, 0.3);
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    padding: 2rem;
    color: white;
}

.slider-prev, .slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 109, 0, 0.7);
    color: white;
    border: none;
    padding: 1rem;
    cursor: pointer;
    font-size: 1.5rem;
    z-index: 10;
}

.slider-prev {
    left: 0;
    border-radius: 0 5px 5px 0;
}

.slider-next {
    right: 0;
    border-radius: 5px 0 0 5px;
}

.slider-dots {
    text-align: center;
    margin-top: 1rem;
}

.dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--text-secondary);
    margin: 0 5px;
    cursor: pointer;
}

.dot.active {
    background: var(--primary-color);
}























/* Стили для мониторинга серверов */
.server-monitoring {
    margin: 4rem auto;
    max-width: 1200px;
    padding: 0 1rem;
}

.servers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.server-card {
    background: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 109, 0, 0.1);
    transition: transform 0.3s;
}

.server-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.server-header {
    background: rgba(255, 109, 0, 0.1);
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.server-header h3 {
    margin: 0;
    color: var(--primary-color);
    font-size: 1.3rem;
}

.server-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
}

.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #f44336; /* Красный - оффлайн */
    display: inline-block;
}

.status-indicator.online {
    background: #4caf50; /* Зелёный - онлайн */
}

.online-count {
    font-weight: bold;
    color: var(--primary-color);
}

.server-body {
    padding: 1.5rem;
}

.server-body p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.server-specs {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.server-specs span {
    background: rgba(255, 109, 0, 0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 50px;
    font-size: 0.9rem;
}

.server-btn {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.3s;
}

.server-btn:hover {
    background: var(--primary-hover);
}

@media (max-width: 768px) {
    .servers-grid {
        grid-template-columns: 1fr;
    }
    
    .server-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}


























/* Стили для новостей */
.server-news {
    margin: 4rem 0;
    position: relative;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.news-card {
    background: var(--card-bg);
    border-radius: 8px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 109, 0, 0.1);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 109, 0, 0.3);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.news-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.news-date {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.news-title {
    margin: 0 0 1rem;
    color: var(--primary-color);
    font-size: 1.2rem;
    flex-grow: 1;
}

.news-excerpt {
    margin: 0 0 1.5rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

.news-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-top: auto;
}

.news-link:hover {
    text-decoration: underline;
}

.all-news-link {
    text-align: center;
    margin-top: 2rem;
}

.all-news-link a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.all-news-link a:hover {
    text-decoration: underline;
}

/* Пагинация */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.page-btn {
    background: var(--card-bg);
    color: var(--text-color);
    border: 1px solid rgba(255, 109, 0, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    min-width: 40px;
    text-align: center;
}

.page-btn:hover {
    background: rgba(255, 109, 0, 0.1);
}

.page-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.page-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .news-card {
        padding: 1rem;
    }
}
























/* Стили для страницы клиента сервера */
.launcher-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.launcher-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.feature-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    border: 1px solid rgba(255, 109, 0, 0.1);
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 109, 0, 0.3);
}

.feature-card img {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.download-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin: 4rem 0;
    align-items: center;
}

.launcher-preview {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    border: 1px solid rgba(255, 109, 0, 0.1);
}

.launcher-screenshot {
    width: 100%;
    border-radius: 4px;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.version-info {
    text-align: left;
    padding: 1rem;
    background: rgba(255, 109, 0, 0.1);
    border-radius: 4px;
}

.version-info p {
    margin: 0.5rem 0;
}

.download-options {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 109, 0, 0.1);
}

.platform-option {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: center;
}

.platform-option img {
    width: 60px;
    height: 60px;
}

.download-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
    flex-wrap: wrap;
}

.download-btn {
    background: var(--primary-color);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 4px;
    text-decoration: none;
    transition: background 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.download-btn:hover {
    background: var(--primary-hover);
}

.download-btn span:last-child {
    font-size: 0.8rem;
    opacity: 0.8;
}

.download-btn.secondary {
    background: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

.download-btn.secondary:hover {
    background: rgba(255, 109, 0, 0.1);
}

.installation-guide {
    margin: 4rem 0;
}

.guide-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.step {
    display: flex;
    gap: 1.5rem;
}

.step-number {
    background: var(--primary-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.faq-block {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 8px;
    margin-top: 3rem;
    border-left: 4px solid var(--primary-color);
}

.faq-item {
    margin-bottom: 1rem;
}

.faq-question {
    width: 100%;
    padding: 1rem;
    text-align: left;
    background: rgba(255, 109, 0, 0.1);
    border: none;
    color: var(--text-color);
    cursor: pointer;
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
}

.faq-question.active::after {
    content: '-';
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 1rem;
}

.faq-question.active + .faq-answer {
    padding: 1rem;
    max-height: 200px;
}

@media (max-width: 1024px) {
    .download-section {
        grid-template-columns: 1fr;
    }
    
    .launcher-preview {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .launcher-features {
        grid-template-columns: 1fr;
    }
    
    .download-buttons {
        flex-direction: column;
    }
    
    .platform-option {
        flex-direction: column;
        text-align: center;
    }
}




















/* Стили для выпадающего меню */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-btn {
    background: transparent;
    color: var(--text-color);
    border: none;
    padding: 0.1rem;
    font-size: 1rem;
    cursor: pointer;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.dropdown-btn:hover, .dropdown:hover .dropdown-btn {
    color: var(--primary-color);
}

.dropdown-content {
    display: none;
    position: absolute;
    background: var(--card-bg);
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 0 0 8px 8px;
    border: 1px solid rgba(255, 109, 0, 0.2);
    border-top: none;
}

.dropdown-content a {
    color: var(--text-color);
    padding: 0.8rem 1rem;
    text-decoration: none;
    display: block;
    transition: background 0.3s;
}

.dropdown-content a:hover {
    background: rgba(255, 109, 0, 0.1);
    color: var(--primary-color);
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Адаптация для мобильных */
@media (max-width: 768px) {
    .dropdown {
        width: 100%;
    }
    
    .dropdown-btn {
        width: 100%;
        justify-content: space-between;
        padding: 1rem;
    }
    
    .dropdown-content {
        position: static;
        box-shadow: none;
        border: none;
        border-radius: 0;
        display: none;
    }
    
    .dropdown-content a {
        padding-left: 2rem;
        background: rgba(255, 109, 0, 0.05);
    }
    
    .dropdown.active .dropdown-content {
        display: block;
    }
}





























@media (max-width: 768px) {
    .menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--card-bg);
        padding: 1rem;
    }
    
    .menu.active {
        display: flex;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .server-name {
        font-size: 2rem;
    }
}