:root {
    /* Основные цвета */
    --color-background: #1a1a1a; /* Тёмный фон */
    --color-text: #e6e6e6; /* Светлый текст */
    --color-heading: #8a0303; /* Тёмно-красный для заголовков */
    --color-link-hover: rgba(138, 3, 3, 0.7); /* Прозрачный красный при наведении */

    /* Акцентные цвета */
    --color-accent-1: #2e2e2e; /* Тёмно-серый */
    --color-accent-2: #3d0000; /* Тёмно-бордовый */
    --color-accent-3: #5e0000; /* Средне-бордовый */

    /* Фоновые цвета */
    --color-background-dark: #121212; /* Очень тёмный серый */
    --color-background-darker: #0a0a0a; /* Почти чёрный */
    --color-background-light: rgba(60, 60, 60, 0.2); /* Полупрозрачный серый */
    --color-background-lighter: rgba(80, 80, 80, 0.25); /* Более светлый полупрозрачный серый */

    /* Цвета контролов */
    --color-control: #202020; /* Тёмно-серый */
    --color-control-border: #8a0303; /* Тёмно-красный */

    /* Цвета кнопок */
    --color-button: #8a0303; /* Тёмно-красный */
    --color-button-hover: #b50404; /* Ярко-красный */
    --color-button-gradient-start: #8a0303; /* Тёмно-красный */
    --color-button-gradient-end: #500000; /* Тёмно-бордовый */

    /* Модальное окно */
    --color-modal-background: #1c1c1c; /* Тёмно-серый */
    --color-modal-text: #e6e6e6; /* Светлый текст */
    --color-modal-circle: #8a0303; /* Тёмно-красный */
}

body {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="300" height="300" viewBox="0 0 100 100"><path d="M20,20 L25,25 M30,20 L25,25 M25,15 L25,25" stroke="%230a0a0a" stroke-width="0.5" fill="none" opacity="0.3"/></svg>');
    background-color: var(--color-background);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

h1, h2, h3, h4 {
    font-family: "Montserrat", serif;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.header {
    background: linear-gradient(135deg, var(--color-accent-2) 0%, var(--color-background-dark) 100%);
    position: relative;
    overflow: hidden;
}

.header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M10,50 C20,40 30,60 40,50 C50,40 60,60 70,50 C80,40 90,60 100,50" stroke="%23300000" stroke-width="0.5" fill="none" opacity="0.3"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

.header-cont {
    position: relative;
    z-index: 1;
}

.main-button {
    background: linear-gradient(to right, var(--color-button-gradient-start), var(--color-button-gradient-end));
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.6);
    transition: transform 0.3s, box-shadow 0.3s;
}

.main-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.8);
}

.navbar {
    backdrop-filter: blur(5px);
    background-color: rgba(10, 10, 10, 0.7);
}

.navbar a {
    transition: color 0.3s, text-shadow 0.3s;
}

.navbar a:hover {
    color: var(--color-heading);
    text-shadow: 0 0 8px rgba(138, 3, 3, 0.5);
    opacity: 1;
}

.experience-item {
    background-color: var(--color-background-light);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
    border-left: 3px solid var(--color-accent-2);
}

.experience-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

.contact-wrapper {
    background: linear-gradient(145deg, var(--color-accent-2), var(--color-accent-3));
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    border: 3px solid var(--color-accent-2);
}

.col-wrapper .col {
    position: relative;
}

.img-col img {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
    transition: transform 0.5s, box-shadow 0.5s;
    filter: grayscale(30%) contrast(120%);
}

.img-col img:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.6);
    filter: grayscale(10%) contrast(130%);
}

.button {
    background: var(--color-button);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

.age-cont {
    background: linear-gradient(145deg, var(--color-accent-2), var(--color-accent-3));
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
    border: none;
    color: var(--color-text);
}

.footer-age {
    background: var(--color-accent-2);
    color: var(--color-text);
}

.footer-logo {
    background: var(--color-background-darker);
}

.footer-wrapper {
    background-color: var(--color-background-dark);
}

.slot-machine {
    background: linear-gradient(145deg, var(--color-background-dark), var(--color-background-darker));
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--color-accent-2);
}

.cell {
    background: rgba(30, 30, 30, 0.7);
    box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(138, 3, 3, 0.3);
}

.info {
    background: rgba(30, 30, 30, 0.7);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(138, 3, 3, 0.3);
}

