:root{
--black:#000000;
--white:#ffffff;
--orange:#ff6000;
--yellow:#ffb400;
--primary:#ffffff;
--secondary:#000000;
--gray:#000429;
--glow:rgba(255,255,255,0.1);
--ease:cubic-bezier(0.16,1,0.3,1);
--section-py:15vh;
--header-height:80px;
--border-radius:12px;
--shadow:0 10px 30px rgba(0,0,0,0.3)
--transition-fast: 0.3s var(--ease);
--transition-medium: 0.6s var(--ease);
}
*{
margin:0;
padding:0;
box-sizing:border-box
}
html{
scroll-behavior:smooth;
overflow-x:hidden
}
body{
/*
background: url("/img/ellipse.png") no-repeat right top;
background:var(--black);*/
background: linear-gradient(132deg, #000000, #1C1C1C, #131313, #282828); /*linear-gradient(149deg, #000000 0%, #1C1C1C 30%, #131313 70%, #282828 100%);*/
animation: body 20s infinite linear;
background-size: 400%;
color:var(--white);
font-family:'Neue Montreal',-apple-system,BlinkMacSystemFont,sans-serif;
-webkit-font-smoothing:antialiased;
line-height:1.6;
overflow-x:hidden
}
::selection{
background:var(--white);
color:var(--black)
}
@keyframes body {
    0% {
        background-position: 80% 0%;
    }
    50% {
        background-position: 20% 100%;
    }
    100% {
        background-position: 80% 0%;
    }
}
.container{
width:100%;
max-width:1600px;
margin:0 auto;
padding:0 5vw
}
header{
position:fixed;
top:0;
left:0;
width:100%;
z-index:1000;
padding:1.5rem 0;
transition:all 0.6s var(--ease);
background:var(--black);
border-bottom:1px solid rgba(255,255,255,0.1)
}
header.scrolled{
box-shadow:var(--shadow)
}
nav{
display:flex;
justify-content:space-between;
align-items:center
}
.logo{
font-family:'Druk Wide',sans-serif;
font-size:1.8rem;
font-weight:700;
letter-spacing:-0.03em;
text-transform:uppercase;
position:relative;
z-index:1;
color:var(--white);
display:flex;
align-items:center;
gap:0.5rem
}
.logo-icon{
width:24px;
height:24px;
background:var(--white);
border-radius:4px;
display:flex;
align-items:center;
justify-content:center
}
.nav-links{
display:flex;
gap:2rem;
align-items:center
}
.nav-item{
position:relative
}
.nav-link{
color:var(--white);
text-decoration:none;
font-size:0.9rem;
font-weight:500;
letter-spacing:0.1em;
text-transform:uppercase;
position:relative;
opacity:0.8;
transition:all 0.4s var(--ease);
padding:0.5rem 0
}
.nav-link:hover{
opacity:1
}
.nav-link::after{
content:'';
position:absolute;
bottom:0;
left:0;
width:100%;
height:1px;
background:var(--yellow);
transform:scaleX(0);
transform-origin:right;
transition:transform 0.6s var(--ease)
}
.nav-link:hover::after{
transform:scaleX(1);
transform-origin:left
}
.soon-badge{
font-size:0.7rem;
background:rgba(255,255,255,0.1);
padding:0.2rem 0.5rem;
border-radius:50px;
letter-spacing:0;
margin-left:0.5rem
}
.mobile-nav-link{
color:var(--white);
text-decoration:none;
font-size:1.2rem;
font-weight:500;
letter-spacing:0.1em;
text-transform:uppercase;
padding:0.8rem 0;
position:relative;
border-bottom:1px solid rgba(255,255,255,0.1)
}
.mobile-nav-link::after{
content:'';
position:absolute;
bottom:0;
left:0;
width:0;
height:1px;
background:var(--yellow);
transition:width 0.6s var(--ease)
}
.mobile-nav-link:hover::after{
width:100%
}
.mobile-account-btn{
margin-top:auto;
width:100%
}
.hero{
  background: url(/img/osen.png);
  background-repeat: no-repeat;
  background-position: center center;
  background-attachment: fixed;
  background-size: cover;
  height: 100vh;
  height: 100dvh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* Добавьте псевдоэлемент для затемнения */
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3); /* Затемнение 30% */
  z-index: 1;
}

/* Чтобы контент был поверх затемнения */
.hero > * {
  position: relative;
  z-index: 2;
}
.hero-bg{
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
/*background:radial-gradient(circle at 70% 30%,var(--yellow) 0%,transparent 70%);*/
z-index:-1;
transform:scale(1.2);
transition:transform 12s var(--ease)
}
.hero:hover .hero-bg{
transform:scale(1)
}
.hero-content{
position:relative;
z-index:2;
width:100%
}
.hero-title{
font-family:'Druk Wide',sans-serif;
font-size:clamp(3rem,12vw,8rem);
font-weight:700;
line-height:0.9;
letter-spacing:-0.05em;
margin-bottom:2rem;
position:relative;
overflow:hidden
}
.hero-title span{
display:inline-block;
transform:translateY(50px);
opacity:0
}
.hero-subtitle{
font-size:clamp(1rem,4vw,1.4rem);
max-width:45ch;
opacity:0.7;
margin-bottom:3rem;
line-height:1.6;
transform:translateY(20px);
opacity:0
}
.btn{
display:inline-flex;
align-items:center;
justify-content:center;
height:clamp(3.5rem,8vw,5rem);
padding:0 clamp(2rem,6vw,4rem);
background:var(--yellow);
color:var(--black);
font-family:'Druk Wide',sans-serif;
font-weight:700;
text-decoration:none;
border:none;
cursor:pointer;
text-transform:uppercase;
letter-spacing:0.1em;
position:relative;
overflow:hidden;
border-radius:50px;
transition:all 0.6s var(--ease);
transform:translateY(20px);
opacity:0;
box-shadow:0 5px 15px rgba(0,0,0,0.2)
}
.btn::before{
content:'';
position:absolute;
top:0;
left:-100%;
width:100%;
height:100%;
background:linear-gradient(90deg,transparent,rgba(255,255,255,0.4),transparent);
transition:0.8s var(--ease)
}
.btn:hover{
transform:translateY(-5px);
box-shadow:0 15px 30px rgba(255,255,255,0.1)
}
.btn:hover::before{
left:100%
}
.section{
padding:var(--section-py) 0;
position:relative
}
.section-title{
font-family:'Druk Wide',sans-serif;
font-size:clamp(2.5rem,8vw,5rem);
font-weight:700;
line-height:0.9;
letter-spacing:-0.03em;
margin-bottom:4rem;
text-transform:uppercase;
text-align: center
}
.accordion{
max-width:900px;
margin:0 auto
}
.accordion-item{
border-bottom:1px solid rgba(255,255,255,0.1);
transition:border-color 0.6s var(--ease)
}
.accordion-item.active{
border-color:var(--yellow)
}
.accordion-header{
padding:1.5rem 0;
display:flex;
justify-content:space-between;
align-items:center;
cursor:pointer;
transition:opacity 0.4s var(--ease)
}
.accordion-header:hover{
opacity:0.8
}
.accordion-title{
font-family:'Druk Wide',sans-serif;
font-size:1.3rem;
font-weight:700;
letter-spacing:-0.02em;
color:var(--white)
}
.accordion-icon{
font-size:1.2rem;
transition:transform 0.6s var(--ease);
color:var(--yellow)
}
.accordion-content{
max-height:0;
overflow:hidden;
transition:max-height 0.8s var(--ease)
}
.accordion-content-inner{
padding:0 0 2rem;
opacity:0.7;
line-height:1.6;
font-size:1.1rem;
color:var(--white)
}
.accordion-item.active .accordion-content{
max-height:500px
}
.accordion-item.active .accordion-icon{
transform:rotate(45deg)
}
footer{
padding:var(--section-py) 0 3rem;
border-top:1px solid rgba(255,255,255,0.1);
position:relative
}
.footer-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:4rem;
margin-bottom:4rem
}
.footer-logo{
font-family:'Druk Wide',sans-serif;
font-size:1.8rem;
font-weight:700;
margin-bottom:1.5rem;
letter-spacing:-0.03em;
display:flex;
align-items:center;
gap:0.5rem
}
.footer-logo-icon{
width:20px;
height:20px;
background:var(--white);
border-radius:3px
}
.footer-links-title{
font-family:'Druk Wide',sans-serif;
font-size:1rem;
font-weight:700;
margin-bottom:1.5rem;
letter-spacing:0.1em;
text-transform:uppercase;
opacity:0.8
}
.footer-links{
display:flex;
flex-direction:column;
gap:1rem
}
.footer-links a{
color:var(--white);
text-decoration:none;
opacity:0.6;
transition:opacity 0.4s var(--ease);
font-size:1.1rem
}
.footer-links a:hover{
opacity:1
}
.footer-bottom{
display:flex;
justify-content:space-between;
align-items:center;
padding-top:2rem;
border-top:1px solid rgba(255,255,255,0.1)
}
.copyright{
opacity:0.4;
font-size:0.9rem;
letter-spacing:0.05em
}
.donate {
    display: block;
    text-align: -webkit-center;
    unicode-bidi: isolate;
}
.dform {
    width: 320px;
    height: 50px;
    border: 0 #000000;
    border-bottom: 1px solid var(--yellow);
    font-weight: 300;
    font-size: 18px;
    outline: none;
    display: block;
    margin: 0 auto 30px;
    background-color: transparent;
    color: var(--white);
}
input:not([type="image" i], [type="range" i], [type="checkbox" i], [type="radio" i]) {
    overflow-clip-margin: 0px !important;
    overflow: clip !important;
}
.donates {
    text-align: center;
}
.btn-up {
  /* фиксированное позиционирование */
  position: fixed;
  /* цвет фона */
  background-color: var(--yellow);
  /* расстояние от правого края окна браузера */
  right: 20px;
  /* расстояние от нижнего края окна браузера */
  bottom: 0;
  /* скругление верхнего левого угла */
  border-top-left-radius: 8px;
  /* скругление верхнего правого угла */
  border-top-right-radius: 8px;
  /* вид курсора */
  cursor: pointer;
  /* отображение элемента как flex */
  display: flex;
  /* выравниваем элементы внутри элемента по центру вдоль поперечной оси */
  align-items: center;
  /* выравниваем элементы внутри элемента по центру вдоль главной оси */
  justify-content: center;
  /* ширина элемента */
  width: 60px;
  /* высота элемента */
  height: 50px;
}
.btn-up::before {
  content: "";
  width: 40px;
  height: 40px;
  background: transparent no-repeat center center;
  background-size: 100% 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23000' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M7.646 4.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1-.708.708L8 5.707l-5.646 5.647a.5.5 0 0 1-.708-.708l6-6z'/%3E%3C/svg%3E");
}
.btn-up_hide {
  display: none;
}

