#popup {
    margin-top: 0;
    max-width: 800px;
    width:100%;
}

.popup {
	display: none;
	position: fixed;
	top: 50%;
	left: 50%;
	height: auto;
	transform: translate(-50%, -50%);
	box-shadow: 0 0 10px rgba(0, 0, 0, .1);
	z-index: 1000
}

.popup.active {
	display: block
}

.popup-wrapper {
	display: flex;
	padding: 20px;
	flex-direction: row;
	align-items: center;
	column-gap: 20px;
	justify-content: space-between;
	border-radius: 12px;
	background-image: linear-gradient(92deg, #1e283f, rgb(20, 27, 46));
}

.overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	backdrop-filter: blur(3px);
	background: rgba(9, 15, 30, 0.8);
	z-index: 999
}

.overlay.active {
	display: block
}

.popup-west-side {
	max-width: 50%;
	width: 50%;
}

.popup-east-side {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 60%;
	gap: 20px;
	position: relative
}

.close-button {
	position: absolute;
	top: 0;
	right: 0;
	min-width: 15px;
	min-height: 15px
}

.popup-west-side img {
	width: 100%;
	height: auto;
}

.popup-east-side-text {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	gap: 5px;
	color: #fff
}

.popup-east-side-text p {
	font-size: 2.4rem;
	font-weight: 700;
	line-height: 48px;
	margin-bottom: .25rem;
	color: #fff
}

.popup-east-side form {
	display: flex;
	flex-direction: column;
	gap: 10px;
	justify-content: center;
	width: 100%
}

.popup-east-side form input {
	height: 42px
}

.popup-east-side form textarea {
	height: 100px
}

.popup-east-side form input,
.popup-east-side form textarea {
	font-size: 1rem;
	line-height: 10px;
	font-weight: 400;
	padding: 10px;
	border: 0;
	border-radius: .25rem;
	background-color: #fff;
	outline: none;
	resize: none;
	color: #000;
	width: 100%
}

.popup-east-side form input:focus,
.popup-east-side form textarea:focus {
	outline: none
}

.popup-east-side form input::placeholder,
.popup-east-side form textarea::placeholder {
	color: #8c8c8c
}

.popup-east-side form input[type=submit] {
	color: #fff;
	background: linear-gradient(#ff5121, #DF9937);
	cursor: pointer;
	font-weight: 600;
}

/* .popup-east-side form input[type=submit]:hover {
	background-color: #0037c4;
} */

@media(max-device-width: 1260px) {
	.popup-west-side {
		display: none
	}
}

@media(max-device-width: 766px) {
	.popup {
		width: 96%
	}

	.popup-east-side {
		width: 100%
	}
}

.popup-modal {
	display: none;
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 1000;
	width: 40%;
	max-width: 500px;
	background-color: rgba(0, 0, 0, .5);
	overflow: auto;
	padding: 10px;
	color: #fff
}

.modal-content {
	background-color: #fefefe;
	padding: 20px;
	text-align: center;
	font-size: 22px;
	color: #000;
	border: 1px solid #888;
	position: relative
}

.modal-content p{
    color: #171e32;
}

.close-button {
	color: #fff;
	float: right;
	font-size: 28px;
	font-weight: 700;
	cursor: pointer;
	border: none;
	background-color: transparent;
}

.popup-modal .close-button {
	top: -7px;
	min-width: 24px;
	color: #000;
	transition: .3s linear
}

.popup-modal .close-button:hover {
	color: #202020
}

.close-button:hover,
.close-button:focus {
	color: #ccc;
	text-decoration: none;
	background-color: transparent
}

@keyframes fadeInOut {
	0% {
		opacity: 0
	}

	10% {
		opacity: 1
	}

	90% {
		opacity: 1
	}

	100% {
		opacity: 0
	}
}

.loading {
	display: none;
	text-align: center;
	font-size: 16px;
	color: #333
}

.popup-checkbox {
	display: flex;
	align-items: start;
	gap: 10px;
}

.popup-checkbox label {
	font-size: 9px;
	color: #adadad;
	text-align: justify;
	line-height: 1.2;
}

#mailCheck {
	margin-top: -4px;
	width: 15px;
	height: 15px;
	accent-color: #0049ff;
}
.popup-wrapper p {
    font-family: roboto-bold;
    text-shadow: none;
}

@media(max-device-width: 768px) {
	.popup-modal {
		width: 90%
	}
}

@media (max-width: 355px) {
	.close-button {
		right: -10px;
		top: -22px;
	}
}

/* Основная палитра кузницы гномов */
body {
    background: #1A0E0B;
    color: #E5DCD5;
    font-family: "Montserrat", sans-serif;
    background-image: 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='%23863A22' fill-opacity='0.05'/%3E%3C/svg%3E");
}

