@font-face {
	src: url('../fonts/albertusbold_regular.otf');
	font-family: 'Albertus';
}

.html {
	scroll-behavior: auto !important;
}

body {
	width: 100%;
	background: url(../images/bg.jpg) center top no-repeat;
	background-color: #03080d;
	font-family: 'Albertus', sans-serif;
	font-weight: 700;
	font-size: 14px;
	color: #fff;
	min-height: 100vh;
	overflow: hidden;
}

.page-content {
	background: #03080d url(../images/bg-pages.jpg) center top no-repeat;
}

.container {
	max-width: 1225px;
}

.top-container {
	position: relative;
	margin: 0 auto;
	width: 100%;
	max-width: 1000px;
}

.flex {
	display: flex;
	flex-wrap: wrap;
}

.flex-c {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
}

.flex-s {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}

.flex-s-c {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
}

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

.modal-open,
#login-modal {
	padding-right: 0 !important;
}

.custom-button {
	display: flex;
	background: url(../images/button.png) center no-repeat;
	background-size: contain;
	width: 100%;
	height: 46px;
	justify-content: center;
	align-items: center;
	text-transform: uppercase;
}

a,
button {
	transition: all 0.3s ease;
	text-decoration: none;
	color: white;
	border: none;
	font-weight: 700;
}

a:hover,
button:hover {
	opacity: 0.7;
}

.header {
	height: 90px;
	position: relative;
	z-index: 10;
}

.header-wrapper-menu {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.header-menu {
	display: flex;
	align-items: center;
}
.header-menu li {
	position: relative;
	padding: 0px 15px;
}
.header-menu li a {
	display: flex;
	align-items: center;
	position: relative;
	height: 90px;
	color: #ffffff;
	font-size: 14px;
	text-transform: uppercase;
	padding: 0px 10px;
}

.header-icon {
	display: block;
	position: relative;
	background-image: url(../images/menu-icons-sprite.png);
	background-repeat: no-repeat;
	height: 50px;
	width: 45px;
}

.header-icon-home {
	background-position: left -3px top;
}

.header-icon-files {
	background-position: left -138px top;
}

.header-icon-gifts {
	background-position: left -268px top;
}

.header-icon-stats {
	background-position: left -398px top;
}

.header-icon-rules {
	background-position: left -580px top;
}

.header-icon-as {
	background-position: left -717px top;
}

.header-wrapper_right {
	display: flex;
	align-items: center;
}

.lang-icon {
	display: inline-block;
	width: 32px;
	height: 32px;
	object-fit: contain;
}

.langBlock {
	position: relative;
}

.langBlock-active {
	position: relative;
	display: flex;
	align-items: center;
	transition: 0.3s;
	cursor: pointer;
	height: 90px;
	margin-right: 30px;
}

.langBlock-active:hover {
	opacity: 0.8;
}

.langBlock-select {
	position: absolute;
	top: 100%;
	left: 0px;
	width: 50px;
	display: none;
	background: rgba(0, 0, 0, 0.8);
	border-radius: 5px;
	padding: 10px;
	z-index: 1000;
}

.lang-button {
	background: none;
	border: none;
	padding: 0;
	cursor: pointer;
	width: 50px;
	height: 50px;
	display: flex;
	align-items: center;
}

.lang-button:hover {
	opacity: 0.8;
}

.langBlock-select ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.langBlock-select li {
	margin: 5px 0;
}

.header-wrapper_right-flex {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	position: absolute;
	right: 150px;
	top: 0px;
}

.login-and-reg {
	display: flex;
	align-items: center;
	gap: 35px;
}

.sing-up-button {
	color: #ffc100;
	background-color: transparent;
}

.login-button {
	width: 205px;
	height: 65px;
	justify-content: center;
	align-items: center;
	font-size: 16px;
}

.lkBlock-login {
	display: flex;
	align-items: center;
}

.logo > a:hover {
	opacity: 1;
}

.logo-link > img {
	object-fit: contain;
}

.logo-link:hover {
	opacity: 1;
	filter: brightness(120%);
}

.logo {
	display: flex;
	justify-content: center;
	margin-top: 245px;
	margin-bottom: 40px;
}

.servers-container {
	position: relative;
	z-index: 15;
	gap: 15px;
	justify-content: center;
}

.server-bg {
	position: relative;
}

.new::after {
	content: '';
	position: absolute;
	width: 75px;
	height: 50px;
	top: -5px;
	left: -2px;
	background: url(../images/new-icon.png) center top no-repeat;
	background-size: contain;
}

.text-container {
	z-index: 11;
	position: absolute;
	top: 0;
	width: 100%;
	flex-direction: column;
	text-transform: uppercase;
	font-size: 12px;
}

.server-title {
	color: #ffc100;
	font-size: 18px;
	margin-top: 15px;
}

.server-status {
	color: #b4ff00;
	margin-top: 15px;
}

.server-status.off {
	color: #f33939;
}

.server-icons {
	position: absolute;
	top: 0;
	width: 100%;
	height: 100%;
}

.server-icon-1 {
	background: url(../images/server-icon-1.png) center 110px no-repeat;
}

.server-icon-2 {
	background: url(../images/server-icon-2.png) center 110px no-repeat;
}
.server-icon-3 {
	background: url(../images/server-icon-3.png) center 110px no-repeat;
}
.server-icon-4 {
	background: url(../images/server-icon-4.png) center 109px no-repeat;
}

/* section news */

section {
	padding-bottom: 10px;
}

.section-title {
	position: relative;
	width: max-content;
	font-size: 30px;
	font-weight: 700;
	margin: 70px auto;
	text-transform: uppercase;
	background: linear-gradient(to top, #103745 33%, #11889d 50%, #12defb);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	text-align: center;
}

.section-separator::after {
	content: '';
	position: absolute;
	left: 100%;
	top: 0;
	width: 228px;
	height: 33px;
	background: url(../images/section-separator.png) center no-repeat;
	transform: rotate(180deg);
}
.section-separator::before {
	content: '';
	position: absolute;
	right: 100%;
	top: 0;
	width: 228px;
	height: 33px;
	background: url(../images/section-separator.png) center no-repeat;
}

article {
	display: flex;
}
.news-content-container {
	gap: 15px;
	max-width: 100%;
}

.news-center-content,
.news-right-content,
.news-left-content {
	position: relative;
	transition: 0.3s all;
}

.news-center-content:hover {
	transform: translateY(-10px);
}

.news-center-content::before {
	content: '';
	position: absolute;
	display: flex;
	top: -71px;
	left: -33px;
	width: 507px;
	height: 732px;
	background: url(../images/news-hero-1.png) no-repeat;
}

.news-center-content img {
	max-width: 100%;
}
.news-center-content {
	box-shadow: 0px 50px 100px black;
}
.news-right-content {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	height: 660px;
	padding-top: 68px;
	align-self: flex-start;
}

.all-news-link {
	position: absolute;
	right: 0;
	top: 35px;
	text-decoration: underline;
	color: #49535a;
	font-weight: 700;
}

.article-text-container {
	flex-direction: column;
	align-items: flex-end;
	position: absolute;
	z-index: 50;
	right: 40px;
	bottom: 100px;
	max-width: 325px;
	text-transform: uppercase;
	text-align: end;
	gap: 10px;
}

.news-center-content .article-text-container {
	align-items: center;
	text-align: center;
	bottom: 45px;
	right: 50%;
	transform: translate(50%);
	gap: 20px;
	width: 100%;
}

.article-right {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	text-align: end;
	gap: 15px;
	max-width: 418px;
	text-transform: uppercase;
}

.article-right:hover img {
	transform: scale(1.1);
}

.article-right img {
	max-width: 100%;
	transition: all 0.3s;
}

.article-title {
	font-size: 18px;
	font-weight: 700;
	color: #ffc100;
}

.article-text {
	font-size: 14px;
	font-weight: 700;
	color: white;
}

.article-date,
.events-date {
	font-size: 14px;
	font-weight: 700;
	color: #49535a;
	text-transform: none;
}

.news-button {
	width: 142px;
	height: 46px;
	justify-content: center;
	align-items: center;
	font-size: 12px;
}

.news-slider {
	max-width: 100%;
}

.info-content-container {
	justify-content: center;
	gap: 15px;
}

.rank-block,
.events-block {
	display: flex;
	flex-direction: column;
	width: 420px;
	min-height: 660px;
	background-color: #101519;
}

.events-block .flex-c {
	justify-content: center;
}

.rank-tabs,
.server-tabs {
	display: flex;
	width: 100%;
}

.rank-tabs button,
.server-tabs button {
	width: 50%;
	height: 88px;
	text-transform: uppercase;
	border: none;
	background-color: #0f1113;
	color: #5b5a58;
	font-size: 16px;
	font-weight: 700;
}

.rank-tabs button:hover,
.server-tabs button:hover {
	color: #ffc100;
	transition: 0.7s;
	background-color: transparent;
}

.rank-tabs .active,
.server-tabs .active {
	background-color: transparent;
	color: #ffc100;
}

.rank-tabs .pk-button,
#player-tab-2,
#player-tab-3,
#player-tab-4,
#guild-tab-2,
#guild-tab-3,
#guild-tab-4 {
	border-left: 1px #000 solid;
}

.separator {
	margin: 0;
	color: #1c2125;
	opacity: 1;
	width: 100%;
}

.tab-content {
	display: flex;
	justify-content: space-between;
	flex-direction: column;
	flex-grow: 1;
	position: relative;
}

#player-content {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	width: 100%;
	display: none;
}

