@import url('https://fonts.googleapis.com/css2?family=Unbounded:wght@200..900&display=swap');

::-webkit-scrollbar {
    width: 3px;
    height: 3px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(90deg, #e73c7e, #23a6d5, #e73c7e);
}

* {
    box-sizing: border-box;
    scroll-behavior: smooth;
    -webkit-user-select: none;
    /* Chrome, Safari, Opera */
    -moz-user-select: none;
    /* Firefox */
    -ms-user-select: none;
    /* Internet Explorer/Edge */
    user-select: none;
    /* Non-prefixed version */
}

body {
    background: #0d0d10;
    color: #fff;
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    opacity: 0;
    transform: translateY(15px);
    transition: all 0.6s ease;
}

body.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* Плавная загрузка видео с превью */
#bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    transition: opacity 0.8s ease;
}

body.video-fallback::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('media/video-background-preview.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -3;
}

.bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 5, 5, 0.9);
    z-index: -1;
    pointer-events: none;
}

a.btn-home {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

.menu a,
.menu-mobile a {
    font-family: 'Unbounded', sans-serif;
    font-weight: 700;
    background: none !important;
    -webkit-text-fill-color: #ccc !important;
    text-decoration: none;
}

.menu-mobile a:hover {
    -webkit-text-fill-color: #fff !important;
    background: none !important;
}

h1,
h2,
p {
    margin: 0;
}

h1 {
    font-family: 'Unbounded', sans-serif;
    font-weight: 900;
    font-size: 3rem;
    background: linear-gradient(90deg, #e73c7e, #23a6d5, #e73c7e);
    background-size: 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: flow 12s ease-in-out infinite;
    margin-bottom: 20px;
}

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    backdrop-filter: blur(12px);
    background: rgba(13, 13, 16, 0);
    padding: 15px 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0);
    transition: background 0.4s ease, border-bottom 0.4s ease;
}

.header.scrolled {
    background: rgba(13, 13, 16, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-home {
    color: #fff;
    font-weight: 600;
    border: none;
    padding: 10px 20px;
    border-radius: 12px;
    background: linear-gradient(90deg, #e73c7e, #23a6d5);
    box-shadow: 0 0 10px rgba(231, 60, 126, 0.5);
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-home:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(231, 60, 126, 0.7);
}

.menu {
    display: flex;
    gap: 20px;
    align-items: center;
}

.menu a {
    color: #ccc;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s;
    white-space: nowrap;
}

.menu a:hover {
    color: #fff;
}

.hamburger {
    display: none;
    font-size: 1.6rem;
    cursor: pointer;
    color: #fff;
}

.menu-mobile {
    display: none;
    flex-direction: column;
    gap: 12px;
    background: rgba(13, 13, 16, 0.95);
    position: absolute;
    top: 60px;
    right: 0;
    padding: 15px 25px;
    border-radius: 0 0 0 15px;
}

.menu-mobile.show {
    display: flex;
}

.section {
    scroll-margin-top: 90px;
    /* высота header, можно подогнать */
    margin: 90px auto;
    max-width: 1300px;
    text-align: center;
    padding: 0 20px;
}

.section h2 {
    font-size: 1.9rem;
    font-family: 'Unbounded', sans-serif;
    font-weight: 700;
    margin-bottom: 10px;
    word-break: break-word;
}

.section p {
    color: #ccc;
    font-size: 1rem;
    margin-bottom: 30px;
}

.countdown-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    font-family: 'Unbounded', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    margin-top: 25px;
}

.countdown {
    font-size: 1.4rem;
    font-weight: 600;
    background: linear-gradient(90deg, #e73c7e, #23a6d5, #e73c7e);
    background-size: 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: flow 12s ease-in-out infinite;
}

.location {
    color: #ccc;
    font-size: 1rem;
    opacity: 0.8;
    line-height: 1.5;
}

@keyframes flow {
    0% {
        background-position: 0%;
    }

    50% {
        background-position: 100%;
    }

    100% {
        background-position: 0%;
    }
}

#main-noms {
    margin-top: 25vh;
}

/* Стили для описания карточек в основных номинациях */
#main-noms .scroll-container .card {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    min-height: 320px;
    height: auto;
    padding: 25px 20px;
}

#main-noms .card-emoji {
    font-size: 2.8rem;
    margin-bottom: 20px;
    display: block;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#main-noms .card h3 {
    font-family: 'Unbounded', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #fff;
    text-align: center;
    line-height: 1.3;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

#main-noms .card p {
    font-size: 1rem;
    line-height: 1.5;
    color: #ddd;
    font-weight: 600;
    background: linear-gradient(135deg, rgba(231, 60, 126, 0.15), rgba(35, 166, 213, 0.15));
    padding: 15px;
    border-radius: 12px;
    border: 1px solid rgba(231, 60, 126, 0.3);
    margin: 0;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    width: 100%;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

#main-noms .card p::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

#main-noms .card:hover p::before {
    left: 100%;
}

