:root {
    /* Основные цвета */
    --color-background: #0F172A;        /* Тёмно-синий, как ночное небо */
    --color-text: #E2DED0;              /* Состаренный пергамент */
    --color-heading: #C9A227;           /* Золото алхимиков */
    --color-link-hover: rgba(201, 162, 39, 0.8);
    
    /* Акцентные цвета */
    --color-accent-1: #5D4E77;          /* Фиолетовый, как зелье мудрости */
    --color-accent-2: #3A4022;          /* Тёмно-зелёный, как травы алхимиков */
    --color-accent-3: #6D4C33;          /* Коричневый, как старые книги */
    
    /* Фоновые цвета */
    --color-background-dark: #070E1A;   /* Более тёмный оттенок для теней */
    --color-background-darker: #050A14;  /* Почти чёрный для глубоких теней */
    --color-background-light: rgba(201, 162, 39, 0.1); /* Лёгкое свечение */
    --color-background-lighter: rgba(201, 162, 39, 0.15); /* Более яркое свечение */
    
    /* Цвета контролов */
    --color-control: #1F2937;           /* Тёмный камень */
    --color-control-border: #C9A227;    /* Золотая окантовка */
    
    /* Цвета кнопок */
    --color-button: #C9A227;            /* Золото алхимиков */
    --color-button-hover: #A58517;      /* Потускневшее золото */
    --color-button-gradient-start: #C9A227; /* Свечение алхимического золота */
    --color-button-gradient-end: #8E5A04;   /* Переход к янтарному */
    
    /* Модальное окно */
    --color-modal-background: #1F2937;  /* Тёмный камень */
    --color-modal-text: #E2DED0;        /* Состаренный пергамент */
    --color-modal-circle: #762B1D;      /* Алхимический рубин */
}

* {
    box-sizing: border-box;
    transition: 0.4s ease all;
    margin: 0;
}

a {
    text-decoration: none;
}

a:hover {
    opacity: 0.8;
}

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: 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='%235d4e77' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
}

h1, h2, h3, h4 {
    font-family: "Montserrat", sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    color: var(--color-heading);
    text-shadow: 0 0 10px rgba(201, 162, 39, 0.5);
    letter-spacing: 1px;
}

h1:after, h2:after {
    content: "";
    display: block;
    width: 80px;
    height: 3px;
    margin: 15px auto;
    background: linear-gradient(90deg, 
        rgba(201, 162, 39, 0) 0%, 
        rgba(201, 162, 39, 1) 50%, 
        rgba(201, 162, 39, 0) 100%);
}

h3 {
    font-size: 23px;
}

p {
    font-weight: 300;
}

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;
}

.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;
    background: linear-gradient(to bottom, 
        rgba(7, 14, 26, 0.9) 0%, 
        rgba(7, 14, 26, 0.7) 50%, 
        rgba(7, 14, 26, 0) 100%);
}

.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: 150px;
}

.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;
    overflow: hidden;
}

.navbar a:after {
    content: "";
    position: absolute;
    bottom: -3px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--color-heading);
    transition: all 0.5s ease;
    transform: translateX(-50%);
    box-shadow: 0 0 8px var(--color-heading);
}

.navbar a:hover:after {
    width: 100%;
}

.navbar a:hover {
    opacity: 0.7;
    transition: 1s;
}

.button {
    display: inline-block;
    padding: 10px 40px;
    font-weight: bold;
    background: var(--color-heading);
    color: var(--color-modal-text);
    margin-top: 30px;
    border-radius: 5px;
    box-shadow: 0 0 15px rgba(201, 162, 39, 0.4);
    border: 1px solid rgba(201, 162, 39, 0.6);
    transition: all 0.5s ease;
}

.button:hover {
    box-shadow: 0 0 25px rgba(201, 162, 39, 0.7);
    transform: translateY(-2px);
}

.col-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 30px 0;
    opacity: 0.9;
    transform: translateY(0);
    transition: all 0.8s ease;
}

.col-wrapper:hover {
    opacity: 1;
    transform: translateY(-5px);
}

.col {
    width: 48%;
    background: linear-gradient(135deg, 
        var(--color-background-dark) 0%, 
        var(--color-background) 50%, 
        var(--color-background-dark) 100%);
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    border-top: 1px solid rgba(201, 162, 39, 0.3);
    border-left: 1px solid rgba(201, 162, 39, 0.2);
    padding: 20px;
}

.col-100 {
    width: 100%;
}

.img-col {
    width: 48%;
}

