@import url('https://cdn.jsdelivr.net/npm/@fontsource/oswald@5.0.18/index.css');

:root {
  --wc-red: #d7252a;
  --wc-blue: #06295b;
  --wc-cream: #f7f3ea;
  --wc-gold: #ffd166;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: radial-gradient(circle at 10% 5%, #ffffff 0%, #f2f5fb 40%, #e9edf7 100%);
  color: #1e1e1e;
  cursor: url("/img/Wait.ani"), progress;
}

.hero-header {
  background: linear-gradient(125deg, var(--wc-blue), #0f4b9a 45%, var(--wc-red));
  box-shadow: 0 8px 24px rgba(6, 41, 91, 0.25);
}

.site-footer {
  background: linear-gradient(125deg, #07295f, #0f4b9a 48%, #c72228);
  box-shadow: 0 -8px 24px rgba(6, 41, 91, 0.18);
}

.site-footer-text {
  color: rgba(255, 255, 255, 0.94);
  font-family: "Oswald", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  letter-spacing: 0.03em;
  font-size: 1.02rem;
}

.site-footer-link {
  color: #ffe3a6;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 227, 166, 0.62);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.site-footer-link:hover,
.site-footer-link:focus {
  color: #fff4cf;
  border-bottom-color: rgba(255, 244, 207, 0.9);
}

.hero-header .navbar-brand span,
.hero-header .navbar-nav .nav-link {
  font-family: "Oswald", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-header .navbar-nav .nav-link {
  color: #ffffff !important;
  font-weight: 600;
  font-size: 1.2rem;
  display: inline-flex;
  align-items: center;
}

.hero-header .navbar-nav .nav-link:hover,
.hero-header .navbar-nav .nav-link:focus,
.hero-header .navbar-nav .nav-link.active {
  color: #ffe3a6 !important;
}

.brand-logo {
  width: 84px;
  height: 84px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.prize-html-content > :last-child {
  margin-bottom: 0;
}

.prize-highlight-card {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 209, 102, 0.3) 0%, rgba(255, 209, 102, 0) 42%),
    radial-gradient(circle at 28% 88%, rgba(215, 37, 42, 0.1) 0%, rgba(215, 37, 42, 0) 46%),
    linear-gradient(126deg, #fffdf8 0%, #f8fbff 52%, #eef4ff 100%);
  border: 1px solid rgba(15, 75, 154, 0.2);
  box-shadow:
    0 16px 34px rgba(8, 38, 84, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.prize-highlight-card .prize-html-content {
  position: relative;
  z-index: 2;
  padding: 1.1rem 34% 1.1rem 1rem;
  border-radius: 0.8rem;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.74) 72%, rgba(255, 255, 255, 0.48) 100%);
}

.prize-highlight-card::before {
  content: "";
  position: absolute;
  top: -18%;
  left: 0;
  width: 34%;
  height: 136%;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.64) 46%, rgba(255, 255, 255, 0) 100%);
  transform: translateX(-190%) skewX(-18deg);
  animation: prize-shimmer 5.8s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

.prize-highlight-card::after {
  content: "🏆";
  position: absolute;
  right: 2%;
  top: 50%;
  transform: translateY(-50%);
  width: 30%;
  text-align: center;
  font-size: clamp(100px, 14vw, 230px);
  line-height: 1;
  opacity: 0.24;
  filter: saturate(1.2);
  pointer-events: none;
  z-index: 1;
}

@keyframes prize-shimmer {
  0% {
    transform: translateX(-190%) skewX(-18deg);
    opacity: 0;
  }

  12% {
    opacity: 0.9;
  }

  38% {
    transform: translateX(325%) skewX(-18deg);
    opacity: 0;
  }

  100% {
    transform: translateX(325%) skewX(-18deg);
    opacity: 0;
  }
}

.prize-html-content h1,
.prize-html-content h2,
.prize-html-content h3,
.prize-html-content h4 {
  color: var(--wc-blue);
}

.prize-html-content table {
  width: 100%;
}

.prize-html-content img {
  max-width: 100%;
  height: auto;
}

@media (max-width: 991.98px) {
  .prize-highlight-card .prize-html-content {
    padding-right: 1rem;
  }

  .prize-highlight-card::before {
    width: 42%;
    animation-duration: 6.6s;
    opacity: 0.65;
  }

  .prize-highlight-card::after {
    opacity: 0.12;
    width: 38%;
    right: -2%;
    font-size: clamp(84px, 22vw, 150px);
  }
}

.glass-card {
  border: 0;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(16, 34, 66, 0.1);
  background: rgba(255, 255, 255, 0.95);
}

.home-hero-card {
  border: 0;
  border-radius: 1rem;
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 209, 102, 0.2) 0%, rgba(255, 209, 102, 0) 36%),
    linear-gradient(135deg, #082654, #0f4b9a 48%, #d7252a 100%);
  color: #fff;
  box-shadow: 0 14px 36px rgba(8, 38, 84, 0.35);
}

.home-hero-badge {
  display: inline-block;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: rgba(255, 255, 255, 0.16);
}

.home-hero-title {
  font-size: clamp(1.6rem, 2.6vw, 2.5rem);
  font-weight: 900;
  line-height: 1.08;
}

.home-hero-text {
  font-size: 1.02rem;
  max-width: 56ch;
  color: rgba(255, 255, 255, 0.92);
}

.home-score-box {
  background: rgba(255, 255, 255, 0.94);
  color: #182033;
  border-radius: 0.9rem;
  padding: 1rem;
}

.score-item {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: baseline;
  padding: 0.35rem 0;
  border-bottom: 1px dashed rgba(12, 45, 96, 0.16);
}

.score-item:last-child {
  border-bottom: 0;
}

.score-value {
  font-weight: 900;
  color: #d7252a;
}

.score-label {
  color: #1d2840;
}

.match-card {
  border: 0;
  border-left: 5px solid var(--wc-red);
  border-radius: 1rem;
  transition: transform 0.2s ease;
}

.match-card:hover {
  transform: translateY(-2px);
}

.flag-icon {
  width: 26px;
  height: 18px;
  object-fit: cover;
  border-radius: 3px;
  border: 1px solid #ddd;
}

.stat-kpi {
  background: linear-gradient(120deg, #0a4f9d, #2166c2);
  color: #fff;
  border-radius: 1rem;
  padding: 1rem;
}

.tips-grid .col-md-6 {
  display: flex;
}

.tip-match-card {
  width: 100%;
  border: 0;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(15, 32, 60, 0.16);
}

.tip-match-hero {
  min-height: 260px;
  padding: 1rem 1rem 1.2rem;
  background-size: cover;
  background-position: center;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.tip-match-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.95);
}

.tip-meta-group {
  font-size: 0.92rem;
  font-weight: 600;
}

.tip-meta-date {
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.1;
}

.tip-match-teams {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.7rem;
  align-items: center;
}

.tip-team {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-width: 0;
}

.tip-team-name {
  margin: 0;
  font-size: clamp(1.1rem, 1.45vw, 1.9rem);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.05;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  overflow-wrap: anywhere;
  word-break: break-word;
}

.tip-versus {
  font-size: 1.2rem;
  font-weight: 800;
  opacity: 0.96;
}

.tip-score-row .form-control {
  font-weight: 700;
}

.tip-match-card .flag-icon {
  width: 52px;
  height: 36px;
  border: 0;
  border-radius: 4px;
  box-shadow: none;
}

.tip-flag-away {
  align-self: flex-end;
}

.tip-match-card .form-label {
  font-weight: 600;
}

.home-match-card .tip-team-name {
  font-size: clamp(1rem, 1.3vw, 1.7rem);
}

.home-match-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.stat-hero-card {
  min-height: 180px;
  border-radius: 1rem;
  padding: 1rem;
  color: #fff;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 12px 28px rgba(15, 32, 60, 0.22);
}

.stat-hero-label {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

.stat-hero-value {
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 900;
  line-height: 1;
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
}

.chart-wrap {
  position: relative;
  width: 100%;
  height: 320px;
}

.favorite-team-list {
  max-height: 340px;
  overflow: auto;
  border: 1px solid #dee2e6;
  border-radius: 0.75rem;
  padding: 0.5rem;
  background: #fff;
}

.favorite-team-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.45rem 0.55rem;
  border-radius: 0.5rem;
  cursor: pointer;
}

.favorite-team-item:hover {
  background: #f4f7ff;
}

.favorite-team-item input[type="radio"] {
  margin-top: 0;
}

@media (max-width: 767.98px) {
  .tip-match-hero {
    min-height: 230px;
  }

  .tip-team-name {
    font-size: 1.55rem;
  }

  .home-match-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .chart-wrap {
    height: 280px;
  }
}
