/* Base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Raleway", sans-serif;
    background-color: #2b232b;
    color: #fff;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: auto;
    padding: 0 40px;
}

/* Header styles */
.main-header {
    padding: 20px 0 ;
    width: 100%;

    background-color: #c3bce5;

        position: sticky;
            top: 0;
            left: 0;
            z-index: 50;
}
.main-header .container{
    display: flex;
    flex-direction: row;
    gap: 10px;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: inherit;
}

.logo-img {
    width: 50px;
    height: 50px;
}

.brand-name {
    font-family: "Shantell Sans", sans-serif;
    font-size: 24px;
    color: #333a37;
}

.main-nav {
    display: flex;
}

.nav-list {
    display: flex;
    gap: 24px;
    list-style: none;
}

.nav-item {
    font-family: "Montserrat", sans-serif;
    font-size: 18px;
}

.nav-link {
    color: #090d06;
    text-decoration: none;
}

.nav-link:hover,
.nav-link:focus {
    text-decoration: underline;
}

.contact-button {
    padding: 16px 32px;
    color: #fff;
    border-radius: 100px;
    font-family: "Montserrat", sans-serif;
    font-size: 18px;
    background-color: #887bc0;
    text-decoration: none;
    cursor: pointer;
}

.contact-button:hover,
.contact-button:focus {
    background-color: #7a6db3;
}

/* Hero section */
.hero-section {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #887bc0;
    padding: 40px 0;
    background-image: url(../images/hero.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.hero-content {
    position: static;

    padding: 32px;
    backdrop-filter: blur(8px);
    border-radius: 32px;
    display: flex;
    flex-direction: column;

    gap: 32px;
    justify-content: flex-start;
    background-color: rgba(255, 255, 255, 0.1);
}

.hero-bottom{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}

.hero-title {
    font-family: "Raleway", sans-serif;
    font-size: 40px;
    color: #fff;
    font-weight: 700;

}

.hero-description {
    font-family: "Raleway", sans-serif;
    font-size: 20px;
    color: #fff;
    max-width: 500px;

}

.registration-form {
    max-width: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
    width: 100%;
    padding: 40px 32px;
    border: 1px solid #887bc0;
    border-radius: 16px;
    background-color: #887bc0;
}

.form-fields {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
    width: 100%;
}
.form-fields  div{
    width: 100%;
}

.form-input {
    width: 100%;
    height: 62px;
    padding: 16px;
    border: 1px solid #9a9a9a;
    border-radius: 40px;
    font-family: "Lato", sans-serif;
    font-size: 16px;
    color: rgba(5, 5, 5, 0.4);
    background-color: #fff;
    
}

.phone-input {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 62px;
    padding: 16px;
    border: 1px solid #9a9a9a;
    border-radius: 40px;
    font-family: "Lato", sans-serif;
    font-size: 16px;
    color: rgba(5, 5, 5, 0.4);
    background-color: #fff;
}

.country-code {
    display: flex;
    align-items: center;
    gap: 6px;
    max-width: max-content;
}

.country-code img {
    width: 24px;
    height: auto;
}

.dropdown-arrow {
    width: 6px;
    height: 4px;
    border-top: 4px solid #555;
    border-right: 3px solid #555;
    border-left: 3px solid #555;
}

.phone-field {
    flex: 1;
    border: none;
    outline: none;
    font-family: "Lato", sans-serif;
    font-size: 16px;
    color: rgba(5, 5, 5, 0.4);
    background: transparent;
}

.register-button {
    width: 100%;
    height: 62px;
    padding: 16px 32px;
    color: #fff;
    border: none;
    border-radius: 100px;
    font-family: "Lato", sans-serif;
    font-size: 16px;
    font-weight: 700;
    background-color: #dc3547;
    cursor: pointer;
}

.register-button:hover,
.register-button:focus {
    background-color: #c62c3d;
}

/* About section */
.about-section {
    display: flex;
    width: 100%;
    padding: 60px 80px;
    align-items: center;
    gap: 30px;
}

.about-content {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
        justify-content: space-between;
    gap: 24px;


}
.about-content img{
    width: 100%;
    max-width: 300px;
}
.about-text-block{
    display: flex;
    flex-direction: column;

    gap: 24px;
    max-width: 600px;

}

.section-title {
    font-family: "Raleway", sans-serif;
    font-size: 40px;
    color: #fff;
    font-weight: 700;
}

.section-text {
    font-family: "Space Grotesk", sans-serif;
    font-size: 20px;
    color: #fff;
}

.try-game-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    color: #fff;
    border-radius: 100px;
    font-family: "Raleway", sans-serif;
    font-size: 16px;
    background-color: #dc3547;
    text-decoration: none;
    cursor: pointer;
}

.try-game-button:hover,
.try-game-button:focus {
    background-color: #c62c3d;
}

.arrow-container {
    margin-left: 8px;
}

.arrow-icon {
    width: 16px;
    height: 16px;
}

/* Points section */
.points-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 80px;
    text-align: center;
}