#player-content.active {
	display: flex;
}

.sub-tab-button {
	display: flex;
	justify-content: center;
	align-items: center;
}

.rank-text-btn {
	max-width: 50px;
}

.table-top-rank {
	width: 100%;
	margin-bottom: 30px;
}

.table-top-rank td,
.table-top-rank th {
	padding: 10px;
}

.table-guild {
	position: relative;
}

td.table-guild::before {
	content: '';
	position: absolute;
	display: block;
	width: 25px;
	height: 25px;
	top: 15%;
	left: -20%;
}

td.table-name {
	position: relative;
	padding-top: 2px;
}

td.table-name .job-icon {
	width: 20px;
	height: 20px;
	object-fit: contain;
	vertical-align: middle;
	margin-right: 10px;
}

.table-top-rank tr:hover {
	background-color: #000;
	color: #b4ff00;
	transition: 0.7s;
}

.table-top-rank th {
	color: #5b5a58;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
}

.table-top-rank .table-rank {
	padding-left: 45px;
}

.table-top-rank .table-lvl {
	padding-right: 45px;
	text-align: end;
}

.highlighted-text {
	color: #ffc100;
}

.events-title {
	display: flex;
	align-items: center;
	height: 88px;
	font-size: 16px;
	color: #ffc100;
	text-transform: uppercase;
	font-weight: 700;
}

.events-content {
	display: flex;
	justify-content: space-between;
	flex-grow: 1;
	padding: 5px 40px;
}

.events-articles {
	width: 100%;
}

.events-text {
	position: relative;
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 14px;
	line-height: 1.5;
	margin-bottom: 20px;
}

.event-left,
.event-right {
	display: flex;
	flex-direction: column;
}

.event-right {
	align-items: flex-end;
}

.starts-in {
	color: #5b5a58;
	font-size: 13px;
}

.event-time {
	color: #6a6a69;
}

.remain-event-time {
	color: #49535a;
	font-size: 13px;
}

.events-btn {
	width: 100%;
	height: 46px;
	margin-bottom: 15px;
	justify-content: center;
	align-items: center;
	text-transform: uppercase;
}

.links-block {
	display: flex;
	flex-direction: column;
	gap: 5px;
	flex-grow: 1;
	width: 100%;
	max-width: 330px;
	height: 660px;
}

.video-block {
	position: relative;
	display: flex;
	width: 100%;
	height: 393px;
}

.play-button {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 80px;
	height: 80px;
	transform: translate(-50%, -50%);
	background: url(../images/play-button.png) center top no-repeat;
}

.play-button:hover {
	transform: scale(1.25) translate(-40%, -40%);
	transition: 0.7s;
}

.video-img:hover {
	opacity: 1;
}

.video-img {
	position: absolute;
	left: -9px;
	top: -57px;
	width: 100%;
	height: 450px;
}

.video-img img {
	width: 145%;
}

.banner-1,
.banner-2 {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	height: 100px;
	background-size: cover;
	font-size: 18px;
	transition: all 0.3s;
	gap: 0;
}

.banner-1:hover,
.banner-2:hover {
	gap: 10px;
}

.banner-1 {
	background: url(../images/banner-1.png) center no-repeat;
}

.banner-2 {
	background: url(../images/banner-2.png) center no-repeat;
}
.banner-title {
	font-size: 30px;
	text-transform: uppercase;
	color: #ffc100;
}

.social-links {
	display: flex;
	justify-content: space-around;
	align-items: center;
	flex-grow: 1;
	margin-top: -15px;
}

.social-link {
	width: 35px;
	height: 35px;
}

.social-link.insta {
	background: url(../images/insta-icon.png) center no-repeat;
}
.social-link.fb {
	background: url(../images/facebook-icon.png) center no-repeat;
}
.social-link.gmail {
	background: url(../images/gmail-icon.png) center no-repeat;
}
.social-link.tg {
	background: url(../images/telegram-icon.png) center no-repeat;
}
.social-link.discord {
	background: url(../images/discord-icon.png) center no-repeat;
}

.section-characters {
	padding: 0;
}

.section-characters > .section-title {
	margin-bottom: 0;
}

.media-block .title {
	margin-bottom: 30px;
}

.media-block .slick-list {
	padding-left: 0 !important;
	padding-right: 0 !important;
	padding-bottom: 155px !important;
	overflow-y: visible;
}

.media-slide {
	position: relative;
	transition: 0.5s;
	height: 390px !important;
	width: 403px;
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
}

.media-slide:after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #03080d;
	transition: 0.5s;
	opacity: 0.7;
}

.media-slide.slick-center {
	transform: scale(1.5);
	z-index: 10;
	box-shadow: 0 20px 50px 0 #060a0d;
}

.media-slide img {
	width: 100%;
}

.media-slide.slick-center img {
	box-shadow: 0 20px 50px 0 #060a0d;
}

.media-slide.slick-center:after {
	opacity: 0;
}

#media-dots {
	position: relative;
	top: -45px;
	z-index: 10;
	width: 660px;
	margin: 0 auto;
}

.about-server-block {
	width: 100%;
	background-color: #101519;
}

.about-server-title > div {
	width: 100%;
	padding: 30px 45px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.about-server-date {
	color: #5b5a58;
}

.about-server-post {
	display: flex;
	flex-direction: column;
}

.about-server-post img {
	width: 100%;
	margin-bottom: 30px;
}

.about-server-post-text {
	font-size: 16px;
	line-height: 36px;
	margin-bottom: 30px;
}

.toTop {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 70px;
	height: 70px;
	background: url('../images/toTop-button.png') center no-repeat;
	border-radius: 5px;
	margin: 0 auto;
}

.footer {
	margin-top: 80px;
	position: relative;
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	width: 100%;
}

.footer::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	min-height: 245px;
	background: url(../images/bg-footer.png) no-repeat;
	background-position: center;
}

.footer-content {
	position: relative;
	height: 165px;
}

.footer-container {
	position: absolute;
	top: 0;
	left: 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 15px;
	width: 100%;
	height: 100%;
	z-index: 5;
}

.footer-logo {
	width: 259px;
	height: 145px;
}

.footer-logo img {
	max-width: 100%;
}

.footer-text {
	display: flex;
	flex-direction: column;
	gap: 10px;
	font-size: 12px;
	color: #5b5a58;
	max-width: 225px;
}

.footer-rights {
	display: flex;
	flex-direction: column;
	font-size: 15px;
}

.copyright,
.footer-highlighted {
	color: #ffc100;
}

.footer-message {
	text-transform: uppercase;
}

.studio-info {
	display: flex;
	align-items: center;
	font-size: 15px;
	color: #5b5a58;
}

.studio-icon {
	display: flex;
	width: 55px;
	height: 55px;
	background: url(../images/studio-icon.png) no-repeat;
}

.studio-info-container {
	display: flex;
	flex-direction: column;
}

/****************************************** Download ******************************************/
.download-wrapper {
	padding: 40px;
	background-color: #101519;
}

.dTop-left {
	width: 60%;
	background-color: #20252a;
	border-right: 1px solid #20252a;
	height: 270px;
}
.dTop-left > div {
	height: 100%;
}

.dTop-right {
	width: 40%;
	height: 270px;
	background-color: #161c22;
}
.dTop-right > div {
	height: 100%;
}

.dTop-cat {
	padding: 10px;
	width: 100%;
}

.dTop-cat_title {
	font-size: 15px;
	text-align: center;
	margin-bottom: 10px;
}

.dTop-cat_block {
	width: calc(25% - 6px);
	display: block;
	margin: 3px;
	background-color: #100f0f;
	height: 140px;
	position: relative;
}
.dTop-cat_block:before {
	content: '';
	position: absolute;
	width: 128px;
	height: 89px;
	left: 50%;
	margin-left: -64px;
	bottom: -10px;
	z-index: 2;
	transition: 0.3s;
	opacity: 0;
}
.dTop-cat_block:hover:before {
	opacity: 1;
}