#main-noms .card:hover p {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(231, 60, 126, 0.3);
    border-color: rgba(231, 60, 126, 0.5);
    background: linear-gradient(135deg, rgba(231, 60, 126, 0.2), rgba(35, 166, 213, 0.2));
}

/* Убедимся, что все карточки одинаковой высоты */
#main-noms .scroll-container {
    align-items: stretch;
}

#main-noms .card {
    flex: 0 0 calc(25% - 15px);
    min-height: 350px;
    height: auto;
}

/* Стили для описания карточек в дополнительных номинациях */
#extra-noms .card p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #ccc;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.05);
    padding: 10px 12px;
    border-radius: 10px;
    border-left: 3px solid #e73c7e;
    border-right: 3px solid #23a6d5;
    margin: 8px 0;
    position: relative;
    transition: all 0.3s ease;
}

#extra-noms .card:hover p {
    background: rgba(255, 255, 255, 0.08);
    transform: scale(1.02);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

/* Вернул стандартные цвета названиям */
#extra-noms .card h3,
#extra-people .card h3 {
    /* Убрал градиентный текст */
    color: #fff;
    font-weight: 700;
    margin-bottom: 8px;
    font-size: 1.1rem;
    /* Возвращаем стандартный цвет из оригинального CSS */
    -webkit-text-fill-color: #fff;
    background: none;
}

/* Специальные стили для карточек с голосованием */
#extra-noms .card,
#extra-people .card {
    position: relative;
    overflow: hidden;
}

/* Анимация карточек */

/* #extra-noms .card::before,
#extra-people .card::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.01), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

#extra-noms .card:hover::before,
#extra-people .card:hover::before {
    opacity: 1;
    animation: shine 1.5s ease;
}

@keyframes shine {
    0% {
        transform: rotate(45deg) translateX(-100%);
    }
    100% {
        transform: rotate(45deg) translateX(100%)   ;
    }
} */

@media (max-width: 1200px) {
    #main-noms .card {
        flex: 0 0 calc(33.33% - 15px);
        min-height: 340px;
    }
}

@media (max-width: 900px) {
    #main-noms .card {
        flex: 0 0 calc(50% - 15px);
        min-height: 330px;
    }

    #main-noms .card h3 {
        font-size: 1.1rem;
        min-height: 45px;
    }

    #main-noms .card p {
        font-size: 0.95rem;
        padding: 12px;
    }
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    #main-noms .card p {
        font-size: 0.9rem;
        padding: 10px 12px;
        margin: 8px 0;
    }

    #extra-noms .card p {
        font-size: 0.85rem;
        padding: 8px 10px;
        margin: 6px 0;
    }

    #extra-noms .card h3,
    #extra-people .card h3 {
        font-size: 1rem;
    }
}

@media (max-width: 600px) {
    #main-noms .card {
        flex: 0 0 calc(100% - 15px);
        min-height: 300px;
    }

    #main-noms .card h3 {
        font-size: 1.1rem;
        min-height: 40px;
    }

    #main-noms .card p {
        font-size: 0.9rem;
        padding: 10px;
    }

    #main-noms .card-emoji {
        font-size: 2.5rem;
        margin-bottom: 15px;
        min-height: 50px;
    }
}

