:root {
    /* Основные цвета */
    --color-background: #0a1a2a;
    --color-text: #e0f0ff;
    --color-heading: #7dd3fc;
    --color-link-hover: rgba(198, 232, 255, 0.8);

    /* Акцентные цвета */
    --color-accent-1: #4a6baf;
    --color-accent-2: #2a344e;
    --color-accent-3: #384c70;

    /* Фоновые цвета */
    --color-background-dark: #060f1c;
    --color-background-darker: #030a14;
    --color-background-light: rgba(125, 211, 252, 0.1);
    --color-background-lighter: rgba(125, 211, 252, 0.15);

    /* Цвета контролов */
    --color-control: #172436;
    --color-control-border: #5390c9;

    /* Цвета кнопок */
    --color-button: #5390c9;
    --color-button-hover: #4377a9;
    --color-button-gradient-start: #7dd3fc;
    --color-button-gradient-end: #3b82f6;

    /* Модальное окно */
    --color-modal-background: #0f2440;
    --color-modal-text: #e0f0ff;
    --color-modal-circle: #3b82f6;
}

* {
    box-sizing: border-box;
    transition: 0.4s ease all;
    margin: 0;
}

a {
    text-decoration: none;
}

a:hover {
    opacity: 0.8;
    text-shadow: 0 0 10px var(--color-heading);
}

body {
    margin: 0;
    font-family: "Inter", sans-serif;
    line-height: 1.4;
    background: var(--color-background);
    color: var(--color-text);
    font-size: 14px;
    background-image: linear-gradient(to bottom, rgba(10, 26, 42, 0.95), rgba(10, 26, 42, 0.8)),
                      url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="none"/><path d="M0 50 L50 0 L100 50 L50 100 Z" fill="%234a6baf" opacity="0.05"/></svg>');
    background-size: cover, 100px 100px;
    background-attachment: fixed;
}

h1, h2, h3, h4 {
    font-family: "Montserrat", sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    color: var(--color-heading);
    letter-spacing: 2px;
    text-shadow: 0 0 15px rgba(125, 211, 252, 0.4);
}

h3 {
    font-size: 23px;
}

p {
    font-weight: 300;
    line-height: 1.6;
}

h1 {
    font-size: 45px;
    margin-top: 0;
}

h2 {
    font-size: 35px;
    text-transform: uppercase;
    text-align: center;
}

h3 {
    padding-bottom: 30px;
}

img {
    display: block;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 8px rgba(125, 211, 252, 0.3));
    border-radius: 5px;
}

.container {
    max-width: 1000px;
    margin: auto;
    padding: 0 10px;
}

.navbar input[type="checkbox"],
.navbar .hamburger-lines {
    display: none;
}

.navbar {
    position: absolute;
    top: 0;
    width: 100%;
    color: var(--color-text);
    z-index: 100;
    padding: 20px 0;
    backdrop-filter: blur(5px);
    background: rgba(10, 26, 42, 0.5);
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    height: 64px;
    align-items: center;
}

.menu-items {
    order: 2;
    display: flex;
    gap: 52px;
}

.logo {
    order: 1;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 180px;
}

.menu-items li {
    list-style: none;
    font-size: 18px;
    text-transform: uppercase;
}

.navbar a {
    color: var(--color-text);
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s ease-in-out;
    position: relative;
}

.navbar a:hover {
    opacity: 0.7;
    transition: 1s;
}

.navbar a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-heading);
    transition: width 0.3s ease;
}

.navbar a:hover::after {
    width: 100%;
}

.button {
    display: inline-block;
    padding: 10px 40px;
    font-weight: bold;
    background: var(--color-heading);
    color: var(--color-background-dark);
    margin-top: 30px;
    border-radius: 5px;
    border: 1px solid rgba(125, 211, 252, 0.5);
    box-shadow: 0 0 15px rgba(125, 211, 252, 0.4);
    transition: all 0.3s ease;
}

.button:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 20px rgba(125, 211, 252, 0.6);
}

.col-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 30px 0;
}

.col {
    width: 48%;
}

.col-100 {
    width: 100%;
}

.img-col {
    width: 48%;
}

.img-col img {
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(125, 211, 252, 0.3);
}

.col p:not(:last-child), .contact-wrapper p:not(:last-child) {
    padding-bottom: 15px;
}

.age {
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--color-accent-1);
    color: var(--color-text);
    position: relative;
    overflow: hidden;
}

.age::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" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="none"/><path d="M0 50 L50 0 L100 50 L50 100 Z" fill="%237dd3fc" opacity="0.05"/></svg>');
    background-size: 100px 100px;
    opacity: 0.1;
}

.age-cont, .header-cont {
    width: 60%;
    max-width: 800px;
}

.age-cont {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    width: 90%;
    padding: 30px 50px;
    border-radius: 15px;
    color: var(--color-text);
    background: rgba(59, 130, 246, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(125, 211, 252, 0.3);
    box-shadow: 0 0 30px rgba(125, 211, 252, 0.2);
}

.age-cont p {
    display: block;
    width: 87%;
}

.age-cont svg {
    display: block;
    width: 10%;
    filter: drop-shadow(0 0 5px rgba(125, 211, 252, 0.5));
}

.footer-age {
    background: var(--color-heading);
    color: var(--color-background-dark);
}

.footer-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    background: var(--color-heading);
    margin-bottom: 20px;
    box-shadow: 0 0 20px rgba(125, 211, 252, 0.4);
}

.footer-logo-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.footer-logo-wrapper img {
    max-height: 50px;
    width: auto;
    filter: drop-shadow(0 0 5px rgba(10, 26, 42, 0.5));
}

.footer-logo-wrapper a {
    display: block;
}

.footer-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 10px;
    padding: 30px;
    background: var(--color-background-dark);
    border-top: 1px solid rgba(125, 211, 252, 0.2);
}

.footer-links-wrapper {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.footer-links-wrapper a {
    color: var(--color-text);
    text-decoration: none;
    position: relative;
    padding: 5px;
}

.footer-links-wrapper a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-heading);
    transition: width 0.3s ease;
}

