:root {
    --accent-color: #fdcb6e;
    --dark-color: #0f0f1b;
    --text-color: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.7);
    --dark-gray: #2d3436;
}

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


body {
    background: url('../img/bg2.png') center center/cover;
    color: var(--text-color);
    min-height: 100vh;
    position: relative;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 27.2%;
    z-index: 0;
    overflow: hidden;
    mask-image: linear-gradient(to bottom,
        black 0%,
        black 92%,
        transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom,
        black 0%,
        black 92%,
        transparent 100%);
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-background::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 37.5px;
    background: linear-gradient(to bottom,
        rgba(0,0,0,0) 0%,
        rgba(0,0,0,0.3) 30%,
        var(--bg-color) 100%);
    pointer-events: none;
}

@media (max-width: 768px) {
    .video-background {
        height: 27.8%;
    }

    .video-background::after {
        height: 25px;
    }
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 20px;
}

@font-face {
    font-family: "DXAngelusMediaval";
    src: url("../fonts/DXAngelusMediaval.woff2") format("woff2"),
         url("../fonts/DXAngelusMediaval.woff") format("woff");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Evolventa-Bold";
    src: url("../fonts/Evolventa-Bold.woff") format("woff");
    font-weight: normal;
    font-style: normal;
}

h1, h2, h3, h4 {
    font-family: "DXAngelusMediaval", sans-serif;
    font-weight: 500;
}

/* Шапка */
.header {
    position: fixed;
    width: 100%;
    z-index: 1000;
    transition: transform 0.3s ease-in-out;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
    position: relative;
}

.header.hide {
    transform: translateY(-100%);
}

.header.show {
    transform: translateY(0);
}

.logo {
    position: absolute;
    left: 20px;
}

.logo img {
    height: 50px;
    width: auto;
}

.header-right {
    position: absolute;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Герой секция */
.hero {
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 450px;
    position: relative;
}

.hero-content {
    max-width: 800px;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: var(--accent-color);
    font-weight: 500;
    letter-spacing: 2px;
    line-height: 1.2;
	text-shadow: 0 2px 10px rgb(0 0 0), 0 0 20px rgb(0 0 0), 0 0 30px rgb(0 0 0), 0 0 30px rgb(0 0 0), 0 0 30px rgb(0 0 0), 0 0 30px rgb(0 0 0);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    animation: fadeInUp 1s ease 0.4s forwards;
    opacity: 0;
}

.play-btn {
    background: url('../img/start-bt.png') center/100% 100% no-repeat;
    border: none;
    color: white;
    padding: 45px 45px;
    font-family: "DXAngelusMediaval", sans-serif;
    font-size: 1.5rem;
    cursor: pointer;
    margin-top: 20px;
    transition: all 0.3s ease;
    position: relative;
    width: auto;
    min-width: 150px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-shadow: 0 1px 3px rgba(0,0,0,0.8);
    background-size: contain;
    background-position: center;
    white-space: nowrap;
}

.play-btn:hover {
    background-image: url('../img/start-bt2.png');
    transform: scale(1.05);
    filter: brightness(1.1);
}

.play-btn {
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInUp 0.5s ease 0.8s forwards;
}

.secondary-btn:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
    transform: translateY(-3px);
}

/* Информационный раздел */
.info-section {
    margin-top: 7.5%;
    padding: 200px 0;
}

.info-content-wrapper {
    display: flex;
    gap: 30px;
    margin-top: 50px;
}

.news-slider {
    flex: 2;
    border-radius: 8px;
    overflow: hidden;
    height: 532px;
    position: relative;
    background-image: url('../img/news.png');
    background-size: cover;
    background-position: center;
}

.ranking-container {
    flex: 1;
    flex-direction: column;
    position: relative;
	font-family: 'Cinzel', serif;
}

.ranking-tabs {
    display: flex;
    gap: 5px;
    position: absolute;
    left: 65px;
    margin-top: 11%;
    width: 55%;
    z-index: 3;
}