.info {
  z-index: 3;
}
.info__wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  position: relative;
  text-align: center;
  max-width: 100%;
  overflow: hidden;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  min-height: 700px;
  max-height: 100%;
  padding: 55px 0 15px;
}
@media (max-width: 860px) {
  .info__wrapper {
    padding-top: 105px;
  }
}
@media (max-width: 860px) {
  .info {
    padding: 95px 0 45px;
  }
}
.info__nav {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 525px;
          flex: 0 0 525px;
}
@media (max-width: 860px) {
  .info__nav {
    margin-left: -145px;
    -webkit-box-flex: 0;
        -ms-flex: 0 0 525px;
            flex: 0 0 525px;
  }
}
.info__content {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 435px;
          flex: 0 0 435px;
  width: 435px;
  margin: 30px;
  text-align: left;
  padding-left: 50px;
}
@media (max-width: 860px) {
  .info__content {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 300px;
            flex: 0 0 300px;
    padding-left: 0;
    margin: 10px;
    width: 300px;
  }
}
.info__text {
  margin-top: 15px;
  margin-bottom: 15px;
  color: white;
  font-family: "Ubuntu", sans-serif;
  font-size: 22px;
}
@media (max-width: 860px) {
  .info__text {
    font-size: 18px;
  }
}
.info__title {
  color: white;
  font-family: "Ubuntu", sans-serif;
  font-size: 60px;
  text-transform: uppercase;
  line-height: 1.1em;
  letter-spacing: 1px;
}
@media (max-width: 860px) {
  .info__title {
    font-size: 30px;
    margin-top: 45px;
  }
}
.info__title span {
  display: block;
}
.info__tab_1 .info__title span {
  color: #0ac0d0;
}
.info__tab_2 .info__title span {
  color: #606f85;
}
.info__tab_3 .info__title span {
  color: #1a4f15;
}
.info__tab_4 .info__title span {
  color: #0069d5;
}
.info__tab_5 .info__title span {
  color: #f32959;
}
.info__tab_6 .info__title span {
  color: #326f49;
}
.info__tab_7 .info__title span {
  color: #495a79;
}
@media (max-width: 860px) {
  .info__title {
    margin-bottom: 30px;
  }
}
.info__nav {
  background: url("/img/ellipse.png") no-repeat right top;
  width: 489px;
  height: 467px;
  position: relative;
}
.info__nav-link {
  position: absolute;
  width: 66px;
  height: 66px;
  display: block;
  opacity: 1;
}
.info__nav-link_1 {
  background: url("/img/nav1.png") no-repeat;
  top: -33px;
  right: 195px;
  background-size: 66px;
}
.info__nav-link_2 {
  background: url("/img/nav2.png") no-repeat;
  top: 0;
  right: 90px;
  background-size: 66px;
}
.info__nav-link_3 {
  background: url("/img/nav3.png") no-repeat;
  top: 70px;
  right: 0;
  background-size: 66px;
}
.info__nav-link_4 {
  background: url("/img/nav4.png") no-repeat;
  top: 190px;
  right: -33px;
  background-size: 66px;
}
.info__nav-link_5 {
  background: url("/img/nav5.png") no-repeat;
  top: 315px;
  right: -5px;
  background-size: 66px;
}
.info__nav-link_6 {
  background: url("/img/nav6.png") no-repeat;
  top: 395px;
  right: 75px;
  background-size: 66px;
}
.info__nav-link_7 {
  background: url("/img/nav7.png") no-repeat;
  top: 430px;
  right: 195px;
  background-size: 66px;
}
.info__nav-link:hover {
  opacity: 0.85;
}
.info__nav-link_1.active {
  background: url("/img/nav1-a.png") no-repeat;
}
.info__nav-link_2.active {
  background: url("/img/nav2-a.png") no-repeat;
}
.info__nav-link_3.active {
  background: url("/img/nav3-a.png") no-repeat;
}
.info__nav-link_4.active {
  background: url("/img/nav4-a.png") no-repeat;
}
.info__nav-link_5.active {
  background: url("/img/nav5-a.png") no-repeat;
}
.info__nav-link_6.active {
  background: url("/img/nav6-a.png") no-repeat;
}
.info__nav-link_7.active {
  background: url("/img/nav7-a.png") no-repeat;
}
.info__nav-link.active {
  margin-right: -50px;
  margin-top: -50px;
  width: 167px;
  height: 167px;
  background-size: 167px;
}
.info__nav-link.active:hover {
  opacity: 1;
  cursor: default;
}
.info__img {
  position: absolute;
  left: 30px;
  top: 75px;
}
@media (max-width: 860px) {
  .info__img {
    left: 130px;
  }
}