.footer-links-wrapper a:hover::after {
    width: 100%;
}

@media screen and (max-width: 1200px) {
    .menu-items li {
        font-size: 15px;
    }

    .menu-items {
        gap: 25px;
    }

    .logo img {
        max-width: 200px;
    }

    .navbar {
        padding: 8px 0;
    }
}

/*nav*/
@media (max-width: 830px) {
    .footer-logo-wrapper {
        flex-wrap: wrap;
        justify-content: center;
    }

    h2 {
        font-size: 25px;
    }

    header {
        padding-bottom: 60px;
    }

    .logo img {
        max-width: 150px;
    }

    .navbar {
        opacity: 0.95;
        padding: 0;
    }

    .navbar-container input[type="checkbox"],
    .navbar-container .hamburger-lines {
        display: block;
    }

    .navbar-container {
        display: block;
        position: relative;
        padding: 3px 0;
        height: 64px;
    }

    .navbar-container input[type="checkbox"] {
        position: absolute;
        display: block;
        height: 32px;
        width: 30px;
        top: 50%;
        transform: translateY(-50%);
        left: 20px;
        z-index: 5;
        opacity: 0;
        cursor: pointer;
    }

    .navbar-container .hamburger-lines {
        height: 28px;
        width: 35px;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        left: 20px;
        z-index: 2;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .navbar-container .hamburger-lines .line {
        display: block;
        height: 2px;
        width: 100%;
        border-radius: 10px;
        background: var(--color-text);
    }

    .navbar-container .hamburger-lines .line1 {
        transform-origin: 0 0;
        transition: transform 0.3s ease-in-out;
    }

    .navbar-container .hamburger-lines .line2 {
        transition: transform 0.2s ease-in-out;
    }

    .navbar-container .hamburger-lines .line3 {
        transform-origin: 0 100%;
        transition: transform 0.3s ease-in-out;
    }

    .navbar .menu-items {
        padding-top: 100px;
        background: var(--color-background);
        height: calc(100vh + 10px);
        max-width: 300px;
        transform: translate(-150%);
        display: flex;
        flex-direction: column;
        margin: -10px 0 0 -40px;
        padding-left: 60px;
        transition: transform 0.5s ease-in-out;
        box-shadow: 5px 0 10px 0 var(--color-background-darker);
        overflow: scroll;
    }

    .navbar .menu-items li {
        margin-bottom: 1.8rem;
        font-size: 1.1rem;
        font-weight: 500;
    }

    .logo {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        right: 20px;
    }

    .navbar-container input[type="checkbox"]:checked ~ .menu-items {
        transform: translateX(0);
    }

    .navbar-container input[type="checkbox"]:checked ~ .hamburger-lines .line1 {
        transform: rotate(45deg);
    }

    .navbar-container input[type="checkbox"]:checked ~ .hamburger-lines .line2 {
        transform: scaleY(0);
    }

    .navbar-container input[type="checkbox"]:checked ~ .hamburger-lines .line3 {
        transform: rotate(-45deg);
    }
}

@media (max-width: 500px) {
    .navbar-container input[type="checkbox"]:checked ~ .logo {
        display: none;
    }

    #feedback {
        padding: 0 20px 71px;
    }
}

h1 {
    padding-bottom: 20px;
}

h2 {
    padding-bottom: 40px;
}

.header {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    background: linear-gradient(135deg, var(--color-accent-1) 0%, var(--color-background-dark) 100%);
    background-size: cover;
    padding: 100px 0;
    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" width="200" height="200" viewBox="0 0 200 200"><rect width="200" height="200" fill="none"/><path d="M0 100 L100 0 L200 100 L100 200 Z" fill="%237dd3fc" opacity="0.05"/></svg>');
    background-size: 200px 200px;
    opacity: 0.2;
    animation: crystalShimmer 30s linear infinite;
}

@keyframes crystalShimmer {
    0% {
        opacity: 0.1;
        transform: scale(1);
    }
    50% {
        opacity: 0.2;
        transform: scale(1.1);
    }
    100% {
        opacity: 0.1;
        transform: scale(1);
    }
}

.header-cont {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    color: var(--color-text);
    backdrop-filter: blur(2px);
    padding: 40px;
    border-radius: 10px;
    background: rgba(10, 26, 42, 0.3);
    border: 1px solid rgba(125, 211, 252, 0.2);
    box-shadow: 0 0 40px rgba(125, 211, 252, 0.15);
    position: relative;
    z-index: 1;
}

.main-button {
    margin: 20px;
    padding: 10px 50px;
    border-radius: 30px;
    color: var(--color-background-dark);
    font-weight: 500;
    background: linear-gradient(to right, var(--color-button-gradient-start), var(--color-button-gradient-end));
    border: none;
    box-shadow: 0 0 20px rgba(125, 211, 252, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.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;
}

.main-button:hover::before {
    left: 100%;
}

.main-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(125, 211, 252, 0.6);
}

.enter {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px 10px 20px;
    background: linear-gradient(rgba(10, 26, 42, 0.8), rgba(10, 26, 42, 0.9)), url("../img/bg-2.png") no-repeat center center;
    background-size: cover;
    min-height: 80vh;
    position: relative;
}

.enter::after {
    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" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="none"/><path d="M50 0 L100 50 L50 100 L0 50 Z" fill="%237dd3fc" opacity="0.03"/></svg>');
    background-size: 100px 100px;
    opacity: 0.2;
    pointer-events: none;
}

.enter-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    background: rgba(10, 26, 42, 0.7);
    padding: 40px;
    border-radius: 10px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(125, 211, 252, 0.2);
    box-shadow: 0 0 30px rgba(125, 211, 252, 0.1);
}

.experience {
    padding: 40px 0;
    background: var(--color-background-dark);
    position: relative;
    overflow: hidden;
}