.img-col img {
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(201, 162, 39, 0.2);
}

.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-modal-text);
}

.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-modal-text);
    background: linear-gradient(135deg, 
        rgba(93, 78, 119, 0.8) 0%, 
        rgba(93, 78, 119, 1) 100%);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(201, 162, 39, 0.3);
}

.age-cont p {
    display: block;
    width: 87%;
}

.age-cont svg {
    display: block;
    width: 10%;
    filter: drop-shadow(0 0 5px rgba(201, 162, 39, 0.5));
}

.footer-age {
    background: var(--color-heading);
    color: var(--color-modal-text);
}

.footer-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    background: var(--color-heading);
    margin-bottom: 20px;
}

.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 3px rgba(0, 0, 0, 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: linear-gradient(to bottom, 
        var(--color-background-dark) 0%, 
        var(--color-background-darker) 100%);
    border-top: 1px solid rgba(201, 162, 39, 0.3);
}

.footer-links-wrapper {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.footer-links-wrapper a {
    color: var(--color-text);
    text-decoration: none;
    position: relative;
}

.footer-links-wrapper a:after {
    content: "";
    position: absolute;
    bottom: -3px;
    left: 50%;
    width: 0;
    height: 1px;
    background: var(--color-heading);
    transition: all 0.5s ease;
    transform: translateX(-50%);
}

.footer-links-wrapper a:hover:after {
    width: 100%;
}

@media screen and (max-width: 1200px) {
    .menu-items li {
        font-size: 15px;
    }

    .menu-items {
        gap: 25px;
    }

    .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: 100px;
    }

    .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;
    right: 0;
    bottom: 0;
    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='%23c9a227' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.5;
    z-index: 0;
}

.header-cont {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
    color: var(--color-text);
    position: relative;
    z-index: 1;
}

.main-button {
    margin: 20px;
    padding: 10px 50px;
    border-radius: 30px;
    color: var(--color-modal-text);
    font-weight: 500;
    background: linear-gradient(to right, var(--color-button-gradient-start), var(--color-button-gradient-end));
    box-shadow: 0 0 15px rgba(201, 162, 39, 0.4);
    border: 1px solid rgba(201, 162, 39, 0.6);
    transition: all 0.5s ease;
}

.main-button:hover {
    box-shadow: 0 0 25px rgba(201, 162, 39, 0.7);
    transform: translateY(-2px);
}

.enter {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px 10px 20px;
    background-size: cover;
    min-height: 80vh;
    position: relative;
}

.enter:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        rgba(201, 162, 39, 0) 0%, 
        rgba(201, 162, 39, 0.5) 50%, 
        rgba(201, 162, 39, 0) 100%);
}

.enter-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
}

.experience {
    padding: 40px 0;
    background: linear-gradient(135deg, 
        rgba(7, 14, 26, 0.7) 0%, 
        var(--color-background) 50%, 
        rgba(7, 14, 26, 0.7) 100%);
}

.experience-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    opacity: 0.9;
    transform: translateY(0);
    transition: all 0.8s ease;
}

.experience-wrapper:hover {
    opacity: 1;
    transform: translateY(-5px);
}

.experience-item {
    text-align: center;
    border-radius: 10px;
    padding: 20px;
    background: linear-gradient(135deg, 
        var(--color-background-dark) 0%, 
        var(--color-background) 50%, 
        var(--color-background-dark) 100%);
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    border-top: 1px solid rgba(201, 162, 39, 0.3);
    border-left: 1px solid rgba(201, 162, 39, 0.2);
}

.experience-item h4 {
    padding-bottom: 10px;
}

#contact {
    padding: 40px 10%;
}

.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 5px 15px rgba(0, 0, 0, 0.5);
    transform: translateY(0);
    transition: all 0.5s ease;
}

.contact-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.7);
}

.contact-wrapper a {
    text-decoration: none;
    color: var(--color-text);
    transition: all 0.3s ease;
}

.contact-wrapper a:hover {
    color: var(--color-heading);
    text-shadow: 0 0 5px rgba(201, 162, 39, 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 10px rgba(201, 162, 39, 0.5));
    transition: all 0.5s ease;
}

.img-wrapper img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 15px rgba(201, 162, 39, 0.7));
}

.background-accent {
    background: var(--color-accent-1);
    color: var(--color-modal-text);
}

@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;
}

.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 5px rgba(201, 162, 39, 0.5);
}

header {
    padding-bottom: 100px;
}

body {
    background-color: var(--color-background);
    min-height: 100vh;
}

