/* 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/MontserratMedium/MontserratMedium.eot");
    src: url("../fonts/Montserrat/MontserratMedium/MontserratMedium.eot?#iefix") format("embedded-opentype"),
         url("../fonts/Montserrat/MontserratMedium/MontserratMedium.woff") format("woff"),
         url("../fonts/Montserrat/MontserratMedium/MontserratMedium.ttf") format("truetype");
    font-style: normal;
    font-weight: 500;
}

@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: #000;
    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 ul: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 ul li {
	display: flex;
	align-items: flex-start;
}

.text ul li:before {
	flex-shrink: 0;
	position: relative;
	width: 18px;
	height: 17px;
	content: "";
	background: url(../img/list_marker.png) center center no-repeat;
	background-size: contain;
	top: 4px;
	margin-right: 12px;
}

.text li {
	font-size: 16px;
}

.text li:not(:last-child) {
	margin-bottom: 15px;
}

.text p {
	line-height: inherit;
}

.text-block__header {
	margin-bottom: 20px;
}

.download-button {
	display: inline-block;
	width: 100%;
	max-width: 460px;
	background: radial-gradient(ellipse closest-corner at center 1px, rgba(255, 255, 255, .75) 10%, transparent 80%),
				radial-gradient(ellipse closest-corner at center calc(100% - 1px), rgba(255, 255, 255, .75) 10%, transparent 80%),
				radial-gradient(ellipse closest-corner at 1px center, rgba(255, 255, 255, .75) 10%, transparent 80%),
				radial-gradient(ellipse closest-corner at calc(100% - 1px) center, rgba(255, 255, 255, .75) 10%, transparent 80%),
				linear-gradient(to bottom, #423c3a, #100f0c);		
	box-shadow: 0 4px 21px rgba(0, 0, 0, .75);
	padding: 10px;
}

.download-button__link {
	display: block;
	position: relative;
	font-family: "Montserrat", sans-serif;
	font-size: 24px;
	font-weight: 900;
	background: linear-gradient(to right, #b14726 0%, transparent 20%, transparent 80%, #b14726 100%),
				linear-gradient(to bottom, #da8b39 25%, #a73121 48%, #9e2b1e 50%, #b14726 100%);
	color: #fff;
	border: 5px solid;
	border-left-color: #96271b;
	border-right-color: #96271b;	
	border-top-color: #c25c2d;
	border-bottom-color: #57130d;
	border-radius: inherit;
	box-shadow: 0 1px 0 #000;
	text-shadow: 0 1px 0 #000,
				 0 4px 2px rgba(0, 0, 0, .4);
	letter-spacing: .04em;
	text-align: center;
	text-transform: uppercase;
	overflow: hidden;
	padding: 32px 15px;
	transition: .2s;
	cursor: pointer;
	z-index: 1;
}

.download-button__link:before,
.download-button__link:after {
	position: absolute;
	content: "";
}

.download-button__link:before {
	width: calc(100% - 2px);
	height: calc(100% - 2px);
	background: radial-gradient(ellipse closest-corner at 1px center, rgba(255, 255, 161, .75) 10% 10%, transparent 80%),
				radial-gradient(ellipse closest-corner at calc(100% - 1px) center, rgba(255, 255, 161, .75) 10% 10%, transparent 80%),
				radial-gradient(ellipse closest-corner at center 1px, rgba(255, 255, 161, 1) 10% 10%, transparent 80%),
				radial-gradient(ellipse closest-corner at center calc(100% - 1px), rgba(255, 255, 161, .5) 10%, transparent 80%),
				radial-gradient(circle at center top, #eac856 5%, transparent 30%);
	top: 1px;
	left: 1px;
	z-index: -1;
}

.download-button__link:after {
	width: 100%;
	height: 100%;
	background-color: #dc7f21;
	opacity: 0;
	top: 0;
	left: 0;
	transition: .2s;
	z-index: -2;
}

.download-button__link:hover:after,
.download-button__link:focus:after {
	opacity: .2;
}

.download-button__link:active:after {
	opacity: .4;
}

.rating__stars {
	display: inline-block;
}

.rating__stars-container {
	position: relative;
	margin: 0 -1px;
}

.rating__stars-items {
	display: flex;
}

.rating__stars-items_fill {
	position: absolute;
	overflow: hidden;
	top: 0;
	left: 0;
}

.rating__stars-item {
	box-sizing: content-box;
	flex-shrink: 0;
	width: 20px;
	height: 20px;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: contain;
	padding: 0 1px;
}

.rating__stars-items_empty .rating__stars-item {
	background-image: url("data:image/svg+xml, <svg xmlns='http://www.w3.org/2000/svg' width='100%' height='100%' viewBox='0 0 16 16' fill='%23634b58'><path d='m 10.248393,6.1445859 c -0.176773,0 -0.3644206,-0.136431 -0.4191821,-0.304537 L 8.0989449,0.51510405 c -0.054761,-0.16814536 -0.1431285,-0.16814536 -0.19789,0 L 6.1711033,5.8400489 c -0.054762,0.1681455 -0.242408,0.304537 -0.4191815,0.304537 H 0.15285429 c -0.17677327,0 -0.20431161,0.084231 -0.06118317,0.1883165 L 4.6211563,9.6233596 c 0.1431284,0.104086 0.2148699,0.324708 0.1601084,0.4928534 l -1.7299119,5.32463 c -0.054762,0.168146 0.01698,0.220307 0.1601085,0.11626 l 4.5294851,-3.290457 c 0.1431285,-0.104086 0.3750175,-0.104086 0.518146,0 l 4.5294856,3.290772 c 0.143128,0.104087 0.21487,0.05189 0.160108,-0.116259 l -1.729951,-5.32463 c -0.05476,-0.1681464 0.01698,-0.3887684 0.160109,-0.4928544 l 4.529485,-3.2904567 c 0.143128,-0.1040865 0.11559,-0.1883165 -0.06118,-0.1883165 h -5.598753 z'></path></svg>");
}

.rating__stars-items_fill .rating__stars-item {
	background-image: url("data:image/svg+xml, <svg xmlns='http://www.w3.org/2000/svg' width='100%' height='100%' viewBox='0 0 16 16' fill='%23ffcf00'><path d='m 10.248393,6.1445859 c -0.176773,0 -0.3644206,-0.136431 -0.4191821,-0.304537 L 8.0989449,0.51510405 c -0.054761,-0.16814536 -0.1431285,-0.16814536 -0.19789,0 L 6.1711033,5.8400489 c -0.054762,0.1681455 -0.242408,0.304537 -0.4191815,0.304537 H 0.15285429 c -0.17677327,0 -0.20431161,0.084231 -0.06118317,0.1883165 L 4.6211563,9.6233596 c 0.1431284,0.104086 0.2148699,0.324708 0.1601084,0.4928534 l -1.7299119,5.32463 c -0.054762,0.168146 0.01698,0.220307 0.1601085,0.11626 l 4.5294851,-3.290457 c 0.1431285,-0.104086 0.3750175,-0.104086 0.518146,0 l 4.5294856,3.290772 c 0.143128,0.104087 0.21487,0.05189 0.160108,-0.116259 l -1.729951,-5.32463 c -0.05476,-0.1681464 0.01698,-0.3887684 0.160109,-0.4928544 l 4.529485,-3.2904567 c 0.143128,-0.1040865 0.11559,-0.1883165 -0.06118,-0.1883165 h -5.598753 z'></path></svg>");
}

.rating__stars_sm .rating__stars-container {
	margin: 0 -0.5px;
}

.rating__stars_sm .rating__stars-item {
	width: 16px;
	height: 16px;
	padding: 0 0.5px;
}

.rating__stars_lg .rating__stars-container {
	margin: 0 -2px;
}

.rating__stars_lg .rating__stars-item {
	width: 28px;
	height: 28px;
	padding: 0 2px;
}

.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) {
	.download-button {
		max-width: 380px;
		padding: 8px;	
	}

	.download-button__link {
		font-size: 20px;
		border-width: 4px;
		padding-top: 30px;
		padding-bottom: 30px;
	}	

	.rating__stars_lg .rating__stars-item {
		width: 24px;
		height: 24px;
	}	

	.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: 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: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, .25);
    margin: 0 auto;
}

.content {
	flex-grow: 1;
	overflow: hidden;
}

.section {
	padding: 90px 0;
}

.section__header {
	text-align: center;
	margin-bottom: 80px;
}

.section__title {
	font-weight: 900;
	text-transform: uppercase;
}

.section_inverse {
	background-color: #131313;
	color: #fff;
}

@media (max-width: 1229px) {
	.section__header {
		margin-bottom: 60px;
	}
}

.main {
	background: url(../img/main_bg.jpg) center center no-repeat;
	background-size: cover;
	text-align: center;
	padding: 60px 0 140px;
}

.main__header {
	margin-bottom: 110px;
}

.main__logo {
	display: inline-block;
	max-width: 597px;
	user-select: none;
	pointer-events: none;
}

.main__description {
	font-family: "Montserrat", sans-serif;
	font-size: 14px;
	font-weight: 500;
	line-height: 18px;
	margin-top: 40px;
	padding: 0 45px;
}

.about {
	background: url(../img/about_bg.jpg) center center no-repeat;
	background-size: cover;
}

.about__part_right {
	height: calc(100% + 180px);
	background-color: rgba(255, 232, 209, .5);
	margin: -90px 0;
	padding: 90px 50px;
}

.about__download {
	margin-top: 60px;
}

.gameplay {
	background: url(../img/gameplay_bg.jpg) center center no-repeat;
	background-size: cover;
	padding-bottom: 130px;
}

.gameplay__part_left {
	height: calc(100% + 220px);
	background-color: rgba(255, 255, 255, .35);
	margin: -90px 0 -130px;
	padding: 90px 45px 130px;
}

.gameplay__part_right {
	display: flex;
	flex-direction: column;
	align-items: center;
	height: 100%;
	text-align: center;
	padding-bottom: 60px;
}

.gameplay__download {
	margin-top: 80px;
}

.gameplay__rating {
	display: inline-block;
	background-color: rgba(0, 0, 0, .4);
	color: #fff;
	text-align: center;
	margin-top: auto;
	padding: 20px 30px;
}

.gameplay__rating-label,
.gameplay__rating-grade {
	display: block;
}

.gameplay__rating-label {
	font-size: 20px;
	margin-bottom: 15px;
}

.gameplay__rating-grade {
	font-size: 72px;
	font-weight: 900;
}

.gameplay__rating-stars {
	margin-top: 15px;
}

.reviews {
	background: url(../img/reviews_bg.jpg) center center no-repeat;
	background-size: cover;
}

.reviews__cards-grid {
	margin-bottom: -30px;
}

.reviews__cards-col {
	margin-bottom: 30px;
}

.reviews__card {
	height: 100%;
	font-weight: 400;
	background-color: rgba(0, 0, 0, .4);
	padding: 20px;
}

.reviews__card-header {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	margin-bottom: 25px;
}

.reviews__card-author {
	flex: 1 0 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	padding-right: 15px;
}

.reviews__card-rating {
	margin-left: auto;
}

.reviews__card-time {
	flex: 0 0 100%;
	width: 100%;
	font-size: 14px;
	color: #9e9e9e;
	margin-top: 10px;
}

@media (max-width: 1229px) {
	.main {
		padding-bottom: 120px;
	}

	.main__header {
		margin-bottom: 90px;
	}

	.main__logo {
		max-width: 420px;
	}

	.main__description {
		padding: 0 15px;
	}

	.about__part_right {
		padding-right: 30px;
		padding-left: 30px;
	}

	.gameplay {
		padding-bottom: 120px;
	}

	.gameplay__part_left {
		height: calc(100% + 210px);
		margin: -90px 0 -120px;
		padding: 90px 30px 120px;
	}	

	.gameplay__part_right { 
		padding-bottom: 45px;
	}

	.gameplay__rating-label {
		font-size: 18px;
		margin-bottom: 10px;
	}

	.gameplay__rating-grade {
		font-size: 64px;
	}	

	.reviews__card-header {
		margin-bottom: 20px;
	}

	.reviews__card-time {
		margin-top: 8px;
	}

	.reviews__card-text {
		font-size: 14px;
	}
}

@media (min-width: 1230px) {
	.reviews__card-text {
		font-size: 16px;
	}
}

.footer {
	background-color: #000;
	color: #6c6c6c;
	text-align: center;
	padding: 45px 0;
}

.footer__text {
	max-width: 720px;
	letter-spacing: .04em;
	line-height: 22px;	
	margin: 0 auto;
}