/* --- Контейнер карточек --- */
.scroll-container {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 25px 30px;
    margin: 0 auto 60px;
    cursor: grab;
    max-width: 98vw;
}

.scroll-container::-webkit-scrollbar {
    height: 8px;
}

.scroll-container::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 10px;
}

.card * {
    user-select: none;
}

.card {
    flex: 0 0 calc(25% - 15px);
    /* 4 карточки в ряд */
    background: #1a1a1f;
    padding: 20px;
    border-radius: 20px;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    min-height: 300px;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    word-break: break-word;
}

.card.visible {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(231, 60, 126, 0.5);
}

.card h3 {
    font-family: 'Unbounded', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: #fff;
}

/* Эмодзи сверху для всех карточек */
.card-emoji {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: block;
}

/* Счетчик голосов */
.vote-count {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
    padding: 8px 16px;
    background: rgba(231, 60, 126, 0.1);
    border-radius: 20px;
    border: 1px solid rgba(231, 60, 126, 0.2);
    transition: all 0.3s ease;
    font-size: 0.9rem;
    color: #888;
    position: relative;
    overflow: hidden;
    font-weight: bold;
}

.vote-count:hover {
    background: rgba(231, 60, 126, 0.15);
    border-color: rgba(231, 60, 126, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(231, 60, 126, 0.2);
}

.vote-count::before {
    content: "🗳️";
    font-size: 0.9rem;
}

.vote-number {
    font-weight: 700;
    font-size: 1.1rem;
    background: linear-gradient(90deg, #e73c7e, #23a6d5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.3s ease;
    position: relative;
}

/* Анимация при изменении числа */
.vote-number.changing {
    animation: numberPulse 0.6s ease;
}

@keyframes numberPulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.4);
        text-shadow: 0 0 10px rgba(231, 60, 126, 0.5);
    }

    100% {
        transform: scale(1);
    }
}

/* Эффект пульсации при наведении на карточку */
.card:hover .vote-number {
    transform: scale(1.1);
}

/* Стили для разных значений голосов */
.vote-number[data-votes="0"] {
    opacity: 0.7;
}

.vote-number[data-votes="1"] {
    color: #e73c7e;
}

.vote-number[data-votes="2"] {
    color: #ff6b9d;
}

.vote-number[data-votes="3"] {
    color: #ff8cb0;
}

.vote-number[data-votes="4"] {
    color: #ffaec4;
}

.vote-number[data-votes="5"] {
    color: #23a6d5;
}

/* Индикатор популярности */
.vote-count::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, #e73c7e, #23a6d5);
    transition: width 0.8s ease;
}

.vote-count:hover::after {
    width: 100%;
}

/* Мобильная адаптация */
@media (max-width: 768px) {
    .vote-count {
        padding: 6px 12px;
        gap: 6px;
        font-size: 0.85rem;
    }

    .vote-number {
        font-size: 1rem;
    }

    .vote-count::before {
        font-size: 0.85rem;
    }
}

.social-links {
    display: flex;
    gap: 10px;
    margin-top: auto;
    flex-wrap: wrap;
    justify-content: center;
}

