* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --bg-primary: #000000;
    --bg-secondary: #0a0a0a;
    --bg-card: #111111;
    --text-primary: #00ff00;
    --text-secondary: #00cc00;
    --accent-primary: #00ff00;
    --accent-secondary: #00cc00;
    --border-color: #003300;
    --shadow-color: rgba(0, 255, 0, 0.1);
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

header {
    background: var(--bg-primary);
    color: var(--text-primary);
    text-align: center;
    padding: 2rem 1rem;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
}

.logo-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.logo {
    width: 95px;
    height: 45px;
    border-radius: 8px;
    border: none;
    object-fit: cover;
    filter: brightness(1.8) contrast(1.4) saturate(1.6);
    transition: all 0.3s ease;
}

    .logo:hover {
        filter: brightness(2) contrast(1.6) saturate(1.8);
        transform: scale(1.05);
    }

.org-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 1rem;
}

.org-logo {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    border: none;
    object-fit: cover;
    filter: brightness(1.2) contrast(1.1) saturate(1.1);
    transition: all 0.3s ease;
}

    .org-logo:hover {
        filter: brightness(1.3) contrast(1.2) saturate(1.2);
        transform: scale(1.05);
    }

.header-content h1 {
    font-size: 2.2rem;
    text-shadow: 0 0 10px var(--shadow-color);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem;
}

section {
    background: var(--bg-secondary);
    margin: 2rem 0;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: 0 5px 15px var(--shadow-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    section:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(0, 255, 0, 0.2);
    }

h2 {
    color: var(--accent-primary);
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0.5rem;
    font-weight: 600;
}

.text-link {
    color: var(--accent-primary);
    text-decoration: none;
    border-bottom: 1px dashed var(--accent-secondary);
    transition: all 0.3s ease;
}

    .text-link:hover {
        color: var(--text-primary);
        border-bottom: 1px solid var(--accent-primary);
        text-shadow: 0 0 5px var(--accent-primary);
    }

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.service-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--accent-primary);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    position: relative;
}

    .service-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0, 255, 0, 0.15);
        border-left-color: var(--accent-secondary);
    }

.card-link {
    color: var(--accent-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

    .card-link:hover {
        color: var(--text-primary);
        text-shadow: 0 0 8px var(--accent-primary);
    }

.service-card p {
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 1rem 0;
}

.btn {
    display: inline-block;
    background: transparent;
    color: var(--accent-primary);
    padding: 0.5rem 1rem;
    border: 1px solid var(--accent-primary);
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

    .btn:hover {
        background: var(--accent-primary);
        color: var(--bg-primary);
        box-shadow: 0 0 10px var(--accent-primary);
    }

.contact-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.contact-btn {
    display: block;
    background: var(--bg-card);
    color: var(--text-primary);
    padding: 1.5rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
}

    .contact-btn:hover {
        border-color: var(--accent-primary);
        box-shadow: 0 0 15px rgba(0, 255, 0, 0.2);
        transform: translateY(-2px);
    }

.contact-title {
    display: block;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--accent-primary);
    margin-bottom: 0.5rem;
}

.contact-platform {
    display: block;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.operation-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.date {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.result {
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
}

    .result.success {
        background: rgba(0, 255, 0, 0.1);
        color: var(--accent-primary);
        border: 1px solid var(--accent-primary);
    }

.achievements-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.achievement-item {
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--accent-primary);
}

    .achievement-item h3 {
        color: var(--accent-primary);
        margin-bottom: 0.5rem;
    }

    .achievement-item p {
        color: var(--text-secondary);
        line-height: 1.5;
    }

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
}

.stat-card {
    background: var(--bg-card);
    padding: 2rem 1rem;
    border-radius: 8px;
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

    .stat-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0, 255, 0, 0.1);
    }

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--accent-primary);
    text-shadow: 0 0 10px var(--shadow-color);
}