.ranking-tab {
    flex: 1;
    background: transparent url('../img/mini_bt.png') center/100% 100% no-repeat;
    border: none;
    padding: 10px;
    cursor: pointer;
    height: 60px;
    min-width: 110px;
    color: #ffffff;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 0.7rem;
    text-align: center;
    transition: transform 0.3s ease, filter 0.3s ease;
    position: relative;
    overflow: hidden;
}

.ranking-tab:hover {
	background-image: url('../img/mini_bt2.png');
}

.ranking-content {
    background-image: url('../img/top.png');
    height: auto;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    padding: 20px;
    height: 99%;
    flex-direction: column;
}

.news-item {
    width: 100%;
    height: 100%;
    padding: 30px;
    box-sizing: border-box;
}

.news-content {
    display: flex;
    flex-direction: column;
    height: 93%;
    padding-left: 5%;
    padding-right: 48%;
    margin-left: 10px;
    align-items: center;
}

.news-title-wrapper {
    margin-top: 140px;
    margin-bottom: 10px;
}

.news-content h3 {
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--accent-color);
    margin: 0;

}

.news-content p {
    color: var(--text-muted);
    font-size: 1.2rem;
    line-height: 1.6;
    margin: 0 0 auto 0;
    padding: 10px 0;

}

.ranking-tab-content {
    display: none;
    flex-grow: 1;
}

.ranking-tab-content.active {
    display: block;
}

.ranking-list {
    list-style: none;
    flex-grow: 1;
    margin-top: 130px;
    font-size: 1.3rem;
}

.ranking-list li {
    display: flex;
    width: 300px;
    margin-left: 65px;
    align-items: center;
    padding: 5px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.rank {
    width: 20px;
    font-weight: 700;
    color: var(--accent-color);
    font-size: 1.1rem;
}

.player-name {
    flex-grow: 1;
    font-weight: 500;

    color: white;
}

.score {
    color: white;
    font-weight: 600;
}

.section-title {
    text-align: center;
    margin-bottom: 15px;
    font-size: 2.8rem;
    font-weight: 500;
    color: var(--accent-color);
    position: relative;
	text-shadow: 0 2px 10px rgb(0 0 0), 0 0 20px rgb(0 0 0), 0 0 30px rgb(0 0 0), 0 0 30px rgb(0 0 0), 0 0 30px rgb(0 0 0);
}

.section-subtitle {
    text-align: center;
    margin-bottom: 20px;
    color: var(--text-muted);
    font-size: 1.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
 	text-shadow: 0 2px 10px rgb(0 0 0), 0 0 20px rgb(0 0 0), 0 0 30px rgb(0 0 0), 0 0 30px rgb(0 0 0), 0 0 30px rgb(0 0 0), 0 0 30px rgb(0 0 0);
}

/* Особенности */
.features {
    padding: 100px 0;
}

.features-grid {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.feature-card {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 8px;
    padding: 30px;
    width: calc(16.666% - 13px);
    min-width: 150px;
    text-align: center;
    height: 360px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
}

/* Размеры и позиционирование фоновых изображений */
.feature-card[data-card="1"] {
    background-image: url('../img/1.png');
    background-size: 100% 100%;
}
.feature-card[data-card="2"] {
    background-image: url('../img/2.png');
    background-size: 100% 100%;
}
.feature-card[data-card="3"] {
    background-image: url('../img/3.png');
    background-size: 100% 100%;
}
.feature-card[data-card="4"] {
    background-image: url('../img/4.png');
    background-size: 100% 100%;
}
.feature-card[data-card="5"] {
    background-image: url('../img/5.png');
    background-size: 100% 100%;
}
.feature-card[data-card="6"] {
    background-image: url('../img/6.png');
    background-size: 100% 100%;
}

/* Замена изображений при наведении */
.feature-card[data-card="1"]:hover {
    background-image: url('../img/1-1.png');
}
.feature-card[data-card="2"]:hover {
    background-image: url('../img/2-1.png');
}
.feature-card[data-card="3"]:hover {
    background-image: url('../img/3-1.png');
}
.feature-card[data-card="4"]:hover {
    background-image: url('../img/4-1.png');
}
.feature-card[data-card="5"]:hover {
    background-image: url('../img/5-1.png');
}
.feature-card[data-card="6"]:hover {
    background-image: url('../img/6-1.png');
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-top: 25%;
    margin-bottom: 15px;
    color: white;
    font-weight: 500;
    	text-shadow: 0 2px 10px rgb(0 0 0), 0 0 20px rgb(0 0 0), 0 0 30px rgb(0 0 0);
}

.feature-card p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.6;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.8);
}

