/* ===============================
   GLOBAL RESET
================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  background: #0b1020;
  color: #ffffff;
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

.site-logo {
  margin-bottom: 16px;
}

.site-logo img {
  height: 60px;
  width: auto;
}

/* ===============================
   CONTAINER
================================ */
.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 15px;
}

/* ===============================
   HEADER – CLEAN & COMPACT
================================ */
.site-header {
  background: linear-gradient(180deg, #0b1020 0%, #070b18 100%);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.header-inner {
  padding: 28px 15px 34px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* LOGO */
.site-logo {
  margin-bottom: 14px;
}

.site-logo img {
  height: 52px;
  width: auto;
}

/* TEXT */
.header-text {
  max-width: 820px;
}

.page-hero-title {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.25;
  color: #ffffff;
}

.page-hero-title .subtitle {
  display: block;
  margin-top: 6px;
  font-size: 15px;
  font-weight: 500;
  color: #b8c1ff;
}

/* DESCRIPTION */
.hero-description {
  margin-top: 14px;
  font-size: 14.5px;
  color: #d6dcff;
  opacity: 0.9;
}

/* ===============================
   HEADER RESPONSIVE
================================ */
@media (max-width: 600px) {
  .page-hero-title {
    font-size: 24px;
  }

  .hero-description {
    font-size: 13.5px;
  }

  .site-logo img {
    height: 46px;
  }
}

/* ===============================
   HERO BANNER SLIDER
================================ */
.hero-banner {
  position: relative;
  overflow: hidden;
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 520px; /* same as banner height */
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-slider {
    height: 360px;
  }
}
/* ===============================
   SECTION TITLE
================================ */
.section-title-wrap {
  padding: 50px 0 25px;
  text-align: center;
}

.section-title-wrap h2 {
  font-size: 30px;
  font-weight: 700;
}

/* ===============================
   MATCH SECTION
================================ */
.matches-section {
  padding: 40px 0 80px;
}

/* ===============================
   MATCH GRID – 3 COLUMNS
================================ */
.match-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

/* ===============================
   MATCH CARD – EQUAL HEIGHT
================================ */
.match-card {
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(0,0,0,0.35);
  display: flex;
  flex-direction: column;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.match-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.55);
}

/* ===============================
   CARD IMAGE – SAME SIZE
================================ */
.match-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.match-card:hover img {
  transform: scale(1.08);
}

/* ===============================
   CARD CONTENT
================================ */
.match-details {
  padding: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #f4f7fb 100%);
  color: #111;
  display: flex;
  flex-direction: column;
  flex: 1; /* 🔑 makes all cards equal height */
}

/* TITLE – STRONG LIKE REFERENCE */
.match-details h3 {
  font-size: 21px;
  font-weight: 800;
  color: #0d1b2a;
  line-height: 1.35;
  margin-bottom: 14px;
}

/* ===============================
   MATCH META INFO (FIXED GAP)
================================ */
.match-info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 22px; /* 🔑 equal gap before button */
}

.match-info p {
  font-size: 14px;
  color: #555;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ===============================
   BUTTON – SAME POSITION ALWAYS
================================ */
.match-btn {
  margin-top: auto;
  width: 100%;
  padding: 14px 0;
  background: linear-gradient(90deg, #1e88e5, #1976d2);
  color: #ffffff;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.match-btn:hover {
  background: #1565c0;
  transform: translateY(-2px);
}

/* ===============================
   FOOTER
================================ */
.site-footer {
  background: #070b18;
  padding: 30px 15px;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.site-footer p {
  color: #cfd3ff;
  font-size: 14px;
}

.footer-links {
  margin-top: 12px;
}

.footer-links a {
  color: #4da3ff;
  text-decoration: none;
  font-weight: 500;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-links span {
  color: #777;
  margin: 0 6px;
}

/* ===============================
   RESPONSIVE – TABLET
================================ */
@media (max-width: 1024px) {
  .match-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===============================
   RESPONSIVE – MOBILE
================================ */
@media (max-width: 600px) {
  .match-grid {
    grid-template-columns: 1fr;
  }

  .page-hero-title {
    font-size: 24px;
  }

  .section-title-wrap h2 {
    font-size: 22px;
  }

  .match-details h3 {
    font-size: 18px;
  }
}

/* ===============================
   LARGE SCREENS
================================ */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
}