/* Основные стили */
body {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  background-color: #000;
  color: #fff;
}

/* Шапка сайта */
header {
  background-color: #d4af37;
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1000;
}

#logo {
  font-size: 1.5em;
  font-weight: bold;
}

nav a {
  color: #000;
  text-decoration: none;
  margin: 0 15px;
  font-weight: bold;
  transition: opacity 0.3s;
}

nav a:hover {
  opacity: 0.7;
}

/* Основной контейнер */
.container {
  display: flex;
  min-height: 100vh;
  padding: 20px;
  box-sizing: border-box;
}

/* Левая колонка с фото кандидатов */
.left-panel {
  width: 30%;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  padding-right: 20px;
}

.left-panel img {
  width: calc(33.33% - 10px);
  height: auto;
  object-fit: cover;
  border-radius: 10px;
  border: 2px solid #d4af37;
}

/* Правая колонка с блоком победителя */
.right-panel {
  width: 95%;
  padding-left: 20px;
}

.winner-block {
  background-color: #111;
  border: 2px solid #d4af37;
  border-radius: 15px;
  padding: 20px;
  text-align: center;
}

.winner-photo {
  max-width: 95%;
  border-radius: 15px;
  margin-bottom: 15px;
}

.timer {
  font-size: 2em;
  margin-top: 20px;
  color: #d4af37;
}

button {
  background: transparent;
  border: 2px solid #d4af37;
  color: #d4af37;
  padding: 10px 20px;
  border-radius: 30px;
  cursor: pointer;
  font-size: 1em;
  margin-top: 20px;
  transition: all 0.3s ease;
}

button:hover {
  background-color: #d4af37;
  color: #000;
}
/* === Страница регламента === */
.reglament-page {
  padding: 40px 20px;
  max-width: 900px;
  margin: 0 auto;
}

.reglament-page h1 {
  font-size: 2.5em;
  text-align: center;
  color: #d4af37;
  margin-bottom: 40px;
}

.reglament-section {
  margin-bottom: 30px;
}

.reglament-section h2 {
  color: #d4af37;
  border-left: 5px solid #d4af37;
  padding-left: 15px;
  margin-bottom: 15px;
}

.reglament-section p,
.reglament-section ul,
.reglament-section ol {
  line-height: 1.6;
  font-size: 1.1em;
}

.reglament-section ul,
.reglament-section ol {
  padding-left: 20px;
}

.back-to-main {
  margin-top: 50px;
  text-align: center;
}

.back-to-main a {
  display: inline-block;
  color: #d4af37;
  text-decoration: none;
  font-size: 1.1em;
  border: 2px solid #d4af37;
  padding: 10px 20px;
  border-radius: 30px;
  transition: all 0.3s ease;
}

.back-to-main a:hover {
  background-color: #d4af37;
  color: #000;
}
/* Стиль уведомления */
.notification {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #d4af37;
  color: #000;
  padding: 15px 25px;
  border-radius: 30px;
  font-weight: bold;
  font-size: 1em;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
  z-index: 9999;
}

/* Показываем уведомление */
.notification.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}