.decrease, .increase {
    background: var(--color-background-dark);
    border: 1px solid var(--color-accent-2);
    transition: background-color 0.3s, transform 0.3s;
}

.decrease:hover, .increase:hover {
    background-color: var(--color-accent-2);
    transform: translateY(-2px);
}

button.spin {
    background: linear-gradient(to right, var(--color-button-gradient-start), var(--color-button-gradient-end));
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s, box-shadow 0.3s;
}

button.spin:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
}

.modal {
    background: linear-gradient(145deg, var(--color-background-dark), var(--color-modal-background));
    border: 2px solid var(--color-accent-2);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.7);
}

.modal button {
    background: linear-gradient(to right, var(--color-button-gradient-start), var(--color-button-gradient-end));
}

/* Анимация для эпического эффекта */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.header-cont > * {
    animation: fadeIn 1s ease-out forwards;
}

.header-cont > *:nth-child(2) {
    animation-delay: 0.3s;
}

.header-cont > *:nth-child(3) {
    animation-delay: 0.6s;
}

:root {
    /* Основные цвета */
    --color-background: #1a1a1a; /* Тёмный фон */
    --color-text: #e6e6e6; /* Светлый текст */
    --color-heading: #8a0303; /* Тёмно-красный для заголовков */
    --color-link-hover: rgba(138, 3, 3, 0.7); /* Прозрачный красный при наведении */

    /* Акцентные цвета */
    --color-accent-1: #2e2e2e; /* Тёмно-серый */
    --color-accent-2: #3d0000; /* Тёмно-бордовый */
    --color-accent-3: #5e0000; /* Средне-бордовый */

    /* Фоновые цвета */
    --color-background-dark: #121212; /* Очень тёмный серый */
    --color-background-darker: #0a0a0a; /* Почти чёрный */
    --color-background-light: rgba(60, 60, 60, 0.2); /* Полупрозрачный серый */
    --color-background-lighter: rgba(80, 80, 80, 0.25); /* Более светлый полупрозрачный серый */

    /* Цвета контролов */
    --color-control: #202020; /* Тёмно-серый */
    --color-control-border: #8a0303; /* Тёмно-красный */

    /* Цвета кнопок */
    --color-button: #8a0303; /* Тёмно-красный */
    --color-button-hover: #b50404; /* Ярко-красный */
    --color-button-gradient-start: #8a0303; /* Тёмно-красный */
    --color-button-gradient-end: #500000; /* Тёмно-бордовый */

    /* Модальное окно */
    --color-modal-background: #1c1c1c; /* Тёмно-серый */
    --color-modal-text: #e6e6e6; /* Светлый текст */
    --color-modal-circle: #8a0303; /* Тёмно-красный */
}

body {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="300" height="300" viewBox="0 0 100 100"><path d="M20,20 L25,25 M30,20 L25,25 M25,15 L25,25 M40,30 C42,27 45,30 43,33 M60,40 C58,37 61,34 63,37 M75,20 C77,17 80,19 78,22" stroke="%230a0a0a" stroke-width="0.5" fill="none" opacity="0.3"/></svg>');
    background-color: var(--color-background);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(138, 3, 3, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.3) 0%, transparent 100%);
    pointer-events: none;
    z-index: -1;
}

h1, h2, h3, h4 {
    font-family: "Montserrat", serif;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    position: relative;
}

h1::after, h2::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-heading), transparent);
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
}

h1 {
    position: relative;
    overflow: hidden;
}

h1::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, var(--color-heading) 50%, transparent 100%);
    opacity: 0.1;
    animation: h1Shine 4s ease-in-out infinite;
}

@keyframes h1Shine {
    0% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
    100% { transform: translateX(100%); }
}

.header {
    background: linear-gradient(135deg, var(--color-accent-2) 0%, var(--color-background-dark) 100%);
    position: relative;
    overflow: hidden;
}

.header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M10,50 C20,40 30,60 40,50 C50,40 60,60 70,50 C80,40 90,60 100,50" stroke="%23300000" stroke-width="0.5" fill="none" opacity="0.3"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

.header::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 30%, var(--color-background-darker) 100%);
    pointer-events: none;
}

.header-cont {
    position: relative;
    z-index: 1;
}

/* Добавляем анимированные силуэты птиц */
@keyframes birdFly1 {
    0% { transform: translate(-100%, 20%) scale(0.6); }
    100% { transform: translate(100vw, -10%) scale(0.8); }
}

