#popup-aug .popup-content {
	width: 700px;
	height: 500px;
	padding: 0 15px;
	background-image: url(../images/hero/popup-back.webp);
	background-image: -webkit-image-set(
		url("../images/hero/popup-back.webp") 1x,
		url("../images/hero/popup-back@2x.webp") 2x
	);
}
#popup-aug .popup-close {
	width: auto;
	height: auto;
	top: 0;
	right: 0;
	padding: 24px;
}
#popup-aug form {
	margin-top: 33px;
	margin-bottom: 16px;
}
#popup-aug form select,
#popup-aug form input {
	border-color: #a3a3a6;
}
#popup-aug .button {
	width: 8em;
	height: 2.25em;
	border-radius: 20px;
	font-size: 1.125em;
	margin-top: 15px;
	padding: 0;
	background: #000;
}
#popup-aug .form-text {
	font-size: 37px;
	line-height: 1.21em;
}
/* legacy Safari without text-box support */
@supports (background: -webkit-named-image(i)) and
	(not (text-box: trim-both cap alphabetic)) {
	#popup-aug .button {
		padding-top: 4px;
	}
}
/* font-metric independent CTA label centering (Safari 18.2+, Chrome 133+);
   <button> needs display:block so text-box applies, its native content
   centering then centers the trimmed text */
@supports (text-box: trim-both cap alphabetic) {
	#popup-aug button.button {
		display: block;
		text-box: trim-both cap alphabetic;
	}
	#popup-aug a.button > span {
		display: block;
		text-box: trim-both cap alphabetic;
	}
}
#popup-aug .thanks-buttons {
    gap: 16px;
}
#popup-aug .popup-thanks .button {
	width: 10.76em;
	height: 2.53em;
    font-size: 15px;
    margin-top: 40px;
}
#popup-aug .popup-spin {
	position: fixed;
    overflow: hidden;
	max-width: 100vw;
	width: 100vw;
    height: 556px;
	left: 50%;
	transform: translateX(-50%);
    background-image: url(../images/hero/spin-back.jpg);
    background-image: -webkit-image-set(
        url("../images/hero/spin-back.jpg") 1x,
        url("../images/hero/spin-back@2x.webp") 2x
    );
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
#popup-aug .dotlottie-animation {
    top: 21px;
}
#popup-aug .result-1 {
    aspect-ratio: 616/614;
    max-height: fit-content;
}
#popup-aug .result-2 {
    aspect-ratio: 610/615;
    max-height: fit-content;
}
#popup-aug .result-3 {
    aspect-ratio: 618/630;
    max-height: fit-content;
}
#popup-aug .wheel {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 402px;
    max-width: unset;
}
#popup-aug .popup-thanks img {
    pointer-events: none;
    user-select: none;
    margin-bottom: 8px;
}
#popup-aug .popup-thanks p {
    font-size: 22px;
    line-height: 1.2em;
    color: #fff;
    max-width: 527px;
}
#popup-aug .popup-thanks p strong {
    font-weight: 900;
    font-style: italic;
    display: block;
    margin: 0 auto;
    color: #fbca1a;
    font-size: 60px;
    margin-top: 30px;
}
#popup-aug p.thanks-bottom {
    font-size: 10px;
    line-height: 1.2em;
    color: #fff;
    font-family: 'sofia-pro';
    margin-top: 30px;
    margin-bottom: 19px;
}
#popup-aug .code-1 {
    opacity: 0;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}
#popup-aug .code-2 {
    opacity: 0;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}
#popup-aug .code-3 {
    opacity: 0;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}
@media screen and (max-width: 767px ) {
    #popup-aug dotlottie-wc {
        z-index: 3;
        top: 46px;
        left: 48%;
        transform: translateX(-50%);
        min-width: 361px;
    }
    #popup-aug .popup-spin {
        position: relative;
        height: 100%;
		background-image: url(../images/hero/spin-back-m.jpg);
		background-image: -webkit-image-set(
			url("../images/hero/spin-back-m.jpg") 1x,
			url("../images/hero/spin-back-m@2x.jpg") 2x
		);
    }
    #popup-aug .dotlottie-animation {
        max-width: 361px;
        width: 100%;
    }
}
@media screen and (max-width: 567px) {
	#popup-aug .popup-content {
		width: 100%;
		height: 100%;
		background-image: url(../images/hero/popup-back-m.webp);
		background-image: -webkit-image-set(
			url("../images/hero/popup-back-m.webp") 1x,
			url("../images/hero/popup-back-m@2x.webp") 2x
		);
	}
	#popup-aug form {
		margin-top: 22px;
	}
	#popup-aug .form-text {
		max-width: 373px;
		font-size: 30px;
		line-height: 1.16em;
	}
	#popup-aug .thanks-top {
		max-width: 223px;
		font-size: 27px;
		line-height: 37px;
		-webkit-text-stroke: 4px #053c63;
	}
	#popup-aug .form-text span {
		font-size: 27px;
	}
	#popup-aug .button {
		width: 150px;
		height: 32px;
		margin-top: 7px;
		font-size: 15px;
	}
    #popup-aug .popup-thanks p {
        font-size: 20px;
        line-height: 1.3em;
    }
    #popup-aug .popup-thanks p strong {
    }
    #popup-aug p.thanks-bottom {
        font-size: 10px;
        line-height: 1.3em;
    }
    #popup-aug .thanks-bottom br {
        display: none;
    }
    #popup-aug .thanks-bottom span {
        display: block;
        margin: 0 auto;
    }
}

/* A wheel step a hero savjat tolti ki (position: fixed + JS-bol a hero rect-je),
   a popup panelje viszont 700x500 es kozepre igazitott, ezert alul kilogott a
   step alol egy piros teglalapkent. Amig a step aktiv, a panel nem fest semmit.
   Csak desktopon: <=567-en a .popup-content 100%x100%, es a step relative
   pozicioval BENNE van, tehat ott a magassaga kell neki. */
@media screen and (min-width: 768px) {
    #popup-aug.spin-active .popup-content {
        background: none;
        width: auto;
        height: auto;
        padding: 0;
    }
}
