* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #bde0d9;
    color: #222;
    line-height: 1.6;
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
}

/* Кнопка переключения языка */
.lang-switch {
    position: fixed;
    top: 16px;
    left: 16px;
    z-index: 100;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid #222;
    border-radius: 4px;
    padding: 0.25rem 0.5rem;
    font-size: 0.85rem;
    cursor: pointer;
    color: #222;
    transition: all 0.2s ease;
}

.lang-switch:hover {
    background: rgba(255, 255, 255, 0.5);
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
}

/* Голографический эффект для логотипа — без квадратной рамки */
.hologram-logo {
    position: relative;
    display: inline-block;
    background: transparent; /* ← убираем фон */
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
    backdrop-filter: blur(5px);
    padding: 12px; /* немного отступа, чтобы не прилипало */
    border-radius: 50%; /* ← делаем круглым */
    overflow: hidden;
}

.hologram-logo img {
    display: block;
    width: 120px;
    height: 120px;
    object-fit: contain;
    filter: brightness(1.2);
    transition: all 0.3s ease;
}

.hologram-logo::before,
.hologram-logo::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.4;
    pointer-events: none;
    background: url('logo.svg') no-repeat center;
    background-size: contain;
    filter: blur(1px);
    z-index: 1;
    border-radius: 50%; /* ← делаем слои круглыми */
}

.hologram-logo::before {
    color: #ff00ff;
    animation: glitch-logo 2s infinite;
}

.hologram-logo::after {
    color: #00ffff;
    animation: glitch-logo 2s infinite reverse;
}

.scan-line {
    position: absolute;
    width: 100%;
    height: 2px;
    background: linear-gradient(
        to right,
        transparent,
        rgba(0, 255, 255, 0.8),
        transparent
    );
    top: 0;
    left: 0;
    animation: scan 2s linear infinite;
    filter: blur(1px);
    z-index: 2;
    border-radius: 50%; /* ← сканирующая линия тоже круглая */
}

@keyframes glitch-logo {
    0%, 100% { transform: translateX(0); opacity: 0.3; }
    20% { transform: translateX(-3px); opacity: 0.5; }
    40% { transform: translateX(3px); opacity: 0.7; }
    60% { transform: translateX(-2px); opacity: 0.5; }
    80% { transform: translateX(2px); opacity: 0.3; }
}

@keyframes scan {
    0% { top: -10%; }
    100% { top: 110%; }
}

/* Приветствие */
.intro h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.intro p {
    font-size: 1rem;
    text-align: justify;
    text-align-last: left;
    max-width: 600px;
    margin: 0 auto 1rem;
    padding: 0 1rem;
    hyphens: none;
    word-spacing: normal;
}

/* Оборудование */
.gear h2 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 600;
}

.category h3 {
    font-size: 1.15rem;
    margin: 1rem 0 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.category ul {
    list-style: none;
    padding-left: 1rem;
    margin: 0.5rem 0;
}

.category li {
    margin: 0.25rem 0;
    font-size: 1rem;
}

.category ul ul {
    padding-left: 1.5rem;
    font-size: 0.9rem;
    margin-top: 0.25rem;
}

/* Разделитель */
.divider {
    width: 100%;
    border: none;
    border-top: 2px solid #222;
    margin: 1.2rem 0;
}

/* Кнопки фотостоков */
.stock-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
    margin: 0.5rem 0;
}

.stock-btn {
    display: block;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: none;
    border-radius: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    text-decoration: none;
    color: #222;
    font-weight: 500;
    text-align: center;
    transition: all 0.25s ease;
    cursor: pointer;
}

.stock-btn:hover {
    background: rgba(255, 255, 255, 0.55);
    transform: translateY(-2px);
}

.stock-btn:active {
    transform: translateY(0);
    background: rgba(255, 255, 255, 0.45);
}

/* Соцсети */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 1.8rem;
    margin-top: 0.8rem;
}

.social-icons a {
    display: inline-block;
    color: #222 !important;
    transition: transform 0.25s ease;
}

.social-icons a:hover {
    transform: scale(1.25);
}

.social-icons a:active {
    transform: scale(1.15);
}

/* Адаптивность */
@media (max-width: 600px) {
    .container {
        padding: 1rem;
        gap: 1rem;
    }

    .logo img {
        width: 100px;
        height: 100px;
    }

    .intro h1 {
        font-size: 1.5rem;
    }

    .intro p {
        font-size: 0.9rem;
    }

    .gear h2 {
        font-size: 1.1rem;
    }

    .category h3 {
        font-size: 1rem;
    }

    .category li {
        font-size: 0.9rem;
    }

    .stock-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }

    .social-icons a svg {
        width: 36px;
        height: 36px;
    }
}