.social-links a {
    color: #888;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: #fff;
    transform: scale(1.2);
    background: linear-gradient(90deg, #e73c7e, #23a6d5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.vote-btn {
    margin-top: 15px;
    padding: 10px 18px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(90deg, #e73c7e, #23a6d5);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    width: 100%;
    max-width: 180px;
    /* Добавляем эти свойства */
    pointer-events: auto;
    position: relative;
    z-index: 10;
}

.vote-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(231, 60, 126, 0.6);
}

.vote-btn:disabled {
    background: #555;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.vote-btn.voted {
    background: linear-gradient(90deg, #4CAF50, #45a049);
}

/* Счетчики голосов */
.vote-counters {
    display: flex;
    justify-content: space-between;
    margin: 10px 0;
    font-size: 0.9rem;
    color: #888;
}

/* --- Информация о премии --- */
.award-info {
    background: linear-gradient(145deg, #111115, #1a1a1f, #111115);
    border-radius: 25px;
    padding: 40px 30px;
    max-width: 1100px;
    margin: 0 auto 60px;
    color: #ccc;
    overflow: hidden;
    position: relative;
    animation: glow 8s ease-in-out infinite;
}

.award-info h2 {
    font-family: 'Unbounded', sans-serif;
    font-weight: 900;
    font-size: 2rem;
    text-align: center;
    background: linear-gradient(90deg, #e73c7e, #23a6d5, #e73c7e);
    background-size: 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: flow 12s ease-in-out infinite;
    margin-bottom: 30px;
}

.award-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.award-card {
    flex: 1 1 300px;
    background: rgba(25, 25, 30, 0.85);
    border-radius: 20px;
    padding: 25px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.award-card i {
    font-size: 2rem;
    margin-bottom: 15px;
    background: linear-gradient(90deg, #e73c7e, #23a6d5, #f5a623);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: flow 6s ease-in-out infinite;
}

.award-card:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 10px 30px rgba(231, 60, 126, 0.5);
}

.award-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: #ddd;
}

/* Стили для секции поддержки */
.support-section {
  background: transparent; /* Убираем внешний фон */
  padding: 40px 20px;
  max-width: 1300px; /* Расширяем максимальную ширину */
  margin: 0 auto 60px;
  text-align: center;
  margin-top: 190px;
  scroll-margin-top: 60px;
}

.support-container {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.support-card {
  background: rgba(25, 25, 30, 0.95); /* Делаем фон более насыщенным */
  border-radius: 25px; /* Увеличиваем скругление */
  padding: 45px 40px; /* Увеличиваем внутренние отступы */
  border: 1px solid rgba(231, 60, 126, 0.4); /* Делаем границу ярче */
  max-width: 800px; /* Значительно расширяем ширину карточки */
  width: 100%;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3); /* Добавляем тень для выделения */
}

.support-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(231, 60, 126, 0.15), transparent);
  transition: left 0.6s ease;
}

.support-card:hover::before {
  left: 100%;
}

.support-card:hover {
  transform: translateY(-8px); /* Увеличиваем подъем при наведении */
  box-shadow: 0 15px 50px rgba(231, 60, 126, 0.4);
  border-color: rgba(231, 60, 126, 0.6);
}

.support-icon {
  font-size: 3.5rem; /* Увеличиваем иконку */
  margin-bottom: 25px;
  background: linear-gradient(90deg, #e73c7e, #23a6d5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: pulse 2s infinite;
}

.support-card h3 {
  font-family: 'Unbounded', sans-serif;
  font-weight: 700;
  font-size: 1.8rem; /* Увеличиваем заголовок */
  margin-bottom: 20px;
  color: #fff;
}

.support-card p {
  color: #ddd;
  font-size: 1.1rem; /* Увеличиваем текст */
  line-height: 1.6;
  margin-bottom: 35px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.donation-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px; /* Увеличиваем расстояние между колонками */
  margin-bottom: 35px;
  align-items: center;
}

.qr-container, .link-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.qr-code {
  background: white;
  padding: 20px; /* Увеличиваем отступы вокруг QR-кода */
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
}

.qr-code:hover {
  transform: scale(1.08); /* Увеличиваем эффект наведения */
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5);
}

.qr-image {
  width: 180px; /* Увеличиваем QR-код */
  height: 180px;
  border-radius: 10px;
}

.donation-options p {
  color: #bbb;
  font-size: 1rem; /* Увеличиваем текст подписей */
  margin: 0;
  font-weight: 500;
}

.donate-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(90deg, #e73c7e, #23a6d5);
  color: white;
  text-decoration: none;
  padding: 16px 32px; /* Увеличиваем кнопку */
  border-radius: 15px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(231, 60, 126, 0.4);
  min-width: 200px;
}

.donate-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(231, 60, 126, 0.6);
  background: linear-gradient(90deg, #ff4d94, #2bb8e6);
}

.donate-link i {
  font-size: 1.2rem;
}

.support-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: rgba(231, 60, 126, 0.15);
  padding: 16px 25px;
  border-radius: 12px;
  border: 1px solid rgba(231, 60, 126, 0.3);
  margin-top: 30px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.support-info i {
  color: #e73c7e;
  font-size: 1.2rem;
}

.support-info span {
  color: #ddd;
  font-size: 1rem;
  font-weight: 500;
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
  .support-section {
    padding: 30px 15px;
    margin: 190px auto 40px;
  }
  
  .support-card {
    padding: 35px 25px;
    max-width: 600px;
  }
  
  .donation-options {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .qr-image {
    width: 150px;
    height: 150px;
  }
  
  .support-icon {
    font-size: 3rem;
  }
  
  .support-card h3 {
    font-size: 1.6rem;
  }
  
  .support-card p {
    font-size: 1rem;
  }
  
  .donate-link {
    padding: 14px 28px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .support-section {
    padding: 25px 10px;
    margin: 190px auto 30px;
  }
  
  .support-card {
    padding: 30px 20px;
    border-radius: 20px;
  }
  
  .qr-image {
    width: 130px;
    height: 130px;
  }
  
  .donate-link {
    padding: 12px 24px;
    font-size: 0.95rem;
    min-width: 180px;
  }
  
  .support-info {
    padding: 14px 20px;
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
  
  .support-info span {
    font-size: 0.9rem;
  }
  
  .support-icon {
    font-size: 2.8rem;
  }
  
  .support-card h3 {
    font-size: 1.4rem;
  }
}

/* Анимация появления страницы номинаций */
@keyframes pageSlideIn {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.98);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes contentStagger {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Стили для анимированного появления */
.body-loaded {
    animation: pageSlideIn 0.8s ease-out forwards;
}

.header {
    animation: contentStagger 0.6s ease-out 0.3s both;
}

.section#top {
    animation: contentStagger 0.6s ease-out 0.5s both;
}

.award-info {
    animation: contentStagger 0.6s ease-out 0.7s both;
}

.section#main-noms {
    animation: contentStagger 0.6s ease-out 0.9s both;
}

.section#extra-noms {
    animation: contentStagger 0.6s ease-out 1.1s both;
}

.section#extra-people {
    animation: contentStagger 0.6s ease-out 1.3s both;
}

.footer {
    animation: contentStagger 0.6s ease-out 1.5s both;
}

/* Анимация для карточек при появлении */
.scroll-container {
    animation: contentStagger 0.8s ease-out 1s both;
}

.card {
    animation: cardSlideUp 0.6s ease-out both;
}

/* Задержки для карточек для эффекта каскада */
.card:nth-child(1) {
    animation-delay: 1.2s;
}

.card:nth-child(2) {
    animation-delay: 1.3s;
}

.card:nth-child(3) {
    animation-delay: 1.4s;
}

.card:nth-child(4) {
    animation-delay: 1.5s;
}

.card:nth-child(5) {
    animation-delay: 1.6s;
}

.card:nth-child(6) {
    animation-delay: 1.7s;
}

.card:nth-child(7) {
    animation-delay: 1.8s;
}

.card:nth-child(8) {
    animation-delay: 1.9s;
}

@keyframes cardSlideUp {
    0% {
        opacity: 0;
        transform: translateY(30px) rotateX(10deg);
    }

    100% {
        opacity: 1;
        transform: translateY(0) rotateX(0);
    }
}

/* Мобильная оптимизация для award-info */
@media (max-width: 768px) {
    .award-info {
        padding: 25px 15px;
        margin: 0 10px 40px;
        border-radius: 20px;
    }

    .award-info h2 {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }

    .award-cards {
        gap: 15px;
        flex-direction: column;
        align-items: center;
    }

    .award-card {
        flex: 1 1 100%;
        padding: 20px 15px;
        min-width: 0;
        width: 100%;
        max-width: 400px;
    }

    .award-card i {
        font-size: 1.8rem;
        margin-bottom: 12px;
    }

    .award-card p {
        font-size: 0.95rem;
        line-height: 1.5;
    }

    /* Отключаем сложные анимации на мобильных для производительности */
    .award-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 5px 15px rgba(231, 60, 126, 0.4);
    }
}

@media (max-width: 480px) {
    .award-info {
        padding: 20px 12px;
        margin: 0 8px 30px;
        border-radius: 15px;
    }

    .award-info h2 {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }

    .award-card {
        padding: 18px 12px;
    }

    .award-card i {
        font-size: 1.6rem;
    }

    .award-card p {
        font-size: 0.9rem;
    }
}

/* Для очень маленьких экранов */
@media (max-width: 360px) {
    .award-info {
        padding: 15px 10px;
    }

    .award-info h2 {
        font-size: 1.2rem;
    }

    .award-card {
        padding: 15px 10px;
    }
}

@keyframes glow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(231, 60, 126, 0.2);
    }

    50% {
        box-shadow: 0 0 40px rgba(35, 166, 213, 0.25);
    }
}