.stat-label {
    color: var(--text-secondary);
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

/* Стили для кликабельных логотипов */
.clickable-logo {
    cursor: pointer;
    transition: all 0.3s ease;
}

    .clickable-logo:hover {
        transform: scale(1.08);
        filter: brightness(1.4) contrast(1.2) saturate(1.3);
        box-shadow: 0 0 15px rgba(0, 255, 0, 0.3);
    }

/* Стили для модального окна */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    animation: modalFadeIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        backdrop-filter: blur(0px);
    }

    to {
        opacity: 1;
        backdrop-filter: blur(8px);
    }
}

.modal-content {
    background: linear-gradient(145deg, var(--bg-secondary) 0%, var(--bg-card) 100%);
    border: 1px solid var(--accent-primary);
    border-radius: 16px;
    padding: 2.5rem;
    width: 90%;
    max-width: 450px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 255, 0, 0.25), 0 0 0 1px rgba(0, 255, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    animation: modalSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform-origin: center;
}

@keyframes modalSlideIn {
    0% {
        opacity: 0;
        transform: scale(0.8) translateY(20px);
    }

    50% {
        transform: scale(1.02) translateY(-5px);
    }

    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-content::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, transparent, rgba(0, 255, 0, 0.2), transparent, rgba(0, 255, 0, 0.1));
    border-radius: 18px;
    z-index: -1;
    animation: borderGlow 3s ease-in-out infinite;
}

@keyframes borderGlow {
    0%, 100% {
        opacity: 0.7;
    }

    50% {
        opacity: 1;
    }
}

.close-btn {
    position: absolute;
    top: 18px;
    right: 22px;
    color: var(--accent-primary);
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(0, 255, 0, 0.4);
    z-index: 2;
}

    .close-btn:hover {
        color: var(--text-primary);
        background: rgba(255, 0, 0, 0.3);
        border-color: rgba(255, 0, 0, 0.7);
        transform: scale(1.2) rotate(90deg);
        box-shadow: 0 0 20px rgba(255, 0, 0, 0.5);
    }

    .close-btn:active {
        transform: scale(0.95) rotate(90deg);
    }

.modal-logo-container {
    text-align: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
}

.modal-logo {
    width: 180px;
    height: auto;
    border-radius: 12px;
    filter: brightness(1.3) contrast(1.2) saturate(1.3);
    transition: transform 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 255, 0, 0.3);
}

    .modal-logo:hover {
        transform: scale(1.08);
    }

.modal-info {
    text-align: center;
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
    position: relative;
}

    .modal-info::before {
        content: '';
        position: absolute;
        top: -1px;
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
        height: 2px;
        background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
    }

    .modal-info h3 {
        color: var(--accent-primary);
        margin-bottom: 1rem;
        font-size: 1.4rem;
        font-weight: 600;
        text-shadow: 0 0 12px rgba(0, 255, 0, 0.4);
        line-height: 1.3;
    }

    .modal-info p {
        color: var(--text-secondary);
        line-height: 1.5;
        font-size: 1rem;
        margin: 0;
        opacity: 0.9;
    }

/* Анимация закрытия */
.modal.closing {
    animation: modalFadeOut 0.25s ease-out forwards;
}

    .modal.closing .modal-content {
        animation: modalSlideOut 0.25s ease-out forwards;
    }

@keyframes modalFadeOut {
    from {
        opacity: 1;
        backdrop-filter: blur(8px);
    }

    to {
        opacity: 0;
        backdrop-filter: blur(0px);
    }
}