.main-content {
    padding-bottom: 250px;
}

/* Премиум наборы */
.premium-sets {
    padding: 50px 0;
    margin-top: 1%;
}

.premium-grid {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.premium-card {
    width: calc(21.333% - 20px);
    min-width: 400px;
    position: relative;
    transition: all 0.3s ease;
}

.premium-image-container {
    position: relative;
    height: 370px;
}

.premium-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

.premium-image.hover-image {
    opacity: 0;
    position: absolute;
}

.premium-content {
    position: absolute;
    bottom: -35px;
    left: 0;
    right: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.premium-title {
    color: var(--accent-color);
    font-size: 1.5rem;

    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.8);
    margin-bottom: 10px;
    text-align: center;
}

.premium-btn {
    width: 130px;
    height: 45px;
    background-image: url('../img/bt.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    border: none;
    background-color: transparent;
    color: white;
    font-family: "DXAngelusMediaval", sans-serif;
    font-size: 1.05rem;
    cursor: pointer;
    margin-bottom: 120px;
    transition: transform 0.3s;
}

.premium-btn:hover {
    transform: scale(1.05);
}

.premium-card:hover .default-image {
    opacity: 0;
}

.premium-card:hover .hover-image {
    opacity: 1;
}

/* Подвал */
.footer {
    position: relative;
    background: rgba(15, 15, 27, 0.01);
    backdrop-filter: blur(10px);
    padding: 20px 0 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-logo {
    flex: 1;
    min-width: 200px;
}

.footer-logo-img {
    height: 100px;
}

.footer-logo-img:hover {
    opacity: 1;
}

.footer-links {
    display: flex;
    gap: 60px;
    flex-wrap: wrap;
}

.footer-column {
    min-width: 150px;
}

.footer-column h4 {
    color: var(--accent-color);
    margin-bottom: 15px;
    font-size: 1.1rem;

}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 10px;
}

.footer-column a {
    color: var(--text-muted);
    transition: all 0.3s;
    text-decoration: none;
    font-size: 0.9rem;

}

.footer-column a:hover {
    color: var(--accent-color);
}

.footer-social {
    display: flex;
    gap: 20px;
}

.social-icon {
    color: var(--text-muted);
    font-size: 1.2rem;
    transition: all 0.3s;
}

.social-icon:hover {
    color: var(--accent-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.8rem;

}

.details-btn {
    background: url('../img/bt.png') center/100% 100% no-repeat;
    border: none;
    color: white;
    padding: 45px 45px;
    font-family: "DXAngelusMediaval", sans-serif;
    font-size: 1.1rem;
    cursor: pointer;
    margin-top: 20px;
    transition: all 0.3s ease;
    position: relative;
    width: auto;
    min-width: 150px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-shadow: 0 1px 3px rgba(0,0,0,0.8);
    background-size: contain;
    background-position: center;
    white-space: nowrap;
}

.details-btn:hover {
    background-image: url('../img/bt2.png');
    transform: scale(1.05);
    filter: brightness(1.1);
}

.details-btn {
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInUp 0.5s ease 0.8s forwards;
}

/* Медиазапросы */
@media (max-width: 1200px) {
    .ranking-tabs {
        left: 50px;
        width: 60%;
    }

    .ranking-list li {
        width: 280px;
        margin-left: 50px;
    }
}

@media (max-width: 992px) {
    .premium-card {
        width: calc(50% - 20px);
    }

    .features-grid {
        gap: 10px;
    }

    .feature-card {
        width: calc(33.333% - 10px);
    }

    .ranking-tabs {
        left: 40px;
        width: 65%;
    }

    .ranking-list li {
        width: 250px;
        margin-left: 40px;
    }
}

@media (max-width: 768px) {
    .info-content-wrapper {
        flex-direction: column;
    }

    .news-slider, .ranking-container {
        width: 100%;
    }

	.info-content-wrapper {
    gap: 0px;
	margin-top: 0px;
    }

	    .news-content {
        align-items: center !important;
    }


	.info-section {
		margin-top: 50%;
    }

	.main-content {
    padding-bottom: 0px;
    }

    .news-slider {
        background-image: url('../img/mob-news.png');
        height: auto;
        min-height: 420px;
    }

    .news-content {
        padding: 20px;
        margin-left: 10px;
		margin-top: -25px;
        align-items: flex-start;
    }

    .news-title-wrapper {
        margin-top: 50px;
    }

    .ranking-tabs {
        position: static;
        width: 100%;
        justify-content: center;
        margin-top: 20px;
    }

    .ranking-content {
		background-image: url('../img/mob-top.png');
        height: auto;
        min-height: 420px;
    }

    .ranking-list {
        margin-top: 40px;
		font-size: 20px;
		padding: 25px;
    }

    .ranking-list li {
        width: 100%;
        margin-left: 0;
        justify-content: space-between;
    }

    .feature-card {
        width: calc(50% - 10px);
    }

    .nav {
        display: none;
    }
}

@media (max-width: 576px) {
    .premium-card {
        width: 100%;
        min-width: auto;
    }

    .feature-card {
        width: 100%;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
		gap: 10px;
    }

    .footer-links {
        justify-content: center;
        gap: 30px;
    }

    .footer-social {
        justify-content: center;
		padding: 10px;
    }

    .ranking-tabs {
        gap: 5px;
    }

    .ranking-tab {
        width: 100%;
    }

    .details-btn {
        min-width: 150px;
        height: 56px;
        font-size: 1.2rem;
        padding: 0 30px;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .ranking-tabs {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 5px;
    }

    .ranking-tab {
        min-width: 20px;
        width: 20px;
        font-size: 10px;
        height: 50px;
        padding: 2px 5px;
		margin-left: 10px;
    }
}

@media (max-width: 768px) {
    .features {
        display: none !important;
    }
}


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

/* Основная навигация */
.nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;

}

.nav-link {
    color: rgb(255 255 255);
    text-decoration: none;
    font-size: 1rem;
	text-transform: uppercase;
    font-weight: 700;
    font-family: 'Evolventa-Bold', sans-serif;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0);
    transition: all 0.3s ease-in-out;
    position: relative;
    padding: 5px 10px;
}

.nav-link.active {
    color: var(--accent-color);
    text-shadow: 0 0 10px var(--accent-color),
                 0 0 20px var(--accent-color);
}

.nav-link:hover {
    color: var(--accent-color);
    text-shadow: 0 0 10px var(--accent-color),
                 0 0 20px var(--accent-color);
}

/* Свечение вокруг кнопки */
.nav-link::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.nav-link:hover::after {
    opacity: 1;
}

/* Правая часть хедера */
.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.account-btn {
    background: url('../img/start-bt.png') center/100% 100% no-repeat;
    color: white;
    border: none;
    padding: 10px 40px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
	min-width: 200px;
    height: 70px;
}

.account-btn:hover {
    background-image: url('../img/start-bt2.png');
    transform: scale(1.05);
    filter: brightness(1.1);
}

.account-btn {
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInUp 0.5s ease 0.8s forwards;
}

/* Кнопки Языка */
.lang-picker {
  position: relative;
  display: inline-block;
  margin-left: 10px;
}

.lang-main {
  background: transparent;
  border: 1px solid rgba(253, 203, 110, 0.3);
  color: white;
  width: 36px;
  height: 33px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
}

.lang-main:hover {
  border-color: rgba(253, 203, 110, 0.6);
}

/* Выпадающий список */
.lang-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  width: 36px;
  background: #171718;
  border: 1px solid rgba(253, 203, 110, 0.3);
  border-radius: 4px;
  margin-top: 5px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s;
  z-index: 100;
}

.lang-picker:hover .lang-dropdown {
  opacity: 1;
  visibility: visible;
}

.lang-choice {
  display: flex;
  width: 100%;
  height: 36px;
  background: none;
  border: none;
  color: white;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s;
}

.lang-choice:hover {
  background: rgba(253, 203, 110, 0.1);
  color: #fdcb6e;
}

.lang-choice.active {
  color: #fdcb6e;
  font-weight: 600;
}

/* Бургер моб-меню */
.burger-menu {
    display: none;
    background: transparent;
    border: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    position: relative;
    gap: 6px;
}

.burger-line {
    display: block;
    width: 30px;
    height: 2px;
    background-color: white;
    transition: all 0.3s ease;
}

.burger-text {
    color: white;
    font-size: 0.7rem;

    margin-top: 5px;
    letter-spacing: 1px;
}

.burger-menu.active .top-line {
    transform: translateY(8px) rotate(45deg);
}

.burger-menu.active .middle-line {
    opacity: 0;
}

.burger-menu.active .bottom-line {
    transform: translateY(-8px) rotate(-45deg);
}

.burger-menu.active .burger-text {
    opacity: 0;
}

/* Мобильное меню */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgb(3 6 5);
    backdrop-filter: blur(10px);
    z-index: 999;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out, opacity 0.3s ease;
    opacity: 0;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.mobile-menu.active {
    transform: translateX(0);
    opacity: 1;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-logo {
    height: 50px;
    width: auto;
}

.mobile-menu-close {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s;
}

.mobile-menu-close:hover {
    color: var(--accent-color);
}

.mobile-menu-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.mobile-nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s;

    padding: 15px 10px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-radius: 4px;
}

.mobile-nav-link i {
    width: 24px;
    text-align: center;
    font-size: 1.1rem;
}

.mobile-nav-link.active {
    color: var(--accent-color);
    background: rgba(253, 203, 110, 0.1);
}

.mobile-nav-link:hover {
    color: var(--accent-color);
    background: rgba(255, 255, 255, 0.05);
}

.mobile-menu-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 20px 0;
}