/* --- Основные номинанты --- */
.main-nominee-card {
    background: linear-gradient(145deg, #1a1a1f, #141418);
    padding: 25px 20px;
    border-radius: 22px;
    min-width: 250px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.main-nominee-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 25px rgba(231, 60, 126, 0.5);
}

.nominee-photo {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 15px;
}

.main-nominee-card h3 {
    margin-top: 10px;
    font-size: 1.1rem;
}

.main-nominee-card p {
    color: #aaa;
    font-size: 0.95rem;
    margin: 8px 0 15px;
}

/* --- Видео номинанты --- */
#video-section {
    text-align: center;
    padding: 60px 20px;
    max-width: 1300px;
    margin: 0 auto;
}

#video-section h2 {
    font-family: 'Unbounded', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(90deg, #e73c7e, #23a6d5, #e73c7e);
    background-size: 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: flow 10s ease-in-out infinite;
    margin-bottom: 15px;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    justify-items: center;
    animation: contentStagger 0.8s ease-out;
}

/* --- Карточка --- */
.video-card {
    background: #141418;
    border-radius: 22px;
    overflow: hidden;
    transition: all 0.35s ease;
    width: 100%;
    max-width: 420px;
    padding-bottom: 18px;
    opacity: 0;
    transform: translateY(20px);
    animation: cardSlideUp 0.6s ease-out forwards;
    border: 1px solid rgba(255,255,255,0.04);
}