.points-content {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;

    justify-content: center;
    gap: 32px;
    width: 100%;
    margin-top: 32px;
    text-align: left;
}

.points-intro {
    font-family: "Space Grotesk", sans-serif;
    font-size: 20px;
    color: #fff;
    padding: 32px;
    border-radius: 30px;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.6);
    flex: 1;
    background-color: #f9832b;
}

.points-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 32px;
    border-radius: 30px;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.6);

    background-color: #887bc0;
    width: 100%;
    max-width: 450px; 
}

.orange-card {
    background-color: #f9832b;
}

.card-title {
    font-family: "Raleway", sans-serif;
    font-size: 32px;
    color: #fff;
    font-weight: 700;
    margin-bottom: 16px;
}

.card-text {
    font-family: "Space Grotesk", sans-serif;
    font-size: 20px;
    color: #fff;
}

/* Instructions section */
.instructions-section {
    display: flex;
    width: 100%;
    padding: 60px 80px;
    align-items: center;
    gap: 30px;
}

.instructions-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 32px;
    border-radius: 32px;
    width: 100%;
    background-color: #887bc0;
}

.instructions-content {
    font-family: "Space Grotesk", sans-serif;
    font-size: 20px;
    color: #fff;
    margin-top: 32px;
    width: 100%;
}

.instruction-step {
    font-weight: 700;
    margin-top: 24px;
    margin-bottom: 8px;
    font-size: 20px;
}

.instruction-text {
    margin-bottom: 16px;
}

/* Reviews section */
.reviews-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 60px 80px;
}

.reviews-container {
    display: flex;
    align-items: center;
    gap: 24px;
    width: 100%;
    margin-top: 32px;
}

.review-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 18px;
    border-radius: 20px;
    flex: 1;
    background-color: #fff;
}

.reviewer-img {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.reviewer-name {
    font-family: "Raleway", sans-serif;
    font-size: 24px;
    color: #353535;
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
}

.review-text {
    font-family: "Raleway", sans-serif;
    font-size: 14px;
    color: #7b7b7b;
    text-align: center;
}

/* Promo section */
.promo-section {
    
    width: 100%;
    padding: 60px 80px;
  
}

.promo-section .container {
display: flex;
flex-direction: row;
flex-wrap: wrap;
justify-content: center;
gap: 30px;
}

.promo-section img{
    width: 100%;
    max-width: 300px;
}

.promo-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
    max-width: 600px;
}

.promo-title {
    font-family: "Raleway", sans-serif;
    font-size: 40px;
    color: #fff;
    font-weight: 700;
}

.promo-text {
    font-family: "Raleway", sans-serif;
    font-size: 20px;
    color: #fff;
}

/* Contact section */
.contact-section {
    display: flex;
    width: 100%;
    padding: 60px 80px;
    align-items: center;
    gap: 40px;
}

.contact-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
    flex: 1;
}