.tex-title{
font-family:'Druk Wide',sans-serif;
font-size:clamp(3rem,12vw,8rem);
font-weight:700;
line-height:0.9;
letter-spacing:-0.05em;
margin-bottom:2rem;
position:relative;
overflow:hidden;
text-align: center
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.play-button {
  background: var(--yellow);
  text-decoration:none;
  color: white;
  border: none;
  padding: 18px 40px;
  font-size: 1.2rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(255, 138, 0, 0.5);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
}

.play-button a {
  color: white;
  text-decoration:none;
}

.play-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(255, 138, 0, 0.7);
}

.copy-ip-button {
    position: relative;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 15px 35px;
    font-size: 1.1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.copy-ip-button:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.copy-ip-button.copied {
    background: rgba(39, 174, 96, 0.8);
    border-color: rgba(255, 255, 255, 0.5);
}

.auth-container {
    padding: 3rem 2rem 2rem;
}

.auth-container h3 {
    font-family: 'Druk Wide', sans-serif;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--yellow);
    font-size: 1.5rem;
}

.form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-group input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    font-size: 1rem;
    transition: all 0.3s var(--ease);
}

.form-group input:focus {
    outline: none;
    border-color: var(--yellow);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 2px rgba(255, 180, 0, 0.2);
}

.form-group i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.3s var(--ease);
}

.form-group input:focus + i {
    color: var(--yellow);
}

.btn-login {
    width: 100%;
    height: 3.5rem;
    background: var(--yellow);
    color: var(--black);
    border: none;
    font-family: 'Druk Wide', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.3s var(--ease);
    margin-bottom: 1rem;
}

.btn-login:hover {
    background: #ffa500;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 180, 0, 0.3);
}

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

.auth-links {
    text-align: center;
}

.auth-link {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s var(--ease);
}

.auth-link:hover {
    color: var(--yellow);
}

.auth-message {
    padding: 1rem;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    text-align: center;
    display: none;
}

.auth-message.success {
    background: rgba(46, 204, 113, 0.2);
    border: 1px solid rgba(46, 204, 113, 0.5);
    color: #2ecc71;
    display: block;
}

.auth-message.error {
    background: rgba(231, 76, 60, 0.2);
    border: 1px solid rgba(231, 76, 60, 0.5);
    color: #e74c3c;
    display: block;
}

/* Стили для меню пользователя */
.user-menu {
    position: relative;
}

.user-welcome {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--yellow) !important;
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    min-width: 200px;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s var(--ease);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

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

.dropdown-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s var(--ease);
    border-left: 3px solid transparent;
}

.dropdown-link:hover {
    background: rgba(255, 255, 255, 0.05);
    border-left-color: var(--yellow);
    color: var(--yellow);
}

/* Анимации */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/*мобилки
@media (max-width: 768px) {
  body {
    animation: none !important;
    background-size: 100% !important;
  }
  .hero {
    background-attachment: scroll !important;
  }
  .promo-bar {
    backdrop-filter: none !important;
  }
  .copy-ip-button,
  .image-count-badge,
  .news-modal,
  .carousel-nav,
  .carousel-counter,
  .realty-notification {
    backdrop-filter: none !important;
  }
}*/

/* Адаптивность */
@media (max-width: 768px) {
    .modal-content {
        margin: 10% auto;
        width: 95%;
    }
    
    .auth-container {
        padding: 2rem 1.5rem 1.5rem;
    }
    
    .user-dropdown {
        right: -50%;
        min-width: 180px;
    }
}
/* Стили для страницы профиля */
.profile-header {
    background: linear-gradient(135deg, rgba(255, 180, 0, 0.1) 0%, rgba(255, 180, 0, 0.05) 100%);
    border-radius: var(--border-radius);
    padding: 3rem 2rem;
    margin-bottom: 3rem;
    border: 1px solid rgba(255, 180, 0, 0.2);
    position: relative;
    overflow: hidden;
}
.profile-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 180, 0, 0.1) 0%, transparent 70%);
}
.profile-header-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
}
.profile-main-info {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    flex: 1;
}
.player-description-section {
    flex-shrink: 0;
    min-width: 300px;
    max-width: 400px;
}

.description-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    height: 100%;
    transition: all 0.3s var(--ease);
}

.description-card:hover {
    border-color: var(--yellow);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.description-title {
    font-family: 'Druk Wide', sans-serif;
    color: var(--yellow);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.description-text {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    font-size: 0.95rem;
    max-height: 200px;
    overflow-y: auto;
    padding-right: 0.5rem;
}
/* Стили для скроллбара */
.description-text::-webkit-scrollbar {
    width: 4px;
}
.description-text::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
}
.description-text::-webkit-scrollbar-thumb {
    background: var(--yellow);
    border-radius: 2px;
}
.description-text::-webkit-scrollbar-thumb:hover {
    background: #ffa500;
}
.no-description {
    opacity: 0.7;
}
.description-placeholder {
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
    padding: 2rem 1rem;
}
.description-placeholder i {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
    opacity: 0.5;
}
.player-avatar {
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: 20px;
    overflow: hidden;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 30px rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.08);
    transition: transform 0.3s ease;
}
.player-avatar:hover {
    transform: translateY(-5px);
}
.player-skin-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    background: radial-gradient(circle at 50% 80%, rgba(255,255,255,0.06), transparent 70%);
}
.player-skin-img {
    width: 140%;
    height: auto;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.player-skin-img.top-view {
    object-position: center 10%; /* смещаем "камеру" выше */
    transform: scale(1.1) translateY(3%); /* слегка увеличиваем и поднимаем */
}
.player-avatar:hover .player-skin-img {
    transform: scale(1.15) translateY(5%);
}
.player-level {
    position: absolute;
    bottom: 5px;
    right: 5px;
    font-size: 0.9rem;
    background: rgba(0,0,0,0.65);
    padding: 4px 8px;
    border-radius: 10px;
    color: var(--yellow);
    font-weight: 600;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.15);
}
.skin-fallback {
    opacity: 0.4;
    filter: grayscale(100%);
}
.player-info {
    flex: 1;
}
.player-name-section {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}
.player-name {
    font-family: 'Druk Wide', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 0;
    color: var(--white);
}
.player-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}
.player-prefix {
    background: var(--yellow);
    color: var(--black);
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    margin-left: 0;
}
.player-admin {
    background: #e74c3c;
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    margin-left: 0;
}
.player-email {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    margin-bottom: 0;
}
/* Стили для карточки организации */
.organization-card {
    position: relative;
    overflow: hidden;
}
.organization-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s var(--ease);
}
.organization-card:hover::before {
    opacity: 1;
}
.leader-badge {
    background: linear-gradient(45deg, #FFD700, #FFA500);
    color: #000;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: bold;
    margin-left: 0.5rem;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}
/* Улучшенные стили для всех карточек статистики */
.stat-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    transition: all 0.3s var(--ease);
    position: relative;
}
.stat-card:hover {
    border-color: var(--yellow);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}