/* Hover — лёгкий glow, как у Apple */
.video-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 35px rgba(35, 166, 213, 0.35);
}

/* --- Видео контейнер с красивым оформлением --- */
.video-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    overflow: hidden;
    border-radius: 20px;
    background: #0f0f12;

    /* внутреннее мягкое стекло */
    box-shadow:
        inset 0 0 40px rgba(0,0,0,0.4),
        0 0 20px rgba(0,0,0,0.4);
}

/* Сам iframe */
.video-wrapper iframe {
    position: absolute;
    inset: 0;
    height: 100%;
    width: 100%;
    border: none;
    border-radius: 20px;
}

/* --- Название под видео --- */
.video-card h3 {
    font-family: 'Unbounded', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: #fff;
    margin: 18px 15px 0 15px;
    text-align: center;
    line-height: 1.35;

    /* визуальное разделение */
    padding-top: 10px;
    border-top: 1px solid rgba(255,255,255,0.06);
}

/* --- Заблокированные --- */
.video-card.upcoming {
    background: rgba(255, 255, 255, 0.03);
    border: 1px dashed rgba(255,255,255,0.08);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 35px 0;
}

.video-card.upcoming .video-placeholder {
    opacity: 0.7;
    gap: 10px;
    text-align: center;
}


.main-nominee-card p {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    font-weight: 600;
}

