html, body {
  margin: 0;
  font-family: "Sora", sans-serif;
  background: #0b3d0b;
  color: #fff;
  
}

.preview {
  padding: 6vh 4vh;
  display: flex;  
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 88vh;
  background: linear-gradient(145deg, #0b3d0b, #145214, #0b3d0b);
  text-align: center;
  overflow: hidden;
}

.preview-gif {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11,61,11,0.6); /* полупрозрачный фон */
  z-index: 1;
}

.preview h1,
.preview-description, .buttons {
  position: relative;
  z-index: 2; /* чтобы текст был над GIF */
  color: #FFD700;
}

.preview h1 {
  font-size: clamp(3rem, 10vw, 8rem);
  margin: 2vh 0;
  color: #FFD700;
  letter-spacing: 2px;
}

.preview-description {
    max-width: 700px;
    font-size: 1.2rem;
    font-weight: 400;
    opacity: 0.9;
    line-height: 1.6;
    text-align: center;
    margin-bottom: 4vh;
}


.buttons {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

button {
  padding: 1rem 2rem;
  font-size: 1rem;
  border-radius: 30px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

button.primary {
  background: #FFD700;
  color: #0b3d0b;
  border: none;
}

button.primary:hover {
  background: #e6c200;
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}

a.secondary {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border: 2px solid #FFD700;
  border-radius: 30px;
  color: #FFD700;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  background: transparent;
}

a.secondary:hover {
  background: #FFD700;
  color: #0b3d0b;
}

.lineup-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  max-width: 400px;
  margin: auto;
}

.lineup-container h1{
  font-size: 5rem;
  margin: 0;
  color: #FFD700;
}

.card {
  width: 100%;
  background: linear-gradient(135deg, #0b3d0b, #145214);
  color: #FFD700;
  padding: 2rem;
  border-radius: 20px;
  text-align: center;
  transition: transform 0.4s ease, opacity 0.4s ease, box-shadow 0.4s ease;
  margin-bottom: 2rem;
  margin-top: 3rem;
  position: relative;
  
}

.card img {
  width: 300px;
  height: 300px;
  border-radius: 4%;
  object-fit: cover;
  margin-bottom: 1rem;
}

.card:hover {
  transform: scale(1.05) rotate3d(1, 1, 0, 10deg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.controls {
  margin-top: 1rem;; /* отступ под карточки */
  display: flex;
  gap: 2rem;
  position: relative;
  z-index: 10;
}

.contest-container{
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  max-width: 100%;
  margin: auto;
}

.divider {
  border: none;
  height: 2px;
  background: linear-gradient(90deg, transparent, #FFD700, transparent);
  margin: 4rem auto;
  width: 80%; /* чтобы не на всю ширину */
}

.contest-container h1{
  font-size: 5rem;
  margin: 0;
  color: #FFD700;
}

.contest {
  width: 80%;
  background: radial-gradient(circle at top left, #ffd70022, transparent 70%),
              radial-gradient(circle at bottom right, #ffd70022, transparent 70%),
              linear-gradient(135deg, #0b3d0b, #145214);

  color: #FFD700;
  padding: 5rem 2rem 5rem 2rem;
  border-radius: 20px;
  transition: transform 0.4s ease, opacity 0.4s ease, box-shadow 0.4s ease;
  margin-bottom: 2rem;
  margin-top: 1rem;
  position: relative;
  align-items: center;
  display: flex;
  flex-direction: row;
  gap: 3rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.contest:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.5);
}

.contest .right{
  display: flex;
  text-align: left;
  flex: 1;
}

.contest .right iframe {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  border-radius: 15px;
  border: 2px solid #FFD70033;
}

.contest .left{
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: center;
}

.contest .left h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  letter-spacing: 1px;
}

.contest .left p {
  font-size: 1.1rem;
  line-height: 1.6;
  opacity: 0.9;
}

.pricing {
  width: 100%;
  margin: 0 auto;
  text-align: center;
  padding: 0 1rem ;
  background: linear-gradient(145deg, #0b3d0b, #0f480f, #145214); /* совпадает с сайтом */
  color: #FFD700;
  box-sizing: border-box;
}

.pricing h1 {
  font-size: 5rem;
  margin-bottom: 1rem;
  
  letter-spacing: 1px;
}

.pricing-cards {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

.pricing .card {
  position: relative;
  background: linear-gradient(135deg, #0b3d0b, #145214); /* совпадает с другими карточками */
  border-radius: 20px;
  padding: 3rem 2rem 2rem;
  width: 320px;
  max-width: 100%;
  overflow-wrap: break-word;
  text-align: center;
  transition: transform 0.5s ease, box-shadow 0.5s ease, background 0.5s ease;
  box-shadow: 0 10px 20px rgba(0,0,0,0.4);
}

.pricing .card.featured {
  border: 2px solid #FFD700;
  background: linear-gradient(145deg, #FFD70033, #0b3d0b);
}

.pricing .ribbon {
  position: absolute;
  top: 1rem;
  left: -10px;
  background: #FFD700;
  color: #0b3d0b;
  padding: 0.5rem 2rem;
  font-weight: bold;
  text-transform: uppercase;
  transform: rotate(-15deg);
  box-shadow: 0 3px 6px rgba(0,0,0,0.3);
}

.pricing .price {
  font-size: 2.5rem;
  margin: 1.5rem 0;
  text-shadow: 0 0 8px #FFD700;
}

.pricing .card ul {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.pricing .card ul li {
  position: relative;
  padding-left: 2.5rem;
  font-size: 1.1rem;
  line-height: 1.5;
  color: #FFD700DD;
  font-weight: 500;
  transition: color 0.3s ease;
}

.pricing .card ul li::before {
  content: "✔"; /* стильная галочка вместо звездочки */
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1.3rem;
  color: #FFD700;
}

.pricing .card button {
  padding: 1rem 2rem;
  border-radius: 30px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  background: linear-gradient(135deg, #FFD700, #e6c200);
  color: #0b3d0b; 
  font-size: 1rem;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.pricing .card button:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}


.sponsors{
  background-color: black;
}

.sponsors {
  background: #000;
  color: #fff;
  padding: 4rem 2rem;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.sponsors h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: #FFD700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.sponsors .subtitle {
  font-size: 1rem;
  color: #ccc;
  margin-bottom: 2rem;
}

.sponsor-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3rem;
  align-items: center;
}

.sponsor-logos img {
  height: 60px; /* или другое подходящее */
  filter: grayscale(100%) brightness(150%);
  opacity: 0.7;
  transition: all 0.4s ease;
}

.sponsor-logos img:hover {
  filter: grayscale(0%) brightness(100%);
  opacity: 1;
  transform: scale(1.1);
}


@media (max-width: 768px) {
  
  .preview {
    padding: 6vh 4vh;
    flex-direction: column;
    text-align: center;
  }

  .preview h1 {
    font-size: clamp(2rem, 7vw, 3.5rem);
    margin: 2vh 0;
    line-height: 1.2;
  }

  .preview-description {
    max-width: 90%;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 3vh;
  }

  .buttons {
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    max-width: 300px;
  }

  .buttons button {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
  }

    .card {
    width: 90%;
    max-width: 340px;
    margin: 1.5rem auto;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
    text-align: center;
  }

  .card img {
    width: 100%;
    max-height: 100%;
    object-fit: cover;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
  }

  .lineup-container h1{
    font-size: clamp(2rem, 90vw, 3.5rem);
    margin-top: 1rem;
  }

  .card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
  }

  .card p {
    font-size: 1rem;
    line-height: 1.6;
  }

  /* === Pricing cards === */
  .pricing{
    overflow: hidden;
  }

  .pricing-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    margin: 0;
    width: 100%;
    
  }

  .pricing .card {
    padding: 2rem 1.5rem;
  }

  .pricing .price {
    font-size: 2rem;
    margin: 1rem 0;
  }

  .pricing ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
    font-size: 0.95rem;
  }

  .pricing ul li {
    margin: 0.5rem 0;
    padding: 0.5rem;
    background: rgba(255,255,255,0.05);
    border-radius: 0.5rem;
  }

  .pricing button {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
    margin-top: 1rem;
  }

  .pricing h1{
    margin-top:1rem;
    font-size: clamp(2rem, 90vw, 3.5rem);
  }

  .contest {
    display: flex;
    flex-direction: column; /* вместо ряда — в колонку */
    gap: 1.5rem; /* отступ между текстом и видео */
    text-align: center;
    padding: 2.5rem 1.5rem;
  }

  .contest .left {
    order: 1; /* сначала текст */
  }

  .contest .right {
    order: 2; /* потом видео */
  }

  .contest .right iframe {
    width: 100%;
    height: 220px; /* фикс для мобилок */
    border-radius: 1rem;
  }

  .contest h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }

  .contest-container h1 {
    font-size: clamp(2rem, 90vw, 3.5rem);
  }

  .contest p {
    font-size: 1rem;
    line-height: 1.6;
  }

  .sponsors {
  background: #000;
  padding: 3rem 2rem;
  text-align: center;
}

.sponsors h2 {
  color: #FFD700;
  font-size: 2rem;
  margin-bottom: 2rem;
  font-weight: 700;
}

.sponsor-logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 2.5rem;
  align-items: center;
  justify-items: center;
}

.sponsor-logos a {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.sponsor-logos a:hover {
  transform: scale(1.1);
  opacity: 1;
}

.sponsor-logos img {
  max-width: 120px;
  height: auto;
  filter: grayscale(100%) brightness(150%);
  transition: opacity 0.3s ease;
}

.sponsor-logos a:hover img {
  opacity: 1; 
  filter: grayscale(0%) brightness(100%);
}


}