.mobile-language-switcher {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.mobile-language-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s;

    padding: 15px 10px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-radius: 4px;
}

.mobile-language-link.active {
    color: var(--accent-color);
    background: rgba(253, 203, 110, 0.1);
}

.mobile-language-link:hover {
    color: var(--accent-color);
    background: rgba(255, 255, 255, 0.05);
}

.mobile-account-btn {
    background: var(--accent-color);
    color: var(--dark-color);
    border: none;
    padding: 15px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 600;
    font-size: 1.1rem;

    margin-top: auto;
    margin-bottom: 20px;
}

.mobile-account-btn:hover {
    background: #ffeaa7;
    transform: translateY(-2px);
}

/* Адаптация для мобильных устройств */
@media (max-width: 768px) {
    .nav, .header-right {
        display: none;
    }

	.no-scroll {
    overflow: hidden;
    }

    .logo {
        display: none;
    }

    .burger-menu {
        display: flex;
        margin-left: auto;
        order: 1;
    }

    .header-container {
        justify-content: space-between;
    }

    .mobile-logo {
        display: block;
    }
}
/* STREAMS PANEL - START */
.streams-tab {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 120px;
    background: #bf1515;
    color: #ffffff;
    display: flex
;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 998;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    box-shadow: 2px 0 15px rgba(0, 0, 0, 0.5);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    overflow: hidden;
}