.dTop-cat_block-blue:before {
	background: url(../images/hover-blue.png) no-repeat;
}

.dTop-cat_block-green:before {
	background: url(../images/hover-green.png) no-repeat;
}

.dTop-cat_block-orange:before {
	background: url(../images/hover-orange.png) no-repeat;
}

.dTop-cat_block-turquoise:before {
	background: url(../images/hover-turquoise.png) no-repeat;
}

.dTop-cat_block-img {
	display: flex;
	align-items: center;
	justify-items: center;
	max-width: 115px;
	height: 115px;
	margin: 0 auto;
}

.dTop-cat_block-img img {
	width: 100%;
}

.dTop-cat_block-title {
	text-align: center;
	position: relative;
	margin-top: -15px;
	z-index: 3;
}

.dtop-update {
	text-align: center;
}

.dtop-update_button .custom-button {
	height: 66px;
}

.dtop-update_title {
	font-weight: bold;
	font-size: 15px;
	margin-bottom: 20px;
	text-transform: uppercase;
}

.dtop-update_text {
	color: #d5e7e8;
	line-height: 30px;
	max-width: 330px;
	margin: 0 auto;
	margin-bottom: 30px;
}

.d-title {
	color: #f9b001;
	font-weight: bold;
	font-size: 18px;
	position: relative;
	margin: 60px auto;
	margin-bottom: 30px;
	width: max-content;
}

.d-title::after {
	content: '';
	position: absolute;
	left: 100%;
	top: -3px;
	width: 90px;
	height: 23px;
	background: url(../images/download-separator.png) center no-repeat;
	transform: rotate(180deg);
}
.d-title::before {
	content: '';
	position: absolute;
	right: 100%;
	top: -3px;
	width: 90px;
	height: 23px;
	background: url(../images/download-separator.png) center no-repeat;
}

.dSystem {
	overflow: auto;
}
.table-download {
	border-top: 1px solid #2b2f33;
}
.table-download thead {
	font-weight: bold;
}
.table-download thead td {
	padding: 15px;
	color: #fff;
	background-color: #1d242a;
	font-size: 15px;
}
.table-download td {
	padding: 15px;
	color: #fff;
	text-align: center;
	border: 1px solid #2b2f33;
	background-color: #181d22;
}
.table-download td:first-child {
	width: 25%;
}

.driverBlock {
	display: block;
	padding: 12px;
}

.driverBlock img {
	width: 100%;
}

.faq-block_title {
	color: #f9b001;
	font-weight: bold;
	font-size: 15px;
	text-decoration: underline;
	margin-bottom: 30px;
	position: relative;
	padding-left: 50px;
}
.faq-block_title:before {
	content: '';
	position: absolute;
	background: url(../images/icon-question.png) no-repeat;
	width: 36px;
	height: 36px;
	left: 0px;
	top: 50%;
	margin-top: -18px;
}

.faq-block_text {
	line-height: 30px;
}

.faq-block {
	margin-bottom: 50px;
}
.faq-block:last-child {
	margin-bottom: 0px;
}

/****************************************** Top Players ******************************************/

.pageContent {
	background-color: #101519;
	padding: 30px;
}

/* Оригинальный дизайн таблицы из top-rank.html */
.page-content .table-top-rank-s {
	width: 100%;
	min-width: 800px;
}

.page-content .table-top-rank-s td {
	border-collapse: collapse;
	padding: 20px 30px;
	border-top: 1px solid #262525;
	vertical-align: middle;
}

.page-content .table-top-rank-s th {
	border-collapse: collapse;
	padding: 20px 30px;
	text-align: left;
	color: #ffb400;
	font-weight: bold;
}

.page-content .table-top-rank-s thead tr {
	background-color: #1d242a;
	border-top: 2px solid #313236;
}

.breadcrumbs {
	position: relative;
	margin-left: -15px;
	margin-bottom: 30px;
}
.breadcrumbs ul {
	display: flex;
	align-items: center;
}
.breadcrumbs ul li {
	position: relative;
	padding: 15px;
}
.breadcrumbs ul li:after {
	content: '';
	position: absolute;
	right: -8px;
	top: 50%;
	margin-top: -4px;
	border: 5px solid transparent;
	border-left: 5px solid #88dceb;
}
.breadcrumbs ul li:last-child:after {
	display: none;
}
.breadcrumbs ul li a {
	color: #fff;
}
.breadcrumbs ul li a:hover {
	color: #ffb400;
}

.selectTop {
	display: flex;
	justify-content: flex-end;
	margin-bottom: 40px;
}

select {
	background: #1d242a;
	width: 100%;
	max-width: 290px;
	border: none;
	color: #fff;
	padding: 0px 40px 0px 20px;
	height: 45px;
	font-size: 14px;
	position: relative;
	-webkit-appearance: none;
	background-image: url(../images/arrow-v.png);
	background-position: right 10px center;
	background-repeat: no-repeat;
	-moz-appearance: none;
	text-indent: 0.01px;
	text-overflow: '';
	-ms-appearance: none;
	appearance: none !important;
	cursor: pointer;
}

.select {
	width: 100%;
	max-width: 290px;
	height: 45px;
	padding: 0px 40px 0px 20px;
	color: #fff;
	font-size: 14px;
	display: flex;
	align-items: center;
	outline: none;
	position: relative;
	cursor: pointer;
	user-select: none;
	background: url(../images/arrow-v.png) right 20px center no-repeat;
	background-color: #1d242a;
}

.select:focus .select_dropdown {
	display: block;
}

.select_dropdown {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	list-style-type: none;
	background-color: #1d242a;
	display: none;
	z-index: 10;
	transition: 0.3s;
}

.select_option {
	height: 45px;
	padding: 0px 20px;
	display: flex;
	align-items: center;
	border-top: 1px solid #1a1919;
	color: #f0e7aa;
}

.select_option:hover {
	background-color: gray;
}

.topThree {
	margin-bottom: 70px;
}

.topThree-block {
	width: 100%;
	max-width: 390px;
	height: 120px;
	display: flex;
}

.topThree-block_place {
	width: 78px;
}

.first-place {
	background: url(../images/first-place-img.jpg) center bottom no-repeat;
	background-color: #0c0c0e;
}

.second-place {
	background: url(../images/second-place-img.jpg) center bottom no-repeat;
	background-color: #0c0c0e;
}

.third-place {
	background: url(../images/third-place-img.jpg) center bottom no-repeat;
	background-color: #0c0c0e;
}

.topThree-block_class {
    background-color: #151518;
    overflow: hidden;
    position: relative;
    width: 134px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.topThree-block_class .slider-nav-slide-block {
	width: 120px;
	height: 120px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: url(../images/hero-small-hover-bg.png) center no-repeat;
	transform: none;
	margin: 0;
	position: relative;
}
.topThree-block_class .slider-nav-slide-block::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.35);
    border: 2px solid rgba(255, 180, 0, 0.5);
    box-shadow: 0 0 12px rgba(255, 180, 0, 0.35), inset 0 0 8px rgba(255, 180, 0, 0.2);
}
.topThree-block_class .slider-nav-slide-block img {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 32px;
	height: 32px;
	object-fit: contain;
	display: block;
	z-index: 1;
	filter: drop-shadow(0 0 6px rgba(255, 180, 0, 0.35));
	margin: 0 !important;
}
.topThree-block_class .slider-nav-slide-block:after {
	opacity: 1;
}

.topThree-block_text {
	flex-grow: 1;
	background-color: #1d242a;
	padding: 20px 18px;
	position: relative;
}

.topThree-block_text-t p {
	color: #e5d9a5;
	font-weight: bold;
	margin-bottom: 10px;
}

.topThree-block_text-b {
	position: absolute;
	left: 18px;
	bottom: 20px;
}

.online {
	color: #b0d90e;
}

.offline {
	color: #e91414;
}