.stat-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 180, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: var(--yellow);
    font-size: 1.5rem;
}
.stat-title {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.stat-value {
    font-family: 'Druk Wide', sans-serif;
    font-size: 1.8rem;
    color: var(--white);
    margin-bottom: 0.3rem;
}
.stat-subvalue {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.3rem;
}
.flex-container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

/* Планшеты и маленькие ноутбуки (768px - 968px) */
@media (max-width: 968px) {
    .profile-header {
        padding: 2rem 1rem;
        margin-bottom: 2rem;
    }
    .profile-header-content {
        flex-direction: column;
        gap: 1.5rem;
    }
    .profile-main-info {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    .player-info {
        align-items: center;
        text-align: center;
    }
    .player-avatar {
        margin-right: 0;
        width: 100px;
        height: 100px;
        font-size: 2.5rem;
    }
    .player-name-section {
        justify-content: center;
        text-align: center;
    }
    .player-name {
        font-size: 1.8rem;
    }
    .player-badges {
        flex-direction: column;
        gap: 0.8rem;
        align-items: center;
    }
    .player-email {
        justify-content: center;
    }
    .player-prefix,
    .player-admin {
        font-size: 0.8rem;
        padding: 0.4rem 1rem;
    }
    .player-description-section {
        min-width: auto;
        width: 100%;
        max-width: none;
    }
    .description-card {
        text-align: center;
    }
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .stat-card {
        padding: 1.2rem;
    }
    .stat-value {
        font-size: 1.5rem;
    }
}
/* Мобильные устройства (480px и меньше) */
@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    .profile-header {
        padding: 1.5rem 1rem;
    }
    .player-avatar {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
    .player-level {
        font-size: 0.7rem;
        padding: 0.2rem 0.8rem;
    }
    .player-name {
        font-size: 1.6rem;
    }
    .player-name-section {
        flex-direction: column;
        gap: 0.5rem;
    }
    .player-badges {
        flex-direction: column;
        gap: 0.8rem;
    }
    .player-prefix,
    .player-admin {
        padding: 0.4rem 1rem;
        font-size: 0.8rem;
    }
    .description-card {
        padding: 1rem;
    }
    .description-title {
        font-size: 1rem;
    }
    .description-text {
        max-height: 150px;
        font-size: 0.9rem;
    }
    .quick-nav {
        bottom: 10px;
        padding: 8px;
    }
    .quick-nav-item {
        padding: 6px 8px;
        min-width: 50px;
    }
    .quick-nav-item span {
        font-size: 0.65rem;
    }
    .back-to-top {
        bottom: 70px;
        right: 15px;
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}
/* Планшеты (768px и меньше) */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    .flex-container {
        flex-direction: column;
        text-align: center;
    }
    .nav-links {
        display: none;
    }
    .quick-nav {
        display: flex;
        gap: 5px;
    }
    .section {
        padding: 10vh 0;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .platform-option {
        min-width: 100%;
    }
}
/* Мобильные устройства (480px и меньше) */
@media (max-width: 480px) {
    .container {
        padding: 0 1.5rem;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-subtitle {
        font-size: 1.1rem;
    }
    .btn {
        height: 3.5rem;
        padding: 0 2rem;
    }
    .feature-card {
        padding: 1.5rem;
    }
}


@media (hover: hover) and (pointer: fine) {
  .btn-up:hover {
    background-color: var(--yellow); /* цвет заднего фона при наведении */
  }
}
@keyframes float{
0%,100%{
transform:translateY(0)
}
50%{
transform:translateY(-20px)
}
}
@keyframes fadeIn{
from{
opacity:0;
transform:translateY(20px)
}
to{
opacity:1;
transform:translateY(0)
}
}
@media (max-width:1024px){
.nav-links{
gap:1.5rem
}
.feature-card{
padding:2rem
}
}
@media (max-width:768px){
:root{
--section-py:10vh
}
.nav-links{
display:none
}
.hero-title{
line-height:0.9;
margin-bottom:1.5rem
}
.hero-subtitle{
margin-bottom:2.5rem
}
.section-title{
margin-bottom:3rem
}
.section-title::after{
bottom:-0.8rem
}
.features-grid{
grid-template-columns:1fr
}
.platform-option{
min-width:100%
}
.footer-grid{
gap:3rem
}
.footer-bottom{
flex-direction:column;
gap:1rem;
align-items:flex-start
}
}
@media (max-width:480px){
.container{
padding:0 1.5rem
}
header{
padding:1rem 0
}
.logo{
font-size:1.5rem
}
.hero-title{
font-size:2.5rem
}
.hero-subtitle{
font-size:1.1rem
}
.btn{
height:3.5rem;
padding:0 2rem
}
.feature-card{
padding:1.5rem
}
.accordion-header{
padding:1rem 0
}
.accordion-title{
font-size:1.1rem
}
}
/* Стили для статичного списка Forbes */
.forbes-list-static {
    display: flex;
    flex-direction: column;
}

.forbes-list-static .forbes-item {
    display: none; /* будет управляться JS */
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
    min-height: 60px;
    gap: 15px;
}

.forbes-list-static .forbes-item:last-child {
    border-bottom: none;
}

.forbes-list-static .forbes-item:hover {
    background: rgba(255,255,255,0.05);
    transform: translateX(5px);
}

/* Убираем скролл и фиксируем высоту */
.forbes-table {
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    overflow: hidden;
}

#fcoins-tab .forbes-item {
    grid-template-columns: 80px 1fr 120px 120px 120px;
}

#realmoney-tab .forbes-item,
#goldcoins-tab .forbes-item,
#coloredore-tab .forbes-item {
    grid-template-columns: 80px 1fr 120px;
}

/* Адаптивность для статичного списка */
@media (max-width: 768px) {
    .forbes-item {
        display: none; /* управление через JS */
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        padding: 15px;
    }
    .forbes-list-static .forbes-item {
        grid-template-columns: 60px 1fr 80px;
        gap: 10px;
        padding: 12px 15px;
        min-height: 50px;
    }
    
    .forbes-bank,
    .forbes-total {
        display: none !important;
    }
}

/* Остальные стили остаются такими же как в предыдущей версии */
.forbes-section {
    margin-top: 40px;
    background: var(--card-bg);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    display: flex;
    gap: 30px;
}

.forbes-section .section-header {
    text-align: center;
    margin-bottom: 30px;
}

.forbes-section .section-header h2 {
    color: var(--accent-color);
    font-size: 2rem;
    margin-bottom: 10px;
}

.forbes-section .section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.forbes-tabs {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 220px;
    flex-shrink: 0;
}

.forbes-tab {
    background: rgba(30, 30, 40, 0.7);
    border: 1px solid rgba(255,215,0,0.2);
    color: #ddd;
    padding: 12px 16px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.25s ease;
    text-align: left;
    font-size: 1rem;
}

.forbes-tab:hover {
    background: rgba(255,215,0,0.1);
    color: #fff;
}

.forbes-tab.active {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #000;
    border-color: #FFD700;
    box-shadow: 0 4px 10px rgba(255,215,0,0.25);
}

.forbes-content {
    flex: 1;
}

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

.forbes-tab-content.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

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

.forbes-header {
    display: grid;
    grid-template-columns: 80px 1fr 120px 120px 120px;
    gap: 15px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(255,215,0,0.1), rgba(255,165,0,0.1));
    font-weight: 700;
    color: var(--accent-color);
    border-bottom: 2px solid rgba(255,215,0,0.3);
}

/* Альтернативное решение - делаем все заголовки в одну строку */
.forbes-header div {
    white-space: nowrap;
    text-align: center;
}
.forbes-header .forbes-player {
    text-align: left;
}

.forbes-rank {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 1.1rem;
}

.forbes-rank .fa-medal {
    font-size: 1.3rem;
}

#realmoney-tab .forbes-header,
#goldcoins-tab .forbes-header,
#coloredore-tab .forbes-header {
    grid-template-columns: 80px 1fr 120px;
}