.streams-tab:hover {
    background: #ff0000;
}

.streams-tab:hover::before {
    left: 100%;
}

.streams-tab-inner {
    transform: rotate(90deg);
    white-space: nowrap;
    font-size: 1.1rem;
    letter-spacing: 1px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 2;
    pointer-events: none;
}

.streams-panel {
    position: fixed;
    left: -420px;
    top: 0;
    width: 420px;
    height: 100vh;
    background: rgb(0 0 0);
    backdrop-filter: blur(15px);
    z-index: 9999;
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    border-right: 1px solid rgba(253, 203, 110, 0.25);
    box-shadow: 8px 0 30px rgba(0, 0, 0, 0.4);
}

.streams-panel.active {
    left: 0;
}

/* Кастомный скроллбар */
.streams-panel::-webkit-scrollbar {
    width: 8px;
}

.streams-panel::-webkit-scrollbar-track {
    background: rgba(15, 15, 27, 0.3);
    border-radius: 4px;
}

.streams-panel::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #fdcb6e, #e17055);
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.streams-panel::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, #ffeaa7, #fab1a0);
}

.streams-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid rgba(253, 203, 110, 0.25);
    background: rgb(0 0 0);
    position: sticky;
    top: 0;
    z-index: 10;
}

.streams-panel-header h3 {
    color: #fdcb6e;

    margin: 0;
    font-size: 1.5rem;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.close-streams-panel {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 2.2rem;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 50%;
    line-height: 1;
}

.close-streams-panel:hover {
    color: #fdcb6e;
    background: rgba(255, 255, 255, 0.08);
    transform: rotate(90deg);
}

.streams-container {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.stream-item {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(253, 203, 110, 0.15);
    background: #000;
}

.stream-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.stream-item iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.stream-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.2) 0%,
        rgba(0, 0, 0, 0) 20%,
        rgba(0, 0, 0, 0) 80%,
        rgba(0, 0, 0, 0.2) 100%
    );
    z-index: 2;
    pointer-events: none;
}

