@font-face {
    font-family: 'Lato';
    src: url('assets/fonts/lato-thick.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Lato';
    src: url('assets/fonts/Lato-Regular.woff2') format('woff2'),
         url('assets/fonts/Lato-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Lato';
    src: url('assets/fonts/Lato-Bold.woff2') format('woff2'),
         url('assets/fonts/Lato-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Lato';
    src: url('assets/fonts/Lato-Italic.woff2') format('woff2'),
         url('assets/fonts/Lato-Italic.woff') format('woff');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Lato';
    src: url('assets/fonts/Lato-BoldItalic.woff2') format('woff2'),
         url('assets/fonts/Lato-BoldItalic.woff') format('woff');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: Parshicons;
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('assets/fonts/parshicons.woff2') format("woff2");
}

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

:focus {
	outline: none;
}

img {
	display: block;
	width: 100%;
    height: auto;
}

ul {
	list-style: none;
}

body {
    margin: 0;
    padding: 0;
    background-color: #34b288;
    color: #fff;
    display: flex;
    flex-direction: column;
    font-family: 'Lato', Arial, Helvetica, sans-serif;
    justify-content: space-between;
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
}

/* header */

header {
    padding: 16px 0;
    position: absolute;
    width: 100%;
    z-index: 10;
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 10px;
}

.age-icon {
    max-height: 70px;
    width: auto;
}


header .center {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
}

header .logo {
    max-height: 70px;
    width: auto;
}

.login-btn {
    border: 2px solid #fff;
    border-radius: 4px;
    color: #fff;
    font-size: 13px;
    height: 36px;
    letter-spacing: 1.4px;
    line-height: 1;
    padding: 10px 14px;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    transition: background-color .2s;
    white-space: nowrap;
}
/************************************/

/* main content*/
.main-content-section {
    position: relative;
}

.bg-image {
    height: 280px;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 2;
}

.bg-image img {
    display: block;
    height: 100%;
    margin: 0 auto;
    max-width: 100%;
    -o-object-fit: cover;
    object-fit: cover;
    -o-object-position: 50% 0;
    object-position: 50% 0;
    width: 100%;
}
.main-content {
    margin: 0 auto;
    max-width: 1280px;
    padding: 300px 20px 30px;
    position: relative;
    background-color: rgba(52, 69, 96, 1);
}

.main-title-wrapper {
    position: absolute;
    bottom: 230px;
    margin-bottom: 0;
    width: calc(100% - 40px);
    text-transform: uppercase;
    text-align: center;
    font-size: 27px;
    font-weight: 700;
    line-height: 1.15;
}

.main-title-wrapper::after {
    content: "";
    display: block;
    background: linear-gradient(0deg, rgba(52, 69, 96, 1) 0%, rgba(52, 69, 96, 0) 100%);
    width: calc(100% + 40px);
    position: absolute;
    left: -20px;
    bottom: 20px;
    height: 200px;
    z-index: 2;
}
.main-title {
    z-index: 3;
    position: relative;
}
.main-subtitle {
    z-index: 3;
    position: relative;
    padding-bottom: 36px;
}

.main-subtitle em{
    color: #ffcb4a;
    font-size: 38px;
    text-transform: none;
    font-weight: 400;
}

/* join form */

.join-form {
    grid-column-gap: 10px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: relative;
    z-index: 3;
}
.form-label {
    font-weight: 700;
}

.radio-group {
    background-color: #fff;
    border-radius: 4px;
    margin-top: 10px;
    position: relative;
    color: #4c4c4c;
    align-items: center;
    cursor: pointer;
    display: flex;
    font-size: 16px;
    font-weight: 400;
    padding: 10px;
    position: relative;
}

.radio-group::before {
    border-radius: 50%;
    border-style: solid;
    border-width: 2px;
    box-sizing: border-box;
    content: "";
    display: inline-block;
    height: 28px;
    margin: 0 10px 0 0;
    width: 28px;
}

.radio-group::after {
    border-radius: 50%;
    color: #fff;
    content: "\e013";
    font-family: Parshicons;
    font-size: 24px;
    line-height: 1;
    opacity: 0;
    padding: 2px;
    position: absolute;
    text-align: center;
}
.radio-group.female::before {
    border-color: #fd9172;
}
.radio-group.male::before {
    border-color: #34b288;
}

.radio-group.checked::after {
    opacity: 1;
    transition: opacity .2s ease-out 50ms;
}
.radio-group.checked.female::after {
    background-color: #fd9172;
}
.radio-group.checked.male::after {
    background-color: #34b288;
}
.btn-wrapper {
    margin: 10px 0;
    grid-column-start: 1;
    grid-column-end: 3;
    display: flex;
}
.join-btn {
    width: 100%;
    height: 46px;
    border-radius: 4px;
    cursor: pointer;
    display: inline-block;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1.4px;
    line-height: 1.2;
    padding: 0;
    position: relative;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    transition: opacity .2s, background-color .2s;
    background-color: #ef6054;
    background-image: url(assets/images/premium_bg.svg);
    background-position: 50%;
    background-size: cover;
    border: transparent;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.join-btn::before {
    animation: knightrider 6s linear infinite;
    background: linear-gradient(300deg, hsla(0, 0%, 100%, 0) 35%, hsla(0, 0%, 100%, .45) 45%, hsla(0, 0%, 100%, .65) 50%, hsla(0, 0%, 100%, .45) 55%, hsla(0, 0%, 100%, 0) 65%);
    content: "";
    display: block;
    height: 100%;
    left: 0;
    pointer-events: none;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 1;
}
@keyframes knightrider {
    0% {
        transform: translateX(-100%);
    }
    40% {
        transform: translateX(-100%);
    }
    60% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.info-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 20px 32px;
    text-align: center;
    width: 100%;
}

.heart-icon img {
    width: 40px;
    height: 40px;
    margin: 0 auto 5px;
}
.benefit-title {
    font-weight: 700;
    letter-spacing: 1.4px;
    line-height: 1.3;
    margin: 0 0 .75em;
    padding: 0;
    text-transform: uppercase;
    font-size: 20px;
}

.benefit-title span {
    color: #603338;
}

.info-block p {
    font-size: 11px;
    opacity: .75;
    font-weight: 300;
    line-height: 1.21;
}

.info-block.blue {
    background-color: #fd9172;
}

.info-block.teal {
    background-color: #83d6c0;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(26, 95, 120, 0.5);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cookie-popup.show {
    opacity: 1;
    visibility: visible;
}

.cookie-content {
    background-color: #344560;
    border-radius: 8px;
    padding: 30px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.cookie-text {
    color: #fff;
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 20px;
    font-weight: 400;
}

.cookie-text a {
    color: #ffcb4a;
    text-decoration: none;
    font-weight: 700;
}

.cookie-text a:hover {
    text-decoration: underline;
}

.cookie-btn {
    background-color: #ef6054;
    background-image: url(assets/images/premium_bg.svg);
    background-position: 50%;
    background-size: cover;
    border: none;
    border-radius: 4px;
    color: #fff;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1.4px;
    padding: 12px 30px;
    text-transform: uppercase;
    transition: opacity 0.2s;
    position: relative;
    overflow: hidden;
}

.cookie-btn:hover {
    opacity: 0.9;
}

/* footer */
footer {
    font-size: 11px;
    padding: 30px 20px;
    text-align: center;
}

footer .center {
    display: flex;
    align-items: center;
    justify-content: center;
}

footer .footer-item a{
    color: #fff;
    display: block;
    padding: 0 10px;
    text-decoration: none;
    transition: opacity .2s;
    font-weight: 300;
}

.footer-item:first-child {
    border-right: 1px solid #fff;
}

/*web version*/

@media screen and (min-width: 768px) {

    .benefits {
        display: flex;
        width: 100%;
    }

    .benefit-title {
        max-width: 365px;
    }

    main {
        min-height: calc(100vh - 20px);
        display: flex;
        flex-direction: column;
    }
    .main-content-section {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .main-content {
        padding-top: 20px;
        width: 100%;
    }
    .bg-image {
        height: 100%;
    }

    .main-title-wrapper::after {
        content: none;
    }

    .main-content-inner {
        max-width: 365px;
    }
    .main-title-wrapper {
        position: relative;
        bottom: auto;
    }

    .main-subtitle {
        border-bottom: 1px solid white;
        padding-bottom: 1px;
        margin: 0 auto 20px;
        width: max-content;
    }
}