/* Dark homepage — scoped to domov via body.vyhraj-home */

body.vyhraj-home {
  background: #0b0f14;
  color: #e8ecf2;
}

body.vyhraj-home main {
  background: transparent;
}

.vyh-home-hero {
  position: relative;
  overflow: hidden;
  padding: 3.5rem 0 4rem;
  background: radial-gradient(1200px 600px at 20% -10%, rgba(123, 47, 190, 0.35), transparent 55%),
    radial-gradient(900px 480px at 90% 20%, rgba(255, 195, 77, 0.18), transparent 50%),
    linear-gradient(160deg, #121a24 0%, #0b0f14 45%, #0b0f14 100%);
}

.vyh-home-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/images/symbol.svg") center / 420px no-repeat;
  opacity: 0.04;
  pointer-events: none;
}

.vyh-home-hero-inner {
  position: relative;
  z-index: 1;
}

.vyh-home-eyebrow {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: #a8b3c4;
  margin-bottom: 0.75rem;
}

.vyh-home-hero h1 {
  font-weight: 700;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.vyh-home-lead {
  color: #b8c2d1;
  max-width: 36rem;
  font-size: 1.05rem;
}

.vyh-home-stat-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.75rem;
  align-items: stretch;
}

.vyh-home-stat {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  min-width: 140px;
}

.vyh-home-stat strong {
  display: block;
  font-size: 1.65rem;
  color: #ffc34d;
  line-height: 1.1;
}

.vyh-home-stat span {
  font-size: 0.8rem;
  color: #9aa8bc;
}