/* Заголовки - цвет раскаленного металла */
h1, h2, h3, h4 {
    color: #FF7E3D;
    text-transform: uppercase;
    font-weight: 900;
    position: relative;
}

h1 {
    text-shadow: 0 0 10px #FF4500;
    background: linear-gradient(to right, #FFD700, #FF7E3D, #DA4F2A);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

h1::after {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    z-index: -1;
    color: #FF7E3D;
    text-shadow: 0 0 10px #FF4500;
}

h2 {
    position: relative;
    display: inline-block;
}

h2::before, h2::after {
    content: "";
    position: absolute;
    height: 3px;
    width: 30%;
    background: linear-gradient(to right, transparent, #863A22, transparent);
    top: 100%;
    margin-top: 10px;
}

h2::before {
    left: 0;
}

h2::after {
    right: 0;
}

/* Шапка сайта - текстура тёмной кузницы с цепями */
.header {
    background: url("../img/header-bg.webp") no-repeat center center;
    background-size: cover;
    box-shadow: inset 0 0 200px 100px rgba(0, 0, 0, 0.8);
    min-height: 90vh;
    position: relative;
    overflow: hidden;
}

.header::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 69, 0, 0.15) 0%, transparent 70%);
    animation: pulse-fire 4s infinite alternate;
    pointer-events: none;
}

.header::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top, rgba(26, 14, 11, 0.9), transparent);
}

@keyframes pulse-fire {
    0% { opacity: 0.3; transform: scale(0.95); }
    100% { opacity: 0.6; transform: scale(1.05); }
}

.header-cont {
    color: #E5DCD5;
    position: relative;
    z-index: 2;
    transform: translateY(0);
    transition: transform 0.5s ease;
}

.header:hover .header-cont {
    transform: translateY(-10px);
}

/* Навигация - стилизация под металлические пластины */
.navbar {
    background: rgba(10, 5, 5, 0.9);
    border-bottom: 2px solid #863A22;
    position: relative;
}

.navbar::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(255, 126, 61, 0.3);
}

.navbar::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='6' height='6' viewBox='0 0 6 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23863A22' fill-opacity='0.2' fill-rule='evenodd'%3E%3Cpath d='M5 0h1L0 5v1H0V0h5z'/%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
    pointer-events: none;
}

.navbar a {
    color: #E5DCD5;
    font-weight: 700;
    position: relative;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.navbar a:hover {
    color: #FF7E3D;
    opacity: 1;
    text-shadow: 0 0 5px rgba(255, 126, 61, 0.5);
}

.navbar-container {
    position: relative;
}

.navbar-container::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right,
                transparent,
                rgba(255, 126, 61, 0.2),
                transparent);
    pointer-events: none;
}

/* Кнопки - как раскаленный металл */
.button, .main-button {
    background: linear-gradient(135deg, #FF7E3D 0%, #DA4F2A 100%);
    color: #1A0E0B;
    font-weight: bold;
    text-transform: uppercase;
    border: none;
    box-shadow: 0 0 15px rgba(255, 126, 61, 0.4);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.button::before, .main-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
    z-index: -1;
}

.button:hover::before, .main-button:hover::before {
    left: 100%;
}

.button::after, .main-button::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(0, 0, 0, 0.2);
}

/* Кнопка вращения */
button.spin {
    background: linear-gradient(135deg, #FF7E3D 0%, #DA4F2A 100%);
    color: #1A0E0B;
    text-transform: uppercase;
    box-shadow: 0 0 20px rgba(255, 126, 61, 0.5);
    border: 2px solid #863A22;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

button.spin::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    top: -50%;
    left: -50%;
    transition: 0.5s;
    z-index: -1;
}

button.spin:hover::before {
    top: -20%;
    left: -20%;
}

button.spin::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 5px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
}

/* Секции контента - текстура кузницы */
.enter {
    background: url("../img/bg-2.png") no-repeat center center;
    background-size: cover;
    background-color: rgba(26, 14, 11, 0.9);
    box-shadow: inset 0 0 100px 50px rgba(0, 0, 0, 0.7);
    position: relative;
    overflow: hidden;
}

.enter::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 126, 61, 0.1) 0%, transparent 70%);
    animation: pulse 4s infinite alternate;
    pointer-events: none;
}

@keyframes pulse {
    0% { opacity: 0.3; }
    100% { opacity: 0.8; }
}

.enter-wrapper {
    position: relative;
    z-index: 1;
}

/* Опыт - оформление блоков как металлические пластины */
.experience-item {
    background: #2D1A14;
    border: 1px solid #863A22;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.experience-item:hover {
    transform: translateY(-5px);
}