/* Мобильная версия */
@media (max-width: 768px) {
    .streams-tab {

    }

    .streams-panel {
        width: 100%;
        left: -100%;
    }

    .streams-panel.active {
        left: 0;
    }

    .streams-container {
        padding: 15px;
        gap: 20px;
    }

    .streams-panel-header {
        padding: 15px;
    }

    .streams-panel-header h3 {
        font-size: 1.3rem;
    }
}

/* Оптимизация YouTube iframe */
.stream-item iframe {
    -webkit-transform: scale(1.0);
    transform: scale(1.0);
    -webkit-transform-origin: 0 0;
    transform-origin: 0 0;
    width: calc(100% + 30px);
    height: calc(100% + 80px);
    position: absolute;
    top: -40px;
    left: -15px;
    pointer-events: auto;
}

/* premium-card */
.premium-content-list {
    position: fixed;
    width: 320px;
    left: 50%;
    margin-left: -160px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.98) 0%, rgba(20, 20, 30, 0.98) 100%);
    border: 1px solid rgba(253, 203, 110, 0.4);
    border-radius: 8px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7);
    z-index: 1000;
    backdrop-filter: blur(8px);
    pointer-events: none;
}

.premium-card:hover .premium-content-list {
    opacity: 1;
    visibility: visible;
}

.premium-content-list::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.98) 0%, rgba(20, 20, 30, 0.98) 100%);
    z-index: -1;
}

/* Отключение на мобильных устройствах */
@media (max-width: 768px) {
    .premium-content-list {
        display: none !important;
    }
}

.premium-content-header {
    padding: 15px 20px;
    background: rgba(15, 15, 27, 0.3);
    border-bottom: 1px solid rgba(253, 203, 110, 0.2);

    font-size: 1.1rem;
    color: var(--accent-color);
    text-align: center;
    letter-spacing: 1px;
}

.premium-content-items {
    max-height: 400px;
    overflow-y: auto;
    padding: 10px 0;
}

.premium-content-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 20px;
    color: var(--text-muted);
    font-size: 0.95rem;

    position: relative;
    transition: all 0.3s ease;
}