.main-nominee-card p span {
    background: linear-gradient(90deg, rgba(231, 60, 126, 0.1), rgba(35, 166, 213, 0.1));
    padding: 6px 14px;
    border-radius: 25px;
    border: 1px solid rgba(231, 60, 126, 0.2);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.main-nominee-card:hover p span {
    background: linear-gradient(90deg, rgba(231, 60, 126, 0.2), rgba(35, 166, 213, 0.2));
    border-color: rgba(231, 60, 126, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(231, 60, 126, 0.3);
}

/* Стили для подзаголовков секций */
.section-subtitle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #aaa;
    font-size: 1.1rem;
    margin-bottom: 30px;
    font-weight: 500;
    position: relative;
}

.section-subtitle.interactive {
    background: rgba(231, 60, 126, 0.1);
    padding: 12px 20px;
    border-radius: 25px;
    border: 1px solid rgba(231, 60, 126, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.section-subtitle.interactive:hover {
    background: rgba(231, 60, 126, 0.15);
    border-color: rgba(231, 60, 126, 0.4);
    transform: translateY(-2px);
}

/* Анимированная точка */
.pulse-dot {
    width: 8px;
    height: 8px;
    background: linear-gradient(90deg, #e73c7e, #23a6d5);
    border-radius: 50%;
    display: inline-block;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.3);
        opacity: 0.7;
    }
}

/* Стильный бейдж счетчика */
.counter-badge {
    background: linear-gradient(90deg, #e73c7e, #23a6d5);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-left: 8px;
    box-shadow: 0 4px 15px rgba(231, 60, 126, 0.3);
    transition: all 0.3s ease;
}

.section-subtitle.interactive:hover .counter-badge {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(231, 60, 126, 0.4);
}

/* Анимация для видео-секции */
.video-card {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.video-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Анимация для плейсхолдеров видео */
.video-placeholder {
    transition: all 0.3s ease;
}

.video-card.upcoming:hover .video-placeholder {
    transform: scale(1.05);
    color: #e73c7e;
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .section-subtitle {
        flex-direction: column;
        gap: 8px;
        font-size: 1rem;
    }

    .section-subtitle.interactive {
        padding: 10px 16px;
    }

    .counter-badge {
        font-size: 0.85rem;
        padding: 3px 10px;
    }
}

@media (max-width: 768px) {
    #video-section {
        padding: 40px 15px;
    }

    #video-section h2 {
        font-size: 1.6rem;
    }

    .video-grid {
        gap: 20px;
    }

    .video-card {
        max-width: 100%;
    }

    .video-card h3 {
        font-size: 1rem;
    }
}

/* Стили для улучшенного футера */
.footer {
    background: linear-gradient(135deg, #111115 0%, #1a1a1f 50%, #111115 100%);
    border-top: 1px solid rgba(231, 60, 126, 0.3);
    padding: 40px 20px 20px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #e73c7e, #23a6d5, transparent);
    animation: flow 3s ease-in-out infinite;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-brand h3 {
    font-family: 'Unbounded', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    background: linear-gradient(90deg, #e73c7e, #23a6d5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
}

.footer-brand p {
    color: #888;
    font-size: 0.9rem;
    margin: 0;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ccc;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
}

.footer-link:hover {
    color: #fff;
    background: rgba(231, 60, 126, 0.1);
    transform: translateX(5px);
}

.footer-link i {
    font-size: 1.1rem;
    width: 20px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    color: #888;
    font-size: 0.9rem;
    margin: 0;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-social span {
    color: #888;
    font-size: 0.9rem;
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icons a {
    color: #888;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    padding: 8px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
}

.social-icons a:hover {
    color: #fff;
    background: rgba(231, 60, 126, 0.2);
    transform: translateY(-2px);
}

.legal-notice {
  background: rgba(255, 68, 68, 0.1);
  border: 1px solid rgba(255, 68, 68, 0.3);
  border-radius: 12px;
  padding: 20px;
  margin: 25px auto; /* Изменили на auto для центрирования */
  width: 65%;
  backdrop-filter: blur(10px);
  
  /* Добавьте эти свойства для центрирования */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.legal-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  color: #ff4444;
  justify-content: center; /* Добавлено для центрирования заголовка */
  width: 100%; /* Чтобы занимал всю ширину родителя */
}

.legal-header h4 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}

.legal-header i {
  font-size: 1.2rem;
}

.platform-warning {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  border-left: 4px solid #ff4444;
  width: 100%; /* Чтобы занимал всю ширину родителя */
  justify-content: center; /* Центрируем содержимое */
}

.platform-warning i {
  font-size: 1.5rem;
  color: #ff4444;
  margin-top: 2px;
}

.platform-info {
  text-align: center; /* Центрируем текст */
}

.platform-info strong {
  color: #ff4444;
  font-weight: 600;
  display: block;
  margin-bottom: 5px;
}

.platform-info p {
  margin: 0;
  font-size: 0.85rem;
  color: #ccc;
  line-height: 1.4;
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
  .legal-notice {
    width: 90%; /* На мобильных увеличиваем ширину */
    margin: 20px auto;
    padding: 16px;
  }
  
  .legal-header {
    flex-direction: column;
    gap: 8px;
  }
  
  .platform-warning {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
  }
  
  .platform-info {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .legal-notice {
    width: 95%;
    padding: 14px;
    margin: 15px auto;
  }
  
  .legal-header h4 {
    font-size: 0.95rem;
  }
  
  .platform-info strong {
    font-size: 0.9rem;
  }
  
  .platform-info p {
    font-size: 0.8rem;
  }
}

/* Адаптивность */
@media (max-width: 768px) {
    .footer-main {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .footer-brand {
        text-align: center;
        width: 100%;
    }
    
    .footer-brand h3 {
        text-align: center;
        font-size: 1.3rem;
    }
    
    .footer-brand p {
        text-align: center;
        font-size: 0.85rem;
    }
    
    .footer-links {
        align-items: center;
        width: 100%;
    }
    
    .footer-link {
        justify-content: center;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .footer-social {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
    
    .footer-social span {
        text-align: center;
    }
    
    .social-icons {
        justify-content: center;
    }
}

/* 3 карточки */
@media (max-width: 1200px) {
    .card {
        flex: 0 0 calc(33.33% - 15px);
    }
}

@media (min-width: 769px) {
    .hamburger {
        display: none !important;
    }

    .menu {
        display: flex !important;
    }

    .menu-mobile {
        display: none !important;
    }
}

@media (max-width:768px) {
    .header {
        flex-direction: row;
        justify-content: space-between;
        padding: 15px 20px;
    }

    .menu {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .section h2 {
        font-size: 1.5rem;
    }

    .vote-btn {
        max-width: 160px;
    }

    .section {
        margin: 60px auto;
        padding: 0 15px;
        scroll-margin-top: 70px;
    }

    h1 {
        font-size: 2.2rem;
        margin-bottom: 15px;
        line-height: 1.2;
    }

    .countdown-container {
        flex-direction: column;
        gap: 10px;
        font-size: 1.2rem;
        margin-top: 20px;
    }

    .countdown {
        font-size: 1.1rem;
        text-align: center;
        line-height: 1.4;
    }

    .location {
        font-size: 0.9rem;
        text-align: center;
        line-height: 1.4;
    }
}

/* 2 карточки */
@media (max-width: 900px) {
    .card {
        flex: 0 0 calc(50% - 15px);
    }
}

/* 1 карточка */
@media (max-width: 600px) {
    .card {
        flex: 0 0 calc(100% - 15px);
    }
}

@media (max-width:480px) {
    .section h2 {
        font-size: 1.3rem;
    }

    .vote-btn {
        max-width: 140px;
    }

    h1 {
        font-size: 2rem;
    }

    .section {
        margin: 50px auto;
        padding: 0 12px;
    }

    h1 {
        font-size: 1.8rem;
        margin-bottom: 12px;
    }

    .countdown-container {
        font-size: 1rem;
        margin-top: 15px;
    }

    .countdown {
        font-size: 0.95rem;
    }

    .location {
        font-size: 0.85rem;
    }
}

/* Для очень маленьких экранов */
@media (max-width: 360px) {
    h1 {
        font-size: 1.6rem;
    }

    .countdown-container {
        font-size: 0.9rem;
    }

    .countdown {
        font-size: 0.85rem;
    }

    .location {
        font-size: 0.8rem;
    }

    .section {
        margin: 40px auto;
        padding: 0 10px;
    }
}

/* Оптимизация для горизонтальной ориентации на мобильных */
@media (max-width: 768px) and (orientation: landscape) {
    .section {
        margin: 40px auto;
    }

    h1 {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }

    .countdown-container {
        flex-direction: row;
        gap: 20px;
        font-size: 1rem;
    }

    #main-noms {
        margin-top: 10vh;
    }
}