* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Orbitron', 'Rajdhani', sans-serif;
}

:root {
    --primary: #8c7b6b;
    --primary-dark: #6b5d4f;
    --secondary: #3e3a37;
    --accent: #c19a6b;
    --dark: #2a2725;
    --darker: #1a1817;
    --light: #e6d5b8;
    --gray: #4a4540;
    --bronze: #cd7f32;
    --copper: #b87333;
    --brass: #b5a642;
	--red: #ff4d00;
}

body {
    background-color: var(--darker);
    color: var(--light);
    overflow-x: hidden;
    line-height: 1.6;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(140, 123, 107, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(193, 154, 107, 0.1) 0%, transparent 20%),
        url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%238c7b6b' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
}

/* Навигация */
nav {
    position: fixed;
    top: 0;
    width: 100%;
	height: 8%;
    background-color: rgba(26, 24, 23, 0.95);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--copper);
}

.logo img {
    height: 90px;
    filter: drop-shadow(0 0 5px rgba(193, 154, 107, 0.5)); 
}

.logo-bottom img {
    height: 192px;
    filter: drop-shadow(0 0 5px rgba(193, 154, 107, 0.5)); 
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
	font-size: 1.3em;
    color: var(--light);
    text-decoration: none;
    font-weight: 800;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
    letter-spacing: 1px;
}

.nav-links a:hover {
    color: var(--accent);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--copper), var(--brass));
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Герой-секция */
.hero {
    height: 100vh;
    background: 
        radial-gradient(ellipse at top, rgba(140, 123, 107, 0.2), transparent 70%),
        radial-gradient(ellipse at bottom, rgba(193, 154, 107, 0.1), transparent 70%),
        linear-gradient(rgba(26, 24, 23, 0.85), rgba(26, 24, 23, 0.9)), 
        /* ЗАМЕНИТЕ НА СВОЕ ФОНОВОЕ ИЗОБРАЖЕНИЕ В СТИЛЕ СТИМПАНК */
        url('../images/background.jpg') no-repeat center center/cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 2rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23c19a6b' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero-content {
    max-width: 800px;
    animation: fadeUp 1.5s ease-out;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, var(--brass), var(--copper));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 20px rgba(193, 154, 107, 0.3);
    letter-spacing: 2px;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    color: #d4c4a8;
    line-height: 1.8;
}

.server-info {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.info-card {
    background: rgba(62, 58, 55, 0.7);
    padding: 1.8rem;
    border-radius: 8px;
    min-width: 220px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(140, 123, 107, 0.5);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(193, 154, 107, 0.2), transparent);
    transition: left 0.5s ease;
}

.info-card:hover::before {
    left: 100%;
}

.info-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4);
    border-color: var(--brass);
}

.info-card h3 {
    color: var(--brass);
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-card i {
    color: var(--copper);
}

.cta-button {
    display: inline-block;
    background: linear-gradient(45deg, var(--copper), var(--bronze));
    color: var(--light);
    padding: 1rem 2.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    margin-top: 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(184, 115, 51, 0.4);
    border: 1px solid rgba(193, 154, 107, 0.3);
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(193, 154, 107, 0.3), transparent);
    transition: left 0.5s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(184, 115, 51, 0.6);
    background: linear-gradient(45deg, var(--bronze), var(--copper));
}

/* Секции */
section {
    padding: 6rem 2rem;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.section-title h2 {
    font-size: 2.8rem;
    display: inline-block;
    position: relative;
    color: var(--brass);
    letter-spacing: 2px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 3px;
    background: linear-gradient(to right, var(--copper), var(--brass));
    box-shadow: 0 0 10px rgba(193, 154, 107, 0.5);
}

/* Галерея */
.gallery {
    background-color: var(--dark);
    position: relative;
}

.gallery::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%238c7b6b' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1300px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 280px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    transition: all 0.4s ease;
    border: 1px solid rgba(140, 123, 107, 0.3);
}

