.__container {
    max-width: 1310px;
    margin: 0 auto;
    padding: 0 15px;
}



/*-----header---------------------------------------------------*/
h1{
    font-size: 3rem;
}

.ratio{

}


.logo-text {
    font-size: 1.25rem;
    line-height: 1.2;
}

.link-hover {
    position: relative;
    text-decoration: none;
    transition: color 0.3s ease, box-shadow 0.3s ease;
}

.link-hover::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--main-green, #197587);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.link-hover:hover {
    color: #197587;
}

.link-hover:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-success {
    background-color: #197587;
    border: none;
    white-space: nowrap;
    transition: background-color 0.3s ease;
}

.btn-success:hover {
    background-color: #197587;
}

.custom-toggler {
    border: none;
    background: transparent;
}

.custom-toggler i {
    font-size: 1.5rem;
}

@media (max-width: 768px) {
    .logo-text {
        font-size: 1rem;
    }

    nav {
        display: none;
    }

    .nav {
        flex-direction: column;
        text-align: center;
    }

    .btn-success.d-md-block {
        display: none !important;
    }

    .btn-sm {
        font-size: 0.875rem;
        padding: 0.25rem 0.5rem;
    }
}



/*-----Welcome---------------------------------------------------*/

.welcome {
    position: relative;
}

.welcome__background {
    z-index: -1;
}

.welcome__background img {
    filter: brightness(0.9) contrast(1.2);
    object-fit: cover;
}

.welcome__content {
    background-color: rgba(40, 39, 29, 0.8);
    border-radius: 10px;
    padding: 34px;
    max-width: 900px;
    text-align: center;
    margin: 0 auto;
}

.text-shadow {
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
}

.vh-80 {
    height: 80vh;
}

@media (max-width: 992px) {
    .welcome__content {
        max-width: 100%;
        padding-right: 1rem;
        text-align: center;
    }
}


/*-----fantasy---------------------------------------------------*/


.fantasy {
    background: linear-gradient(to bottom, #000000, rgba(204, 204, 204, 1));
}

.fantasy h2 {
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}

.fantasy p {
    line-height: 1.75;
    color: #f8f9fa;
    padding: 10px;
}

/*-----bonuses---------------------------------------------------*/

.icon-wrapper {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.card-text {
    font-size: 1rem;
    line-height: 1.5;
}



/*-----Games---------------------------------------------------*/



.games {
    background-color: rgb(9, 66, 91, 1)
}

.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
}

.card-text {
    font-size: 1rem;
    line-height: 1.5;
    color: var(--text-gray);
}

.card-img-top {
    transition: transform 0.3s ease;
    height: clamp(11.25rem, 9.4643rem + 8.9286vw, 17.5rem);
    object-fit: cover;
}

/*-----accordion-button---------------------------------------------------*/


 .accordion-button {
     border: none;
     padding: 0.75rem 1.25rem;
     background-color: #ffffff;
 }

.accordion-button:not(.collapsed) {
    color: #4f814f;
    background-color: #f8f9fa;
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.125);
    border-left: 3px solid #4f814f;
}

.accordion-item {
    border: none;
}

.accordion-body {
    font-size: 1rem;
    line-height: 1.5;
    color: #333;
}

.accordion-collapse.show {
    border-left: 3px solid #4f814f;
    box-shadow: 0 0 0 0.25rem rgba(79, 129, 79, 0.25);
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(79, 129, 79, 0.5);
}


/*-----adventure---------------------------------------------------*/


.adventure {
    position: relative;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    color: white;
}

.adventure::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .5); /* Напівпрозорий чорний */
    z-index: 1;
}

.adventure .container {
    position: relative;
    z-index: 2;
}


/*-----community---------------------------------------------------*/


.community h2 {
    font-size: 2.5rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.community .card {
    border: none;
    border-radius: 0.5rem;
}

.community .card-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.community .card-text {
    font-size: 1rem;
    line-height: 1.5;
}





/* ----- Footer Section ----- */

.footer-link {
    position: relative;
    text-decoration: none;
    color: white;
    transition: color 0.3s ease, box-shadow 0.3s ease;
}

.footer-link::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--light-gray);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.footer-link:hover {
    color: var(--hover-green);
}

.footer-link:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}





/* Age Verification Popup */

:root {
    --main-green: #006400;
    --hover-green: #4f814f;
    --dark-green: #218838;
    --light-green: rgba(34, 139, 34, 0.6);
    --text-gray: #555555;
    --light-gray: #dadada;
    --background-light: #e0e5e8;
}

.modal-body {
    padding: 1.5rem;
}

.btn-accent {
    background-color: var(--main-green);
    color: #fff;
    border: none;
    padding: 10px 20px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    font-weight: 600;
}

.btn-accent:hover {
    background-color: var(--hover-green);
    transform: scale(1.05);
}

.btn-secondary {
    background-color: var(--light-gray);
    color: var(--text-gray);
    border: none;
    padding: 10px 20px;
    transition: background-color 0.3s ease, color 0.3s ease;
    font-weight: 600;
}

.btn-secondary:hover {
    background-color: var(--dark-green);
    color: #fff;
}

.cookie-policy-link {
    color: var(--main-green);
    font-weight: 500;
    transition: color 0.3s ease;
}

.cookie-policy-link:hover {
    color: var(--hover-green);
    text-decoration: underline;
}