/* Дополнительные стили для таблицы */
.table-top-rank-s {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Оригинальные стили строк таблицы */
.table-top-rank-s tbody tr {
	position: relative;
	left: 0px;
	transition: 0.3s;
}

.table-top-rank-s tbody tr td {
	height: 65px;
}

.table-top-rank-s tbody tr:after {
	content: '';
	background-size: contain;
	width: 55px;
	height: 65px;
	position: absolute;
	left: 10px;
	top: 50%;
	padding: 20px 30px;
	margin-top: -32.5px;
	opacity: 0;
	transition: 0.3s;
}

.table-top-rank-s tbody tr:hover {
	background: #060501;
	left: -10px;
}

.table-top-rank-s tbody tr:hover:after {
	opacity: 1;
}
/* Оригинальные стили для иконок */
.table-top-rank-s td img {
	filter: drop-shadow(0px 0px 10px #ffb400);
}

/* Оригинальные стили для статусов */
.online {
	color: #b0d90e;
}

.offline {
	color: #e91414;
}

/* Контейнер для таблицы со скроллом как в оригинале */
.table-top-scroll {
	overflow: auto;
}

/* Стили пагинации из оригинала */
.pagination {
	margin-bottom: 20px;
}

.pagination li {
	padding: 6px;
}
.table-top-rank-s td {
    border-collapse: collapse;
    padding: 20px 30px;
    border-top: 1px solid #262525;
    vertical-align: middle;
}
.table-top-rank-s th {
    border-collapse: collapse;
    padding: 20px 30px;
    text-align: left;
    color: #ffb400;
    font-weight: bold;
}
.table-top-rank-s thead tr {
    background-color: #1d242a;
    border-top: 2px solid #313236;
}
.number {
	display: flex;
	align-items: center;
	justify-content: center;
	background: url(../images/squad-bg.png) no-repeat;
	width: 54px;
	height: 54px;
	color: #fff;
}

.number.active {
	filter: drop-shadow(0px 10px 10px rgba(255, 180, 3, 0.2));
	color: #ffe696;
}

.number:hover {
	filter: drop-shadow(0px 10px 10px rgba(255, 180, 3, 0.2));
	color: #ffe696;
}

.nav-prev,
.nav-next {
	width: 62px;
	height: 62px;
	background: url(../images/slick-prev-hero.png) no-repeat;
}

.nav-prev {
	transform: rotate(180deg);
}

/* Улучшенные стили для таблицы Top100 */
.game-table {
    background: rgba(13, 20, 33, 0.8);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 180, 0, 0.1);
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    table-layout: fixed;
}

.game-table thead tr {
	background: linear-gradient(135deg, #1d242a 0%, #262d34 100%);
	border-bottom: 2px solid #ffb400;
}

.game-table th {
	padding: 15px 20px;
	color: #ffb400;
	font-weight: bold;
	text-transform: uppercase;
	font-size: 13px;
	letter-spacing: 1px;
	position: relative;
	text-align: left;
	border-collapse: collapse;
}

.game-table th:first-child {
	text-align: center;
	width: 80px;
}

.game-table th:nth-child(2) {
	text-align: center;
	width: 60px;
}

.game-table th:nth-child(5),
.game-table th:nth-child(6) {
	text-align: center;
	width: 80px;
}

.game-table th.cursor-pointer:hover {
	color: #ffc100;
	text-shadow: 0 0 10px rgba(255, 193, 0, 0.5);
}

.game-table tbody tr {
	transition: all 0.3s ease;
	position: relative;
	border-bottom: 1px solid rgba(255, 180, 0, 0.1);
}

.game-table tbody tr:hover {
	background: linear-gradient(135deg, #060501 0%, #0a0a05 100%);
	box-shadow: 0 0 25px rgba(255, 180, 0, 0.3);
}

.game-table tbody tr::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 4px;
	background: linear-gradient(180deg, #ffb400, #ffc100);
	opacity: 0;
	transition: opacity 0.3s ease;
}

.game-table tbody tr:hover::before {
	opacity: 1;
}

.game-table td {
	padding: 15px 20px;
	vertical-align: middle;
	color: #ffffff;
	font-weight: 600;
	border-collapse: collapse;
}

/* Специфичные стили для ячеек */
.game-table .rank-cell {
	text-align: center;
	width: 80px;
}

.game-table .avatar-cell {
	text-align: center;
	width: 60px;
}

.game-table .character-name {
    min-width: 150px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.game-table .guild-cell {
    min-width: 120px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.game-table .level-cell {
	text-align: center;
	width: 80px;
}

.game-table .pk-cell {
	text-align: center;
	width: 80px;
}

/* Стили для рангов */
.rank-normal {
	color: #cccccc;
	font-size: 16px;
	font-weight: bold;
}

.rank-top-3 {
	display: inline-block;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	text-align: center;
	line-height: 32px;
	font-weight: bold;
	color: white;
	text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
}

.rank-1 { background: linear-gradient(135deg, #ffd700, #ffed4e); }
.rank-2 { background: linear-gradient(135deg, #c0c0c0, #e8e8e8); }
.rank-3 { background: linear-gradient(135deg, #cd7f32, #daa520); }

/* Стили для аватаров */
.character-avatar {
	width: 32px;
	height: 32px;
	border-radius: 6px;
	border: 1px solid rgba(255, 180, 0, 0.3);
	filter: drop-shadow(0px 0px 6px rgba(255, 180, 0, 0.4));
	transition: all 0.3s ease;
}

.character-avatar:hover {
	border-color: #ffb400;
	filter: drop-shadow(0px 0px 15px rgba(255, 180, 0, 0.8));
	transform: scale(1.1);
}

/* Стили для имен персонажей */
.character-name {
	color: #ffffff;
	font-weight: bold;
	font-size: 16px;
	text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* Стили для гильдий */
.guild-name {
	background: linear-gradient(135deg, rgba(255, 180, 0, 0.1), rgba(255, 180, 0, 0.2));
	color: #ffb400;
	padding: 6px 12px;
	border-radius: 20px;
	border: 1px solid rgba(255, 180, 0, 0.3);
	font-size: 13px;
	font-weight: 600;
	display: inline-block;
}

.no-guild {
	color: #666666;
	font-style: italic;
}

/* Стили для уровня */
.level-value {
	color: #00ff88;
	font-weight: bold;
	font-size: 14px;
	text-shadow: 0 0 8px rgba(0, 255, 136, 0.4);
}

/* Стили для PK */
.pk-value {
	color: #ff4444;
	font-weight: bold;
	font-size: 14px;
	text-shadow: 0 0 8px rgba(255, 68, 68, 0.4);
}

/* Дополнительные стили для оригинального дизайна таблицы */
.table-top-rank-s th.cursor-pointer:hover {
	color: #ffb400;
	text-shadow: 0 0 10px rgba(255, 180, 0, 0.5);
}

.table-top-rank-s th.cursor-pointer {
	transition: all 0.3s ease;
	user-select: none;
}





/* Стили для информации в топ 1-3 карточках */
.topThree-block_text-m {
	margin: 5px 0;
}

.level-top {
	color: #00ff88 !important;
	font-weight: bold;
	text-shadow: 0 0 8px rgba(0, 255, 136, 0.4);
}

.guild-top {
	color: #ffb400 !important;
	font-weight: 600;
	text-shadow: 0 0 8px rgba(255, 180, 0, 0.4);
}

.pk-top {
	color: #ff4444 !important;
	font-weight: bold;
	text-shadow: 0 0 8px rgba(255, 68, 68, 0.4);
}

/* Переопределяем все hero-small стили из slick.css для топ-3 */
.topThree-block .hero-small-1,
.topThree-block .hero-small-2,
.topThree-block .hero-small-3,
.topThree-block .hero-small-4,
.topThree-block .hero-small-5,
.topThree-block .hero-small-6,
.topThree-block .hero-small-7,
.topThree-block .hero-small-8,
.topThree-block .hero-small-9,
.topThree-block .hero-small-10,
.topThree-block .hero-small-11,
.topThree-block .hero-small-12,
.topThree-block .hero-small-13,
.topThree-block .hero-small-14 {
	margin: 0 !important;
	position: absolute !important;
	top: 50% !important;
	left: 50% !important;
	transform: translate(-50%, -50%) !important;
}

/* Стили для селектора типа рейтинга */
.selectTop {
	margin-bottom: 30px;
}

.select {
	position: relative;
	width: 250px;
	margin: 0 auto;
	background: rgba(13, 20, 33, 0.8);
	border: 1px solid rgba(255, 180, 0, 0.3);
	border-radius: 8px;
	padding: 12px 20px;
	color: #ffffff;
	cursor: pointer;
	font-weight: 600;
	transition: all 0.3s ease;
}

.select:hover {
	border-color: #ffb400;
	box-shadow: 0 0 15px rgba(255, 180, 0, 0.3);
}

.select_value {
	display: block;
	text-align: center;
}

.select_dropdown {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	background: rgba(13, 20, 33, 0.95);
	border: 1px solid rgba(255, 180, 0, 0.3);
	border-top: none;
	border-radius: 0 0 8px 8px;
	list-style: none;
	padding: 0;
	margin: 0;
	opacity: 0;
	visibility: hidden;
	transform: translateY(-10px);
	transition: all 0.3s ease;
	z-index: 100;
}

.select:focus .select_dropdown,
.select.active .select_dropdown {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.select_option {
	padding: 12px 20px;
	color: #ffffff;
	cursor: pointer;
	transition: all 0.3s ease;
	text-align: center;
}

.select_option:hover {
	background: rgba(255, 180, 0, 0.1);
	color: #ffb400;
}

/* Анимация появления строк */
@keyframes slideInFromLeft {
	from {
		opacity: 0;
		transform: translateX(-50px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

.game-table tbody tr {
	animation: slideInFromLeft 0.5s ease-out forwards;
}

.game-table tbody tr:nth-child(1) { animation-delay: 0.1s; }
.game-table tbody tr:nth-child(2) { animation-delay: 0.2s; }
.game-table tbody tr:nth-child(3) { animation-delay: 0.3s; }
.game-table tbody tr:nth-child(4) { animation-delay: 0.4s; }
.game-table tbody tr:nth-child(5) { animation-delay: 0.5s; }

/* Эффект для топ 3 блоков */
.topThree-block {
	transition: all 0.3s ease;
}

.topThree-block:hover {
	transform: translateY(-10px);
	box-shadow: 0 15px 40px rgba(255, 180, 0, 0.3);
}

/* Переопределения для избежания конфликтов со старыми стилями */
.game-table td,
.game-table th {
	border-top: none !important;
	height: auto !important;
}

.game-table tbody tr {
	background-color: transparent !important;
	left: 0 !important;
	transform: none !important;
	margin-left: 0 !important;
	position: static !important;
}

.game-table tbody tr:after {
	display: none !important;
}

/* Дополнительное выравнивание таблицы */
.table-top-scroll {
	overflow-x: auto;
	width: 100%;
}

.game-table {
	margin: 0 auto;
	position: relative;
}
.pagination {
	margin-bottom: 20px;
}
.pagination li {
	padding: 6px;
}

.number {
	display: flex;
	align-items: center;
	justify-content: center;
	background: url(../images/squad-bg.png) no-repeat;
	width: 54px;
	height: 54px;
	color: #fff;
}
.number.active {
	filter: drop-shadow(0px 10px 10px rgba(255, 180, 3, 0.2));
	color: #ffe696;
}
.number:hover {
	filter: drop-shadow(0px 10px 10px rgba(255, 180, 3, 0.2));
	color: #ffe696;
}

.nav-prev,
.nav-next {
	width: 62px;
	height: 62px;
	background: url(../images/slick-prev-hero.png) no-repeat;
}

.nav-prev {
	transform: rotate(180deg);
}

.nav {
	opacity: 0.5;
}
.nav:hover {
	opacity: 1;
	filter: drop-shadow(0px 0px 0px rgba(0, 0, 0, 1));
}

/****************************************** News ******************************************/
.news-block {
	width: 100%;
	background-color: #101519;
}

.news-title {
	min-height: 90px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.news-title h3 {
	font-size: 16px;
	font-weight: 700;
	color: #ffc100;
	text-transform: uppercase;
}

.news-title > div {
	width: 100%;
	padding: 30px 45px;
	display: flex;
	justify-content: space-between;
}

.news-date {
	color: #5b5a58;
}

.news-post {
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.news-post img {
	width: 100%;
	margin-bottom: 30px;
}

.news-post-text {
	font-size: 16px;
	line-height: 36px;
	margin-bottom: 30px;
}

.text-and-image {
	display: flex;
	justify-content: center;
	gap: 20px;
}

.text-and-image img {
	object-fit: contain;
	max-width: 530px;
}

.post-link {
	color: #ffc100;
	text-decoration: underline;
}

.post-date {
	z-index: 2;
	position: relative;
	margin: 0 auto;
	color: #49535a;
	font-size: 14px;
	padding: 0px 10px;
}

.post-date::before,
.post-date::after {
	content: '';
	position: absolute;
	top: 50%;
	right: 100%;
	height: 1px;
	width: 320px;
	background: linear-gradient(
		90deg,
		rgba(17, 25, 29, 0) 0%,
		rgba(27, 39, 45, 1) 100%
	);
}

.post-date::after {
	left: 100%;
	transform: rotate(180deg);
}

/*************animations***************/

.animations {
	content: '';
	position: absolute;
	top: -250px;
	left: -525px;
}

.ray {
	background: url(../images/ray.png) no-repeat;
	width: 419px;
	height: 419px;
	position: absolute;
	left: 487px;
	top: 153px;
	animation: ray 14s infinite linear;
	transform: rotate(0deg);
	opacity: 0.6;
}
@keyframes ray {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}
.rainbow {
	background: url(../images/rainbow.png) no-repeat;
	background-size: 150px 142px;
	width: 445px;
	height: 422px;
	position: absolute;
	left: 615px;
	top: 294px;
	animation: rainbow 5s infinite linear;
}
@keyframes rainbow {
	0% {
		background: url(../images/rainbow.png) no-repeat;
		background-size: 150px 142px;
		opacity: 0;
	}
	30% {
		opacity: 0.2;
	}
	90% {
		background: url(../images/rainbow.png) no-repeat;
		background-size: 445px 422px;
		opacity: 0.2;
		left: 553px;
		top: 235px;
	}
	100% {
		background: url(../images/rainbow.png) no-repeat;
		background-size: 445px 422px;
		opacity: 0;
		left: 553px;
		top: 235px;
	}
}

.highlight-highlight {
	position: absolute;
    left: 480px;
	top: 450px;
}

.highlight {
	width: 133px;
	height: 133px;
	position: absolute;
	left: 645px;
	bottom: 129px;
	animation: highlight 10s infinite linear;
	opacity: 0;
	transform: scale(0);
}
.highlight .highlight-3 {
	width: 133px;
	height: 133px;
	background: url(../images/highlight-3.png) no-repeat;
	position: absolute;
	transform: rotate(0deg);
	animation: highlight-3 10s infinite linear;
}
.highlight .highlight-4 {
	width: 133px;
	height: 133px;
	background: url(../images/highlight-4.png) center no-repeat;
	position: absolute;
	transform: rotate(0deg);
	animation: highlight-4 10s infinite linear;
}
@keyframes highlight-3 {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(-360deg);
	}
}
@keyframes highlight-4 {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}
@keyframes highlight {
	0% {
		left: 480px;
		bottom: 50px;
		opacity: 0;
		transform: scale(0);
	}
	20% {
		left: 465px;
		bottom: 99px;
		opacity: 1;
		transform: scale(1);
	}
	80% {
		left: 465px;
		bottom: 99px;
		opacity: 1;
		transform: scale(1);
	}
	100% {
		left: 465px;
		bottom: 99px;
		opacity: 0;
		transform: scale(0);
	}
}

.sparks {
	position: absolute;
	width: 1200px;
	left: 0;
	top: 600px;
	z-index: 1;
}
.sparks > div {
	position: absolute;
}
.sparks .spark_1 {
	background: url(../images/spark_1.png) no-repeat;
	width: 764px;
	height: 313px;
	right: 0;
	bottom: -320px;
	-webkit-transform: scale(0.6);
	transform: scale(0.6);
	-webkit-animation: spark-1 4s linear infinite;
	animation: spark-1 4s linear infinite;
	-webkit-animation-delay: 1s;
	animation-delay: 1s;
}
.sparks .spark_2 {
	background: url(../images/spark_2.png) no-repeat;
	width: 179px;
	height: 335px;
	right: 230px;
	bottom: -320px;
	-webkit-transform: scale(0.6);
	transform: scale(0.6);
	-webkit-animation: spark-1 4s linear infinite;
	animation: spark-1 4s linear infinite;
	-webkit-animation-delay: 2s;
	animation-delay: 2s;
}
.sparks .spark_3 {
	background: url(../images/spark_3.png) no-repeat;
	width: 128px;
	height: 165px;
	right: 280px;
	bottom: -140px;
	-webkit-transform: scale(0.6);
	transform: scale(0.6);
	-webkit-animation: spark-3 4s linear infinite;
	animation: spark-3 4s linear infinite;
	-webkit-animation-delay: 2s;
	animation-delay: 2s;
}
.sparks .spark-big {
	background: url(../images/spark_4.png) no-repeat;
	width: 794px;
	height: 176px;
	right: 0;
	bottom: -180px;
	-webkit-transform: scale(0.6);
	transform: scale(0.6);
	-webkit-animation: spark-5 4s linear infinite;
	animation: spark-5 4s linear infinite;
}
.sparks .spark_5 {
	-webkit-animation-delay: 2s;
	animation-delay: 2s;
	right: 40px;
}

.sparks_2 .spark_1 {
	background: url(../images/spark_1.png) no-repeat;
	-webkit-animation-delay: 2s;
	animation-delay: 2s;
}
.sparks_2 .spark_2 {
	background: url(../images/spark_2.png) no-repeat;
	-webkit-animation-delay: 3s;
	animation-delay: 3s;
}
.sparks_2 .spark_3 {
	background: url(../images/spark_3.png) no-repeat;
	-webkit-animation-delay: 3s;
	animation-delay: 3s;
}
.sparks_2 .spark-big {
	background: url(../images/spark_4.png) no-repeat;
}
.sparks_2 .spark_5 {
	-webkit-animation-delay: 3s;
	animation-delay: 3s;
}

.sparks_2 {
	margin-left: -725px;
}

@-webkit-keyframes spark-1 {
	0% {
		bottom: -320px;
		-webkit-transform: scale(0.6);
		transform: scale(0.6);
		opacity: 0;
	}
	25% {
		bottom: -240px;
		-webkit-transform: scale(0.7);
		transform: scale(0.7);
		opacity: 1;
	}
	50% {
		bottom: -160px;
		-webkit-transform: scale(0.8);
		transform: scale(0.8);
		opacity: 1;
	}
	75% {
		bottom: -80px;
		-webkit-transform: scale(0.9);
		transform: scale(0.9);
		opacity: 0.5;
	}
	100% {
		bottom: 0px;
		-webkit-transform: scale(1);
		transform: scale(1);
		opacity: 0;
	}
}

@keyframes spark-1 {
	0% {
		bottom: -320px;
		-webkit-transform: scale(0.6);
		transform: scale(0.6);
		opacity: 0;
	}
	25% {
		bottom: -240px;
		-webkit-transform: scale(0.7);
		transform: scale(0.7);
		opacity: 1;
	}
	50% {
		bottom: -160px;
		-webkit-transform: scale(0.8);
		transform: scale(0.8);
		opacity: 1;
	}
	75% {
		bottom: -80px;
		-webkit-transform: scale(0.9);
		transform: scale(0.9);
		opacity: 0.5;
	}
	100% {
		bottom: 0px;
		-webkit-transform: scale(1);
		transform: scale(1);
		opacity: 0;
	}
}
@-webkit-keyframes spark-3 {
	0% {
		bottom: -140px;
		-webkit-transform: scale(0.6);
		transform: scale(0.6);
		opacity: 0;
	}
	25% {
		bottom: -80px;
		-webkit-transform: scale(0.7);
		transform: scale(0.7);
		opacity: 1;
	}
	50% {
		bottom: -20px;
		-webkit-transform: scale(0.8);
		transform: scale(0.8);
		opacity: 1;
	}
	75% {
		bottom: 40px;
		-webkit-transform: scale(0.9);
		transform: scale(0.9);
		opacity: 0.5;
	}
	100% {
		bottom: 100px;
		-webkit-transform: scale(1);
		transform: scale(1);
		opacity: 0;
	}
}
@keyframes spark-3 {
	0% {
		bottom: -140px;
		-webkit-transform: scale(0.6);
		transform: scale(0.6);
		opacity: 0;
	}
	25% {
		bottom: -80px;
		-webkit-transform: scale(0.7);
		transform: scale(0.7);
		opacity: 1;
	}
	50% {
		bottom: -20px;
		-webkit-transform: scale(0.8);
		transform: scale(0.8);
		opacity: 1;
	}
	75% {
		bottom: 40px;
		-webkit-transform: scale(0.9);
		transform: scale(0.9);
		opacity: 0.5;
	}
	100% {
		bottom: 100px;
		-webkit-transform: scale(1);
		transform: scale(1);
		opacity: 0;
	}
}
@-webkit-keyframes spark-5 {
	0% {
		bottom: -180px;
		-webkit-transform: scale(0.6);
		transform: scale(0.6);
		opacity: 0;
	}
	25% {
		bottom: -120px;
		-webkit-transform: scale(0.7);
		transform: scale(0.7);
		opacity: 1;
	}
	50% {
		bottom: -60px;
		-webkit-transform: scale(0.8);
		transform: scale(0.8);
		opacity: 1;
	}
	75% {
		bottom: 0px;
		-webkit-transform: scale(0.9);
		transform: scale(0.9);
		opacity: 0.5;
	}
	100% {
		bottom: 60px;
		-webkit-transform: scale(1);
		transform: scale(1);
		opacity: 0;
	}
}
@keyframes spark-5 {
	0% {
		bottom: -180px;
		-webkit-transform: scale(0.6);
		transform: scale(0.6);
		opacity: 0;
	}
	25% {
		bottom: -120px;
		-webkit-transform: scale(0.7);
		transform: scale(0.7);
		opacity: 1;
	}
	50% {
		bottom: -60px;
		-webkit-transform: scale(0.8);
		transform: scale(0.8);
		opacity: 1;
	}
	75% {
		bottom: 0px;
		-webkit-transform: scale(0.9);
		transform: scale(0.9);
		opacity: 0.5;
	}
	100% {
		bottom: 60px;
		-webkit-transform: scale(1);
		transform: scale(1);
		opacity: 0;
	}
}

/* ===== SHOP PAGE STYLES ===== */

/* Основная страница магазина */
.shop-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #0f1419 0%, #1a1f2e 50%, #0f1419 100%);
}

/* Hero секция */
.shop-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
}

.shop-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    opacity: 0.9;
}

.shop-hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.shop-hero-text {
    flex: 1;
    max-width: 600px;
}

.shop-hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin: 0 0 20px 0;
    background: linear-gradient(to top, #103745 33%, #11889d 50%, #12defb);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
}

.shop-hero-subtitle {
    font-size: 1.2rem;
    color: #6c757d;
    margin: 0 0 40px 0;
    line-height: 1.6;
}

.shop-hero-stats {
    display: flex;
    gap: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(to top, #103745 33%, #11889d 50%, #12defb);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
}

.shop-hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.floating-items {
    position: relative;
    width: 300px;
    height: 300px;
}

.floating-item {
    position: absolute;
    animation: float 6s ease-in-out infinite;
}

.floating-item.item-1 {
    top: 20px;
    left: 50px;
    animation-delay: 0s;
}

.floating-item.item-2 {
    top: 120px;
    right: 30px;
    animation-delay: 2s;
}

.floating-item.item-3 {
    bottom: 40px;
    left: 80px;
    animation-delay: 4s;
}

.floating-image {
    width: 80px;
    height: 80px;
    object-fit: contain;
    filter: drop-shadow(0 8px 20px rgba(0,0,0,0.3));
    transition: transform 0.3s ease;
}

.floating-item:hover .floating-image {
    transform: scale(1.2) rotate(5deg);
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Фильтры и поиск */
.shop-filters {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 16px;
    margin: -30px 20px 40px;
    padding: 25px;
    position: relative;
    z-index: 10;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.search-container {
    margin-bottom: 25px;
}

.search-box {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

.search-input {
    width: 100%;
    padding: 18px 60px 18px 25px;
    background: #ffffff;
    border: 2px solid #e9ecef;
    border-radius: 50px;
    color: #2c3e50;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.search-input::placeholder {
    color: #6c757d;
}

.search-input:focus {
    outline: none;
    border-color: #007bff;
    background: #ffffff;
    box-shadow: 0 0 20px rgba(0, 123, 255, 0.2);
}

.search-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    font-size: 1.2rem;
}

.search-clear {
    position: absolute;
    right: 55px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #6c757d;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.search-clear:hover {
    color: #2c3e50;
    background: #f8f9fa;
}

.filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.filter-tab {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 25px;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 50px;
    color: #2c3e50;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.filter-tab:hover {
    background: #e9ecef;
    border-color: #007bff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.15);
}

.filter-tab.active {
    background: linear-gradient(135deg, #103745, #11889d);
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(18, 222, 251, 0.3);
}

.filter-tab i {
    font-size: 1.1rem;
}

.filter-dropdown {
    position: relative;
}

.dropdown-trigger {
    position: relative;
}

.dropdown-arrow {
    transition: transform 0.3s ease;
}

.filter-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 15px 0;
    min-width: 250px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.filter-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: #2c3e50;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
}

.dropdown-item:hover {
    background: #f8f9fa;
    color: #007bff;
}

.dropdown-item i {
    width: 20px;
    text-align: center;
}

/* Заголовок секции товаров */
.shop-items-section {
    padding: 0 20px 60px;
}

.shop-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px 0;
    border-bottom: 1px solid #e9ecef;
}

.shop-results {
    color: #2c3e50;
    font-size: 1.1rem;
}

.shop-results span {
    color: #007bff;
    font-weight: 700;
}

.sort-select {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    color: #2c3e50;
    padding: 12px 20px;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sort-select:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 15px rgba(0, 123, 255, 0.2);
}

.sort-select option {
    background: #ffffff;
    color: #2c3e50;
}

/* Сетка товаров */
.shop-items-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin-top: 30px;
}

.shop-item-card {
    perspective: 1000px;
}

.item-card {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 16px;
    padding: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.item-card:hover {
    transform: translateY(-5px);
    border-color: #007bff;
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.2);
}

.item-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.05), rgba(0, 123, 255, 0.02));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.item-card:hover::before {
    opacity: 1;
}

/* Карточки со скидкой */
.discount-item {
    border-color: rgba(34, 197, 94, 0.3);
}

.discount-item:hover {
    border-color: rgba(34, 197, 94, 0.6);
    box-shadow: 0 25px 50px rgba(34, 197, 94, 0.2);
}

.discount-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 10;
}

.discount-text {
    position: relative;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #ffffff;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.4);
}

.discount-ribbon {
    position: absolute;
    top: 100%;
    right: 0;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid #16a34a;
}

/* Контейнер изображения */
.item-image-container {
    position: relative;
    margin-bottom: 20px;
}

.item-image-wrapper {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
}

.item-image {
    width: 80px;
    height: 80px;
    object-fit: contain;
    transition: all 0.3s ease;
    filter: drop-shadow(0 4px 15px rgba(0,0,0,0.3));
}

.item-card:hover .item-image {
    transform: scale(1.1) rotate(5deg);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(102, 126, 234, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.item-card:hover .image-overlay {
    opacity: 1;
}

.overlay-content {
    text-align: center;
    color: #ffffff;
}

.overlay-content i {
    font-size: 2rem;
    margin-bottom: 10px;
    display: block;
}

.overlay-content span {
    font-size: 0.9rem;
    font-weight: 500;
}

.discount-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.8; }
}

/* Информация о предмете */
.item-info {
    margin-bottom: 20px;
}

.item-category {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #6c757d;
    font-size: 0.85rem;
    margin-bottom: 12px;
}

.item-category i {
    color: #007bff;
}

.item-name {
    color: #2c3e50;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 15px 0;
    line-height: 1.4;
    min-height: 2.8em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.item-price-container {
    margin-bottom: 15px;
}

.price-old {
    color: #6c757d;
    text-decoration: line-through;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.price-new {
    color: #22c55e;
    font-size: 1.2rem;
    font-weight: 700;
}

.item-price {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.price-amount {
    color: #007bff;
    font-size: 1.3rem;
    font-weight: 700;
}

.price-currency {
    color: #6c757d;
    font-size: 0.9rem;
}

/* Прогресс скидки */
.discount-progress {
    margin-top: 15px;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: #e9ecef;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 8px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #22c55e, #16a34a);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.progress-text {
    color: #22c55e;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Действия */
.item-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border: none;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.action-btn.quick-view-btn {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px;
}

.action-btn.quick-view-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.action-btn.add-cart-btn {
    background: linear-gradient(135deg, #103745, #11889d);
    color: #ffffff;
    flex: 1;
}

.action-btn.add-cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(18, 222, 251, 0.4);
}

.action-btn.wishlist-btn {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 12px;
}

.action-btn.wishlist-btn:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.4);
    color: #ef4444;
}

/* Эффекты карточки */
.card-effects {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.sparkle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #ffffff;
    border-radius: 50%;
    animation: sparkle 3s ease-in-out infinite;
}

.sparkle-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.sparkle-2 {
    top: 60%;
    right: 15%;
    animation-delay: 1s;
}

.sparkle-3 {
    bottom: 30%;
    left: 20%;
    animation-delay: 2s;
}

@keyframes sparkle {
    0%, 100% { opacity: 0; transform: scale(0); }
    50% { opacity: 1; transform: scale(1); }
}

/* Сообщение об отсутствии результатов */
.no-results {
    text-align: center;
    padding: 80px 20px;
    color: rgba(255, 255, 255, 0.7);
}

.no-results-icon {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 20px;
}

.no-results h3 {
    color: #ffffff;
    font-size: 1.5rem;
    margin: 0 0 15px 0;
}

.no-results p {
    margin: 0 0 30px 0;
    font-size: 1.1rem;
}

.reset-filters-btn {
    background: linear-gradient(135deg, #103745, #11889d);
    color: #ffffff;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.reset-filters-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(18, 222, 251, 0.4);
}

/* Всплывающая подсказка */
.shop-tooltip {
    position: fixed;
    background: rgba(15, 20, 25, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    max-width: 300px;
    z-index: 1000;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    animation: tooltipFadeIn 0.3s ease;
}

@keyframes tooltipFadeIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.tooltip-header {
    margin-bottom: 15px;
}

.tooltip-title {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 8px 0;
}

.tooltip-category {
    color: #11889d;
    font-size: 0.85rem;
    font-weight: 500;
}

.tooltip-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0 0 15px 0;
}

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

.tooltip-price {
    color: #11889d;
    font-weight: 700;
    font-size: 1.1rem;
}

.tooltip-cart-btn {
    background: linear-gradient(135deg, #103745, #11889d);
    color: #ffffff;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.tooltip-cart-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(18, 222, 251, 0.4);
}

/* Модальное окно */
.item-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.item-modal.hidden {
    display: none;
}

.item-modal .modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

.item-modal .modal-content {
    background: rgba(15, 20, 25, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    z-index: 10;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from { opacity: 0; transform: scale(0.9) translateY(-20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.item-modal .modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #ffffff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 20;
}

.item-modal .modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.item-modal .modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding: 40px;
}

.item-modal .modal-image-section {
    text-align: center;
}

.item-modal .modal-main-image {
    margin-bottom: 20px;
}

.item-modal .modal-main-image img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.item-modal .modal-preview-images {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.item-modal .modal-preview {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.6;
}

.item-modal .modal-preview.active,
.item-modal .modal-preview:hover {
    opacity: 1;
    transform: scale(1.1);
}

.item-modal .modal-info-section {
    color: #ffffff;
}

.item-modal .modal-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 0 15px 0;
    color: #ffffff;
}

.item-modal .modal-category {
    color: #667eea;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 20px;
}

.item-modal .modal-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 20px;
}

.item-modal .modal-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 30px;
}

.item-modal .modal-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.quantity-selector {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.qty-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #ffffff;
    width: 40px;
    height: 40px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.qty-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.qty-input {
    background: transparent;
    border: none;
    color: #ffffff;
    text-align: center;
    width: 60px;
    height: 40px;
    font-size: 1rem;
    font-weight: 500;
}

.qty-input:focus {
    outline: none;
}

.modal-add-cart-btn {
    background: linear-gradient(135deg, #103745, #11889d);
    color: #ffffff;
    border: none;
    padding: 15px 30px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    justify-content: center;
}

.modal-add-cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(18, 222, 251, 0.4);
}

/* Адаптивность */
@media (max-width: 768px) {
    .shop-hero-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    
    .shop-hero-title {
        font-size: 2.5rem;
    }
    
    .shop-hero-stats {
        justify-content: center;
    }
    
    .filter-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .shop-items-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .shop-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .item-modal .modal-body {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px;
    }
    
    .item-modal .modal-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .floating-items {
        width: 200px;
        height: 200px;
    }
    
    .floating-image {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 480px) {
    .shop-hero {
        padding: 60px 0 40px;
    }
    
    .shop-hero-title {
        font-size: 2rem;
    }
    
    .shop-filters {
        margin: -20px 15px 30px;
        padding: 20px;
    }
    
    .item-card {
        padding: 20px;
    }
    
    .item-actions {
        flex-direction: column;
    }
    
    .action-btn.add-cart-btn {
        width: 100%;
    }
}

.cart-icon {
    font-size: 18px;
}

/* Appearance Dropdown Styles */
.appearance-dropdown-btn {
    position: relative;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 10px 20px;
    transition: all 0.3s ease;
}

.appearance-dropdown-btn:hover {
    color: #ffb400;
}

.appearance-dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background: #1d242a;
    border: 1px solid #313236;
    border-radius: 8px;
    min-width: 200px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.appearance-dropdown-btn:hover + .appearance-dropdown-content,
.appearance-dropdown-content:hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    width: 100%;
    background: none;
    border: none;
    color: #fff;
    padding: 12px 20px;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 1px solid #313236;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background: #313236;
    color: #ffb400;
}

/* Shop Tooltip */
.shop-tooltip {
    position: fixed;
    z-index: 1000;
    background: #1d242a;
    border: 1px solid #313236;
    border-radius: 8px;
    padding: 15px;
    max-width: 300px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    color: #fff;
    font-size: 14px;
    line-height: 1.4;
}

.shop-tooltip h3 {
    color: #ffb400;
    margin: 0 0 10px 0;
    font-size: 16px;
    font-weight: 700;
}

.shop-tooltip p {
    margin: 0;
    color: #ccc;
}

/* Responsive Design */
@media (max-width: 768px) {
    .shop-items-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .shop-item {
        padding: 15px;
    }
    
    .shop-item-content {
        gap: 12px;
    }
    
    .shop-item-icon {
        width: 50px;
        height: 50px;
    }
    
    .shop-item-image {
        width: 32px;
        height: 32px;
    }
    
    .shop-item-name h3 {
        font-size: 14px;
    }
    
    .shop-item-price {
        font-size: 16px;
    }
}

/* Shop Page Styles */
.section-shop {
    margin-top: 40px;
    margin-bottom: 60px;
}

.shop-categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
}

.category-tab {
    background: transparent;
    border: 2px solid #4a90e2;
    color: #4a90e2;
    padding: 12px 20px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.category-tab:hover {
    background: #4a90e2;
    color: #fff;
    transform: translateY(-2px);
}

.category-tab.active {
    background: #4a90e2;
    color: #fff;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
}

/* Ensure category tabs are always clickable */
.category-tab {
    pointer-events: auto !important;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    position: relative;
    z-index: 10;
}

/* Specific protection for first 3 buttons */
.category-tab:nth-child(1),
.category-tab:nth-child(2),
.category-tab:nth-child(3) {
    pointer-events: auto !important;
    z-index: 15;
}

.category-tab:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

/* Prevent any interference with clickability */
.category-tab * {
    pointer-events: none !important;
}

.category-tab span {
    pointer-events: none !important;
}

/* Additional protection for all category tabs */
.category-tab {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

/* Force clickability for all category tabs */
.category-tab,
.category-tab:hover,
.category-tab:active,
.category-tab:focus {
    pointer-events: auto !important;
    cursor: pointer !important;
}

/* Processing state for category tabs */
.category-tab.processing {
    opacity: 0.7;
    cursor: wait;
    pointer-events: none;
}

.category-tab.processing:hover {
    transform: none;
}

.shop-search {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.search-container {
    position: relative;
    max-width: 400px;
    width: 100%;
}

.search-input {
    width: 100%;
    padding: 15px 50px 15px 20px;
    border: 2px solid #4a90e2;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 16px;
    backdrop-filter: blur(10px);
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.search-input:focus {
    outline: none;
    border-color: #5ba0f2;
    box-shadow: 0 0 20px rgba(74, 144, 226, 0.3);
}

.search-clear {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #4a90e2;
    font-size: 20px;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.search-clear:hover {
    background: rgba(74, 144, 226, 0.2);
    color: #fff;
}

.shop-items-container {
    margin-top: 30px;
}

.shop-items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.shop-item {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(74, 144, 226, 0.3);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.shop-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(74, 144, 226, 0.1), transparent);
    transition: left 0.5s ease;
}

.shop-item:hover::before {
    left: 100%;
}

.shop-item:hover {
    border-color: #4a90e2;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(74, 144, 226, 0.2);
}

.item-image {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60px;
    width: 100%;
    text-align: center;
}

.item-image img {
    max-width: 34px;
    max-height: 34px;
    width: 34px;
    height: 34px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    display: block;
    margin: 0 auto;
}

.item-info {
    margin-bottom: 25px;
}

.item-name {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.item-category {
    font-size: 12px;
    color: #4a90e2;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.item-price {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
}

.price-amount {
    font-size: 24px;
    font-weight: 700;
    color: #ffd700;
}

.price-currency {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
}

.item-actions {
    display: flex;
    justify-content: center;
}

.buy-button {
    background: linear-gradient(135deg, #4a90e2, #5ba0f2);
    border: none;
    color: #fff;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
}

.buy-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.4);
    background: linear-gradient(135deg, #5ba0f2, #6bb0ff);
}

.no-results {
    text-align: center;
    padding: 60px 20px;
    color: rgba(255, 255, 255, 0.7);
}

.no-results.hidden {
    display: none;
}

.no-results h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #fff;
}

.no-results p {
    font-size: 16px;
    margin-bottom: 0;
}

/* Purchase Modal Styles */
.purchase-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.purchase-modal.hidden {
    display: none;
}

.purchase-modal .modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.purchase-modal .modal-content {
    position: relative;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border: 2px solid #4a90e2;
    border-radius: 20px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.purchase-modal .modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    color: #4a90e2;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.purchase-modal .modal-close:hover {
    background: rgba(74, 144, 226, 0.2);
    color: #fff;
}

.purchase-modal .modal-title {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.purchase-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 25px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
}

.purchase-info h4 {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.purchase-info div {
    font-size: 12px;
    color: #4a90e2;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.purchase-price {
    font-size: 18px;
    color: #fff;
    margin-bottom: 30px;
}

.purchase-price span:first-child {
    color: rgba(255, 255, 255, 0.7);
}

.purchase-price span:nth-child(2) {
    color: #ffd700;
    font-weight: 700;
    font-size: 20px;
}

.purchase-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.confirm-purchase-btn {
    background: linear-gradient(135deg, #4a90e2, #5ba0f2);
    border: none;
    color: #fff;
    padding: 15px 30px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
}

.confirm-purchase-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.4);
}

.cancel-btn {
    background: transparent;
    border: 2px solid #666;
    color: #666;
    padding: 15px 30px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cancel-btn:hover {
    border-color: #888;
    color: #888;
    background: rgba(255, 255, 255, 0.05);
}

/* Responsive Design */
@media (max-width: 768px) {
    .shop-categories {
        gap: 10px;
    }
    
    .category-tab {
        padding: 10px 15px;
        font-size: 12px;
    }
    
    .shop-items-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .shop-item {
        padding: 20px;
    }
    
    .purchase-modal .modal-content {
        padding: 30px 20px;
        margin: 20px;
    }
    
    .purchase-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .shop-categories {
        flex-direction: column;
        align-items: center;
    }
    
    .category-tab {
        width: 200px;
    }
    
    .shop-items-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .search-container {
        max-width: 300px;
    }
    
    .purchase-modal .modal-content {
        padding: 25px 15px;
    }
    
    .purchase-item {
        flex-direction: column;
        text-align: center;
    }
}

/* Enhanced Purchase Modal Styles */
.purchase-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(5px);
}

.purchase-modal.hidden {
    display: none;
}

.purchase-modal .modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.purchase-modal .modal-content {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    border: 2px solid #4a90e2;
    border-radius: 20px;
    padding: 30px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.purchase-modal .modal-header {
    margin-bottom: 25px;
}

.purchase-modal .modal-title {
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
}

.purchase-modal .modal-subtitle {
    font-size: 16px;
    color: #4a90e2;
    text-transform: uppercase;
    font-weight: 600;
}

.purchase-modal .modal-item-image {
    width: 48px;
    height: 48px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(74, 144, 226, 0.1);
    border-radius: 8px;
    padding: 8px;
}

.purchase-modal .modal-item-image img {
    max-width: 24px;
    max-height: 24px;
    object-fit: contain;
}

.purchase-modal .modal-price {
    background: rgba(74, 144, 226, 0.1);
    border: 1px solid #4a90e2;
    border-radius: 15px;
    padding: 20px;
    margin: 25px 0;
}

.purchase-modal .modal-price-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
    text-transform: uppercase;
}

.purchase-modal .modal-price-amount {
    font-size: 32px;
    font-weight: 800;
    color: #4a90e2;
}

.purchase-modal .modal-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 25px;
}

.purchase-modal .modal-btn {
    padding: 12px 25px;
    border: none;
    border-radius: 25px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    min-width: 120px;
}

.cancel-btn {
    background: transparent;
    border: 2px solid #6c757d;
    color: #6c757d;
}

.cancel-btn:hover {
    background: #6c757d;
    color: #fff;
    transform: translateY(-2px);
}

.confirm-purchase-btn {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: #fff;
    border: 2px solid #28a745;
}

.confirm-purchase-btn:hover {
    background: linear-gradient(135deg, #20c997, #28a745);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.4);
}

.confirm-purchase-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Purchase Notifications */
.purchase-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #28a745, #20c997);
    color: #fff;
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(40, 167, 69, 0.3);
    z-index: 10001;
    animation: notificationSlideIn 0.3s ease;
}

@keyframes notificationSlideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.notification-icon {
    font-size: 18px;
    font-weight: bold;
}

.notification-text {
    font-size: 14px;
    font-weight: 600;
}

/* Enhanced Responsive Design */
@media (max-width: 768px) {
    .shop-categories {
        gap: 10px;
    }
    
    .category-tab {
        padding: 10px 15px;
        font-size: 12px;
    }
    
    .shop-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .modal-content {
        padding: 20px;
        margin: 20px;
    }
    
    .modal-actions {
        flex-direction: column;
    }
    
    .modal-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .shop-categories {
        flex-direction: column;
        align-items: center;
    }
    
    .category-tab {
        width: 200px;
    }
    
    .shop-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .search-container {
        max-width: 300px;
    }
    
    .modal-content {
        padding: 25px 15px;
    }
    
    .purchase-item {
        flex-direction: column;
        text-align: center;
    }
}