.gallery-item:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.5);
    border-color: var(--brass);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(26, 24, 23, 0.9));
    padding: 1.5rem;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-button {
    display: block;
    margin: 3rem auto 0;
    text-align: center;
    width: fit-content;
}

/* Файлы */
.downloads {
    background-color: var(--darker);
    position: relative;
}

.downloads::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c19a6b' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.downloads-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.download-item {
    background: rgba(62, 58, 55, 0.6);
    border-radius: 8px;
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.4s ease;
    border-left: 5px solid var(--copper);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.download-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(193, 154, 107, 0.1), transparent);
    transition: left 0.5s ease;
}

.download-item:hover::before {
    left: 100%;
}

.download-item:hover {
    background: rgba(62, 58, 55, 0.8);
    transform: translateX(15px);
    border-left-color: var(--brass);
}

.download-info h3 {
    color: var(--brass);
    margin-bottom: 0.8rem;
    font-size: 1.4rem;
}

.download-info p {
    color: #d4c4a8;
    font-size: 1rem;
}

.download-button {
	display: inline-block;
    background: var(--copper);
    color: var(--light);
    border: none;
    padding: 0.9rem 2rem;
    border-radius: 5px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(184, 115, 51, 0.4);
    border: 1px solid rgba(193, 154, 107, 0.3);
}

.download-button:hover {
    background: var(--bronze);
    box-shadow: 0 6px 15px rgba(184, 115, 51, 0.6);
}

/* Карта */
.map-redirect {
    background: 
        radial-gradient(ellipse at center, rgba(140, 123, 107, 0.2), transparent 70%),
        linear-gradient(rgba(26, 24, 23, 0.9), rgba(26, 24, 23, 0.9)), 
        /* ЗАМЕНИТЕ НА СВОЕ ФОНОВОЕ ИЗОБРАЖЕНИЕ В СТИЛЕ СТИМПАНК */
        url('../images/background.jpg') no-repeat center center/cover;
    text-align: center;
    position: relative;
}

.map-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.map-content p {
    margin-bottom: 3rem;
    font-size: 1.2rem;
    color: #d4c4a8;
    line-height: 1.8;
}

.map-button {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: linear-gradient(45deg, var(--brass), var(--copper));
    color: var(--darker);
    padding: 1.2rem 3rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    transition: all 0.4s ease;
    box-shadow: 0 6px 20px rgba(193, 154, 107, 0.4);
    border: 1px solid rgba(205, 127, 50, 0.5);
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.map-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.map-button:hover::before {
    left: 100%;
}

.map-button:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(193, 154, 107, 0.6);
}

/* Скрытая админ-панель */
.admin-access {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(26, 24, 23, 0.8);
    border: 1px solid var(--copper);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 0 15px rgba(184, 115, 51, 0.5);
}

.admin-access:hover {
    background: rgba(62, 58, 55, 0.9);
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(193, 154, 107, 0.7);
}

.admin-access i {
    color: var(--brass);
    font-size: 1.5rem;
}

/* Футер */
footer {
    background-color: var(--secondary);
    padding: 4rem 2rem 2rem;
    text-align: center;
    border-top: 1px solid var(--copper);
    position: relative;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.footer-links {
	font-size: 1.3em;
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--light);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 600;
    letter-spacing: 1px;
}

.footer-links a:hover {
    color: var(--brass);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.social-links a {
    color: var(--light);
    font-size: 1.8rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--brass);
    transform: translateY(-8px);
}

.copyright {
    margin-top: 3rem;
    color: #a08c6c;
    font-size: 1rem;
}

/* Анимации */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Адаптивность */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .server-info {
        flex-direction: column;
        align-items: center;
    }

    .info-card {
        width: 100%;
        max-width: 300px;
    }

    .gallery-container {
        grid-template-columns: 1fr;
    }

    .download-item {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .download-item:hover {
        transform: translateY(-10px);
    }
}