/* Fonts */
@font-face {
    font-family: "Roboto";
    src: url("../fonts/Roboto/RobotoLight/RobotoLight.eot");
    src: url("../fonts/Roboto/RobotoLight/RobotoLight.eot?#iefix") format("embedded-opentype"),
         url("../fonts/Roboto/RobotoLight/RobotoLight.woff") format("woff"),
         url("../fonts/Roboto/RobotoLight/RobotoLight.ttf") format("truetype");
    font-style: normal;
    font-weight: 300;
}

@font-face {
    font-family: "Roboto";
    src: url("../fonts/Roboto/RobotoRegular/RobotoRegular.eot");
    src: url("../fonts/Roboto/RobotoRegular/RobotoRegular.eot?#iefix") format("embedded-opentype"),
         url("../fonts/Roboto/RobotoRegular/RobotoRegular.woff") format("woff"),
         url("../fonts/Roboto/RobotoRegular/RobotoRegular.ttf") format("truetype");
    font-style: normal;
    font-weight: 400;
}

@font-face {
    font-family: "Roboto";
    src: url("../fonts/Roboto/RobotoBold/RobotoBold.eot");
    src: url("../fonts/Roboto/RobotoBold/RobotoBold.eot?#iefix") format("embedded-opentype"),
         url("../fonts/Roboto/RobotoBold/RobotoBold.woff") format("woff"),
         url("../fonts/Roboto/RobotoBold/RobotoBold.ttf") format("truetype");
    font-style: normal;
    font-weight: 700;
}

@font-face {
    font-family: "Roboto";
    src: url("../fonts/Roboto/RobotoBlack/RobotoBlack.eot");
    src: url("../fonts/Roboto/RobotoBlack/RobotoBlack.eot?#iefix") format("embedded-opentype"),
         url("../fonts/Roboto/RobotoBlack/RobotoBlack.woff") format("woff"),
         url("../fonts/Roboto/RobotoBlack/RobotoBlack.ttf") format("truetype");
    font-style: normal;
    font-weight: 900;
}

@font-face {
    font-family: "Montserrat";
    src: url("../fonts/Montserrat/MontserratBlack/MontserratBlack.eot");
    src: url("../fonts/Montserrat/MontserratBlack/MontserratBlack.eot?#iefix") format("embedded-opentype"),
         url("../fonts/Montserrat/MontserratBlack/MontserratBlack.woff") format("woff"),
         url("../fonts/Montserrat/MontserratBlack/MontserratBlack.ttf") format("truetype");
    font-style: normal;
    font-weight: 900;
}

/* Base Styles */
html,
body {
    height: 100%;
}

body {
    min-width: 992px;
    font-family: "Roboto", sans-serif;
    font-size: 18px;
    font-weight: 300;
    background-color: #101010;
    color: #fff;
    letter-spacing: .025em;
    overflow-x: hidden; 
}

img {
    display: block;
    width: 100%;
}