.experience::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" width="150" height="150" viewBox="0 0 150 150"><rect width="150" height="150" fill="none"/><path d="M0 75 L75 0 L150 75 L75 150 Z" fill="%237dd3fc" opacity="0.02"/></svg>');
    background-size: 150px 150px;
    opacity: 0.1;
    pointer-events: none;
}

.experience-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    position: relative;
    z-index: 1;
}

.experience-item {
    text-align: center;
    border-radius: 10px;
    padding: 20px;
    background: rgba(56, 76, 112, 0.3);
    border: 1px solid rgba(125, 211, 252, 0.2);
    box-shadow: 0 0 20px rgba(125, 211, 252, 0.1);
    backdrop-filter: blur(3px);
    transition: all 0.3s ease;
}

.experience-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(125, 211, 252, 0.15);
}

.experience-item h4 {
    padding-bottom: 10px;
}

#contact {
    padding: 40px 10%;
    background: linear-gradient(135deg, var(--color-background) 0%, var(--color-background-dark) 100%);
}

.contact-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 30px;
    text-align: center;
    border-radius: 7px;
    border: 5px solid var(--color-accent-2);
    background: var(--color-accent-3);
    box-shadow: 0 0 30px rgba(125, 211, 252, 0.15);
    position: relative;
    overflow: hidden;
}

.contact-wrapper::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" width="80" height="80" viewBox="0 0 80 80"><rect width="80" height="80" fill="none"/><path d="M0 40 L40 0 L80 40 L40 80 Z" fill="%237dd3fc" opacity="0.05"/></svg>');
    background-size: 80px 80px;
    opacity: 0.2;
    pointer-events: none;
}

.contact-wrapper a {
    text-decoration: none;
    color: var(--color-text);
    position: relative;
    transition: all 0.3s ease;
}

.contact-wrapper a:hover {
    color: var(--color-heading);
    text-shadow: 0 0 10px rgba(125, 211, 252, 0.5);
}

#contacts {
    padding: 40px 10px;
}

.img-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 30px;
}

.img-wrapper img {
    max-width: 140px;
    filter: drop-shadow(0 0 15px rgba(125, 211, 252, 0.4));
    transition: all 0.3s ease;
}

.img-wrapper img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 20px rgba(125, 211, 252, 0.6));
}

.background-accent {
    background: var(--color-accent-1);
    color: var(--color-text);
    position: relative;
    overflow: hidden;
}

.background-accent::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" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="none"/><path d="M50 0 L100 50 L50 100 L0 50 Z" fill="%23e0f0ff" opacity="0.05"/></svg>');
    background-size: 100px 100px;
    opacity: 0.1;
    pointer-events: none;
}

@media (max-width: 830px) {
    header {
        padding: 0;
    }

    h1 {
        font-size: 35px;
    }

    .col-wrapper, .experience-wrapper {
        flex-wrap: wrap;
    }

    .col, .experience-item, .age-cont, .header-cont {
        width: 100%;
    }

    .age {
        padding: 30px 10px;
    }

    .header-cont {
        padding: 10px;
    }

    .col-wrapper .col:not(:last-child) {
        padding-bottom: 20px;
    }
}

.terms {
    padding: 40px 10px;
    background: var(--color-background-dark);
}

.terms a {
    text-decoration: underline;
    color: var(--color-text);
    transition: all 0.3s ease;
}

.terms a:hover {
    color: var(--color-heading);
    text-shadow: 0 0 8px rgba(125, 211, 252, 0.4);
}

header {
    padding-bottom: 80px;
}

h2 {
    text-align: center;
}

body {
    background-color: var(--color-background);
    min-height: 100vh;
}

header {
    padding-bottom: 100px;
}

.game-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px 10px;
    background: var(--color-background);
    position: relative;
}

.game-container::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" width="120" height="120" viewBox="0 0 120 120"><rect width="120" height="120" fill="none"/><path d="M0 60 L60 0 L120 60 L60 120 Z" fill="%237dd3fc" opacity="0.03"/></svg>');
    background-size: 120px 120px;
    opacity: 0.15;
    pointer-events: none;
}

.slot-machine {
    width: 100%;
    max-width: 900px;
    text-align: center;
    background: var(--color-background-dark);
    padding: 40px 30px;
    border-radius: 10px;
    border: 1px solid rgba(125, 211, 252, 0.2);
    box-shadow: 0 0 30px rgba(125, 211, 252, 0.15);
    position: relative;
    z-index: 1;
}

.grid {
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: flex-start;
    overflow: hidden;
    margin-bottom: 20px;
    padding: 10px;
    border-radius: 10px;
    background: var(--color-background-darker);
    border: 1px solid rgba(125, 211, 252, 0.1);
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.2);
}

.balance-wrapper {
    min-width: 100px;
    color: white;
}

.column {
    display: flex;
    flex-direction: column;
    gap: 10px;
    animation: none;
    width: 23%;
}

.cell {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    background: rgba(125, 211, 252, 0.05);
    padding: 10px;
    border: 1px solid rgba(125, 211, 252, 0.1);
    box-shadow: 0 0 10px rgba(125, 211, 252, 0.05);
}

.cell svg {
    max-width: 100%;
    max-height: 100%;
    filter: drop-shadow(0 0 5px rgba(125, 211, 252, 0.3));
}

.info {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: rgba(125, 211, 252, 0.05);
    padding: 10px;
    border-radius: 10px;
    color: white;
    border: 1px solid rgba(125, 211, 252, 0.1);
}

.info-wrapper span {
    display: block;
    font-weight: bold;
    padding-top: 10px;
    color: var(--color-heading);
}

.decrease, .increase {
    padding: 10px;
    color: white;
    background: var(--color-control);
    border-radius: 20px;
    border: 1px solid var(--color-control-border);
    cursor: pointer;
    transition: all 0.3s ease;
}

.decrease:hover, .increase:hover {
    background: var(--color-background-darker);
    box-shadow: 0 0 10px rgba(125, 211, 252, 0.3);
}

.bet {
    border-radius: 5px;
    padding: 5px 10px;
    color: white;
    background: rgba(125, 211, 252, 0.05);
    border: 1px solid rgba(125, 211, 252, 0.2);
}