@keyframes birdFly2 {
    0% { transform: translate(-100%, 40%) scale(0.8) rotate(5deg); }
    100% { transform: translate(100vw, 30%) scale(0.7) rotate(-5deg); }
}

.header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 120 60"><path d="M60,30 C55,25 50,20 40,25 C30,30 25,35 20,30 M60,30 C65,25 70,20 80,25 C90,30 95,35 100,30" stroke="%23000000" stroke-width="1" fill="none"/></svg>');
    background-repeat: no-repeat;
    background-size: 120px 60px;
    opacity: 0.2;
    pointer-events: none;
    animation: birdFly1 15s linear infinite;
}

/* Добавляем второй силуэт птиц */
.header-cont::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 50"><path d="M50,25 C45,20 40,15 30,20 C20,25 15,30 10,25 M50,25 C55,20 60,15 70,20 C80,25 85,30 90,25" stroke="%23000000" stroke-width="0.8" fill="none"/></svg>');
    background-repeat: no-repeat;
    background-size: 100px 50px;
    opacity: 0.15;
    pointer-events: none;
    animation: birdFly2 18s linear infinite 2s;
    z-index: -1;
}

.main-button {
    background: linear-gradient(to right, var(--color-button-gradient-start), var(--color-button-gradient-end));
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.6);
    transition: transform 0.3s, box-shadow 0.3s;
}

.main-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.8);
}

.navbar {
    backdrop-filter: blur(5px);
    background-color: rgba(10, 10, 10, 0.7);
    position: fixed;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(138, 3, 3, 0.3);
    z-index: 1000;
}

.navbar a {
    transition: color 0.3s, text-shadow 0.3s;
    position: relative;
}

.navbar a:hover {
    color: var(--color-heading);
    text-shadow: 0 0 8px rgba(138, 3, 3, 0.5);
    opacity: 1;
}

.navbar a::before {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -3px;
    left: 50%;
    background: var(--color-heading);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.navbar a:hover::before {
    width: 100%;
    box-shadow: 0 0 10px rgba(138, 3, 3, 0.8);
}

.logo {
    transition: transform 0.5s;
    position: relative;
}

.logo:hover {
    transform: scale(1.05);
}

.logo::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(138, 3, 3, 0.5);
    opacity: 0;
    transition: opacity 0.5s;
}

.logo:hover::after {
    opacity: 1;
}

.experience-item {
    background-color: var(--color-background-light);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s, box-shadow 0.3s, background-color 0.3s;
    border-left: 3px solid var(--color-accent-2);
    position: relative;
    overflow: hidden;
}

.experience-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
    background-color: var(--color-background-darker);
}

.experience-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 0%, rgba(138, 3, 3, 0.2), transparent 70%);
    opacity: 0;
    transition: opacity 0.5s;
}

.experience-item:hover::before {
    opacity: 1;
}

.experience-item::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 30px;
    height: 30px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12,8 C10,6 8,8 10,10 C12,12 10,14 8,12 M16,8 C14,6 12,8 14,10 C16,12 14,14 12,12" stroke="%238a0303" stroke-width="1" fill="none" opacity="0.7"/></svg>');
    background-size: cover;
    opacity: 0;
    transition: opacity 0.5s;
}

.experience-item:hover::after {
    opacity: 0.5;
}

.contact-wrapper {
    background: linear-gradient(145deg, var(--color-accent-2), var(--color-accent-3));
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    border: 3px solid var(--color-accent-2);
}

.col-wrapper .col {
    position: relative;
}

.col {
    position: relative;
    z-index: 1;
}

.col p {
    position: relative;
    z-index: 2;
    transition: transform 0.3s;
}

.col:hover p {
    transform: translateX(5px);
}

.img-col {
    position: relative;
    overflow: hidden;
}

.img-col::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 40%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.5s;
    border-radius: 10px;
}

.img-col:hover::before {
    opacity: 1;
}

.img-col img {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
    transition: transform 0.5s, box-shadow 0.5s, filter 0.5s;
    filter: grayscale(30%) contrast(120%) brightness(0.9);
    z-index: 0;
}

.img-col img:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.6), 0 0 30px rgba(138, 3, 3, 0.3);
    filter: grayscale(10%) contrast(130%) brightness(1);
}