a {
    color: currentColor;
    outline: none;
    text-decoration: none;
    transition: .2s;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

h1, .f1 {
	font-size: 50px;
	line-height: 58px;
}

h2, .f2 {
	font-size: 42px;
	line-height: 50px;
}

h3, .f3 {
	font-size: 34px;
	line-height: 42px;
}

h4, .f4 {
	font-size: 28px;
	line-height: 32px;
}

h5, .f5 {
	font-size: 24px;
	line-height: 28px;
}

h6, .f6 {
	font-size: 20px;
	line-height: 24px;
}

p {
    line-height: 24px;
}

strong {
	font-weight: 700;
}

@media (max-width: 1229px) {
	body {
		font-size: 16px;
	}

	h1, .f1 {
		font-size: 36px;
		line-height: 44px;
	}

	h2, .f2 {
		font-size: 32px;
		line-height: 40px;
	}

	h3, .f3 {
		font-size: 28px;
		line-height: 36px;
	}

	h4, .f4 {
		font-size: 22px;
		line-height: 26px;
	}

	h5, .f5 {
		font-size: 20px;
		line-height: 24px;
	}

	h6, .f6 {
		font-size: 18px;
		line-height: 22px;
	}

	p {
	    line-height: 22px;
	}	
}

/* Component Styles */
.text {
    line-height: 24px;
}

.text h1:not(:last-child), .text h2:not(:last-child), .text h3:not(:last-child),
.text h4:not(:last-child), .text h5:not(:last-child), .text h6:not(:last-child),
.text p:not(:last-child) {
	margin-bottom: 20px;
}

.text a:hover,
.text a:focus {
    opacity: .8;
}

.text a:active {
    opacity: .6;
}

.text p {
    line-height: inherit;
}

.text-block__header {
	margin-bottom: 20px;
}

.list__item {
	display: flex;
	align-items: flex-start;
	line-height: 24px;
}

.list__item:not(:last-child) {
	margin-bottom: 12px;
}

.list__item:before {
	flex-shrink: 0;
	width: 27px;
	height: 27px;
	content: "";
	background: url(../img/list_marker.png) center center no-repeat;
	background-size: contain;
	margin-right: 12px;
}

.download-counter span {
	font-weight: 900;
	color: #ffe35b;
}

.download-button {
	display: inline-block;
	position: relative;
	width: 100%;
	max-width: 460px;
	font-family: "Montserrat", sans-serif;
	font-size: 24px;
	font-weight: 900;
	background: linear-gradient(to bottom, #ffd362 0%, #ffd362 20%, #fbbf3c 20%, #fbbf3c 40%, #fab032 40%, #fab032 65%, #fba820 65%, #fba820 100%);
	color: #000;
	border: 6px solid #000;
	border-radius: 50px;
	box-shadow: inset 0 -8px 0 #b96c19,
				inset 0 -10px 0 #b26a1b,
				inset 0 -12px 0 #f8c844,
				inset 0 0 40px 10px #f8c844,
				0 20px 38px rgba(0, 0, 0, .75);
	text-shadow: 0 0 20px #ffee00;
	text-align: center;
	text-transform: uppercase;
	padding: 44px 15px 56px;
	transition: .2s;
	cursor: pointer;
	z-index: 1;
}

.download-button:before,
.download-button:after {
	position: absolute;
	width: 43px;
	height: 49px;
	content: "";
	background: url(../img/download_button_shape.png) center center no-repeat;
	background-size: contain;
	top: calc(50% - 6px);
	transform: translateY(-50%);
}

.download-button:before {
	left: -21.5px;
}

.download-button:after {
	right: -21.5px;
}

.download-button__inner {
	border-radius: inherit;
}

.download-button__inner:before {
	position: absolute;
	width: 100%;
	height: calc(100% - 12px);
	content: "";
	background-color: #ffdc00;
	border-radius: inherit;
	opacity: 0;
	top: 0;
	left: 0;
	transition: .2s;
	z-index: -1;
}

.download-button:hover .download-button__inner:before,
.download-button:focus .download-button__inner:before {
	opacity: .2;
}

.download-button:active .download-button__inner:before {
	opacity: .4;
}

.download-button__glare:before,
.download-button__glare:after {
	position: absolute;
	content: "";
	background-color: #fce098;
	border-radius: 3px;
	z-index: -1;
}

.download-button__glare:before,
.download-button__glare:after {
	transform: rotate(-18deg);
}

.download-button__glare:before {
	width: 13px;
	height: 10px;
	top: 17px;
	left: 39px;
}

.download-button__glare:after {
	width: 21px;
	height: 15px;
	top: 20px;
	left: 15px;
}

.rating {
	display: flex;
}

.rating__item {
	width: 32px;
	height: 32px;
	background: url(../img/rating_item_icons.png) 0 0;
}

.rating__item:not(:last-child) {
	margin-right: 8px;
}

.rating[data-rating="1"] .rating__item:nth-child(-n+1),
.rating[data-rating="2"] .rating__item:nth-child(-n+2),
.rating[data-rating="3"] .rating__item:nth-child(-n+3),
.rating[data-rating="4"] .rating__item:nth-child(-n+4),
.rating[data-rating="5"] .rating__item:nth-child(-n+5) {
	background-position: -32px 0;
}

.download-helper {
    position: fixed;
    width: 100%;
    min-width: 992px;
    height: 100%;
    min-height: 720px;
    background-color: rgba(0,0,0,.9);
    color: #fff;
    text-align: center;
    visibility: hidden;
    opacity: 0;
    top: 0;
    left: 0;
    transition: .2s;
    z-index: 3; 
}

.download-helper__container {
    height: 100%;
}

.download-helper__inner {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.download-helper__block {
    position: relative;
    z-index: 1;
}

.download-helper__title {
	font-size: 36px;
	line-height: 44px;
}

.download-helper__subtitle {
	font-size: 28px;
	font-weight: 400;
    color: #666;
    line-height: 36px;
    margin-top: 15px;
}

.download-helper__note {
	display: inline-flex;
	align-items: center;
	font-size: 18px;
	font-weight: 700;
	border: 2px dashed #4ab52d;
	margin-top: 30px;
	padding: 15px
}

.download-helper__note:before {
	font-family: "FontAwesome";
	font-size: 24px;
	content: "\f132";
	color: #4ab52d;
	margin-right: 15px;
}

.download-helper_active {
    visibility: visible;
    opacity: 1;
}

@media (max-width: 1229px) {
	.text h1:not(:last-child), .text h2:not(:last-child), .text h3:not(:last-child),
	.text h4:not(:last-child), .text h5:not(:last-child), .text h6:not(:last-child),
	.text p:not(:last-child) {
		margin-bottom: 15px;
	}

	.list__item {
		line-height: 22px;
	}

	.download-button {
		max-width: 380px;
		font-size: 20px;
		border-width: 4px;
		border-radius: 40px;
		box-shadow: inset 0 -6px 0 #b96c19,
					inset 0 -8px 0 #b26a1b,
					inset 0 -10px 0 #f8c844,
					inset 0 0 40px 10px #f8c844,
					0 20px 38px rgba(0, 0, 0, .75);
		padding: 36px 15px 46px;
	}

	.download-button:before,
	.download-button:after {
		width: 36px;
		height: 41px;
	}

	.download-button:before {
		left: -18px;
	}

	.download-button:after {
		right: -18px;
	}

	.download-button__glare:before {
		width: 10px;
		height: 7px;
		top: 14px;
		left: 33px;
	}

	.download-button__glare:after {
		width: 18px;
		height: 12px;
		top: 16px;
		left: 13px;
	}		

	.rating__item {
		width: 28px;
		height: 28px;
	}

	.rating__item:not(:last-child) {
		margin-right: 5px;
	}

	.download-helper__title {
		font-size: 32px;
		line-height: 40px;
	}

	.download-helper__subtitle {
		font-size: 24px;
	    line-height: 32px;
	    margin-top: 10px;
	}	

	.download-helper__note {
		font-size: 16px;
		padding: 12px;
	}	
}

@media (min-width: 1230px) {
	.download-counter {
		font-size: 24px;
	}
}

@media (min-width: 1600px) {
	.download-helper__block_arrow-tl:after,
	.download-helper__block_arrow-tr:after,
	.download-helper__block_arrow-bl:after,
	.download-helper__block_arrow-b:after,
	.download-helper__block_arrow-br:after {
	    position: absolute;
	    width: 240px;
	    height: 240px;
	    content: "";
	    z-index: -1;
	}

	.download-helper__block_arrow-tl:after {
	    background: url(../img/download_helper/arrows/arrow_top_left.png) center center no-repeat;
	    top: -215px;
	    left: -260px;
	}

	.download-helper__block_arrow-tr:after {
	    background: url(../img/download_helper/arrows/arrow_top_right.png) center center no-repeat;
	    top: -215px;
	    right: -260px;
	}

	.download-helper__block_arrow-bl:after {
	    background: url(../img/download_helper/arrows/arrow_bottom_left.png) center center no-repeat;
	    top: 20px;
	    left: -260px;
	}

	.download-helper__block_arrow-b:after {
	    background: url(../img/download_helper/arrows/arrow_bottom.png) center center no-repeat;
	    bottom: -260px;
	    left: 50%;
	    transform: translateX(-50%);
	}

	.download-helper__block_arrow-br:after {
	    background: url(../img/download_helper/arrows/arrow_bottom_right.png) center center no-repeat;
	    top: 20px;
	    right: -260px;
	}		
}

/* Layout Styles */
@media (max-width: 1229px) {
	.container {
		max-width: 960px;
	}
}

/* Template Styles */
.layout {
    display: flex;
    flex-direction: column;
    max-width: 1920px;
    min-height: 100%;
    background-color: #131313;
    box-shadow: 0 0 10px rgba(0, 0, 0, .25);
    margin: 0 auto;
}

.content {
	flex-grow: 1;
	overflow: hidden;
}

.section {
	overflow: hidden;
	padding: 100px 0;
}

.section__header {
	text-align: center;
	margin-bottom: 60px;
}

.section__title {
	font-weight: 900;
	text-transform: uppercase;
}

.section_inverse {
	color: #000;
}

@media (max-width: 1229px) {
	.section {
		padding: 90px 0;
	}
}

.main {
	position: relative;
	background: url(../img/main_bg.jpg) center center no-repeat;
	background-size: cover;
	text-align: center;
	overflow: hidden;
	padding: 45px 0;
	z-index: 1;
}

.main:before,
.main:after {
	position: absolute;
	width: 100%;
	content: "";
	user-select: none;
	pointer-events: none;
	left: 0;
}

.main:before {
	height: 75px;
	background-color: #0a339e;
	bottom: -20px;
	transform: rotate(-1deg);
	z-index: -1;
}

.main:after {
	height: 100%;
	background: url(../img/main_bg_img1.png) left bottom no-repeat,
				url(../img/main_bg_img2.png) right bottom no-repeat;
	background-size: 36%;
	top: 0;
	z-index: 1;
}

.main__header {
	margin-bottom: 30px;
}

.main__logo {
	display: inline-block;
	max-width: 603px;
	user-select: none;
	pointer-events: none;
}

.main__download-counter {
	display: block;
	position: relative;
	margin-top: 40px;
	padding: 18px 15px;
	z-index: 1;
}

.main__download-counter:before {
	position: absolute;
	width: 100vw;
	height: 100%;
	content: "";
	background-color: #0b7df6;
	user-select: none;
	pointer-events: none;
	top: 0;
	left: 50%;
	transform: translateX(-50%) rotate(-1deg);
	z-index: -1;
}

.about {
	background: url(../img/about_bg.jpg) center bottom no-repeat;
	background-size: cover;
	padding-bottom: 190px;
}

.about__part_left {
	height: calc(100% + 290px);
	background: linear-gradient(to bottom, rgba(255, 206, 90, .6) 85%, transparent 87.5%);
	margin: -100px 0 -190px;
	padding: 100px 45px 190px;
}

.about__features {
	margin-top: 35px;
}

.about__features-title {
	margin-bottom: 20px;
}

.about__download {
	margin-top: 60px;
}

.about__img {
	max-width: 1014px;
	user-select: none;
	pointer-events: none;
	margin: -100px -370px -190px -80px;
}

.gameplay {
	background: url(../img/gameplay_bg.jpg) center bottom no-repeat;
	background-size: cover;	
	padding-bottom: 180px;
}

.gameplay__img {
	max-width: 888px;
	user-select: none;
	pointer-events: none;	
	margin: -90px -45px -160px -160px;
}

.gameplay__part_right {
	padding-left: 60px;
}

.gameplay__download {
	margin-top: 70px;
}

.reviews {
	background: url(../img/reviews_bg.jpg) center bottom no-repeat;
	background-size: cover;		
	padding: 70px 0 320px;
}

.reviews__card {
	height: 100%;
	font-weight: 400;
	background-color: rgba(0, 0, 0, .4);
	border-radius: 8px;
	padding: 30px 20px;
}

.reviews__card-inner {
	display: flex;
	flex-direction: column;
	height: inherit;
}

.reviews__card-header {
	margin-bottom: 20px;
}

.reviews__card-time {
	display: block;
	font-size: 13px;
	margin-top: 10px;
}

.reviews__card-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex-grow: 1;
}

.reviews__card-text {
	line-height: 20px;
}

.reviews__card-rating {
	margin-top: 25px;
}

@media (max-width: 1699px) {
	.main:after {
		background-size: 32%;
	}	
}

@media (max-width: 1229px) {
	.main:after {
		background-size: 30%;
	}

	.main__logo {
		max-width: 420px;
	}

	.about {
		padding-bottom: 120px;
	}

	.about__part_left {
		height: calc(100% + 210px);
		margin: -90px 0 -120px;
		padding: 90px 30px 120px;
	}

	.about__features {
		margin-top: 30px;
	}

	.about__img {
		margin: -30px -260px -180px -60px;
	}

	.gameplay {
		padding-bottom: 120px;
	}

	.gameplay__img {
		margin-top: -75px;
		margin-right: -45px;
	}

	.gameplay__part_right { 
		padding-left: 30px;
	}

	.gameplay__download {
		margin-top: 60px;
	}

	.reviews {
		padding-bottom: 300px;
	}

	.reviews__card {
		padding: 25px 15px;
	}

	.reviews__card-text {
		font-size: 14px;
	}
}

@media (min-width: 1230px) {
	.about {
		padding-top: 100px;
	}

	.reviews__card-text {
		font-size: 16px;
	}
}

.footer {
	color: #6c6c6c;
	text-align: center;
	padding: 45px 0;
}

.footer__text {
	max-width: 720px;
	letter-spacing: .04em;
	line-height: 22px;	
	margin: 0 auto;
}