.premium-content-item:not(:last-child)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 60px;
    right: 20px;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(253, 203, 110, 0.1), transparent);
}

.premium-content-item:hover {
    background: rgba(253, 203, 110, 0.08);
    color: white;
    padding-left: 25px;
}

.item-icon-container {
    position: relative;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.item-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
    transition: all 0.3s ease;
    z-index: 2;
}

.item-icon-container::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(253, 203, 110, 0.1) 0%, rgba(45, 52, 54, 0.3) 100%);
    border: 1px solid rgba(253, 203, 110, 0.3);
    border-radius: 6px;
    transform: rotate(45deg);
    transition: all 0.3s ease;
}

.item-icon-container::after {
    content: '';
    position: absolute;
    width: calc(100% + 4px);
    height: calc(100% + 4px);
    border: 1px solid rgba(253, 203, 110, 0.2);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.premium-content-item:hover .item-icon {
    transform: scale(1.15);
    filter: drop-shadow(0 0 5px rgba(253, 203, 110, 0.5));
}

.premium-content-item:hover .item-icon-container::before {
    background: linear-gradient(135deg, rgba(253, 203, 110, 0.2) 0%, rgba(45, 52, 54, 0.4) 100%);
    border-color: rgba(253, 203, 110, 0.5);
}

.premium-content-item:hover .item-icon-container::after {
    border-color: rgba(253, 203, 110, 0.3);
}

.item-text {
    flex-grow: 1;
    line-height: 1.4;
}

.item-quantity {
    color: var(--accent-color);
    font-weight: 600;
    margin-left: 5px;
    font-size: 0.9rem;
}

/* Кастомный скроллбар */
.premium-content-items::-webkit-scrollbar {
    width: 6px;
}

.premium-content-items::-webkit-scrollbar-track {
    background: rgba(15, 15, 27, 0.2);
    border-radius: 3px;
}

.premium-content-items::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #fdcb6e, #e17055);
    border-radius: 3px;
}

.premium-content-items::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, #ffeaa7, #fab1a0);
}

/* Модальное окно для загрузки */
.download-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.download-modal.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: linear-gradient(178deg, #1a1a1a 0%, #09090a 100%);
    border-radius: 8px;
    width: 90%;
    max-width: 700px;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(253, 203, 110, 0.3);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.download-modal.active .modal-content {
    transform: translateY(0);
}

.no-scroll {
    overflow: hidden;
}

.modal-header {
    padding: 20px;
    background: rgb(5 5 8 / 70%);
    border-bottom: 1px solid rgba(253, 203, 110, 0.2);
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    color: var(--accent-color);

    margin: 0;
    font-size: 1.5rem;
}

.close-modal {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-modal:hover {
    color: var(--accent-color);
}

.modal-body {
    padding: 20px;
    overflow-y: auto;
    max-height: 60vh;
}

.download-tabs {
    display: flex;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(253, 203, 110, 0.2);
}

.download-tab {
    padding: 10px 20px;
    background: transparent;
    border: none;
    color: var(--text-muted);

    cursor: pointer;
    position: relative;
    transition: all 0.3s;
    font-size: 1rem;
}

.download-tab.active {
    color: var(--accent-color);
}

.download-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent-color);
}

.download-tab:hover {
    color: white;
}

.download-tab-content {
    display: none;
}

.download-tab-content.active {
    display: block;
}

.download-tab-content h4 {
    color: white;
    margin-bottom: 15px;

    font-size: 1.2rem;
}

.download-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.download-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    background: rgb(0 0 0 / 50%);
    border: 1px solid rgba(253, 203, 110, 0.1);
    border-radius: 4px;
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.download-option:hover {
    background: rgba(253, 203, 110, 0.1);
    border-color: rgba(253, 203, 110, 0.3);
    color: white;
    transform: translateY(-2px);
}

.download-option i {
    width: 20px;
    text-align: center;
}