.game-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px 10px;
}

.slot-machine {
    width: 100%;
    max-width: 900px;
    text-align: center;
    background: linear-gradient(135deg, 
        var(--color-background-darker) 0%, 
        var(--color-background-dark) 100%);
    padding: 40px 30px;
    border-radius: 10px;
    border: 1px solid var(--color-accent-3);
    box-shadow: 0 0 30px rgba(93, 78, 119, 0.4);
}

.grid {
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: flex-start;
    overflow: hidden;
    margin-bottom: 20px;
    padding: 10px;
    border-radius: 10px;
    background: rgba(7, 14, 26, 0.7);
    border: 1px solid rgba(201, 162, 39, 0.3);
}

.balance-wrapper {
    min-width: 100px;
    color: white;
    text-shadow: 0 0 10px rgba(201, 162, 39, 0.5);
}

.column {
    display: flex;
    flex-direction: column;
    gap: 10px;
    animation: none;
    width: 23%;
}

.column.spinning {
    animation: spin 2s cubic-bezier(0.3, 0.1, 0.3, 1) infinite;
}

.cell {
    width: 100%;
    height: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    background: rgba(93, 78, 119, 0.2);
    padding: 10px;
    border: 1px solid rgba(201, 162, 39, 0.3);
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.4);
}

.cell svg {
    max-width: 100%;
    max-height: 100%;
    filter: drop-shadow(0 0 5px rgba(201, 162, 39, 0.5));
}

.info {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background: rgba(201, 162, 39, 0.1);
    padding: 10px;
    border-radius: 10px;
    color: white;
    border: 1px solid rgba(201, 162, 39, 0.2);
}

.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: rgba(201, 162, 39, 0.2);
    transform: scale(1.05);
}

.bet {
    border-radius: 5px;
    padding: 5px 10px;
    color: white;
    background: rgba(201, 162, 39, 0.15);
    border: 1px solid rgba(201, 162, 39, 0.3);
}

/* Анимация вращения колонок */
@keyframes spin {
    0% {
        transform: translateY(0);
        filter: brightness(0.7);
    }
    50% {
        filter: brightness(1.2);
    }
    100% {
        transform: translateY(-300%);
        filter: brightness(0.7);
    }
}

button.spin {
    background: linear-gradient(to right, var(--color-button-gradient-start), var(--color-button-gradient-end));
    color: black;
    font-size: 20px;
    font-weight: bold;
    border: none;
    padding: 20px 30px;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(201, 162, 39, 0.4);
    border: 1px solid rgba(201, 162, 39, 0.6);
    transition: all 0.5s ease;
}

button.spin:hover {
    box-shadow: 0 0 25px rgba(201, 162, 39, 0.7);
    transform: scale(1.05);
}

.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(7, 14, 26, 0.7);
    border: 1px solid rgba(201, 162, 39, 0.2);
}

.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(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(3px);
}

.modal {
    background: linear-gradient(135deg, 
        var(--color-modal-background) 0%, 
        #2C3E50 100%);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    text-align: center;
    width: 300px;
    position: relative;
    color: var(--color-modal-text);
    border: 2px solid var(--color-button);
    box-shadow: 0 0 35px rgba(201, 162, 39, 0.3);
}

.modal:before {
    content: "";
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 1px solid rgba(201, 162, 39, 0.3);
    border-radius: 15px;
    pointer-events: none;
}

.modal .age-circle {
    background: linear-gradient(135deg, #762B1D 0%, #9E372A 100%);
    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(118, 43, 29, 0.6);
}

.modal h2 {
    font-size: 18px;
    padding-bottom: 10px;
    color: var(--color-modal-text);
}

.modal button {
    background: linear-gradient(to right, var(--color-button-gradient-start), var(--color-button-gradient-end));
    border: none;
    color: var(--color-modal-text);
    font-weight: bold;
    padding: 10px 20px;
    font-size: 14px;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
    box-shadow: 0 0 15px rgba(201, 162, 39, 0.4);
    transition: all 0.3s ease;
}

.modal button:hover {
    background-color: var(--color-button-hover);
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(201, 162, 39, 0.6);
}

.logo img {
    width: 50px;
    height: auto;
    background: var(--color-accent-1);
    border-radius: 50%;
    padding: 5px;
    border: 1px solid rgba(201, 162, 39, 0.5);
    box-shadow: 0 0 10px rgba(93, 78, 119, 0.5);
}

#faq {
    padding: 30px 0;
}