.forbes-item.top-1 { background: linear-gradient(135deg, rgba(255,215,0,0.15), transparent); border-left: 4px solid #FFD700; }
.forbes-item.top-1 .fa-medal { color: #FFD700; }

.forbes-item.top-2 { background: linear-gradient(135deg, rgba(192,192,192,0.15), transparent); border-left: 4px solid #C0C0C0; }
.forbes-item.top-2 .fa-medal { color: #C0C0C0; }

.forbes-item.top-3 { background: linear-gradient(135deg, rgba(205,127,50,0.15), transparent); border-left: 4px solid #CD7F32; }
.forbes-item.top-3 .fa-medal { color: #CD7F32; }

.forbes-player {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.you-badge {
    background: #007bff;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.forbes-value, .forbes-bank, .forbes-total {
    font-weight: 600;
    color: var(--accent-color);
}
.forbes-total { color: #FFD700; font-weight: 700; }

.forbes-empty {
    text-align: center;
    padding: 40px;
    color: var(--text-secondary);
    font-style: italic;
}

/* Кнопка "Показать ещё" в стиле Forbes */
.btn-load-more {
    background: linear-gradient(135deg, rgba(255,215,0,0.15), rgba(255,165,0,0.1));
    color: #FFD700;
    border: 1px solid rgba(255,215,0,0.3);
    padding: 10px 24px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    text-align: center;
    margin-top: 20px;
}

.btn-load-more:hover {
    background: linear-gradient(135deg, rgba(255,215,0,0.25), rgba(255,165,0,0.2));
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255,215,0,0.2);
}

.btn-load-more:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(255,215,0,0.2);
}

/* Руководство проекта */
.leadership-section {
    margin-top: 40px;
    background: var(--card-bg);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.leadership-section .section-header {
    text-align: center;
    margin-bottom: 30px;
}
.leadership-section .section-header h2 {
    color: var(--accent-color);
    font-size: 2rem;
    margin-bottom: 10px;
}
.leadership-section .section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}
/* Таблица руководства */
.leadership-table {
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
}
.leadership-header {
    display: flex;
    background: linear-gradient(135deg, rgba(255,215,0,0.15), rgba(255,165,0,0.15));
    border-bottom: 2px solid rgba(255,215,0,0.3);
    padding: 0;
}
.leadership-cell {
    padding: 20px 15px;
    font-weight: 700;
    color: var(--accent-color);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 60px;
    border-right: 1px solid rgba(255,255,255,0.1);
}
.leadership-cell:last-child {
    border-right: none;
}
.leadership-nickname {
    flex: 2;
    justify-content: flex-start;
    text-align: left;
    font-weight: 600;
}
.leadership-position {
    flex: 2;
}
.leadership-level {
    flex: 1;
    min-width: 100px;
}
.leadership-contact {
    flex: 1;
    min-width: 120px;
}
.leadership-actions {
    flex: 1.5;
    min-width: 140px;
}
/* Строки таблицы */
.leadership-row {
    display: flex;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: all 0.3s ease;
}
.leadership-row:hover {
    background: rgba(255,255,255,0.03);
}
.leadership-row.current-leader {
    background: linear-gradient(135deg, rgba(0,123,255,0.08), rgba(0,86,179,0.08));
    border-left: 3px solid #007bff;
}
.leadership-row:last-child {
    border-bottom: none;
}
.leadership-row .leadership-cell {
    font-weight: 500;
    color: var(--text-primary);
    min-height: 70px;
    padding: 15px;
}
/* Имя игрока */
.leadership-section .player-name {
    display: flex;
    align-items: center;
    font-size: 1.2rem;
    gap: 10px;
    font-weight: 600;
}
/* Ссылки для связи */
.contact-link {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    font-size: 0.85rem;
    min-width: 90px;
    justify-content: center;
}
.contact-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,123,255,0.4);
}
.contact-link.telegram {
    background: linear-gradient(135deg, #0088cc, #006da3);
}
.contact-link.vk {
    background: linear-gradient(135deg, #4a76a8, #2a5885);
}
.contact-link.discord {
    background: linear-gradient(135deg, #5865F2, #4752c4);
}
.no-contact {
    color: var(--text-secondary);
    font-style: italic;
}
/* Кнопки редактирования */
.edit-contact-btn {
    background: linear-gradient(135deg, #28a745, #1e7e34);
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    min-width: 120px;
    justify-content: center;
}
.edit-contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40,167,69,0.4);
}
/* Модальное окно */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
    backdrop-filter: blur(5px);
}
.modal-content {
    background: var(--card-bg);
    margin: 10% auto;
    padding: 0;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.1);
    animation: modalSlideIn 0.3s ease;
}
@keyframes modalSlideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    background: linear-gradient(135deg, rgba(255,215,0,0.1), rgba(255,165,0,0.1));
}
.modal-header h3 {
    color: var(--accent-color);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
}
.close {
    color: var(--text-secondary);
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
    line-height: 1;
}
.close:hover {
    color: var(--accent-color);
}
.modal-body {
    padding: 30px;
}
.form-hint {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 8px;
    font-style: italic;
}
.modal-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 25px;
}
.btn-secondary {
    background: rgba(255,255,255,0.1);
    color: var(--text-primary);
    border: 2px solid rgba(255,255,255,0.2);
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}
.btn-secondary:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}
.btn-primary {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,123,255,0.3);
}
.leadership-empty {
    text-align: center;
    padding: 60px 40px;
    color: var(--text-secondary);
    font-style: italic;
    font-size: 1.1rem;
    grid-column: 1 / -1;
}
/* Адаптивность */
@media (max-width: 1024px) {
    .leadership-cell {
        padding: 15px 10px;
        font-size: 0.9rem;
    }
    .contact-link,
    .edit-contact-btn {
        min-width: auto;
        padding: 6px 12px;
    }
    .contact-link span,
    .edit-contact-btn span {
        display: none;
    }
    .contact-link,
    .edit-contact-btn {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        justify-content: center;
    }
}
@media (min-width: 769px) {
    .forbes-section {
        display: flex;
        gap: 30px;
    }
    .forbes-tabs {
        flex-direction: column;
        width: 220px;
        flex-shrink: 0;
    }
    .forbes-content {
        flex: 1;
    }
}
@media (max-width: 768px) {
    .leadership-section,
    .forbes-section {
        flex-direction: column;
        padding: 20px;
    }
    .forbes-tabs {
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
    }
    .forbes-tab {
        flex: 1;
        min-width: 45%;
        text-align: center;
        font-size: 0.9rem;
        padding: 12px 8px;
    }
    .forbes-rank, .forbes-player, .forbes-value, .forbes-bank, .forbes-total {
        width: 100%;
        text-align: left;
    }
    .forbes-player {
        font-size: 1.1rem;
    }
    .forbes-header {
        display: none;
    }
    .leadership-table {
        border-radius: 8px;
    }
    .leadership-header {
        display: none;
    }
    .leadership-row {
        flex-direction: column;
        padding: 20px;
        border-bottom: 2px solid rgba(255,255,255,0.1);
        gap: 15px;
    }
    .leadership-row .leadership-cell {
        border: none;
        padding: 0;
        min-height: auto;
        justify-content: flex-start;
        text-align: left;
    }
    .leadership-cell::before {
        content: attr(data-label);
        font-weight: 700;
        color: var(--accent-color);
        min-width: 120px;
        display: inline-block;
    }
    .leadership-nickname::before { content: "Имя: "; }
    .leadership-position::before { content: "Должность: "; }
    .leadership-level::before { content: "Уровень: "; }
    .leadership-contact::before { content: "Связь: "; }
    .leadership-actions::before { content: "Действия: "; }
    .contact-link,
    .edit-contact-btn {
        width: auto;
        min-width: 120px;
        border-radius: 20px;
        justify-content: center;
    }
    .contact-link span,
    .edit-contact-btn span {
        display: inline;
    }
    .modal-content {
        margin: 5% auto;
        width: 95%;
    }
}