/* Анимация вращения колонок */
@keyframes spin {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-300%);
    }
}

button.spin {
    background: linear-gradient(to right, var(--color-button-gradient-start), var(--color-button-gradient-end));
    color: var(--color-background-dark);
    font-size: 20px;
    font-weight: bold;
    border: none;
    padding: 20px 30px;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(125, 211, 252, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

button.spin::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;
}

button.spin:hover::before {
    left: 100%;
}

button.spin:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(125, 211, 252, 0.5);
}

.navbar-container .hamburger-lines .line {
    background: var(--color-text);
}

.controls {
    margin-bottom: 20px;
    display: flex;
    gap: 10px;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-radius: 10px;
    background: rgba(125, 211, 252, 0.05);
    border: 1px solid rgba(125, 211, 252, 0.1);
}

.controls-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

@media (max-width: 473px) {
    .controls {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }

    .balance-wrapper, .controls-wrapper {
        width: 100%;
    }

    .controls-wrapper {
        justify-content: center;
    }

    button.spin {
        padding: 10px 43px;
    }
}

/*modal*/
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(6, 15, 28, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(8px);
}

.modal {
    background: var(--color-modal-background);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(125, 211, 252, 0.3);
    text-align: center;
    width: 300px;
    position: relative;
    color: var(--color-modal-text);
    border: 1px solid rgba(125, 211, 252, 0.3);
}

.modal .age-circle {
    background-color: var(--color-modal-circle);
    color: var(--color-text);
    width: 60px;
    height: 60px;
    margin: 0 auto 10px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    font-weight: bold;
    box-shadow: 0 0 20px rgba(125, 211, 252, 0.4);
}

.modal h2 {
    font-size: 18px;
    padding-bottom: 10px;
    color: var(--color-modal-text);
    text-shadow: 0 0 10px rgba(125, 211, 252, 0.3);
}

.modal button {
    background: linear-gradient(to right, var(--color-button-gradient-start), var(--color-button-gradient-end));
    border: none;
    color: var(--color-background-dark);
    font-weight: bold;
    padding: 10px 20px;
    font-size: 14px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
    box-shadow: 0 0 15px rgba(125, 211, 252, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.modal 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;
}

.modal button:hover::before {
    left: 100%;
}

.modal button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(125, 211, 252, 0.5);
}

.logo img {
    width: 50px;
    height: auto;
    filter: drop-shadow(0 0 10px rgba(125, 211, 252, 0.4));
}

:root {
    /* Основные цвета */
    --color-background: #0a1a2a;
    --color-text: #e0f0ff;
    --color-heading: #7dd3fc;
    --color-link-hover: rgba(198, 232, 255, 0.8);

    /* Акцентные цвета */
    --color-accent-1: #4a6baf;
    --color-accent-2: #2a344e;
    --color-accent-3: #384c70;

    /* Фоновые цвета */
    --color-background-dark: #060f1c;
    --color-background-darker: #030a14;
    --color-background-light: rgba(125, 211, 252, 0.1);
    --color-background-lighter: rgba(125, 211, 252, 0.15);

    /* Цвета контролов */
    --color-control: #172436;
    --color-control-border: #5390c9;

    /* Цвета кнопок */
    --color-button: #5390c9;
    --color-button-hover: #4377a9;
    --color-button-gradient-start: #7dd3fc;
    --color-button-gradient-end: #3b82f6;

    /* Модальное окно */
    --color-modal-background: #0f2440;
    --color-modal-text: #e0f0ff;
    --color-modal-circle: #3b82f6;

    /* Эффекты */
    --crystal-glow: 0 0 20px rgba(125, 211, 252, 0.4);
    --crystal-glow-strong: 0 0 30px rgba(125, 211, 252, 0.7);
    --crystal-border: 1px solid rgba(125, 211, 252, 0.2);
    --crystal-shimmer: linear-gradient(135deg, rgba(125, 211, 252, 0.4) 0%, transparent 50%, rgba(125, 211, 252, 0.4) 100%);
}

* {
    box-sizing: border-box;
    transition: 0.4s ease all;
    margin: 0;
}

a {
    text-decoration: none;
}

a:hover {
    opacity: 0.8;
    text-shadow: 0 0 10px var(--color-heading);
}

body {
    margin: 0;
    font-family: "Inter", sans-serif;
    line-height: 1.4;
    background: var(--color-background);
    color: var(--color-text);
    font-size: 14px;
    background-image: linear-gradient(to bottom, rgba(10, 26, 42, 0.95), rgba(10, 26, 42, 0.8)),
                      url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="none"/><path d="M0 50 L50 0 L100 50 L50 100 Z" fill="%234a6baf" opacity="0.05"/></svg>');
    background-size: cover, 100px 100px;
    background-attachment: fixed;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: radial-gradient(circle at 50% 50%, transparent 95%, rgba(125, 211, 252, 0.1) 100%);
    animation: pulseRadial 15s infinite alternate;
    z-index: 1;
}

@keyframes pulseRadial {
    0% {
        opacity: 0.3;
        background-size: 100% 100%;
    }
    100% {
        opacity: 0.7;
        background-size: 150% 150%;
    }
}

h1, h2, h3, h4 {
    font-family: "Montserrat", sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    color: var(--color-heading);
    letter-spacing: 2px;
    text-shadow: 0 0 15px rgba(125, 211, 252, 0.6);
    position: relative;
}

h1::after, h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-heading), transparent);
}

h3 {
    font-size: 23px;
}

p {
    font-weight: 300;
    line-height: 1.6;
}

h1 {
    font-size: 45px;
    margin-top: 0;
}

h2 {
    font-size: 35px;
    text-transform: uppercase;
    text-align: center;
}

h3 {
    padding-bottom: 30px;
}

img {
    display: block;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 8px rgba(125, 211, 252, 0.3));
    border-radius: 5px;
}

.container {
    max-width: 1000px;
    margin: auto;
    padding: 0 10px;
}