.button {
    background: var(--color-button);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

.age-cont {
    background: linear-gradient(145deg, var(--color-accent-2), var(--color-accent-3));
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
    border: none;
    color: var(--color-text);
}

.footer-age {
    background: var(--color-accent-2);
    color: var(--color-text);
}

.footer-logo {
    background: var(--color-background-darker);
}

.footer-wrapper {
    background-color: var(--color-background-dark);
}

.slot-machine {
    background: linear-gradient(145deg, var(--color-background-dark), var(--color-background-darker));
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--color-accent-2);
}

.cell {
    background: rgba(30, 30, 30, 0.7);
    box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(138, 3, 3, 0.3);
}

.info {
    background: rgba(30, 30, 30, 0.7);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(138, 3, 3, 0.3);
}

.decrease, .increase {
    background: var(--color-background-dark);
    border: 1px solid var(--color-accent-2);
    transition: background-color 0.3s, transform 0.3s;
}

.decrease:hover, .increase:hover {
    background-color: var(--color-accent-2);
    transform: translateY(-2px);
}

button.spin {
    background: linear-gradient(to right, var(--color-button-gradient-start), var(--color-button-gradient-end));
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s, box-shadow 0.3s;
}

button.spin:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5);
}

.modal {
    background: linear-gradient(145deg, var(--color-background-dark), var(--color-modal-background));
    border: 2px solid var(--color-accent-2);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.7);
}

.modal button {
    background: linear-gradient(to right, var(--color-button-gradient-start), var(--color-button-gradient-end));
}

/* Анимация для эпического эффекта */
/* Добавляем новые анимации и эффекты */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

@keyframes mist {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes flickerShadow {
    0% { box-shadow: 0 0 20px rgba(138, 3, 3, 0.4); }
    25% { box-shadow: 0 0 25px rgba(138, 3, 3, 0.5); }
    50% { box-shadow: 0 0 15px rgba(138, 3, 3, 0.3); }
    75% { box-shadow: 0 0 22px rgba(138, 3, 3, 0.6); }
    100% { box-shadow: 0 0 20px rgba(138, 3, 3, 0.4); }
}

/* Анимированная мистическая дымка для элементов */
.contact-wrapper {
    background: linear-gradient(145deg, var(--color-accent-2), var(--color-accent-3));
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    border: 3px solid var(--color-accent-2);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.contact-wrapper::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, rgba(138, 3, 3, 0) 0%, rgba(138, 3, 3, 0.2) 50%, rgba(138, 3, 3, 0) 100%);
    z-index: -1;
    animation: mist 15s ease infinite;
    background-size: 200% 200%;
    opacity: 0.7;
}

.contact-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 20px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.3));
}

.contact-wrapper a {
    position: relative;
    display: inline-block;
}

.contact-wrapper a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-heading);
    transition: width 0.3s;
}

.contact-wrapper a:hover::after {
    width: 100%;
}

/* Эффект свечения для иконок */
.img-wrapper img {
    animation: pulse 3s ease-in-out infinite;
    filter: drop-shadow(0 0 5px rgba(138, 3, 3, 0.5));
    transition: filter 0.5s;
}

.img-wrapper img:hover {
    filter: drop-shadow(0 0 15px rgba(138, 3, 3, 0.8));
}

/* Анимированная тень для modal */
.modal {
    background: linear-gradient(145deg, var(--color-background-dark), var(--color-modal-background));
    border: 2px solid var(--color-accent-2);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.7);
    animation: flickerShadow 3s infinite;
}

.modal .age-circle {
    position: relative;
    overflow: hidden;
}

.modal .age-circle::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: skewX(-20deg);
    animation: shine 4s infinite;
}

@keyframes shine {
    0% { left: -150%; }
    30% { left: 100%; }
    100% { left: 100%; }
}

/* Эффект парения для игровых ячеек */
.cell {
    background: rgba(30, 30, 30, 0.7);
    box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(138, 3, 3, 0.3);
    transition: transform 0.3s, box-shadow 0.3s;
}

.cell:hover {
    transform: translateY(-3px);
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.7), 0 5px 15px rgba(0, 0, 0, 0.4);
    border-color: rgba(138, 3, 3, 0.7);
}

/* Добавляем эффект мерцания для элементов */
.footer-logo {
    background: var(--color-background-darker);
    position: relative;
    overflow: hidden;
}

.footer-logo::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -100%;
    width: 100%;
    height: 150%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    animation: footerShine 5s infinite;
}

@keyframes footerShine {
    0% { left: -100%; }
    20% { left: 100%; }
    100% { left: 100%; }
}