.vyh-home-cta {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.vyh-home-btn-primary {
  background: linear-gradient(135deg, #ffc34d 0%, #e6a820 100%);
  color: #1a1205 !important;
  border: none;
  font-weight: 700;
  padding: 0.65rem 1.35rem;
  border-radius: 10px;
  text-decoration: none;
  display: inline-block;
}

.vyh-home-btn-primary:hover {
  filter: brightness(1.06);
  color: #1a1205 !important;
  text-decoration: none;
}

.vyh-home-btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #e8ecf2 !important;
  font-weight: 600;
  padding: 0.6rem 1.15rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  text-decoration: none;
  display: inline-block;
}

.vyh-home-btn-ghost:hover {
  border-color: rgba(255, 195, 77, 0.45);
  color: #ffc34d !important;
  text-decoration: none;
}

.vyh-home-search {
  margin-top: 2rem;
  max-width: 520px;
}

.vyh-home-search form {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.vyh-home-search input[type="search"],
.vyh-home-search input[type="text"] {
  flex: 1 1 220px;
  min-width: 200px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.35);
  color: #e8ecf2;
  padding: 0.65rem 0.9rem;
}

.vyh-home-search input::placeholder {
  color: #7d8aa0;
}

.vyh-home-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.vyh-home-chip {
  font-size: 0.8rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #c9d4e5 !important;
  text-decoration: none !important;
}

.vyh-home-chip:hover {
  border-color: rgba(255, 195, 77, 0.4);
  color: #ffc34d !important;
}

.vyh-home-kpi {
  margin: 2rem 0 0;
  padding: 1.25rem 1.5rem;
  border-radius: 14px;
  background: rgba(123, 47, 190, 0.12);
  border: 1px solid rgba(123, 47, 190, 0.35);
}

.vyh-home-kpi-head {
  margin-bottom: 0.25rem;
}

.vyh-home-kpi-status {
  line-height: 1.45;
}

.vyh-home-kpi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.vyh-home-kpi-grid--primary {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.vyh-home-kpi-grid--secondary {
  margin-top: 0.85rem;
  gap: 0.75rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.vyh-home-kpi-tile {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  padding: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.vyh-home-kpi-stat {
  background: rgba(0, 0, 0, 0.28);
  border-color: rgba(255, 195, 77, 0.15);
  padding: 1rem 0.9rem;
}

.vyh-home-kpi-stat-label {
  display: block;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.62);
  margin-bottom: 0.35rem;
}

.vyh-home-kpi-stat-value {
  display: block;
  font-size: 1.65rem;
  line-height: 1.1;
  font-weight: 700;
  color: #fff;
}

.vyh-home-kpi-substat {
  padding: 0.65rem 0.75rem;
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.05);
}

.vyh-home-kpi-substat-label {
  display: block;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 0.2rem;
}

.vyh-home-kpi-substat-value {
  display: block;
  font-size: 1.05rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
}

.vyh-home-kpi-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.vyh-home-level-progress {
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.vyh-home-level-progress-bar {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #7b2fbe, #ffc34d);
  min-width: 0;
  transition: width 0.3s ease;
}

.vyh-home-mission {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  opacity: 0.92;
}

@media (max-width: 767.98px) {
  .vyh-home-kpi-grid--primary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .vyh-home-kpi-grid--secondary {
    grid-template-columns: 1fr;
  }

  .vyh-home-kpi-stat-value {
    font-size: 1.4rem;
  }

  .vyh-home-kpi-actions .vyh-home-btn-primary,
  .vyh-home-kpi-actions .vyh-home-btn-ghost {
    flex: 1 1 auto;
    text-align: center;
  }
}

.vyh-home-mission .progress {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.vyh-home-mission .progress-bar {
  background: linear-gradient(90deg, #7b2fbe, #ffc34d);
}

.vyh-home-section-title {
  font-weight: 700;
  font-size: 1.35rem;
  margin-bottom: 1.25rem;
}

/* Carousel */
.vyh-home-carousel-wrap {
  margin: 2.5rem 0;
  padding: 2rem 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.vyh-home-carousel {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
}

.home-carousel-slide {
  display: none;
}

.home-carousel-slide.active {
  display: block;
}

.vyh-carousel-card {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 1.5rem;
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  overflow: hidden;
}

@media (max-width: 767px) {
  .vyh-carousel-card {
    grid-template-columns: 1fr;
  }
}

.vyh-carousel-card-media {
  aspect-ratio: 16 / 10;
  background: #141c26 center / cover no-repeat;
}

.vyh-carousel-card-body {
  padding: 1.25rem 1.5rem;
}

.vyh-carousel-card-body h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.vyh-carousel-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: #9aa8bc;
  margin-bottom: 0.75rem;
}

.vyh-carousel-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.vyh-badge {
  font-size: 0.72rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 195, 77, 0.15);
  color: #ffc34d;
  border: 1px solid rgba(255, 195, 77, 0.3);
}

.vyh-badge-muted {
  background: rgba(255, 255, 255, 0.06);
  color: #b8c2d1;
  border-color: rgba(255, 255, 255, 0.12);
}

.home-carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(0, 0, 0, 0.45);
  color: #e8ecf2;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
}

.home-carousel-nav:hover {
  border-color: rgba(255, 195, 77, 0.5);
  color: #ffc34d;
}

.home-carousel-prev {
  left: 0.25rem;
}

.home-carousel-next {
  right: 0.25rem;
}

.home-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.45rem;
  margin-top: 1.25rem;
}

.home-carousel-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
}

.home-carousel-dot.active {
  background: #ffc34d;
  box-shadow: 0 0 0 3px rgba(255, 195, 77, 0.25);
}

/* Grid */
.vyh-home-grid-section {
  padding: 2.5rem 0 3rem;
}

.vyh-home-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.vyh-home-card {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none !important;
  color: inherit !important;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.vyh-home-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 195, 77, 0.35);
}

.vyh-home-card-img {
  aspect-ratio: 16 / 10;
  background: #141c26 center / cover no-repeat;
}

.vyh-home-card-body {
  padding: 1rem 1.1rem 1.15rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.vyh-home-card-body h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #e8ecf2 !important;
}

.vyh-home-card-meta {
  font-size: 0.78rem;
  color: #8d9cb3 !important;
  margin-top: auto;
}

/* Winners — Tombola & Koleso */
.vyh-home-winners {
  padding: 2.5rem 0 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.015), transparent 40%);
}

.vyh-home-winners-head {
  margin-bottom: 1.75rem;
  max-width: 40rem;
}

.vyh-home-winners-head .vyh-home-section-title {
  margin-bottom: 0.5rem;
}

.vyh-home-winners-subtitle {
  color: #a8b3c4;
  font-size: 1rem;
  margin: 0;
  max-width: 32rem;
}

.vyh-home-winner-panel {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 280px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.22);
}

.vyh-home-winner-panel-head {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.35rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(135deg, rgba(123, 47, 190, 0.12), rgba(255, 195, 77, 0.06));
}

.vyh-home-winner-icon {
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.vyh-home-winner-panel-head h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 0.25rem;
  color: #e8ecf2;
}

.vyh-home-winner-panel-head p {
  margin: 0;
  font-size: 0.82rem;
  color: #9aa8bc;
}

.vyh-home-winner-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1rem 1.1rem;
  flex: 1;
}