.navbar input[type="checkbox"],
.navbar .hamburger-lines {
    display: none;
}

.navbar {
    position: absolute;
    top: 0;
    width: 100%;
    color: var(--color-text);
    z-index: 100;
    padding: 20px 0;
    backdrop-filter: blur(10px);
    background: rgba(10, 26, 42, 0.5);
    border-bottom: 1px solid rgba(125, 211, 252, 0.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.navbar::before {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(125, 211, 252, 0.1) 20%,
        rgba(125, 211, 252, 0.3) 50%,
        rgba(125, 211, 252, 0.1) 80%,
        transparent 100%);
    animation: shimmerLine 8s linear infinite;
}

@keyframes shimmerLine {
    0% {
        background-position: -500px 0;
    }
    100% {
        background-position: 500px 0;
    }
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    height: 64px;
    align-items: center;
}

.menu-items {
    order: 2;
    display: flex;
    gap: 52px;
}

.logo {
    order: 1;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 180px;
}

.menu-items li {
    list-style: none;
    font-size: 18px;
    text-transform: uppercase;
}

.navbar a {
    color: var(--color-text);
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s ease-in-out;
    position: relative;
}

.navbar a:hover {
    opacity: 0.7;
    transition: 1s;
}

.navbar a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-heading);
    transition: width 0.3s ease;
}

.navbar a:hover::after {
    width: 100%;
}

.button {
    display: inline-block;
    padding: 10px 40px;
    font-weight: bold;
    background: var(--color-heading);
    color: var(--color-background-dark);
    margin-top: 30px;
    border-radius: 5px;
    border: 1px solid rgba(125, 211, 252, 0.5);
    box-shadow: 0 0 15px rgba(125, 211, 252, 0.4);
    transition: all 0.3s ease;
}

.button:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 20px rgba(125, 211, 252, 0.6);
}

.col-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 30px 0;
}

.col {
    width: 48%;
}

.col-100 {
    width: 100%;
}

.img-col {
    width: 48%;
}

.img-col img {
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(125, 211, 252, 0.3);
    transition: all 0.5s ease;
    position: relative;
    z-index: 1;
    filter: brightness(0.9) contrast(1.1);
}

.img-col img:hover {
    filter: brightness(1.1) contrast(1.2) saturate(1.1);
    transform: scale(1.02);
    box-shadow: 0 0 30px rgba(125, 211, 252, 0.6);
    animation: crystalGlow 3s infinite;
}

.img-col {
    position: relative;
    overflow: hidden;
}

.img-col::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 1px solid rgba(125, 211, 252, 0.2);
    border-radius: 8px;
    z-index: 0;
    opacity: 0;
    transition: all 0.5s ease;
}

.img-col:hover::before {
    opacity: 1;
    animation: borderGlow 3s infinite;
}

.col p:not(:last-child), .contact-wrapper p:not(:last-child) {
    padding-bottom: 15px;
}

.age {
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--color-accent-1);
    color: var(--color-text);
    position: relative;
    overflow: hidden;
}

.age::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" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="none"/><path d="M0 50 L50 0 L100 50 L50 100 Z" fill="%237dd3fc" opacity="0.05"/></svg>');
    background-size: 100px 100px;
    opacity: 0.1;
}

.age-cont, .header-cont {
    width: 60%;
    max-width: 800px;
}

.age-cont {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    width: 90%;
    padding: 30px 50px;
    border-radius: 15px;
    color: var(--color-text);
    background: rgba(59, 130, 246, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(125, 211, 252, 0.3);
    box-shadow: 0 0 30px rgba(125, 211, 252, 0.2);
}

.age-cont p {
    display: block;
    width: 87%;
}

.age-cont svg {
    display: block;
    width: 10%;
    filter: drop-shadow(0 0 5px rgba(125, 211, 252, 0.5));
}

.footer-age {
    background: var(--color-heading);
    color: var(--color-background-dark);
}

.footer-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    background: var(--color-heading);
    margin-bottom: 20px;
    box-shadow: 0 0 20px rgba(125, 211, 252, 0.4);
}

.footer-logo-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.footer-logo-wrapper img {
    max-height: 50px;
    width: auto;
    filter: drop-shadow(0 0 5px rgba(10, 26, 42, 0.5));
}

.footer-logo-wrapper a {
    display: block;
}

.footer-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 10px;
    padding: 30px;
    background: var(--color-background-dark);
    border-top: 1px solid rgba(125, 211, 252, 0.2);
    position: relative;
    overflow: hidden;
}

.footer-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="80" height="80" viewBox="0 0 80 80"><rect width="80" height="80" fill="none"/><path d="M40 0 L80 40 L40 80 L0 40 Z" fill="%237dd3fc" opacity="0.02"/></svg>');
    background-size: 80px 80px;
    opacity: 0.3;
    pointer-events: none;
}

.footer-wrapper::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(125, 211, 252, 0.05) 0%, transparent 60%);
    animation: rotateGradient 30s linear infinite;
    opacity: 0.5;
    pointer-events: none;
}

.footer-links-wrapper {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.footer-links-wrapper a {
    color: var(--color-text);
    text-decoration: none;
    position: relative;
    padding: 5px;
}

.footer-links-wrapper a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-heading);
    transition: width 0.3s ease;
}

.footer-links-wrapper a:hover::after {
    width: 100%;
}

@media screen and (max-width: 1200px) {
    .menu-items li {
        font-size: 15px;
    }

    .menu-items {
        gap: 25px;
    }

    .logo img {
        max-width: 200px;
    }

    .navbar {
        padding: 8px 0;
    }
}

