@font-face {
    font-family: 'BebasNeue-Regular';
    src: url('../assets/fonts/BebasNeue-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'LeoHand';
    src: url('../assets/fonts/ofont.ru_LeoHand.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}


html, body {
    overflow-x: hidden;
    max-width: 100%;
}

html {
  font-size: 16px;
  font-family: 'aaaiight', sans-serif;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  box-sizing: border-box;
}

/* ===== MAIN HERO TITLE ===== */
h1.main-title {
  font-family: 'BebasNeue-Regular', sans-serif;
  font-size: clamp(1.9rem, 4.6vw, 3.2rem);
  letter-spacing: clamp(1px, 0.3vw, 3px);
  line-height: 1.05;
  color: #ffffff;
  text-align: center;
  display: block;
  width: 100%;
  max-width: 95vw;
  margin: clamp(20px, 5vh, 40px) auto 8px;
  font-weight: 400;
  opacity: 0;
  transform: scale(0.9);
  animation: fadeInScale 0.6s ease-out forwards;
  white-space: normal;
}

/* ===== DEFAULT PAGE TITLES ===== */
.page-title {
  font-family: 'BebasNeue-Regular', sans-serif;
  font-size: clamp(1.2rem, 3.2vw, 2.2rem);
  line-height: 1.1;
  color: #ffffff;
  text-align: center;
  margin: 0 auto clamp(15px, 4vh, 25px);
  font-weight: 300;
}

.header .tagline {
  display: block;
  font-family: 'LeoHand', cursive, sans-serif;
  font-size: clamp(1.5rem, 4vw, 2rem);
  letter-spacing: clamp(1px, 0.2vw, 2px);
  color: #ffffff;
  opacity: 0.9;
  text-transform: lowercase;
  line-height: 1.2;
  margin-top: clamp(5px, 1vh, 15px);
  text-align: center;
  white-space: normal;
}

.header .tagline::first-letter {
  text-transform: uppercase;
}

@keyframes fadeInScale {
  0% {
    opacity: 0;
    transform: scale(0.9) translateY(20px);
  }
  70% {
    opacity: 1;
    transform: scale(1.04) translateY(0);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* ===== ЛОГОТИП И МЕНЮ В ЛЕВОМ ВЕРХНЕМ УГЛУ ===== */
/* Единый стиль, синхронизированный с главной страницей (style.css) */

/* Главный контейнер для логотипа и меню */
.header-logo-menu {
  position: fixed;
  top: clamp(15px, 3vh, 30px);
  left: clamp(15px, 3vw, 40px);
  right: clamp(15px, 3vw, 40px);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(10px, 2vw, 20px);
  z-index: 1000;
  background: transparent;
  padding: 0;
}

/* Контейнер для логотипа и текста FIRST PRESS */
.logo-text-container {
  display: flex;
  align-items: center;
  gap: clamp(15px, 3vw, 40px);
  flex-shrink: 0;
}

/* Изображение логотипа */
.header-logo-image {
  width: clamp(45px, 6vw, 80px);
  height: clamp(45px, 6vw, 80px);
  object-fit: contain;
  display: block;
  transform: scale(1.5);
}

/* Надпись FIRST PRESS */
.header-logo-text {
  color: #eea21e;
  font-family: 'BebasNeue-Regular', sans-serif;
  font-size: clamp(20px, 4vw, 42px);
  letter-spacing: clamp(1px, 0.2vw, 2px);
  font-weight: 300;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Контейнер для основного меню */
.header-menu {
  display: flex;
  gap: clamp(15px, 2.5vw, 30px);
  align-items: center;
  margin-left: clamp(15px, 2vw, 40px);
  margin-right: auto;
  flex-wrap: wrap;
}

/* Каждый пункт меню */
.menu-item {
  color: #d0cece;
  font-family: 'BebasNeue-Regular', sans-serif;
  font-size: clamp(18px, 2.2vw, 26px);
  text-decoration: none;
  padding: 0.2em 0;
  transition: color 0.2s ease;
  white-space: nowrap;
}

/* Эффект при наведении на пункт меню */
.menu-item:hover {
  color: #eea21e;
}

/* Кнопка LOGIN в правом углу */
.header-login-btn {
  background: #eea21e;
  color: #000000;
  border: none;
  padding: clamp(5px, 1vh, 8px) clamp(12px, 2vw, 16px);
  font-family: 'BebasNeue-Regular', sans-serif;
  font-size: clamp(16px, 2vw, 24px);
  letter-spacing: clamp(1px, 0.15vw, 1.5px);
  text-transform: uppercase;
  border-radius: clamp(6px, 1vw, 10px);
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
  margin-left: auto;
  margin-right: clamp(15px, 4vw, 50px);
}

/* Эффект при наведении на кнопку LOGIN */
.header-login-btn:hover {
  background: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(238, 162, 30, 0.3);
}

/* Эффект при нажатии на кнопку LOGIN */
.header-login-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(238, 162, 30, 0.2);
}

/* ===== АДАПТИВНОСТЬ (полностью скопирована с style.css) ===== */

/* Планшеты 768-992px */
@media (max-width: 992px) {
  .header-logo-menu {
    top: 15px;
    left: 15px;
    right: 15px;
  }
  
  .logo-text-container {
    gap: 12px;
  }
  
  .header-logo-image {
    width: 50px;
    height: 50px;
  }
  
  .header-logo-text {
    font-size: 26px;
    letter-spacing: 1.5px;
  }
  
  .header-menu {
    gap: 20px;
    margin: 0 15px;
  }
  
  .menu-item {
    font-size: 18px;
  }
  
  .header-login-btn {
    padding: 6px 14px;
    font-size: 18px;
    letter-spacing: 1px;
  }
}

/* Мобильные устройства 576-768px */
@media (max-width: 768px) {
  .header-logo-menu {
    flex-wrap: wrap;
    gap: 10px;
    top: 10px;
    left: 10px;
    right: 10px;
  }
  
  .logo-text-container {
    order: 1;
    flex: 1;
    gap: 10px;
  }
  
  .header-logo-image {
    width: 45px;
    height: 45px;
  }
  
  .header-logo-text {
    font-size: 22px;
    letter-spacing: 1px;
  }
  
  .header-menu {
    order: 3;
    width: 100%;
    justify-content: center;
    margin: 10px 0 0 0;
    gap: 15px;
  }
  
  .menu-item {
    font-size: 16px;
  }
  
  .header-login-btn {
    order: 2;
    padding: 6px 15px;
    font-size: 16px;
    margin-right: 0;
  }
}

/* Маленькие мобильные устройства < 576px */
@media (max-width: 576px) {
  .logo-text-container {
    gap: 8px;
  }
  
  .header-logo-image {
    width: 40px;
    height: 40px;
  }
  
  .header-logo-text {
    font-size: 18px;
  }
  
  .header-menu {
    gap: 12px;
  }
  
  .menu-item {
    font-size: 14px;
  }
  
  .header-login-btn {
    padding: 5px 12px;
    font-size: 14px;
    letter-spacing: 0.8px;
  }
}

/* Для очень маленьких экранов */
@media (max-width: 380px) {
  .header-logo-text {
    font-size: 16px;
  }
  
  .menu-item {
    font-size: 13px;
  }
  
  .header-login-btn {
    padding: 4px 10px;
    font-size: 12px;
  }
}

/* Альбомная ориентация на мобильных */
@media (max-height: 600px) and (orientation: landscape) {
  .header-logo-menu {
    top: 10px;
  }
}

/* Поддержка iOS safe area */
@supports (padding: max(0px)) {
  .header-logo-menu {
    top: max(15px, env(safe-area-inset-top));
    left: max(15px, env(safe-area-inset-left));
    right: max(15px, env(safe-area-inset-right));
  }
}

/* ===== АДАПТИВНОСТЬ ===== */

/* Для планшетов */
@media (max-width: 992px) {
  .header-logo-menu {
    top: 15px; /* Уменьшаем отступ сверху */
    left: 15px; /* Уменьшаем отступ слева */
    right: 15px; /* Уменьшаем отступ справа */
  }
  
  .logo-text-container {
    gap: 12px; /* Уменьшаем расстояние между логотипом и текстом */
  }
  
  .header-logo-image {
    width: 50px; /* Уменьшаем размер логотипа */
    height: 50px; /* Уменьшаем размер логотипа */
  }
  
  .header-logo-text {
    font-size: 26px; /* Уменьшаем размер текста */
    letter-spacing: 1.5px; /* Уменьшаем расстояние между буквами */
  }
  
  .header-menu {
    gap: 20px; /* Уменьшаем расстояние между пунктами меню */
    margin: 0 15px; /* Уменьшаем отступы вокруг меню */
  }
  
  .menu-item {
    font-size: 14px; /* Уменьшаем размер текста меню */
  }
  
  .header-login-btn {
    padding: 8px 20px; /* Уменьшаем размер кнопки */
    font-size: 16px; /* Уменьшаем размер текста кнопки */
    letter-spacing: 1px; /* Уменьшаем расстояние между буквами */
  }
}

/* Для мобильных устройств */
@media (max-width: 768px) {
  .header-logo-menu {
    flex-wrap: wrap; /* Перенос элементов на новую строку при необходимости */
    gap: 15px; /* Расстояние между строками */
    top: 10px; /* Уменьшаем отступ сверху */
    left: 10px; /* Уменьшаем отступ слева */
    right: 10px; /* Уменьшаем отступ справа */
  }
  
  .logo-text-container {
    order: 1; /* Первый элемент */
    flex: 1; /* Занимает всю доступную ширину */
  }
  
  .header-menu {
    order: 3; /* Третий элемент (перемещаем вниз) */
    width: 100%; /* Полная ширина */
    justify-content: center; /* Центрируем меню */
    margin: 10px 0 0 0; /* Отступ сверху */
    gap: 15px; /* Уменьшаем расстояние между пунктами меню */
  }
  
  .header-login-btn {
    order: 2; /* Второй элемент (кнопка справа) */
  }
  
  .header-logo-text {
    font-size: 22px; /* Уменьшаем размер текста */
    letter-spacing: 1px; /* Уменьшаем расстояние между буквами */
  }
  
  .menu-item {
    font-size: 13px; /* Уменьшаем размер текста меню */
  }
  
  .header-login-btn {
    padding: 6px 15px; /* Уменьшаем размер кнопки */
    font-size: 14px; /* Уменьшаем размер текста кнопки */
  }
}

/* Для маленьких мобильных устройств */
@media (max-width: 480px) {
  .logo-text-container {
    gap: 8px; /* Уменьшаем расстояние между логотипом и текстом */
  }
  
  .header-logo-image {
    width: 40px; /* Уменьшаем размер логотипа */
    height: 40px; /* Уменьшаем размер логотипа */
  }
  
  .header-logo-text {
    font-size: 18px; /* Уменьшаем размер текста */
  }
  
  .header-menu {
    gap: 10px; /* Уменьшаем расстояние между пунктами меню */
  }
  
  .menu-item {
    font-size: 12px; /* Уменьшаем размер текста меню */
  }
  
  .header-login-btn {
    padding: 5px 12px; /* Уменьшаем размер кнопки */
    font-size: 12px; /* Уменьшаем размер текста кнопки */
    letter-spacing: 0.5px; /* Уменьшаем расстояние между буквами */
  }
}



/* Выпадающее меню профиля */
.profile-dropdown {
    position: fixed;
    top: 90px;
    right: 50px;
    background: linear-gradient(145deg, #0a0a0a 0%, #1a1a1a 100%);
    border: 2px solid #eea21e;
    border-radius: 12px;
    width: 280px;
    z-index: 2000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    overflow: hidden;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from { 
        opacity: 0;
        transform: translateY(-10px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-header {
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(238, 162, 30, 0.1);
    border-bottom: 1px solid rgba(238, 162, 30, 0.2);
}

.dropdown-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #fe2b0d, #eea21e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: bold;
    color: black;
    font-family: 'BebasNeue-Regular', sans-serif;
}

.dropdown-user-info {
    flex: 1;
}

.dropdown-username {
    color: #eea21e;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 3px;
    font-family: 'BebasNeue-Regular', sans-serif;
    letter-spacing: 1px;
}

.dropdown-email {
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    font-family: 'aaaiight', sans-serif;
    word-break: break-word;
}

.dropdown-divider {
    height: 1px;
    background: rgba(238, 162, 30, 0.2);
    margin: 0 20px;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: 'BebasNeue-Regular', sans-serif;
    font-size: 16px;
    letter-spacing: 1px;
    border-left: 3px solid transparent;
}

.dropdown-item i {
    font-size: 18px;
    width: 24px;
    color: #eea21e;
}

.dropdown-item:hover {
    background: rgba(238, 162, 30, 0.1);
    color: #eea21e;
    border-left-color: #eea21e;
    padding-left: 23px;
}

/* Адаптивность для выпадающего меню */
@media (max-width: 768px) {
    .profile-dropdown {
        top: 70px;
        right: 15px;
        width: 250px;
    }
}

/* ===== Стили для модалки редактирования профиля ===== */
.edit-modal {
  max-width: 400px !important; /* Компактнее */
  margin: 30px auto !important; /* Центрируем */
}

.edit-form {
  padding: 0 15px;
}

/* Аватар */
.avatar-section {
  text-align: center;
  margin-bottom: 25px;
}

.avatar-preview {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #fe2b0d, #eea21e);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: bold;
  color: black;
  border: 3px solid #eea21e;
  cursor: pointer;
  transition: transform 0.3s ease;
  margin-bottom: 10px;
}

.avatar-preview:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(238, 162, 30, 0.5);
}

.avatar-hint {
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  font-family: 'aaaiight', sans-serif;
  margin-top: 5px;
}

/* Компактные поля ввода */
.form-group.compact {
  margin-bottom: 15px;
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 15px;
  color: #eea21e;
  font-size: 16px;
  z-index: 2;
}

.rap-input.compact-input {
  padding: 12px 15px 12px 45px !important;
  font-size: 14px !important;
  height: 45px !important;
  background: rgba(255, 255, 255, 0.07) !important;
  border: 1px solid rgba(238, 162, 30, 0.2) !important;
}

.rap-input.compact-input:focus {
  border-color: #eea21e !important;
  background: rgba(238, 162, 30, 0.05) !important;
  box-shadow: 0 0 15px rgba(238, 162, 30, 0.1) !important;
}

.rap-input.compact-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
  font-size: 13px;
}

/* Кнопка сохранения */
.rap-btn.save-btn.compact {
  padding: 14px !important;
  font-size: 16px !important;
  min-height: 50px !important;
  margin-top: 20px !important;
  background: linear-gradient(135deg, #fe2b0d 0%, #eea21e 100%) !important;
  border: none !important;
}

.rap-btn.save-btn.compact .btn-text {
  font-size: 16px !important;
  letter-spacing: 2px !important;
}

/* Адаптивность для модалки редактирования */
@media (max-width: 768px) {
  .edit-modal {
    width: 95% !important;
    max-width: 350px !important;
    margin: 20px auto !important;
  }
  
  .avatar-preview {
    width: 70px;
    height: 70px;
    font-size: 28px;
  }
  
  .rap-input.compact-input {
    padding: 10px 15px 10px 40px !important;
    font-size: 13px !important;
    height: 42px !important;
  }
  
  .input-icon {
    font-size: 14px;
    left: 12px;
  }
}

@media (max-width: 480px) {
  .edit-modal {
    max-width: 320px !important;
    margin: 15px auto !important;
  }
  
  .avatar-preview {
    width: 60px;
    height: 60px;
    font-size: 24px;
  }
  
  .rap-input.compact-input {
    padding: 9px 12px 9px 38px !important;
    font-size: 12px !important;
    height: 40px !important;
  }
  
  .rap-btn.save-btn.compact {
    padding: 12px !important;
    font-size: 14px !important;
    min-height: 45px !important;
  }
}

.header {
  min-height: 100vh;
  background-image: url(../assets/images/leader.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  position: relative;
}



/* ===== ЗАГОЛОВОК LEADERBOARD ПОВЕРХ ФОНА ===== */
.leaderboard-title-container {
    position: absolute;
    top: 120px;
    left: 40px;  /* Фиксированный отступ, пока не победим адаптив */
    z-index: 10;
    width: auto;
    text-align: left;
    pointer-events: none;
}

.leaderboard-main-title {
    font-family: 'BebasNeue-Regular', sans-serif;
    font-size: clamp(28px, 3.8vw, 90px);
    font-weight: 300;
    color: #eea21e;
    margin: 0;
    line-height: 0.8;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.leaderboard-subtitle {
    font-family: 'LeoHand', cursive, sans-serif;
    font-size: 26px;  /* Жесткий размер */
    color: #ffffff;
    margin: 0;
    padding-left: 5px;
    letter-spacing: 1.5px;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.7);
}

/* Адаптивность, если экран маленький */
@media (max-width: 1200px) {
    .leaderboard-main-title {
        font-size: 100px;
    }
    .leaderboard-subtitle {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .leaderboard-title-container {
        top: 140px;
        left: 20px;
    }
    .leaderboard-main-title {
        font-size: 70px;
    }
    .leaderboard-subtitle {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .leaderboard-main-title {
        font-size: 50px;
    }
    .leaderboard-subtitle {
        font-size: 18px;
        padding-left: 3px;
    }
}



/* ===== LEADERBOARD PODIUM (НА ФОНЕ) ===== */
.leaderboard-podium {
    position: absolute;        /* Позиционируем поверх фона */
    bottom: 5%;               /* Отступ от низа секции */
    left: 0;
    width: 100%;
    z-index: 20;               /* Чтобы было выше фона */
    padding: 20px 20px 30px 20px;
    pointer-events: auto;      /* Чтобы можно было наводить и нажимать */
}

/* Контейнер для пьедестала */
/* Контейнер для пьедестала */
.podium-container {
    display: flex;
    align-items: flex-end;
    justify-content: flex-start; /* Было center, стало flex-start */
    gap: clamp(5px, 1.5vw, 20px);
    max-width: 1200px;
    margin: 0; /* Убрали margin: 0 auto (было для центрирования) */
    flex-wrap: wrap;
    padding-left: 20px; /* Добавили небольшой отступ от левого края */
}

/* Каждый элемент пьедестала */
.podium-item {
    flex: 1 1 140px;
    min-width: 110px;
    max-width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    transition: transform 0.3s ease;
}

.podium-item:hover {
    transform: translateY(-10px);
}

/* Информация об MC */
.mc-info {
    margin-bottom: 10px;
    color: #fff;
    font-family: 'BebasNeue-Regular', sans-serif;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);  /* Затемненный фон для читаемости */
    padding: 8px 5px;
    border-radius: 30px 30px 0 0;
    border: 2px solid #eea21e;
    border-bottom: none;
    backdrop-filter: blur(4px);
    z-index: 3;
}

/* Стили для ранга и побед */
.mc-rank-badge {
    font-size: clamp(10px, 2vw, 14px);
    color: #eea21e;
    display: block;
    background: rgba(0, 0, 0, 0.5);
    padding: 2px 8px;
    border-radius: 12px;
    margin: 4px 0 2px;
    letter-spacing: 0.5px;
    border: 1px solid rgba(238, 162, 30, 0.3);
    font-family: 'BebasNeue-Regular', sans-serif;
}

.mc-wins {
    font-size: clamp(9px, 1.8vw, 12px);
    color: #ffffff;
    display: block;
    opacity: 0.9;
    font-family: 'aaaiight', sans-serif;
    letter-spacing: 0.5px;
}

/* Статистика внутри бара */
.podium-bar .mc-stats-row {
    margin: 10px 0 5px 0;     /* Отступы сверху и снизу */
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.podium-bar .mc-stat-item {
    font-size: clamp(10px, 1.8vw, 13px);
    padding: 4px 12px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 20px;
    white-space: nowrap;
    border: 1px solid rgba(238, 162, 30, 0.3);
}

/* Третий элемент (likes) - оранжевый */
.podium-bar .mc-stat-item:last-child {
    color: #eea21e;
    border-color: rgba(238, 162, 30, 0.4);
    background: rgba(238, 162, 30, 0.15);
}

/* Battles - голубоватый оттенок */
.podium-bar .mc-stat-item:first-child {
    color: #aaccff;
    border-color: rgba(170, 204, 255, 0.3);
}

/* Wins - зеленоватый оттенок */
.podium-bar .mc-stat-item:nth-child(2) {
    color: #aaffaa;
    border-color: rgba(170, 255, 170, 0.3);
}

/* Медиа-запросы для мобильных */
@media (max-width: 768px) {
    .podium-bar .mc-stats-row {
        gap: 3px;
        margin: 8px 0 3px 0;
    }
    
    .podium-bar .mc-stat-item {
        font-size: 8px;
        padding: 3px 8px;
    }
}

@media (max-width: 480px) {
    .podium-bar .mc-stats-row {
        gap: 2px;
        margin: 5px 0 2px 0;
    }
    
    .podium-bar .mc-stat-item {
        font-size: 7px;
        padding: 2px 6px;
    }
}


/* Адаптация для мобильных */
@media (max-width: 768px) {
    .mc-stats-row {
        gap: 3px;
    }
    
    .mc-stat-item {
        font-size: 7px;
        padding: 1px 4px;
    }
}

@media (max-width: 480px) {
    .mc-stats-row {
        flex-direction: column;  /* На очень маленьких экранах опять в колонку */
        gap: 2px;
        align-items: center;
    }
    
    .mc-stat-item {
        font-size: 8px;
        width: fit-content;
    }
}

/* Аватарки на трибуне */
.mc-avatar-podium {
    width: clamp(35px, 6vw, 50px);
    height: clamp(35px, 6vw, 50px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: clamp(18px, 3vw, 24px);
    color: black;
    border: 3px solid #eea21e;
    margin-bottom: 5px;
    box-shadow: 0 0 15px rgba(238, 162, 30, 0.5);
}

/* Для первого места особая анимация */
.podium-item.first .mc-avatar-podium {
    border-color: gold;
    box-shadow: 0 0 20px gold;
    animation: glowPulse 2s infinite;
}

@keyframes glowPulse {
    0%, 100% { box-shadow: 0 0 15px gold; }
    50% { box-shadow: 0 0 25px #ffaa00; }
}

/* Обновляем .mc-info для центрирования аватарки */
.mc-info {
    margin-bottom: 10px;
    color: #fff;
    font-family: 'BebasNeue-Regular', sans-serif;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    padding: 12px 5px 8px;  /* Увеличили верхний padding */
    border-radius: 30px 30px 0 0;
    border: 2px solid #eea21e;
    border-bottom: none;
    backdrop-filter: blur(4px);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Убираем старый mc-rank так как он больше не нужен */
.mc-rank {
    display: none;
}

/* Адаптация для мобильных */
@media (max-width: 768px) {
    .mc-avatar-podium {
        width: 30px;
        height: 30px;
        font-size: 16px;
        border-width: 2px;
    }
}

@media (max-width: 480px) {
    .mc-avatar-podium {
        width: 25px;
        height: 25px;
        font-size: 14px;
    }
}

/* Обновляем существующий .mc-info для вертикального расположения */
.mc-info {
    margin-bottom: 10px;
    color: #fff;
    font-family: 'BebasNeue-Regular', sans-serif;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    padding: 8px 5px;
    border-radius: 30px 30px 0 0;
    border: 2px solid #eea21e;
    border-bottom: none;
    backdrop-filter: blur(4px);
    z-index: 3;
    display: flex;           /* Добавлено */
    flex-direction: column;  /* Добавлено - вертикальное расположение */
    align-items: center;     /* Добавлено */
    text-align: center;      /* Добавлено */
}

.mc-rank {
    font-size: clamp(18px, 4vw, 24px);
    color: #eea21e;
    display: block;
    line-height: 1;
    text-shadow: 0 0 8px rgba(238, 162, 30, 0.5);
}

.mc-name {
    font-size: clamp(14px, 3vw, 18px);
    letter-spacing: 1px;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #fff;
}



/* Высота баров */
.bar-1 { height: 290px; background: rgba(74, 58, 26, 0.9); }
.bar-2 { height: 230px; background: rgba(63, 63, 63, 0.9); }
.bar-3 { height: 210px; background: rgba(63, 58, 42, 0.9); }
.bar-4 { height: 170px; background: rgba(47, 47, 47, 0.9); }
.bar-5 { height: 160px; background: rgba(47, 47, 47, 0.9); }

/* Очки внутри бара */
.podium-bar {
    width: 100%;
    background: rgba(34, 34, 34, 0.9);
    border: 2px solid #eea21e;
    border-top: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;  /* Изменили с center на flex-start */
    box-sizing: border-box;
    position: relative;
    border-radius: 0 0 15px 15px;
    box-shadow: 0 10px 0 rgba(15, 15, 15, 0.5);
    transition: height 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(4px);
    padding: 15px 0 0 0;  /* Отступ сверху для статистики */
}

.mc-points {
    color: #eea21e;
    font-family: 'BebasNeue-Regular', sans-serif;
    font-size: clamp(18px, 3vw, 28px);
    font-weight: 700;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.8), 0 0 15px rgba(238, 162, 30, 0.5);
    letter-spacing: 2px;
    background: linear-gradient(to top, rgba(238, 162, 30, 0.3) 0%, rgba(238, 162, 30, 0.1) 50%, rgba(238, 162, 30, 0) 100%);
    padding: 8px 15px 5px;
    border-top: 2px solid #eea21e;
    margin: 0;
    text-align: center;
    line-height: 1;
    border-radius: 10px 10px 0 0;
    width: 100%;
    box-sizing: border-box;
    align-self: flex-end;     /* Прижимаем к низу */
}

/* Статистика внутри бара */
.podium-bar .mc-stats-row {
    margin: 0 0 10px 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    flex: 1;  /* Занимает все доступное пространство */
    justify-content: center;  /* Центрирует статистику по вертикали */
}

.podium-bar .mc-stat-item {
    font-size: clamp(10px, 1.8vw, 13px);
    padding: 4px 12px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 20px;
    white-space: nowrap;
    border: 1px solid rgba(238, 162, 30, 0.3);
    width: fit-content;
    text-align: center;
}

.mc-points {
    color: #eea21e;
    font-family: 'BebasNeue-Regular', sans-serif;
    font-size: clamp(18px, 3vw, 28px);
    font-weight: 700;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.8), 0 0 15px rgba(238, 162, 30, 0.5);
    letter-spacing: 2px;
    background: linear-gradient(to top, rgba(238, 162, 30, 0.2) 0%, transparent 80%);
    padding: 5px 15px 3px;
    border-top: 1px solid rgba(238, 162, 30, 0.4);
    margin: 5px 0 0 0;
    text-align: center;
    line-height: 1;
    border-radius: 10px 10px 0 0;
    width: 100%;
    box-sizing: border-box;
}

/* Для мобильных устройств чуть меньше */
@media (max-width: 768px) {
    .mc-points {
        font-size: clamp(16px, 4vw, 22px);
        padding: 4px 10px 4px;
        border-top-width: 2px;
    }
}

/* Для очень маленьких экранов */
@media (max-width: 480px) {
    .mc-points {
        font-size: 14px;
        padding: 3px 8px 3px;
        letter-spacing: 1px;
    }
}

/* Корона */
.crown {
    font-size: 32px;
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    filter: drop-shadow(0 0 5px gold);
    z-index: 10;
    animation: float 2s infinite ease-in-out;
}

@keyframes float {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

/* Адаптация для мобильных */
@media (max-width: 992px) {
    .leaderboard-podium {
        bottom: 10%;
    }
}

@media (max-width: 768px) {
    .leaderboard-podium {
        bottom: 8%;
        padding: 15px 10px;
        backdrop-filter: blur(1px);
    }
    
    .podium-container {
        gap: 5px;
    }
    
    .podium-item {
        min-width: 70px;
        flex-basis: 70px;
    }
    
    .mc-name {
        font-size: 11px;
        white-space: normal;
        word-break: break-word;
    }
    
    .mc-rank {
        font-size: 16px;
    }
    
    .bar-1 { height: 120px; }
    .bar-2 { height: 100px; }
    .bar-3 { height: 85px; }
    .bar-4 { height: 70px; }
    .bar-5 { height: 55px; }
    
    .crown {
        font-size: 24px;
        top: -20px;
    }
}

@media (max-width: 480px) {
    .leaderboard-podium {
        bottom: 5%;
    }
    
    .podium-container {
        gap: 3px;
    }
    
    .podium-item {
        min-width: 55px;
    }
    
    .mc-info {
        padding: 4px 2px;
    }
    
    .mc-name {
        font-size: 9px;
    }
    
    .mc-rank {
        font-size: 14px;
    }
}

/* Для очень высоких экранов */
@media (min-height: 1000px) {
    .leaderboard-podium {
        bottom: 20%;
    }
}

/* Альбомная ориентация */
@media (max-height: 600px) and (orientation: landscape) {
    .leaderboard-podium {
        bottom: 5%;
    }
    
    .bar-1 { height: 100px; }
    .bar-2 { height: 80px; }
    .bar-3 { height: 70px; }
    .bar-4 { height: 60px; }
    .bar-5 { height: 50px; }
}




/* ===== ТАБЛИЦА ЛИДЕРОВ СПРАВА ===== */
.leaderboard-table-container {
    position: absolute;
    top: 150px;
    right: 40px;
    width: 380px;
    z-index: 30;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(10px);
    border: 2px solid #eea21e;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
    font-family: 'BebasNeue-Regular', sans-serif;
}

/* Переключатели Season / All-time */
.table-header {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(238, 162, 30, 0.3);
    padding-bottom: 15px;
}

.season-btn, .alltime-btn {
    background: transparent;
    border: 2px solid #eea21e;
    color: white;
    padding: 8px 20px;
    font-family: 'BebasNeue-Regular', sans-serif;
    font-size: 18px;
    letter-spacing: 1px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
}

.season-btn.active, .alltime-btn.active {
    background: #eea21e;
    color: black;
    font-weight: bold;
}

.season-btn:hover, .alltime-btn:hover {
    background: rgba(238, 162, 30, 0.3);
}

/* Таблица */
.leaderboard-table {
    width: 100%;
    border-collapse: collapse;
    color: white;
}

.leaderboard-table th {
    text-align: left;
    padding: 10px 5px;
    font-size: 16px;
    color: #eea21e;
    letter-spacing: 1px;
    border-bottom: 1px solid rgba(238, 162, 30, 0.3);
    font-weight: normal;
}

.leaderboard-table td {
    padding: 12px 5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 15px;
    vertical-align: middle;
}

.leaderboard-table tr:last-child td {
    border-bottom: none;
}

.leaderboard-table .rank {
    font-weight: bold;
    color: #eea21e;
    width: 40px;
}

/* Ячейка с MC */
.mc-cell {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mc-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
    color: black;
    flex-shrink: 0;
    border: 2px solid #eea21e;
}

.mc-info-cell {
    display: flex;
    flex-direction: column;
}

.mc-name-cell {
    font-size: 16px;
    font-weight: bold;
    color: white;
    line-height: 1.2;
}

.mc-rank-cell {
    font-size: 11px;
    color: #eea21e;
    opacity: 0.9;
    letter-spacing: 0.5px;
}

/* Числовые значения */
.leaderboard-table td:nth-child(3),
.leaderboard-table td:nth-child(4),
.leaderboard-table td:nth-child(5) {
    font-family: 'aaaiight', sans-serif;
    color: rgba(255, 255, 255, 0.9);
}

/* Адаптивность */
@media (max-width: 1400px) {
    .leaderboard-table-container {
        width: 320px;
        right: 20px;
    }
}

@media (max-width: 1200px) {
    .leaderboard-table-container {
        position: static;
        width: 90%;
        margin: 30px auto 0;
        top: auto;
        right: auto;
    }
    
    .header {
        min-height: auto;
        padding-bottom: 50px;
    }
    
    .leaderboard-podium {
        position: relative;
        bottom: auto;
        margin-top: 200px;
    }
}

@media (max-width: 768px) {
    .leaderboard-table-container {
        padding: 15px;
    }
    
    .leaderboard-table th {
        font-size: 14px;
    }
    
    .leaderboard-table td {
        font-size: 13px;
        padding: 8px 3px;
    }
    
    .mc-avatar {
        width: 28px;
        height: 28px;
        font-size: 14px;
    }
    
    .mc-name-cell {
        font-size: 14px;
    }
    
    .mc-rank-cell {
        font-size: 10px;
    }
}



/* ========== RAP STYLE MODALS ========== */
.modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(5px);
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.rap-modal {
  position: relative;
  background: linear-gradient(145deg, 
    #0a0a0a 0%,
    #1a1a1a 30%,
    #0f0f0f 100%);
  border: 3px solid #eea21e;
  border-radius: 20px;
  width: 90%;
  max-width: 500px;
  margin: 50px auto;
  padding: 0;
  overflow: hidden;
  box-shadow: 
    0 0 50px rgba(238, 162, 30, 0.3),
    0 20px 60px rgba(0, 0, 0, 0.8);
  font-family: 'BebasNeue-Regular', sans-serif;
}

.profile-modal {
  max-width: 600px;
}

.modal-header {
  background: linear-gradient(90deg, 
    rgba(254, 43, 13, 0.2) 0%,
    rgba(238, 162, 30, 0.2) 100%);
  padding: 25px 30px 15px;
  position: relative;
  border-bottom: 2px solid rgba(238, 162, 30, 0.3);
}

/* Винтажная виниловая пластинка */
.vinyl {
  position: relative;
  width: 80px;
  height: 80px;
  background: radial-gradient(
    circle at center,
    #222 0%,
    #111 30%,
    #000 70%
  );
  border-radius: 50%;
  margin: 0 auto 20px;
  box-shadow: 
    inset 0 0 30px rgba(0, 0, 0, 0.8),
    0 5px 15px rgba(0, 0, 0, 0.6);
  border: 4px solid #333;
}

.vinyl::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70%;
  height: 70%;
  background: repeating-radial-gradient(
    circle at center,
    transparent,
    transparent 5px,
    rgba(255,255,255,0.03) 5px,
    rgba(255,255,255,0.03) 10px
  );
  border-radius: 50%;
}

.vinyl-hole {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 12px;
  height: 12px;
  background: #000;
  border: 2px solid #eea21e;
  border-radius: 50%;
  z-index: 2;
}

.vinyl-lines {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60%;
  height: 60%;
  border-radius: 50%;
  background: 
    repeating-conic-gradient(
      from 0deg,
      transparent 0deg 20deg,
      rgba(238, 162, 30, 0.1) 20deg 40deg
    );
  animation: spin 20s linear infinite;
}

@keyframes spin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.vinyl-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #eea21e;
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 3px;
  text-transform: uppercase;
  z-index: 3;
  text-shadow: 0 0 10px rgba(238, 162, 30, 0.5);
  background: rgba(0, 0, 0, 0.7);
  padding: 5px 15px;
  border-radius: 20px;
  border: 1px solid rgba(238, 162, 30, 0.3);
}

.close {
  position: absolute;
  top: 20px;
  right: 25px;
  color: #eea21e;
  font-size: 36px;
  font-weight: normal;
  cursor: pointer;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(238, 162, 30, 0.3);
}

.close:hover {
  color: #fe2b0d;
  transform: rotate(90deg);
  background: rgba(238, 162, 30, 0.1);
}

.modal-body {
  padding: 30px;
}

/* Формы в стиле 90-х */
.rap-form {
  padding: 10px;
}

.form-group {
  margin-bottom: 25px;
  position: relative;
}

.tag-label {
  display: block;
  margin-bottom: 10px;
}

.tag-bg {
  display: inline-block;
  background: linear-gradient(90deg, #fe2b0d, #eea21e);
  color: black;
  padding: 6px 18px;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 4px;
  font-weight: bold;
  box-shadow: 0 2px 8px rgba(254, 43, 13, 0.3);
}

.rap-input {
  width: 100%;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(238, 162, 30, 0.3);
  border-radius: 10px;
  color: white;
  font-family: 'aaaiight', sans-serif;
  font-size: 16px;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.rap-input:focus {
  outline: none;
  border-color: #eea21e;
  background: rgba(238, 162, 30, 0.05);
  box-shadow: 0 0 20px rgba(238, 162, 30, 0.2);
}

.rap-input::placeholder {
  color: rgba(255, 255, 255, 0.3);
  font-style: italic;
}

.input-hint {
  color: rgba(255, 255, 255, 0.4);
  font-size: 12px;
  margin-top: 5px;
  font-family: 'aaaiight', sans-serif;
  letter-spacing: 0.5px;
}

/* Кнопки в стиле хип-хоп */
.rap-btn {
  width: 100%;
  padding: 20px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  font-family: 'BebasNeue-Regular', sans-serif;
  font-size: 22px;
  letter-spacing: 3px;
  text-transform: uppercase;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 70px;
}

.register-btn {
  background: linear-gradient(135deg, 
    #fe2b0d 0%,
    #eea21e 50%,
    #fe2b0d 100%);
  color: black;
  background-size: 200% 100%;
  animation: gradientShift 3s ease infinite;
}

.login-btn {
  background: linear-gradient(135deg, 
    #222 0%,
    #444 50%,
    #222 100%);
  color: #eea21e;
  border: 2px solid #eea21e;
}

.logout-btn {
  background: linear-gradient(135deg, 
    #333 0%,
    #555 50%,
    #333 100%);
  color: white;
  border: 2px solid rgba(255,255,255,0.1);
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.rap-btn:hover {
  transform: translateY(-3px);
  box-shadow: 
    0 10px 25px rgba(238, 162, 30, 0.4),
    0 0 30px rgba(254, 43, 13, 0.3);
}

.rap-btn:active {
  transform: translateY(-1px);
}

.btn-text {
  font-size: 20px;
  font-weight: bold;
  display: block;
}

.btn-subtext {
  font-size: 14px;
  opacity: 0.8;
  margin-top: 4px;
  letter-spacing: 1px;
}

/* Сообщения об ошибках */
.error-message {
  background: rgba(254, 43, 13, 0.1);
  border: 1px solid rgba(254, 43, 13, 0.3);
  color: #ff6b35;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-family: 'aaaiight', sans-serif;
  font-size: 14px;
  display: none;
  animation: shake 0.5s ease;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}

.modal-footer {
  text-align: center;
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.switch-text {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  font-family: 'aaaiight', sans-serif;
}

.switch-link {
  color: #eea21e;
  text-decoration: none;
  font-weight: bold;
  margin-left: 5px;
  transition: all 0.3s ease;
  position: relative;
}

.switch-link:hover {
  color: #fe2b0d;
  text-decoration: none;
}

.switch-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: #eea21e;
  transition: width 0.3s ease;
}

.switch-link:hover::after {
  width: 100%;
}

/* Стили для профиля */
.profile-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}

.profile-avatar {
  position: relative;
}

.avatar-circle {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #fe2b0d, #eea21e);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: bold;
  color: black;
  border: 3px solid rgba(255, 255, 255, 0.2);
}

.avatar-glow {
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  background: linear-gradient(135deg, 
    rgba(254, 43, 13, 0.3),
    rgba(238, 162, 30, 0.3));
  border-radius: 50%;
  z-index: -1;
  animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.05); }
}

.profile-info {
  flex: 1;
}

.profile-name {
  color: #eea21e;
  font-size: 28px;
  margin: 0 0 5px 0;
  letter-spacing: 2px;
}

.profile-email {
  color: rgba(255, 255, 255, 0.6);
  font-family: 'aaaiight', sans-serif;
  margin: 0 0 10px 0;
  font-size: 14px;
}

.profile-badge {
  display: inline-block;
  background: linear-gradient(90deg, #333, #555);
  color: #eea21e;
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  letter-spacing: 1px;
  border: 1px solid rgba(238, 162, 30, 0.3);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-bottom: 30px;
}

.stat-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(238, 162, 30, 0.1);
  border-radius: 10px;
  padding: 15px;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-3px);
  border-color: rgba(238, 162, 30, 0.3);
  background: rgba(255, 255, 255, 0.08);
}

.stat-value {
  font-size: 28px;
  font-weight: bold;
  color: #eea21e;
  margin-bottom: 5px;
  text-shadow: 0 0 10px rgba(238, 162, 30, 0.3);
}

.stat-label {
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.stat-bar {
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
}

.stat-progress {
  height: 100%;
  background: linear-gradient(90deg, #fe2b0d, #eea21e);
  border-radius: 2px;
}

.stat-icon {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 20px;
  opacity: 0.3;
}

.profile-details {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 25px;
}

.detail-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.detail-item:last-child {
  border-bottom: none;
}

.detail-label {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  font-family: 'aaaiight', sans-serif;
}

.detail-value {
  color: #eea21e;
  font-size: 14px;
  font-weight: bold;
}

.status-badge {
  background: linear-gradient(90deg, #333, #555);
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  letter-spacing: 1px;
  border: 1px solid rgba(238, 162, 30, 0.3);
}

.modal-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at center,
    rgba(238, 162, 30, 0.1) 0%,
    transparent 70%
  );
  pointer-events: none;
  z-index: -1;
}

/* Адаптивность */
@media (max-width: 768px) {
  .rap-modal {
    width: 95%;
    margin: 20px auto;
  }
  
  .modal-header {
    padding: 20px 15px 10px;
  }
  
  .modal-body {
    padding: 20px;
  }
  
  .vinyl {
    width: 60px;
    height: 60px;
  }
  
  .vinyl-label {
    font-size: 12px;
    padding: 3px 10px;
  }
  
  .rap-btn {
    padding: 15px;
    font-size: 18px;
    min-height: 60px;
  }
  
  .btn-text {
    font-size: 18px;
  }
  
  .profile-header {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .modal-header {
    padding: 15px 10px 5px;
  }
  
  .modal-body {
    padding: 15px;
  }
  
  .rap-input {
    padding: 12px 15px;
    font-size: 14px;
  }
  
  .rap-btn {
    padding: 12px;
    font-size: 16px;
    min-height: 55px;
  }
}



.footer {
  background-color: black;
  padding: 4em;
  text-align: center;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-left {
  color: white;
  font-size: 16px;
  flex: 1;
  text-align: left;
  font-family: 'Open Sans', Arial, sans-serif;
}

.copyright {
  color: #888;
  font-weight: normal;
}

.brand {
  color: white; 
  font-weight: bold; 
  letter-spacing: 0px;
  white-space: nowrap;
  font-family: 'Open Sans', Arial, sans-serif;
  font-size: 17px;
}

.footer-center {
  flex: 1;
  text-align: center;
}

.music-icon {
  width: 100px;
  height: 100px;
}

.footer-right {
  flex: 1;
  text-align: right;
}

.copy-text {
  color: white;
  text-decoration: none;
}

.social {
  display: inline-block;
  font-size: 20px;
}

.social a {
  margin-right: 30px;
  text-decoration: none;
}

.social a:last-child {
  margin-right: 0;
}

.bi {
  cursor: pointer;
  text-decoration: none;
  color: white;
}