.contact-title {
    font-family: "Raleway", sans-serif;
    font-size: 40px;
    color: #fff;
    font-weight: 700;
}

.contact-text {
    font-family: "Raleway", sans-serif;
    font-size: 20px;
    color: #fff;
}

.contact-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    width: 100%;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 100%;
}

.contact-icon {
    width: 32px;
    height: 32px;
}

.contact-detail {
    font-family: "Raleway", sans-serif;
    font-size: 20px;
    color: #fff;
    text-decoration: none;
}
a.contact-detail:hover,a.contact-detail:focus {
    text-decoration: underline;
}


/* Footer */
.main-footer {

    width: 100%;
    padding: 40px 60px;
    background-color: #35304a;

}

.main-footer .container{
    display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
            gap: 20px;
}

.main-footer hr{
    width: 100%;
}

.footer-logo {
    width: 60px;
    height: 60px;
    margin-bottom: 10px;
}

.footer-title {
    font-family: "Raleway", sans-serif;
    font-size: 30px;
    color: #fff;
    font-weight: 700;
    text-align: center;
    margin-bottom: 10px;
}

.footer-text {
    font-family: "Raleway", sans-serif;
    font-size: 14px;
    color: #fff;
    text-align: center;
    margin-bottom: 20px;
}

.footer-divider {
    width: 100%;
    height: 1px;
    margin: 10px 0;
    stroke-width: 1px;
    stroke: #bbb;
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    width: 100%;
    margin-top: 10px;
}

.footer-link {
    font-family: "Raleway", sans-serif;
    font-size: 16px;
    color: #fff;
    text-align: center;
    text-decoration: none;
}

.footer-link:hover,
.footer-link:focus {
    text-decoration: underline;
}

.copyright {
    font-family: "Raleway", sans-serif;
    font-size: 12px;
    color: #b8b8b8;
    text-align: center;
    margin-top: 10px;
}

.cookie{
    display: none;
    background: #887BC0;
    position: fixed;
    bottom: 0;
    left: 0;
    margin: 10px;
    border-radius: 10px;
    max-width: 400px;

}

.cookie-container{
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
    align-items: center;
    text-align: center;
} 

.cookie-button-block{
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;

}
.cookie-button{
    width: 100%;
    max-width: 100%;
    border: none;
    color: #fff;

        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        padding: 16px 28px;
   

        cursor: pointer;
        background: #35304A;
        border-radius: 40px;


        
            font-family: 'Raleway';

            font-weight: 600;
            font-size: 16px;
            line-height: 120%;
            text-align: center;
            text-transform: uppercase;




}

.cookie-button--second {
    background: transparent;
    color: #35304A;
}

 .error-text {
     color: red;
     font-size: 0.8em;
     margin: 4px 0 10px 0;
 }

 .thx-container{
    min-height: calc(100dvh - 500px);
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
    align-items: center;
 }

 .privacy-section{
    padding: 40px 0;
    background: #fff;
    color: #121221;
 }
  .privacy-section .container {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
   .privacy-section ul {
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
   }

/* Media queries */
@media (max-width: 991px) {
    .container {
        padding: 0 20px;
    }
        .contact-button {
            display: none;
        }
                        .main-nav {
                            display: none;
                        }
    .hero-content {
        width: 90%;
    }

    .about-section,
    .instructions-section,
    .promo-section,
    .contact-section {
        padding: 40px 0;
    }

    .points-section {
        padding: 60px 40px;
    }

    .reviews-section {
        padding: 40px;
    }

    .main-footer {
        padding: 20px 40px;
    }
}

@media (max-width: 640px) {




    .hero-content {
        width: 100%;
    }

    .about-section,
    .instructions-section,
    .promo-section,
    .contact-section{
        padding: 20px;
    }

    .points-section {
        padding: 20px;
    }

    .reviews-section {
        padding: 20px;
    }

    .reviews-container {
        flex-direction: column;
    }

    .main-footer {
        padding: 20px;
    }
}