/*nav*/
@media (max-width: 830px) {
    .footer-logo-wrapper {
        flex-wrap: wrap;
        justify-content: center;
    }

    h2 {
        font-size: 25px;
    }

    header {
        padding-bottom: 60px;
    }

    .logo img {
        max-width: 150px;
    }

    .navbar {
        opacity: 0.95;
        padding: 0;
    }

    .navbar-container input[type="checkbox"],
    .navbar-container .hamburger-lines {
        display: block;
    }

    .navbar-container {
        display: block;
        position: relative;
        padding: 3px 0;
        height: 64px;
    }

    .navbar-container input[type="checkbox"] {
        position: absolute;
        display: block;
        height: 32px;
        width: 30px;
        top: 50%;
        transform: translateY(-50%);
        left: 20px;
        z-index: 5;
        opacity: 0;
        cursor: pointer;
    }

    .navbar-container .hamburger-lines {
        height: 28px;
        width: 35px;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        left: 20px;
        z-index: 2;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .navbar-container .hamburger-lines .line {
        display: block;
        height: 2px;
        width: 100%;
        border-radius: 10px;
        background: var(--color-text);
    }

    .navbar-container .hamburger-lines .line1 {
        transform-origin: 0 0;
        transition: transform 0.3s ease-in-out;
    }

    .navbar-container .hamburger-lines .line2 {
        transition: transform 0.2s ease-in-out;
    }

    .navbar-container .hamburger-lines .line3 {
        transform-origin: 0 100%;
        transition: transform 0.3s ease-in-out;
    }

    .navbar .menu-items {
        padding-top: 100px;
        background: var(--color-background);
        height: calc(100vh + 10px);
        max-width: 300px;
        transform: translate(-150%);
        display: flex;
        flex-direction: column;
        margin: -10px 0 0 -40px;
        padding-left: 60px;
        transition: transform 0.5s ease-in-out;
        box-shadow: 5px 0 10px 0 var(--color-background-darker);
        overflow: scroll;
    }

    .navbar .menu-items li {
        margin-bottom: 1.8rem;
        font-size: 1.1rem;
        font-weight: 500;
    }

    .logo {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        right: 20px;
    }

    .navbar-container input[type="checkbox"]:checked ~ .menu-items {
        transform: translateX(0);
    }

    .navbar-container input[type="checkbox"]:checked ~ .hamburger-lines .line1 {
        transform: rotate(45deg);
    }

    .navbar-container input[type="checkbox"]:checked ~ .hamburger-lines .line2 {
        transform: scaleY(0);
    }

    .navbar-container input[type="checkbox"]:checked ~ .hamburger-lines .line3 {
        transform: rotate(-45deg);
    }
}

@media (max-width: 500px) {
    .navbar-container input[type="checkbox"]:checked ~ .logo {
        display: none;
    }

    #feedback {
        padding: 0 20px 71px;
    }
}

h1 {
    padding-bottom: 20px;
}

h2 {
    padding-bottom: 40px;
}

.header {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    background: linear-gradient(135deg, var(--color-accent-1) 0%, var(--color-background-dark) 100%);
    background-size: cover;
    padding: 100px 0;
    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" width="200" height="200" viewBox="0 0 200 200"><rect width="200" height="200" fill="none"/><path d="M0 100 L100 0 L200 100 L100 200 Z" fill="%237dd3fc" opacity="0.05"/></svg>');
    background-size: 200px 200px;
    opacity: 0.2;
    animation: crystalShimmer 30s linear infinite;
}

@keyframes crystalShimmer {
    0% {
        opacity: 0.1;
        transform: scale(1);
    }
    50% {
        opacity: 0.2;
        transform: scale(1.1);
    }
    100% {
        opacity: 0.1;
        transform: scale(1);
    }
}

@keyframes crystalGlow {
    0% {
        box-shadow: 0 0 5px rgba(125, 211, 252, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(125, 211, 252, 0.6);
    }
    100% {
        box-shadow: 0 0 5px rgba(125, 211, 252, 0.3);
    }
}

@keyframes floatAnimation {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0);
    }
}

@keyframes borderGlow {
    0% {
        border-color: rgba(125, 211, 252, 0.2);
    }
    50% {
        border-color: rgba(125, 211, 252, 0.5);
    }
    100% {
        border-color: rgba(125, 211, 252, 0.2);
    }
}

.header-cont {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    color: var(--color-text);
    backdrop-filter: blur(2px);
    padding: 40px;
    border-radius: 10px;
    background: rgba(10, 26, 42, 0.3);
    border: 1px solid rgba(125, 211, 252, 0.2);
    box-shadow: 0 0 40px rgba(125, 211, 252, 0.15);
    position: relative;
    z-index: 1;
    animation: floatAnimation 6s ease-in-out infinite;
}

.header-cont::before, .header-cont::after {
    content: '';
    position: absolute;
    width: calc(100% + 40px);
    height: calc(100% + 40px);
    top: -20px;
    left: -20px;
    background: transparent;
    border: 2px solid rgba(125, 211, 252, 0.1);
    border-radius: 15px;
    animation: expandBorder 6s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: -1;
}

.header-cont::after {
    animation-delay: 3s;
}

@keyframes expandBorder {
    0% {
        transform: scale(0.97);
        opacity: 0.3;
    }
    100% {
        transform: scale(1.03);
        opacity: 0.7;
    }
}

.main-button {
    margin: 20px;
    padding: 10px 50px;
    border-radius: 30px;
    color: var(--color-background-dark);
    font-weight: 500;
    background: linear-gradient(to right, var(--color-button-gradient-start), var(--color-button-gradient-end));
    border: none;
    box-shadow: 0 0 20px rgba(125, 211, 252, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.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;
}

.main-button::after {
    content: "";
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg,
        var(--color-button-gradient-start) 0%,
        transparent 50%,
        var(--color-button-gradient-end) 100%);
    border-radius: 30px;
    z-index: -2;
    animation: rotateGradient 3s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.main-button:hover::before {
    left: 100%;
}

.main-button:hover::after {
    opacity: 1;
}

.main-button:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 5px 25px rgba(125, 211, 252, 0.7);
    letter-spacing: 1px;
}

.enter {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px 10px 20px;
    background: linear-gradient(rgba(10, 26, 42, 0.8), rgba(10, 26, 42, 0.9)), url("../img/bg-2.png") no-repeat center center;
    background-size: cover;
    min-height: 80vh;
    position: relative;
}