.experience-item::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(255, 126, 61, 0.2) 0%, transparent 70%);
    transform: rotate(45deg);
    transition: 0.5s ease;
    opacity: 0;
}

.experience-item:hover::before {
    opacity: 1;
}

.experience-wrapper {
    position: relative;
}

.experience-wrapper::after {
    content: "";
    position: absolute;
    height: 1px;
    width: 80%;
    background: linear-gradient(to right, transparent, #863A22, transparent);
    bottom: -20px;
    left: 10%;
}

/* Контактная форма - стилизация под кованую оправу */
.contact-wrapper {
    border: 3px solid #863A22;
    background: #2D1A14;
    box-shadow: 0 0 20px rgba(134, 58, 34, 0.3);
    position: relative;
    background-image:
        linear-gradient(45deg, rgba(134, 58, 34, 0.1) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(134, 58, 34, 0.1) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(134, 58, 34, 0.1) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(134, 58, 34, 0.1) 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
}

.contact-wrapper::before {
    content: "";
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border: 1px solid #FF7E3D;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.contact-wrapper:hover::before {
    opacity: 0.5;
}

/* Футер - тёмная ковка */
.footer-age {
    background: #863A22;
    color: #E5DCD5;
    position: relative;
    overflow: hidden;
}

.footer-age::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(255, 126, 61, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255, 126, 61, 0.15) 0%, transparent 50%);
    top: 0;
    left: 0;
    pointer-events: none;
}

.footer-logo {
    background: linear-gradient(135deg, #FF7E3D 0%, #DA4F2A 100%);
    position: relative;
    overflow: hidden;
}

.footer-logo::after {
    content: "";
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.2) 0%, transparent 60%);
    top: -50%;
    left: -50%;
    pointer-events: none;
    animation: rotate 10s infinite linear;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.footer-wrapper {
    background: #1A0E0B;
    position: relative;
}

.footer-wrapper::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent, #863A22, transparent);
}

.footer-links-wrapper a {
    position: relative;
    transition: color 0.3s ease;
}

.footer-links-wrapper a:hover {
    color: #FF7E3D;
}

.footer-links-wrapper a::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #FF7E3D;
    transition: width 0.3s ease;
}

.footer-links-wrapper a:hover::after {
    width: 100%;
}

/* Игровой интерфейс - стилизация под кузнечное оборудование */
.slot-machine {
    background: #2D1A14;
    border: 2px solid #863A22;
    box-shadow: 0 0 30px rgba(134, 58, 34, 0.3);
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 0h2v20H1V0zm0 0h2v20H1V0z' fill='%23863A22' fill-opacity='0.2'/%3E%3C/svg%3E");
}

.grid {
    background: #1A0E0B;
    border: 2px solid #863A22;
    box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.8);
    background-image: radial-gradient(circle at 50% 50%, rgba(255, 126, 61, 0.05) 0%, transparent 80%);
}

.info {
    background: rgba(134, 58, 34, 0.2);
    border: 1px solid #863A22;
    position: relative;
    overflow: hidden;
}

.info::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(255, 126, 61, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.info:hover::before {
    opacity: 1;
}

.decrease, .increase {
    background: #1A0E0B;
    border: 1px solid #FF7E3D;
    color: #E5DCD5;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.decrease:hover, .increase:hover {
    color: #1A0E0B;
}

.decrease::before, .increase::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #FF7E3D 0%, #DA4F2A 100%);
    transition: 0.5s ease;
    z-index: -1;
}

.decrease:hover::before, .increase:hover::before {
    left: 0;
}

.bet {
    background: rgba(134, 58, 34, 0.3);
    color: #E5DCD5;
    border: 1px solid #863A22;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
}

.controls {
    background: #2D1A14;
    border: 1px solid #863A22;
}

/* Модальное окно - стиль ковки */
.modal-overlay {
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
}

.modal {
    background: #2D1A14;
    border: 3px solid #863A22;
    color: #E5DCD5;
    box-shadow: 0 0 30px rgba(255, 126, 61, 0.5);
    background-image:
        repeating-linear-gradient(45deg,
            rgba(134, 58, 34, 0.1) 0,
            rgba(134, 58, 34, 0.1) 2px,
            transparent 2px,
            transparent 8px);
    position: relative;
}

.modal::before {
    content: "";
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border: 1px solid #FF7E3D;
    pointer-events: none;
    opacity: 0.5;
}

.modal .age-circle {
    background: linear-gradient(135deg, #FF7E3D 0%, #DA4F2A 100%);
    color: #1A0E0B;
    box-shadow: 0 0 15px rgba(255, 126, 61, 0.5);
    position: relative;
}

.modal .age-circle::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.4) 0%, transparent 70%);
    top: 0;
    left: 0;
    pointer-events: none;
}