/* Мобильное меню */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    gap: 4px;
}
.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--yellow);
    transition: all 0.3s var(--ease);
    border-radius: 2px;
}
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s var(--ease);
}
.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 320px;
    height: 100%;
    background: var(--card-bg);
    z-index: 999;
    transition: right 0.3s var(--ease);
    display: flex;
    flex-direction: column;
    border-left: 1px solid rgba(255,255,255,0.1);
}
.mobile-menu.active {
    right: 0;
}
.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    background: linear-gradient(135deg, rgba(255,215,0,0.1), rgba(255,165,0,0.1));
}
.mobile-user-info {
    display: flex;
    align-items: center;
    gap: 12px;
}
.mobile-user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--black);
    font-size: 1.2rem;
}
.mobile-user-name {
    color: var(--white);
    font-weight: 600;
    font-size: 1rem;
}
.mobile-menu-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
    transition: color 0.3s var(--ease);
}
.mobile-menu-close:hover {
    color: var(--yellow);
}
.mobile-menu-content {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 0;
}
.mobile-menu-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 1rem 1.5rem;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s var(--ease);
    border-left: 3px solid transparent;
}
.mobile-menu-item:hover,
.mobile-menu-item.active {
    background: rgba(255,215,0,0.1);
    border-left-color: var(--yellow);
    color: var(--yellow);
}
.mobile-menu-item i {
    width: 20px;
    text-align: center;
    font-size: 1.1rem;
}
.mobile-menu-item.logout {
    color: #e74c3c;
}
.mobile-menu-item.logout:hover {
    background: rgba(231, 76, 60, 0.1);
    border-left-color: #e74c3c;
}
.mobile-menu-divider {
    height: 1px;
    background: rgba(255,255,255,0.1);
    margin: 1rem 1.5rem;
}
/* Анимация гамбургер-меню */
.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}
.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}
.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}
/* Быстрое меню для мобильных */
.quick-nav {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: none;
    background: rgba(30, 30, 30, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50px;
    padding: 10px;
    z-index: 990;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.quick-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px 12px;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 20px;
    transition: all 0.3s var(--ease);
    min-width: 60px;
}
.quick-nav-item:hover,
.quick-nav-item.active {
    background: rgba(255,215,0,0.1);
    color: var(--yellow);
}
.quick-nav-item i {
    font-size: 1.1rem;
}
.quick-nav-item span {
    font-size: 0.7rem;
    font-weight: 600;
}
/* Кнопка "Наверх" */
.back-to-top {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: var(--yellow);
    color: var(--black);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s var(--ease);
    z-index: 989;
    box-shadow: 0 5px 15px rgba(255,215,0,0.3);
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(255,215,0,0.4);
}
/* Улучшения для тач-устройств */
@media (hover: none) and (pointer: coarse) {
    .stat-card,
    .forbes-tab,
    .mobile-menu-item,
    .quick-nav-item {
        transition: none;
    }
    .stat-card:active,
    .forbes-tab:active,
    .mobile-menu-item:active,
    .quick-nav-item:active {
        transform: scale(0.98);
        opacity: 0.8;
    }
}
/* Предотвращение масштабирования при двойном тапе на iOS */
@media (max-width: 768px) {
    button,
    a,
    input,
    select,
    textarea {
        touch-action: manipulation;
    }
}
/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-links {
        display: none;
    }
    
    .quick-nav {
        display: flex;
        gap: 5px;
    }
    
    .profile-header {
        padding: 2rem 1rem;
        margin-bottom: 2rem;
    }
    
    .profile-header-content {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .profile-main-info {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .player-avatar {
        margin-right: 0;
        width: 100px;
        height: 100px;
        font-size: 2.5rem;
    }
    
    .player-name {
        font-size: 1.8rem;
    }
    
    .player-badges {
        flex-direction: column;
        gap: 0.8rem;
        align-items: center;
    }
    
    .player-prefix,
    .player-admin {
        font-size: 0.8rem;
        padding: 0.4rem 1rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat-card {
        padding: 1.2rem;
    }
    
    .stat-value {
        font-size: 1.5rem;
    }
    
    .leadership-section,
    .forbes-section {
        padding: 1.5rem;
        margin: 2rem 0;
    }
    
    .forbes-tabs {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .forbes-tab {
        padding: 10px 15px;
        font-size: 0.85rem;
        flex: 1;
        min-width: calc(50% - 10px);
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .profile-header {
        padding: 1.5rem 1rem;
    }
    
    .player-name {
        font-size: 1.6rem;
    }
    
    .player-avatar {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }
    
    .player-level {
        font-size: 0.7rem;
        padding: 0.2rem 0.8rem;
    }
    
    .description-card {
        padding: 1rem;
    }
    
    .description-title {
        font-size: 1rem;
    }
    
    .quick-nav {
        bottom: 10px;
        padding: 8px;
    }
    
    .quick-nav-item {
        padding: 6px 8px;
        min-width: 50px;
    }
    
    .quick-nav-item span {
        font-size: 0.65rem;
    }
    
    .back-to-top {
        bottom: 70px;
        right: 15px;
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

/* Cookie уведомление */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.9);
    color: white;
    padding: 20px;
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}
.cookie-consent.show {
    transform: translateY(0);
}
.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}
.cookie-text h4 {
    margin: 0 0 10px 0;
    color: #FFD700;
    display: flex;
    align-items: center;
    gap: 10px;
}
.cookie-text p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}
.cookie-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
}
.cookie-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}
.cookie-btn.accept {
    background: #28a745;
    color: white;
}
.cookie-btn.accept:hover {
    background: #218838;
    transform: translateY(-2px);
}
.cookie-btn.settings {
    background: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
}
.cookie-btn.settings:hover {
    border-color: #FFD700;
    color: #FFD700;
}
.cookie-link {
    color: #FFD700;
    text-decoration: none;
    font-size: 0.85rem;
}
.cookie-link:hover {
    text-decoration: underline;
}
/* Настройки Cookie */
.cookie-settings {
    margin-bottom: 25px;
}
.cookie-setting {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.cookie-setting:last-child {
    border-bottom: none;
    margin-bottom: 0;
}
.cookie-modal .modal-content {
    max-width: 600px;
}
/* Адаптивность */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    .cookie-actions {
        flex-direction: column;
        width: 100%;
    }
    .cookie-btn {
        width: 100%;
        justify-content: center;
    }
    .profile-header-actions {
        margin-left: 0;
        margin-top: 15px;
    }
    .refresh-indicator {
        position: static;
        margin-top: 10px;
        justify-content: center;
    }
}

/* Стили для новостей */
#news {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.05) 0%, rgba(255, 193, 7, 0.02) 100%);
    position: relative;
    overflow: hidden;
}

#news::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--yellow) 0%, transparent 70%);
    opacity: 0.03;
    border-radius: 50%;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.news-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s var(--ease);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 193, 7, 0.1), transparent);
    transition: left 0.6s var(--ease);
}

.news-card:hover::before {
    left: 100%;
}

.news-card:hover {
    transform: translateY(-8px);
    border-color: var(--yellow);
    box-shadow: 0 20px 40px rgba(255, 193, 7, 0.15);
}

.news-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s var(--ease);
}

.news-card:hover .news-card-image img {
    transform: scale(1.05);
}