.enter::after {
    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" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="none"/><path d="M50 0 L100 50 L50 100 L0 50 Z" fill="%237dd3fc" opacity="0.03"/></svg>');
    background-size: 100px 100px;
    opacity: 0.2;
    pointer-events: none;
}

.enter-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    background: rgba(10, 26, 42, 0.7);
    padding: 40px;
    border-radius: 10px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(125, 211, 252, 0.2);
    box-shadow: 0 0 30px rgba(125, 211, 252, 0.1);
}

.experience {
    padding: 40px 0;
    background: var(--color-background-dark);
    position: relative;
    overflow: hidden;
}

.experience::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" width="150" height="150" viewBox="0 0 150 150"><rect width="150" height="150" fill="none"/><path d="M0 75 L75 0 L150 75 L75 150 Z" fill="%237dd3fc" opacity="0.02"/></svg>');
    background-size: 150px 150px;
    opacity: 0.1;
    pointer-events: none;
}

.experience::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(125, 211, 252, 0.1) 25%,
        rgba(125, 211, 252, 0.3) 50%,
        rgba(125, 211, 252, 0.1) 75%,
        transparent 100%);
    animation: shimmerLine 15s linear infinite;
}

.experience h2::before,
.experience h2::after {
    content: "✧";
    display: inline-block;
    color: var(--color-heading);
    opacity: 0.6;
    margin: 0 15px;
    animation: crystalGlow 3s infinite;
}

.experience-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    position: relative;
    z-index: 1;
}

.experience-item {
    text-align: center;
    border-radius: 10px;
    padding: 20px;
    background: rgba(56, 76, 112, 0.3);
    border: 1px solid rgba(125, 211, 252, 0.2);
    box-shadow: 0 0 20px rgba(125, 211, 252, 0.1);
    backdrop-filter: blur(3px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.experience-item::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(125, 211, 252, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.experience-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(125, 211, 252, 0.15);
    animation: borderGlow 3s infinite;
}

.experience-item:hover::after {
    opacity: 1;
    animation: rotateGradient 10s linear infinite;
}

@keyframes rotateGradient {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.experience-item h4 {
    padding-bottom: 10px;
}

#contact {
    padding: 40px 10%;
    background: linear-gradient(135deg, var(--color-background) 0%, var(--color-background-dark) 100%);
}

.contact-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 30px;
    text-align: center;
    border-radius: 7px;
    border: 5px solid var(--color-accent-2);
    background: var(--color-accent-3);
    box-shadow: 0 0 30px rgba(125, 211, 252, 0.15);
    position: relative;
    overflow: hidden;
}

.contact-wrapper::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" width="80" height="80" viewBox="0 0 80 80"><rect width="80" height="80" fill="none"/><path d="M0 40 L40 0 L80 40 L40 80 Z" fill="%237dd3fc" opacity="0.05"/></svg>');
    background-size: 80px 80px;
    opacity: 0.2;
    pointer-events: none;
}

.contact-wrapper a {
    text-decoration: none;
    color: var(--color-text);
    position: relative;
    transition: all 0.3s ease;
}

.contact-wrapper a:hover {
    color: var(--color-heading);
    text-shadow: 0 0 10px rgba(125, 211, 252, 0.5);
}

#contacts {
    padding: 40px 10px;
}

.img-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 30px;
}

.img-wrapper img {
    max-width: 140px;
    filter: drop-shadow(0 0 15px rgba(125, 211, 252, 0.4));
    transition: all 0.3s ease;
}

.img-wrapper img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 20px rgba(125, 211, 252, 0.6));
}

.background-accent {
    background: var(--color-accent-1);
    color: var(--color-text);
    position: relative;
    overflow: hidden;
}

.background-accent::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" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="none"/><path d="M50 0 L100 50 L50 100 L0 50 Z" fill="%23e0f0ff" opacity="0.05"/></svg>');
    background-size: 100px 100px;
    opacity: 0.1;
    pointer-events: none;
}

@media (max-width: 830px) {
    header {
        padding: 0;
    }

    h1 {
        font-size: 35px;
    }

    .col-wrapper, .experience-wrapper {
        flex-wrap: wrap;
    }

    .col, .experience-item, .age-cont, .header-cont {
        width: 100%;
    }

    .age {
        padding: 30px 10px;
    }

    .header-cont {
        padding: 10px;
    }

    .col-wrapper .col:not(:last-child) {
        padding-bottom: 20px;
    }
}

.terms {
    padding: 40px 10px;
    background: var(--color-background-dark);
}

.terms a {
    text-decoration: underline;
    color: var(--color-text);
    transition: all 0.3s ease;
}

.terms a:hover {
    color: var(--color-heading);
    text-shadow: 0 0 8px rgba(125, 211, 252, 0.4);
}

header {
    padding-bottom: 80px;
}

h2 {
    text-align: center;
}

body {
    background-color: var(--color-background);
    min-height: 100vh;
}

header {
    padding-bottom: 100px;
}

.game-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px 10px;
    background: var(--color-background);
    position: relative;
}

.game-container::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" width="120" height="120" viewBox="0 0 120 120"><rect width="120" height="120" fill="none"/><path d="M0 60 L60 0 L120 60 L60 120 Z" fill="%237dd3fc" opacity="0.03"/></svg>');
    background-size: 120px 120px;
    opacity: 0.15;
    pointer-events: none;
}

.slot-machine {
    width: 100%;
    max-width: 900px;
    text-align: center;
    background: var(--color-background-dark);
    padding: 40px 30px;
    border-radius: 10px;
    border: 1px solid rgba(125, 211, 252, 0.2);
    box-shadow: 0 0 30px rgba(125, 211, 252, 0.15);
    position: relative;
    z-index: 1;
}

.grid {
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: flex-start;
    overflow: hidden;
    margin-bottom: 20px;
    padding: 10px;
    border-radius: 10px;
    background: var(--color-background-darker);
    border: 1px solid rgba(125, 211, 252, 0.1);
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.2);
    position: relative;
}