@keyframes modalSlideOut {
    from {
        opacity: 1;
        transform: scale(1) translateY(0);
    }

    to {
        opacity: 0;
        transform: scale(0.8) translateY(20px);
    }
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .logo-title {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .logo {
        width: 76px;
        height: 36px;
        filter: brightness(1.8) contrast(1.4) saturate(1.6);
    }

    .org-logos {
        gap: 1rem;
        margin-top: 0.5rem;
    }

    .org-logo {
        width: 50px;
        height: 50px;
        filter: brightness(1.2) contrast(1.1) saturate(1.1);
    }

    .header-content h1 {
        font-size: 1.8rem;
    }

    .container {
        padding: 1rem;
    }

    section {
        padding: 1.5rem;
        margin: 1rem 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .contact-links {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Адаптивность для модального окна */
    .modal-content {
        max-width: 380px;
        padding: 2rem;
        margin: 1rem;
    }

    .modal-logo {
        width: 150px;
    }

    .modal-info h3 {
        font-size: 1.2rem;
    }

    .modal-info p {
        font-size: 0.9rem;
    }

    .close-btn {
        top: 15px;
        right: 18px;
        width: 32px;
        height: 32px;
        font-size: 1.7rem;
    }
}

@media (max-width: 480px) {
    .modal-content {
        max-width: 320px;
        padding: 1.5rem;
    }

    .modal-logo {
        width: 130px;
    }

    .modal-info h3 {
        font-size: 1.1rem;
    }

    .modal-info p {
        font-size: 0.85rem;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

section {
    animation: fadeInUp 0.6s ease-out;
}

#services {
    animation-delay: 0.2s;
    animation-fill-mode: both;
}

#contact {
    animation-delay: 0.4s;
    animation-fill-mode: both;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--accent-primary);
    border-radius: 4px;
}

    ::-webkit-scrollbar-thumb:hover {
        background: var(--accent-secondary);
    }

h1, h2, h3 {
    text-shadow: 0 0 5px rgba(0, 255, 0, 0.3);
}
/* Стили для аватарок рейдеров */
/* Стили для аватарок рейдеров */
/* Стили для аватарок рейдеров */
/* Стили для аватарок рейдеров */
/* Стили для логотипа и заголовка */
/* Стили для логотипа и заголовка */
.logo-title {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 1rem;
    position: relative;
}

.logo {
    width: 95px;
    height: 45px;
    border-radius: 8px;
    border: none;
    object-fit: cover;
    filter: brightness(1.8) contrast(1.4) saturate(1.6);
    transition: all 0.3s ease;
    margin-top: 10px;
}

/* Контейнер для заголовка и аватарки */
.title-with-avatar {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    position: relative;
}

/* Стили для аватарок рейдеров */
.avatar-container {
    margin-top: 10px;
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

.raider-avatar {
    object-fit: cover;
    border: 3px solid var(--accent-primary);
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.6);
    background: var(--bg-card);
    transition: all 0.3s ease;
    z-index: 10;
    cursor: pointer;
}

    /* Индивидуальные размеры для каждого аватара */
    .raider-avatar[src*="mountain-guardian-avatar"] {
        width: 360px;
        height: 360px;
    }

    .raider-avatar[src*="podryvnik-avatar"] {
        width: 360px;
        height: 360px;
        border-radius: 50%;
    }

    .raider-avatar[src*="big-bob-avatar"] {
        width: 360px;
        height: 360px;
        border-radius: 10px;
    }

    .raider-avatar[src*="archangel-michael-avatar"] {
        width: 360px;
        height: 360px;
        border-radius: 50%;
    }

    /* Эффекты при наведении на аватарки */
    .raider-avatar:hover {
        transform: scale(1.1);
        box-shadow: 0 0 20px rgba(0, 255, 0, 0.8);
        filter: brightness(1.2) contrast(1.1);
    }

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .logo-title {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .logo {
        width: 76px;
        height: 36px;
        margin-top: 0;
        margin-bottom: 10px;
    }

    .title-with-avatar {
        align-items: center;
    }

    .avatar-container {
        justify-content: center;
        margin-top: 8px;
    }

    .raider-avatar[src*="mountain-guardian-avatar"] {
        width: 80px;
        height: 220px;
    }

    .raider-avatar[src*="podryvnik-avatar"] {
        width: 80px;
        height: 80px;
    }

    .raider-avatar[src*="big-bob-avatar"] {
        width: 85px;
        height: 89px;
    }

    .raider-avatar[src*="archangel-michael-avatar"] {
        width: 80px;
        height: 80px;
    }
}
/* Стили для флага ЗАС */
.zas-flag {
    margin: 20px 0;
    text-align: center;
    padding: 10px;
}

    .zas-flag img {
        max-width: 300px;
        width: 100%;
        height: auto;
        display: inline-block;
        border: 1px solid #ddd;
        border-radius: 5px;
    }
/* Стили для карточки союзников */
.allies-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}