.image-count-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.news-card-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.news-badge {
    background: linear-gradient(135deg, var(--yellow), #ff8c00);
    color: var(--black);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.news-date {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    font-weight: 500;
}

.news-card-title {
    font-family: 'Druk Wide', sans-serif;
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 1rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-shrink: 0;
}

.news-card-desc {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.news-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: auto;
}

.news-read-more {
    color: var(--yellow);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s var(--ease);
}

.news-card:hover .news-read-more {
    gap: 0.8rem;
}

/* Модальные окна новостей */
.news-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s var(--ease);
}

.news-modal-content {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    margin: 2% auto;
    padding: 0;
    border-radius: 20px;
    width: 90%;
    max-width: 800px;
    max-height: 90vh;
    overflow: hidden;
    border: 1px solid rgba(255, 193, 7, 0.3);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    animation: slideUp 0.4s var(--ease);
}

.news-modal-header {
    background: linear-gradient(135deg, var(--yellow), #ff8c00);
    padding: 1.5rem 2rem;
    position: relative;
}

.news-modal-header h3 {
    color: var(--black);
    font-family: 'Druk Wide', sans-serif;
    font-size: 1.4rem;
    margin: 0;
    padding-right: 3rem;
    line-height: 1.3;
}

.news-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border: none;
    color: var(--black);
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s var(--ease);
    font-size: 1.2rem;
}

.news-modal-close:hover {
    background: rgba(0, 0, 0, 0.5);
    transform: rotate(90deg);
}

.news-modal-body {
    padding: 2rem;
    max-height: calc(90vh - 200px);
    overflow-y: auto;
}

.news-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.news-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.news-meta-item i {
    color: var(--yellow);
    width: 16px;
}

/* Карусель изображений */
.news-images-carousel {
    margin-bottom: 2rem;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.carousel-container {
    position: relative;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
}

.carousel-track {
    display: flex;
    height: 100%;
    transition: transform 0.5s var(--ease);
}

.carousel-slide {
    min-width: 100%;
    height: 100%;
    display: none;
}

.carousel-slide.active {
    display: block;
    animation: fadeIn 0.5s var(--ease);
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: rgba(255, 255, 255, 0.02);
}

.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.7);
    border: none;
    color: white;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s var(--ease);
    backdrop-filter: blur(10px);
    z-index: 10;
    font-size: 1.2rem;
}

.carousel-nav:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: translateY(-50%) scale(1.1);
}

.carousel-nav:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.carousel-prev {
    left: 1rem;
}

.carousel-next {
    right: 1rem;
}

.carousel-indicators {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s var(--ease);
}

.indicator.active {
    background: var(--yellow);
    transform: scale(1.2);
}

.carousel-counter {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.news-full-content {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.7;
    font-size: 1rem;
    margin-bottom: 2rem;
}

.news-external-link {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
}

/* Состояние когда новостей нет */
.no-news {
    text-align: center;
    padding: 4rem 2rem;
    color: rgba(255, 255, 255, 0.5);
}

.no-news i {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.3;
}

.no-news h3 {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1rem;
    font-family: 'Druk Wide', sans-serif;
}

/* Кнопка показа всех новостей */
.news-show-more {
    text-align: center;
    margin-top: 2rem;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--yellow);
    color: var(--yellow);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    transition: all 0.3s var(--ease);
    font-family: 'Druk Wide', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
}

.btn-outline:hover {
    background: var(--yellow);
    color: var(--black);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 193, 7, 0.3);
}

/* Анимации */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .news-card {
        margin-bottom: 1rem;
    }
    
    .news-card-image {
        height: 160px;
    }
    
    .news-card-content {
        padding: 1.2rem;
    }
    
    .news-card-title {
        font-size: 1.1rem;
    }
    
    .news-modal-content {
        width: 95%;
        margin: 5% auto;
        max-height: 85vh;
    }
    
    .news-modal-body {
        padding: 1.5rem;
        max-height: calc(85vh - 150px);
    }
    
    .news-modal-header {
        padding: 1.2rem;
    }
    
    .news-modal-header h3 {
        font-size: 1.2rem;
        padding-right: 2.5rem;
    }
    
    .news-meta {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .news-full-content {
        font-size: 0.95rem;
    }
    
    .carousel-container {
        height: 300px;
    }
    
    .carousel-nav {
        width: 2.5rem;
        height: 2.5rem;
    }
}

@media (max-width: 480px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .news-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .news-badge {
        align-self: flex-start;
    }
    
    .carousel-container {
        height: 250px;
    }
    
    .carousel-nav {
        width: 2rem;
        height: 2rem;
    }
    
    .carousel-prev {
        left: 0.5rem;
    }
    
    .carousel-next {
        right: 0.5rem;
    }
    
    .carousel-counter {
        bottom: 0.5rem;
        right: 0.5rem;
    }
    
    .carousel-indicators {
        bottom: 0.5rem;
    }
}
/* === МОБИЛЬНАЯ АДАПТАЦИЯ ПРОФИЛЯ === */
@media (max-width: 768px) {

    .profile-header-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .profile-main-info {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        gap: 10px;
        width: 100%;
    }

    .player-avatar {
        width: 180px;   /* увеличиваем размер аватара */
        height: 180px;
        margin-bottom: 15px;
    }

    .player-avatar .player-level {
        bottom: 10px;
        right: 10px;
        font-size: 1rem;
        padding: 6px 10px;
    }

    .player-info {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .player-name {
        font-size: 1.6rem;
        margin-bottom: 5px;
    }

    .player-email {
        font-size: 1rem;
    }

    .player-badges {
        justify-content: center;
        flex-wrap: wrap;
    }

    /* Секция описания персонажа тоже по центру */
    .player-description-section {
        text-align: center;
        width: 100%;
        margin-top: 20px;
    }

    .description-card {
        margin: 0 auto;
        max-width: 95%;
    }
}

/* === ПОЛОСА ПРОМОКОДОВ (в стиле GTA / RP) === */
.promo-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  background: linear-gradient(90deg, rgba(20,20,20,0.85), rgba(40,40,40,0.85));
  border-top: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 -3px 15px rgba(0,0,0,0.6);
  padding: 10px 0;
  font-family: 'Orbitron', 'Inter', sans-serif;
  color: #fff;
  white-space: nowrap;
  backdrop-filter: blur(10px);
  z-index: 5;
}

.promo-scroll {
  display: inline-block;
  padding-left: 100%;
  animation: promoScroll 60s linear infinite;
}

.promo-item {
  display: inline-flex;
  align-items: center;
  margin: 0 35px;
  padding: 6px 16px;
  border-radius: 14px;
  background: rgba(255,255,255,0.08);
  box-shadow: 0 0 12px rgba(255, 204, 0, 0.3);
  border: 1px solid rgba(255,255,255,0.1);
  transition: all 0.3s ease;
  font-size: 14px;
  color: #fff;
  text-shadow: 0 0 6px rgba(255, 204, 0, 0.5);
  cursor: pointer;
}

.promo-item:hover {
  transform: scale(1.1);
  background: rgba(255, 204, 0, 0.15);
  box-shadow: 0 0 25px rgba(255,204,0,0.5);
}