.modal-footer {
    padding: 15px 20px;
    background: rgb(11 11 13);
    border-top: 1px solid rgba(253, 203, 110, 0.2);
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
}

/* Адаптация для мобильных */
@media (max-width: 768px) {
    .download-options {
        grid-template-columns: 1fr;
    }

    .download-tab {
        padding: 10px 15px;
        font-size: 0.9rem;
    }

    .modal-body {
        padding: 15px;
    }
}

/* Правая боковая панель с соцсетями */
.social-sidebar {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 177px;
    height: 313px;
    z-index: 997;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    will-change: transform;
    font-family: 'Montserrat', sans-serif;
}

.sidebar-bg {
    position: absolute;
    z-index: -1;
    width: 100%;
    height: 100%;
}

.sidebar-bg img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.server-status {
    position: absolute;
    top: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.status-circle {
    width: 87px;
    height: 87px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgb(17 17 20);
    border: 2px solid #4CAF50;
    box-shadow: 0 0 15px rgba(76, 175, 80, 0.5);

}

.status-circle.online {
    border-color: #4CAF50;
    box-shadow: 0 0 15px rgba(76, 175, 80, 0.5);
}

.status-circle.offline {
    border-color: #f44336;
    box-shadow: 0 0 15px rgba(244, 67, 54, 0.5);
}

.online-count {
    color: #4CAF50;
    font-size: 1.1rem;
    font-weight: bold;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
}

.status-circle.offline .online-count {
    color: #f44336;
}

.status-text {
    color: white;
    font-size: 0.7rem;
    margin-top: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.social-links {
    position: absolute;
    top: 147px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: auto;
}

.social-link {
    display: block;
    transition: transform 0.3s ease;
}

.social-link:hover {
    transform: translateY(-3px) scale(1.1);
}

.social-link img {
    width: 27px;
    height: 27px;
    object-fit: contain;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(76, 175, 80, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0);
    }
}

/* Адаптация для мобильных */
@media (max-width: 1200px) {
    .social-sidebar {
        display: none;
    }
}

/* Мобильный статус сервера (строка) */
.mobile-server-status {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px 0;
    margin: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mob-status-line {
    display: flex;
    align-items: center;
    gap: 8px;

    background: rgba(15, 15, 27, 0.9);
    padding: 10px 20px;
    border-radius: 4px;
    border: 1px solid rgba(76, 175, 80, 0.5);
    box-shadow: 0 0 10px rgba(76, 175, 80, 0.3);
    animation: pulse 2s infinite;
    transition: all 0.3s ease;
}

.mob-status-line:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 12px rgba(76, 175, 80, 0.5);
}

.mob-status-icon {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #4CAF50;
    box-shadow: 0 0 8px rgba(76, 175, 80, 0.7);
}

.mob-status-line.offline .mob-status-icon {
    background: #f44336;
    box-shadow: 0 0 8px rgba(244, 67, 54, 0.7);
}

.mob-status-line .mob-status-text {
    color: white;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mob-status-line .online-count {
    color: #4CAF50;
    font-size: 0.9rem;
    font-weight: bold;
}

.mob-status-line.offline .online-count {
    color: #f44336;
}

/* Анимация пульсации */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7);
    }
    70% {
        box-shadow: 0 0 0 8px rgba(76, 175, 80, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0);
    }
}

/* Адаптация для мобильных устройств */
@media (max-width: 768px) {
    .mobile-server-status {
        margin: 15px 0;
    }

    .mob-status-line {
        padding: 8px 15px;
    }

    .mob-status-line .mob-status-text {
        font-size: 0.85rem;
    }

    .mob-status-line .online-count {
        font-size: 0.85rem;
    }

    .mob-status-icon {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 576px) {
    .mob-status-line {
        padding: 8px 12px;
        gap: 6px;
    }

    .mob-status-line .mob-status-text {
        font-size: 0.8rem;
    }

    .mob-status-line .online-count {
        font-size: 0.8rem;
    }

    .mob-status-icon {
        width: 8px;
        height: 8px;
    }
}