.modal h2 {
    color: #FF7E3D;
    position: relative;
    display: inline-block;
}

.modal h2::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, transparent, #FF7E3D, transparent);
}

.modal button {
    background: linear-gradient(135deg, #FF7E3D 0%, #DA4F2A 100%);
    color: #1A0E0B;
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
    font-family: "Montserrat", sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.modal button::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    top: 0;
    left: -100%;
    transition: 0.5s;
    z-index: -1;
}

.modal button:hover::before {
    left: 100%;
}

/* Гамбургер меню */
.navbar-container .hamburger-lines .line {
    background: #FF7E3D;
}

/* Класс для секции с тёмным фоном */
.background-blue {
    background: #2D1A14;
    color: #E5DCD5;
    position: relative;
    overflow: hidden;
}

.background-blue::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(255, 126, 61, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 126, 61, 0.1) 0%, transparent 50%);
}

/* Добавления для других элементов */
.col-wrapper {
    position: relative;
    z-index: 1;
}

.col img {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.col img:hover {
    transform: scale(1.02);
    box-shadow: 0 0 20px rgba(255, 126, 61, 0.4);
    border-color: #863A22;
}

/* Стилизация изображений */
.img-col img {
    border: 2px solid #863A22;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.img-col img:hover {
    transform: scale(1.02);
    box-shadow: 0 0 20px rgba(255, 126, 61, 0.5);
}

/* Стилизация для изображений в img-wrapper */
.img-wrapper img {
    border: 2px solid #863A22;
    padding: 5px;
    background: #1A0E0B;
    transition: transform 0.3s ease;
}

.img-wrapper img:hover {
    transform: rotate(5deg);
}

/* Специальный эффект для ковки - искры при клике */
@keyframes forge-spark {
    0% { box-shadow: 0 0 0 rgba(255, 126, 61, 0); }
    25% { box-shadow: 0 0 30px rgba(255, 126, 61, 0.8); }
    100% { box-shadow: 0 0 0 rgba(255, 126, 61, 0); }
}

.button:active, button.spin:active, .decrease:active, .increase:active {
    animation: forge-spark 0.5s ease;
}

/* Лого */
.logo img {
    background: linear-gradient(135deg, #FF7E3D 0%, #DA4F2A 100%);
    border-radius: 5px;
    box-shadow: 0 0 15px rgba(255, 69, 0, 0.5);
}

/* Эффекты искр и свечения для элементов */
@keyframes spark {
    0%, 100% { box-shadow: 0 0 5px #FF7E3D; }
    50% { box-shadow: 0 0 20px #FF4500; }
}

@keyframes forge-glow {
    0% { text-shadow: 0 0 5px #FF7E3D, 0 0 10px #FF4500; }
    50% { text-shadow: 0 0 10px #FF7E3D, 0 0 20px #FF4500, 0 0 30px #FF4500; }
    100% { text-shadow: 0 0 5px #FF7E3D, 0 0 10px #FF4500; }
}

@keyframes hammer-strike {
    0% { transform: scale(1); }
    50% { transform: scale(0.95); }
    60% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.button:hover, button.spin:hover {
    animation: spark 1.5s infinite;
}

h1:hover, h2:hover {
    animation: forge-glow 2s infinite;
}

button.spin:active {
    animation: hammer-strike 0.5s ease;
}

/* Ячейки слотов как металлические пластины */
.cell {
    background: #2D1A14;
    border: 2px solid #863A22;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.8);
    transition: all 0.3s ease;
}

.cell:hover {
    box-shadow: 0 0 15px rgba(255, 126, 61, 0.6);
}

/* Стилизация для колонок */
.column {
    position: relative;
}

.column::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom,
                rgba(255, 126, 61, 0.1) 0%,
                transparent 20%,
                transparent 80%,
                rgba(255, 126, 61, 0.1) 100%);
    pointer-events: none;
}

/* Стилизация для меню-бургера */
.navbar-container input[type="checkbox"]:checked ~ .hamburger-lines .line1,
.navbar-container input[type="checkbox"]:checked ~ .hamburger-lines .line3 {
    background: #FF4500;
}

/* Стилизация меню при открытии */
.navbar .menu-items {
    background: rgba(26, 14, 11, 0.95);
    border-right: 3px solid #863A22;
    box-shadow: 5px 0 20px rgba(0, 0, 0, 0.7);
}

.menu-items li {
    position: relative;
    overflow: hidden;
}

.menu-items li::after {
    content: "";
    position: absolute;
    left: -100%;
    bottom: -5px;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #FF7E3D, transparent);
    transition: 0.5s ease;
}

.menu-items li:hover::after {
    left: 0;
}