.vyh-home-winner-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.7rem 0.85rem;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.06);
  text-decoration: none !important;
  color: inherit !important;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.vyh-home-winner-item:hover {
  border-color: rgba(255, 195, 77, 0.35);
  background: rgba(255, 195, 77, 0.06);
  transform: translateY(-1px);
}

.vyh-home-winner-user {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  flex: 1;
}

.vyh-home-winner-avatar {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: #1a1205;
  background: linear-gradient(135deg, #ffc34d 0%, #e6a820 100%);
}

.vyh-home-winner-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.vyh-home-winner-meta strong {
  font-size: 0.9rem;
  font-weight: 700;
  color: #e8ecf2 !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vyh-home-winner-meta span {
  font-size: 0.72rem;
  color: #8d9cb3;
}

.vyh-home-winner-prize {
  flex-shrink: 0;
  max-width: 42%;
  text-align: right;
  font-size: 0.8rem;
  font-weight: 600;
  color: #ffc34d;
  line-height: 1.3;
}

.vyh-home-winner-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1.5rem;
  gap: 0.75rem;
}

.vyh-home-winner-empty-icon {
  font-size: 2rem;
  line-height: 1;
  opacity: 0.9;
}

.vyh-home-winner-empty p {
  margin: 0;
  color: #a8b3c4;
  font-size: 0.95rem;
}

.vyh-home-winner-panel-foot {
  padding: 1rem 1.25rem 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: right;
}

@media (max-width: 575px) {
  .vyh-home-winner-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .vyh-home-winner-prize {
    max-width: 100%;
    text-align: left;
    align-self: stretch;
  }
}

.vyh-home-benefits {
  padding: 2.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.vyh-home-benefits h2 {
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.vyh-home-benefit {
  margin-bottom: 1.75rem;
}

.vyh-home-benefit h3 {
  font-size: 1.05rem;
  font-weight: 700;
}

.vyh-home-benefit p {
  color: #a8b3c4;
  margin: 0;
}

/* Newsletter section */
.vyh-home-newsletter {
  position: relative;
  padding: 72px 24px;
  background: linear-gradient(135deg,
    rgba(18,26,36,0.97) 0%,
    rgba(30,20,45,0.92) 100%);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  overflow: hidden;
}

.vyh-home-newsletter::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(123,47,190,0.18) 0%, transparent 70%);
  pointer-events: none;
}

.vyh-home-newsletter::after {
  content: '';
  position: absolute;
  bottom: -60px; left: -60px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(255,195,77,0.10) 0%, transparent 70%);
  pointer-events: none;
}

.vyh-home-newsletter-inner {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.vyh-home-newsletter-badge {
  display: inline-block;
  background: rgba(255,195,77,0.12);
  border: 1px solid rgba(255,195,77,0.25);
  color: #ffc34d;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.vyh-home-newsletter-title {
  color: #e8ecf2;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 14px;
}

.vyh-home-newsletter-sub {
  color: rgba(255,255,255,0.60);
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 20px;
}

.vyh-home-newsletter-perks {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.vyh-home-newsletter-perks li {
  color: rgba(255,255,255,0.72);
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.vyh-home-newsletter-form-wrap {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 20px;
  padding: 32px;
}

.vyh-home-newsletter-field {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

.vyh-home-newsletter-input {
  flex: 1;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  padding: 13px 20px;
  color: #e8ecf2;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}

.vyh-home-newsletter-input::placeholder {
  color: rgba(255,255,255,0.38);
}

.vyh-home-newsletter-input:focus {
  border-color: rgba(255,195,77,0.45);
}

.vyh-home-newsletter-btn {
  background: linear-gradient(135deg, #ffc34d, #e6a820);
  color: #1a1205;
  font-weight: 700;
  font-size: 14px;
  padding: 13px 24px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: opacity 0.2s;
}

.vyh-home-newsletter-btn:hover {
  opacity: 0.88;
}

.vyh-home-newsletter-legal {
  color: rgba(255,255,255,0.30);
  font-size: 11px;
  line-height: 1.5;
  margin-top: 10px;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .vyh-home-newsletter-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .vyh-home-newsletter-field {
    flex-direction: column;
  }
  .vyh-home-newsletter-btn {
    width: 100%;
    padding: 14px;
  }
  .vyh-home-newsletter-form-wrap {
    padding: 20px;
  }
}

body.vyhraj-home .myBtn {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #e8ecf2;
}
