.how-it-works {
  padding: 1rem 0;
}

.how-it-works__content {
  max-width: 1300px;
  margin: 0 auto;
}

.how-it-works__content h2 {
  margin-bottom: 1rem;
}

.how-it-works__content h3 {
  margin-top: 1rem;
  margin-bottom: 0.75rem;
}

.how-it-works__content p {
  margin-bottom: 1rem;
  line-height: 1.7;
}

.credit-FAQ {
    margin-top: 3rem
}

.hero-data-credit {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;

  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.62);

  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-data-credit img {
  width: 40px;                /* slightly bigger */
  height: 40px;
  object-fit: contain;
  display: block;
  opacity: 0.85;

  transform: translateY(1px); /* fine-tune vertical alignment */
}

.hero-data-credit a {
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
}

.hero-data-credit a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .hero {
    padding: 2rem 0;
  }

  .hero__grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }

  .hero__text {
    text-align: center;
  }

  .hero__text h1 {
    font-size: 2.4rem;
    line-height: 1.05;
  }

  .hero__text p {
    font-size: 1rem;
  }

  .hero__actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: stretch;
  }

  .hero__actions .btn {
    text-align: center;
    width: 100%;
  }

  .hero-data-credit {
    justify-content: center;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    flex-wrap: wrap;
    text-align: center;
  }

  .hero-card {
    padding: 1rem;
    border-radius: 18px;
  }

  .match-item {
    padding: 0.9rem;
  }

  .match-item__teams {
    gap: 0.5rem;
  }

  .match-team {
    min-width: 0;
  }

  .match-team__logo {
    width: 36px;
    height: 36px;
  }

  .match-team__abbr {
    font-size: 0.85rem;
  }

  .how-it-works {
    padding: 0.5rem 0 1.5rem;
  }

  .how-it-works__content {
    text-align: center;
  }

  .credit-FAQ {
    margin-top: 2rem;
  }

  .features {
    padding-top: 1rem;
  }

  .section-title {
    text-align: center;
    font-size: 1.7rem;
  }

  .feature-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .feature-card {
    padding: 1.2rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero__text h1 {
    font-size: 2rem;
  }

  .hero-card h3 {
    text-align: center;
  }

  .match-item__teams {
    flex-direction: column;
  }

  .match-item__vs {
    margin: 0.2rem 0;
  }
}

.home-news-section {
  padding: 3rem 0;
}

.home-section-heading {
  margin-bottom: 1.5rem;
}

.home-section-heading h2 {
  margin: 0 0 0.5rem;
  font-size: 2rem;
}

.home-section-heading p {
  margin: 0;
  color: var(--muted);
}

.home-news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.home-news-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.025));
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 1.25rem;
  box-shadow: var(--shadow);
}

.home-news-card__top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  align-items: center;
}

.home-news-card__category {
  background: rgba(59, 130, 246, 0.15);
  color: #b9d5ff;
  border: 1px solid rgba(59, 130, 246, 0.25);
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
}

.home-news-card__date {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 600;
}

.home-news-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
}

.home-news-card p {
  margin: 0 0 1rem;
  color: var(--muted);
  line-height: 1.5;
}

.home-news-card__link {
  color: var(--orange);
  font-weight: 700;
}

.home-news-card__link:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .home-news-grid {
    grid-template-columns: 1fr;
  }
}

.hidden-news {
  display: none;
}

.home-news-more {
  margin-top: 1.5rem;
  text-align: center;
}

.home-news-more-btn {
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--panel);
  color: var(--text);
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.home-news-more-btn:hover {
  background: var(--panel-light);
  transform: translateY(-1px);
}

.home-news-card__image {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 16px;
  background: var(--bg-darker);
  border: 1px solid var(--border);
  padding: 10px;
  margin-bottom: 12px;
}

.home-section-heading--with-action {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
}

@media (max-width: 700px) {
  .home-section-heading--with-action {
    align-items: flex-start;
    flex-direction: column;
  }
}