.lvl1 { color: #00ff88; font-weight: 600; margin-left: 5px; }
.lvl5 { color: #8c6bff; font-weight: 600; margin-left: 5px; }

/* === СВЕЧЕНИЕ ТЕКСТА ПРОМО === */
.promo-item::before {
  content: '★';
  color: #ffcc00;
  text-shadow: 0 0 10px #ffcc00;
  margin-right: 8px;
}

@keyframes promoScroll {
  0% {transform: translateX(0);}
  100% {transform: translateX(-100%);}
}

.promo-bar:hover .promo-scroll { animation-play-state: paused; }

.modal-bg {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.modals {
  background: #1a1a1a;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 0 30px rgba(255, 204, 0, 0.3);
  border-radius: 14px;
  padding: 30px 40px;
  color: white;
  max-width: 400px;
  text-align: center;
  animation: modalsbg 0.4s ease;
  position: relative;
}
@keyframes modalsbg {
  from {opacity: 0; transform: translateY(20px);}
  to {opacity: 1; transform: translateY(0);}
}
.modal-bg .modal h2 { color: #ffcc00; font-size: 20px; margin-bottom: 10px; }
.modal-bg .modal p { font-size: 14px; color: #ddd; margin-bottom: 15px; }
.copy-btn {
  background: #ffcc00;
  border: none;
  color: #000;
  padding: 8px 18px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: bold;
  transition: 0.2s;
}
.copy-btn:hover { background: #ffdd33; }
.close-modal {
  position: absolute; top: 15px; right: 20px;
  font-size: 22px; color: #fff; cursor: pointer;
}
#loader {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at center, #000000 0%, #111111 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffcc00;
  font-family: 'Orbitron', sans-serif;
  font-size: 24px;
  letter-spacing: 2px;
  z-index: 9999;
  transition: opacity 0.6s ease;
}
#loader.hidden { opacity: 0; pointer-events: none; }

.family-section {
    margin-top: 40px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}
.family-section .section-header {
    text-align: center;
    padding: 25px 0 20px;
    background: linear-gradient(135deg, rgba(255, 180, 0, 0.08), transparent);
    border-bottom: 1px solid rgba(255, 180, 0, 0.15);
}
.family-section .section-header h2 {
    font-family: 'Druk Wide', sans-serif;
    color: var(--yellow);
    font-size: 2rem;
    margin: 0;
}
.family-section .section-header p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    margin-top: 8px;
}
.family-tabs-container {
    display: flex;
    gap: 0;
}
.family-tab-nav {
    width: 220px;
    background: rgba(30, 30, 40, 0.6);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}
.family-tab-btn {
    width: 100%;
    padding: 16px 20px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}
.family-tab-btn:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.05);
}
.family-tab-btn.active {
    color: var(--white);
    background: rgba(255, 180, 0, 0.15);
    border-left-color: var(--yellow);
}
.family-tab-content {
    flex: 1;
    padding: 25px;
    color: var(--white);
}
.family-tab-pane {
    display: none;
}
.family-tab-pane.active {
    display: block;
    animation: fadeIn 0.4s ease;
}
.family-card {
    background: rgba(20, 20, 30, 0.4);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.family-title {
    font-family: 'Druk Wide', sans-serif;
    color: var(--yellow);
    margin-bottom: 15px;
    font-size: 1.4rem;
}
.family-info-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 1.05rem;
}
.family-info-label {
    color: rgba(255, 255, 255, 0.7);
    min-width: 200px;
}
.family-info-value {
    color: var(--white);
    text-align: right;
    font-weight: 600;
}
.family-info-value.owner { color: #FFCC00; }
.family-info-value.deputy { color: #6495ED; }
.family-info-value.success { color: #639a00; }
.family-info-value.error { color: #ff3400; }
.family-info-value.rep { color: #ffff00; }
/* Склад */
.storage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
}
.storage-item {
    background: rgba(30, 30, 40, 0.5);
    padding: 16px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.storage-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin-bottom: 8px;
}
.storage-value {
    font-family: 'Druk Wide', sans-serif;
    font-size: 1.3rem;
    color: var(--yellow);
}
.storage-value.money { color: #00cc66; }
.storage-value.healths { color: #cc99ff; }
.storage-value.patrons { color: #CD7F32; }
.storage-value.coins { color: #FFD83D; }

/* Ранги */
.ranks-table {
    width: 100%;
    border-collapse: collapse;
}
.ranks-table td {
    padding: 12px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.ranks-label {
    color: rgba(255, 255, 255, 0.8);
    width: 60%;
}
.ranks-value {
    color: #63cb00;
    font-weight: 600;
    text-align: right;
}

/* Мобильные */
@media (max-width: 768px) {
    .family-tabs-container {
        flex-direction: column;
    }
    .family-tab-nav {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
    .family-tab-btn {
        padding: 14px;
        font-size: 0.95rem;
    }
}

/* Online Monitor Styles */
.online-monitor-section {
    max-width: 500px;
    margin: 30px auto;
    position: relative;
    z-index: 10;
}

.online-widget {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255, 180, 0, 0.4);
    border-radius: 20px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    box-shadow: 0 10px 40px rgba(255, 180, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.online-widget::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--yellow), #ff8c00);
}

.online-status {
    display: flex;
    align-items: center;
    gap: 12px;
}

.status-indicator {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    animation: pulse 2s infinite;
    position: relative;
}

.status-indicator.online {
    background: #00ff88;
    box-shadow: 0 0 15px #00ff88;
}

.status-indicator.offline {
    background: #ff4444;
    box-shadow: 0 0 15px #ff4444;
}

.status-indicator::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    border: 2px solid;
    opacity: 0.3;
    animation: ripple 2s infinite;
}

.status-indicator.online::after {
    border-color: #00ff88;
}

.status-indicator.offline::after {
    border-color: #ff4444;
}

.server-status {
    font-family: 'Druk Wide', sans-serif;
    font-size: 1rem;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.online-count {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
    justify-content: center;
}

.online-count i {
    color: var(--yellow);
    font-size: 1.2rem;
}

.current-online {
    color: var(--yellow);
    text-shadow: 0 0 10px rgba(255, 180, 0, 0.5);
}

.separator {
    color: rgba(255, 255, 255, 0.5);
}

.max-online {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
}

.server-details {
    display: flex;
    justify-content: space-around;
    gap: 15px;
    flex-wrap: wrap;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.detail-item i {
    color: var(--yellow);
    width: 16px;
}

/* Players List */
.online-players-preview {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 20px;
    margin-top: 15px;
}

.players-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.players-header h4 {
    color: var(--white);
    font-family: 'Druk Wide', sans-serif;
    font-size: 1rem;
    margin: 0;
}

.refresh-btn {
    background: rgba(255, 180, 0, 0.2);
    border: 1px solid var(--yellow);
    color: var(--yellow);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s var(--ease);
}

.refresh-btn:hover {
    background: var(--yellow);
    color: var(--black);
    transform: rotate(180deg);
}

.players-list-scroll {
    max-height: 300px;
    overflow-y: auto;
}

.player-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s var(--ease);
}

.player-item:hover {
    background: rgba(255, 255, 255, 0.05);
    padding-left: 10px;
    padding-right: 10px;
    margin: 0 -10px;
    border-radius: 8px;
}

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

.player-name {
    color: var(--white);
    font-weight: 600;
    flex: 1;
}

.player-stats {
    display: flex;
    gap: 15px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}

.player-score {
    color: var(--yellow);
}

.player-ping {
    color: #00ff88;
    min-width: 50px;
    text-align: right;
}

.more-players {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-style: italic;
    padding: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 10px;
}

/* Animations */
@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

@keyframes ripple {
    0% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.2); opacity: 0.1; }
    100% { transform: scale(1.3); opacity: 0; }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .online-monitor-section {
        margin: 20px auto;
        max-width: 100%;
    }
    
    .online-widget {
        padding: 15px;
        border-radius: 15px;
    }
    
    .online-count {
        font-size: 1.2rem;
    }
    
    .server-details {
        flex-direction: column;
        gap: 8px;
        align-items: center;
    }
    
    .players-list-scroll {
        max-height: 200px;
    }
    
    .player-stats {
        flex-direction: column;
        gap: 5px;
        align-items: flex-end;
    }
}