/* 🌐 Base */
body {
  font-family: sans-serif;
  margin: 0;
  padding: 0;
  background: linear-gradient(to bottom, #f0f4ff, #eae6ff);
  color: #333;
  padding-bottom: 80px; /* запас под футер */
}

/* 🎉 Hero Section */
.hero {
  position: relative;
  background: linear-gradient(135deg, #6E2CA0, #A78BFA);
  color: #fff;
  text-align: center;
  padding: 40px 20px 50px;  /* уменьшено примерно в 2 раза */
  border-radius: 40px;
  box-shadow: 0 6px 12px rgba(0,0,0,0.1);
  overflow: hidden;
  margin: 30px 0 60px;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.5) 50%,
    rgba(255,255,255,0) 100%
  );
  transform: skewX(-20deg);
  animation: hero-shine 6s infinite;
}

@keyframes hero-shine {
  0%   { left: -75%; }
  30%  { left: 125%; }
  100% { left: 125%; }
}

.hero h1 {
  font-size: 3.2em;
  margin: 0 0 20px;
  font-weight: 700;
  letter-spacing: -1px;
}

.hero p {
  font-size: 1.25em;
  margin: 0 auto;
  max-width: 720px;
  line-height: 1.6;
  opacity: 0.95;
}

.hero-actions {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 16px;
}

.hero-actions a {
  background: #4a3c8c;
  color: white;
  padding: 14px 28px;
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.2em;
}

.hero-actions a.login-link {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}

/* 🧩 Features Section */
.features {
  display: grid;
  gap: 30px;
  margin: 0 0 60px;
}

.feature {
  background: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.feature h2 {
  color: #4a3c8c;
  margin-top: 0;
  text-align: center;
}

.feature p {
  text-align: left;
  margin-top: 10px;
  line-height: 1.5;
}

/* ✨ Events block — без картинок */
.feature-events {
  position: relative;
  overflow: hidden;
  background-color: #fff;
}

.feature-events::before {
  display: none;
}

/* 💰 Coins block — без монетки */
.feature-coins {
  position: relative;
  overflow: hidden;
}

.feature-coins::after {
  display: none;
}

/* 🎁 Gift block */
.gift-gif-wrapper {
  width: 160px;
  height: 155px;
  overflow: hidden;
  margin: 0 auto 12px;
}

.gift-gif {
  width: 100%;
  height: auto;
  display: block;
}

/* 📱 Mobile tweaks */
@media (max-width: 576px) {
  .hero {
    padding: 25px 15px 30px; 
    border-radius: 20px;
    margin: 20px 0 30px;
  }

  .hero h1 {
    font-size: 2em;
    margin-bottom: 15px;
  }

  .hero p {
    font-size: 1em;
    line-height: 1.4;
  }

  .hero-actions a {
    font-size: 1em;
    padding: 10px 16px;
    max-width: 180px;
  }
}