.home-upset-section {
  margin-top: 4rem;
}

.biggest-upset-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 2rem;
  box-shadow: var(--shadow);
}

.biggest-upset-card__teams {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.biggest-upset-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
}

.biggest-upset-team img {
  width: 82px;
  height: 82px;
  object-fit: contain;
}

.biggest-upset-team span {
  font-weight: 700;
  text-align: center;
}

.biggest-upset-vs {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--orange);
}

.biggest-upset-details {
  margin-top: 2rem;
  text-align: center;
}

.biggest-upset-details strong {
  display: block;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.live-now-section {
  margin-top: 3rem;
  padding: 2rem 0;
}

.live-now-header {
  margin-bottom: 1rem;
}

.live-now-header h2 {
  margin: 0;
}

.live-now-header p {
  color: var(--muted);
}

.live-now-list {
  display: grid;
  gap: 1.5rem;
}

.live-now-card {
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.live-now-player {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 0.9rem;
  overflow: hidden;
  background: #000;
  margin-bottom: 1rem;
}

.live-now-player iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.live-now-info {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.live-now-title-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.live-now-title-row h3 {
  margin: 0;
}

.live-now-info p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.live-now-info small {
  color: var(--muted);
}

.live-pill {
  display: inline-flex;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: #ef4444;
  color: white;
  font-size: 0.7rem;
  font-weight: 800;
}
/*
.match-countdown{
  padding-bottom: 1rem;
  padding-top: 0rem;
}
*/
.recent-results-card {
  margin-top: 1rem;
}

.recent-tip-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.recent-tip-card {
  padding: 0.9rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
}

.recent-tip-card--won {
  border-color: rgba(34, 197, 94, 0.35);
}

.recent-tip-card--lost {
  border-color: rgba(239, 68, 68, 0.35);
}

.recent-tip-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.7rem;
}

.recent-tip-card__status {
  font-weight: 700;
}

.recent-tip-card__amount {
  font-weight: 800;
  font-size: 1.05rem;
}

.recent-tip-card--won .recent-tip-card__amount {
  color: #22c55e;
}

.recent-tip-card--lost .recent-tip-card__amount {
  color: #ef4444;
}

.recent-tip-card__match {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
}

.recent-tip-card__score {
  font-weight: 800;
  color: var(--text);
  white-space: nowrap;
}

.recent-tip-card__picked {
  margin: 0.6rem 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}

.recent-results-section {
  padding: 4rem 0;
}

.recent-results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.recent-tip-card {
  background: linear-gradient(
    180deg,
    rgba(18, 26, 47, 0.95),
    rgba(10, 15, 30, 0.95)
  );

  border: 1px solid var(--border);
  border-radius: 22px;

  padding: 1.5rem;

  box-shadow: var(--shadow);

  transition: transform 0.2s ease, border-color 0.2s ease;
}

.recent-tip-card:hover {
  transform: translateY(-4px);
}

.recent-tip-card--won {
  border-color: rgba(34, 197, 94, 0.35);
}

.recent-tip-card--lost {
  border-color: rgba(239, 68, 68, 0.35);
}

.recent-tip-card__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;

  margin-bottom: 1.5rem;
}

.recent-tip-card__status {
  display: inline-block;

  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;

  color: var(--muted);

  margin-bottom: 0.4rem;
}

.recent-tip-card__picked {
  margin: 0;
  color: var(--text);
  font-size: 1rem;
}

.recent-tip-card__amount {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.recent-tip-card--won .recent-tip-card__amount {
  color: #22c55e;
}

.recent-tip-card--lost .recent-tip-card__amount {
  color: #ef4444;
}

.recent-tip-card__match {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.recent-tip-card__score {
  font-size: 1.4rem;
  font-weight: 800;
  white-space: nowrap;
}

.recent-tip-card .match-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.recent-tip-card .match-team__logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.recent-tip-card .match-team__abbr {
  font-weight: 700;
}