.grid::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(135deg,
        rgba(125, 211, 252, 0.2) 0%,
        transparent 25%,
        transparent 75%,
        rgba(125, 211, 252, 0.2) 100%);
    border-radius: 15px;
    z-index: -1;
    animation: rotateGradient 20s linear infinite;
}

.grid::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60" viewBox="0 0 60 60"><rect width="60" height="60" fill="none"/><path d="M30 0 L60 30 L30 60 L0 30 Z" fill="%237dd3fc" opacity="0.02"/></svg>');
    background-size: 60px 60px;
    pointer-events: none;
    z-index: -1;
    opacity: 0.5;
}

.balance-wrapper {
    min-width: 100px;
    color: white;
}

.column {
    display: flex;
    flex-direction: column;
    gap: 10px;
    animation: none;
    width: 23%;
}

.cell {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    background: rgba(125, 211, 252, 0.05);
    padding: 10px;
    border: 1px solid rgba(125, 211, 252, 0.1);
    box-shadow: 0 0 10px rgba(125, 211, 252, 0.05);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.cell::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(125, 211, 252, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.cell:hover::before {
    opacity: 1;
    animation: rotateGradient 5s linear infinite;
}

.cell svg {
    max-width: 100%;
    max-height: 100%;
    filter: drop-shadow(0 0 5px rgba(125, 211, 252, 0.3));
    transition: all 0.3s ease;
}

.cell:hover svg {
    transform: scale(1.05);
    filter: drop-shadow(0 0 8px rgba(125, 211, 252, 0.5));
}

.cell::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
        rgba(125, 211, 252, 0.2) 0%,
        transparent 50%,
        rgba(125, 211, 252, 0.2) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cell:hover::after {
    opacity: 0.4;
}

.info {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: rgba(125, 211, 252, 0.05);
    padding: 10px;
    border-radius: 10px;
    color: white;
    border: 1px solid rgba(125, 211, 252, 0.1);
}

.info-wrapper span {
    display: block;
    font-weight: bold;
    padding-top: 10px;
    color: var(--color-heading);
}

.decrease, .increase {
    padding: 10px;
    color: white;
    background: var(--color-control);
    border-radius: 20px;
    border: 1px solid var(--color-control-border);
    cursor: pointer;
    transition: all 0.3s ease;
}

.decrease:hover, .increase:hover {
    background: var(--color-background-darker);
    box-shadow: 0 0 10px rgba(125, 211, 252, 0.3);
}

.bet {
    border-radius: 5px;
    padding: 5px 10px;
    color: white;
    background: rgba(125, 211, 252, 0.05);
    border: 1px solid rgba(125, 211, 252, 0.2);
}

/* Анимация вращения колонок */
@keyframes spin {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-300%);
    }
}

button.spin {
    background: linear-gradient(to right, var(--color-button-gradient-start), var(--color-button-gradient-end));
    color: var(--color-background-dark);
    font-size: 20px;
    font-weight: bold;
    border: none;
    padding: 20px 30px;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(125, 211, 252, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
}

button.spin::after {
    content: "";
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--crystal-shimmer);
    border-radius: 50px;
    z-index: -1;
    animation: rotateGradient 3s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

button.spin:hover::after {
    opacity: 1;
}

button.spin:active {
    transform: scale(0.98);
    box-shadow: 0 0 25px rgba(125, 211, 252, 0.8);
}

button.spin::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;
}

button.spin:hover::before {
    left: 100%;
}

button.spin:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(125, 211, 252, 0.5);
}

.navbar-container .hamburger-lines .line {
    background: var(--color-text);
}

.controls {
    margin-bottom: 20px;
    display: flex;
    gap: 10px;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-radius: 10px;
    background: rgba(125, 211, 252, 0.05);
    border: 1px solid rgba(125, 211, 252, 0.1);
}

.controls-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

@media (max-width: 473px) {
    .controls {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }

    .balance-wrapper, .controls-wrapper {
        width: 100%;
    }

    .controls-wrapper {
        justify-content: center;
    }

    button.spin {
        padding: 10px 43px;
    }
}

/*modal*/
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(6, 15, 28, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(8px);
}

.modal {
    background: var(--color-modal-background);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(125, 211, 252, 0.3);
    text-align: center;
    width: 300px;
    position: relative;
    color: var(--color-modal-text);
    border: 1px solid rgba(125, 211, 252, 0.3);
    animation: modalAppear 0.5s ease-out forwards;
    overflow: hidden;
}

.modal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="none"/><path d="M50 0 L100 50 L50 100 L0 50 Z" fill="%237dd3fc" opacity="0.05"/></svg>');
    background-size: 100px 100px;
    opacity: 0.1;
    pointer-events: none;
}

.modal::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(125, 211, 252, 0.05) 0%, transparent 70%);
    animation: rotateGradient 20s linear infinite;
    pointer-events: none;
}

@keyframes modalAppear {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.modal .age-circle {
    background-color: var(--color-modal-circle);
    color: var(--color-text);
    width: 60px;
    height: 60px;
    margin: 0 auto 10px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    font-weight: bold;
    box-shadow: 0 0 20px rgba(125, 211, 252, 0.4);
}

.modal h2 {
    font-size: 18px;
    padding-bottom: 10px;
    color: var(--color-modal-text);
    text-shadow: 0 0 10px rgba(125, 211, 252, 0.3);
}

.modal button {
    background: linear-gradient(to right, var(--color-button-gradient-start), var(--color-button-gradient-end));
    border: none;
    color: var(--color-background-dark);
    font-weight: bold;
    padding: 10px 20px;
    font-size: 14px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
    box-shadow: 0 0 15px rgba(125, 211, 252, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.modal 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;
}

.modal button:hover::before {
    left: 100%;
}

.modal button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(125, 211, 252, 0.5);
}

.logo img {
    width: 50px;
    height: auto;
    filter: drop-shadow(0 0 10px rgba(125, 211, 252, 0.4));
}