/* Homepage styles. Plain CSS served as-is (not part of the gulp site.min.css bundle). */
.site-home-page .hero {
  text-align: center;
}
.site-home-page .hero-logo {
  width: 260px;
  max-width: 60%;
  height: auto;
}
.site-home-page .hero-tagline {
  margin-top: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}
.site-home-page .hero-apps {
  display: inline-flex;
  gap: 6px;
  margin-left: 8px;
  vertical-align: middle;
}
.site-home-page .hero-apps a {
  padding: 1px 9px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
}
.site-home-page .hero-apps a:hover {
  color: #5cf8db;
  border-color: rgba(92, 248, 219, 0.5);
}
.site-home-page .hero-search {
  /* one colour for the search bar and its dropdown */
  --hs-bg: #1a1a40;
  --hs-border: rgba(255, 255, 255, 0.22);
  position: relative;
  max-width: 720px;
  margin: 18px auto 0;
}
.site-home-page .hero-search i {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 17px;
  color: rgba(255, 255, 255, 0.55);
  pointer-events: none;
}
/* a search running (home.js): the magnifier turns into a spinner */
.site-home-page .hero-search.is-loading i::before {
  content: "\f1ce"; /* circle-notch */
  display: inline-block;
  animation: fa-spin 0.8s linear infinite;
}
.site-home-page .hero-search .search-home-page {
  height: 54px;
  padding: 0 18px 0 48px;
  font-size: 16px;
  color: #fff;
  border-radius: 14px;
  background: var(--hs-bg);
  border: 1px solid var(--hs-border);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}
.site-home-page .hero-search .search-home-page::placeholder {
  color: rgba(255, 255, 255, 0.5);
}
.site-home-page .hero-search .search-home-page:focus {
  background: var(--hs-bg);
  border-color: rgba(92, 248, 219, 0.8);
  box-shadow: 0 0 0 4px rgba(92, 248, 219, 0.18), 0 8px 24px rgba(0, 0, 0, 0.25);
}
/* matches _general.scss: below 992px the site hides this search in favour of the mobile header search */
@media (max-width: 992px) {
  .site-home-page .hero-search {
    display: none;
  }
}
@media (max-width: 575px) {
  .site-home-page .hero-logo {
    width: 200px;
  }
  .site-home-page .hero-apps {
    display: flex;
    justify-content: center;
    margin: 6px 0 0;
  }
}
.site-home-page .home-quicklinks {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  max-width: 800px;
  margin: 20px auto 0;
}
@media (max-width: 575px) {
  .site-home-page .home-quicklinks {
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
  }
}
.site-home-page .home-quicklinks a {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 12px 6px 10px;
  border-radius: 12px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  color: rgba(255, 255, 255, 0.88);
  transition: transform 0.15s, border-color 0.15s, color 0.15s;
}
.site-home-page .home-quicklinks a:hover {
  transform: translateY(-2px);
  border-color: rgba(92, 248, 219, 0.5);
  color: #fff;
}
.site-home-page .home-quicklinks .ql-icon {
  font-size: 18px;
  color: #5cf8db;
}
.site-home-page .home-quicklinks .ql-go {
  position: absolute;
  top: 7px;
  right: 8px;
  font-size: 9px;
  color: rgba(255, 255, 255, 0.35);
  transition: transform 0.15s, color 0.15s;
}
.site-home-page .home-quicklinks a:hover .ql-go {
  color: #5cf8db;
  transform: translate(2px, -2px);
}
@media (max-width: 575px) {
  .site-home-page .home-quicklinks a {
    padding: 10px 4px 8px;
    font-size: 11px;
  }
}
.site-home-page .home-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 26px 0 10px;
}
.site-home-page .home-section-head h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
}
.site-home-page .home-section-head a {
  white-space: nowrap;
}
.site-home-page .home-section-head a {
  font-size: 13px;
  font-weight: 600;
  color: #5cf8db;
}
.site-home-page .home-section-head a i,
.site-home-page .home-panel-viewall i {
  margin-left: 4px;
  transition: transform 0.15s;
}
.site-home-page .home-section-head a:hover i,
.site-home-page .home-panel-viewall:hover i {
  transform: translateX(3px);
}
.site-home-page .hpc-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 12px;
}
@media (max-width: 1399px) {
  .site-home-page .hpc-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}
@media (max-width: 991px) {
  .site-home-page .hpc-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
@media (max-width: 575px) {
  .site-home-page .hpc-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}
.site-home-page .home-panel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 991px) {
  .site-home-page .home-panel-grid {
    grid-template-columns: 1fr;
  }
}
.site-home-page .home-panel {
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
  overflow: hidden;
  /* header / list / footer share rows across the three panels so they always line up */
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 3;
  row-gap: 0;
}
.site-home-page .home-panel-foot {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}
.site-home-page .home-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: linear-gradient(90deg, rgba(92, 248, 219, 0.08) 0%, rgba(92, 248, 219, 0) 100%);
}
.site-home-page .home-panel-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  min-width: 0;
  color: #fff;
}
.site-home-page .home-panel-date {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2px;
  color: rgba(255, 255, 255, 0.5);
  white-space: nowrap;
}
.site-home-page .home-panel-date i {
  margin-right: 5px;
}
.site-home-page .home-panel-title i {
  color: #5cf8db;
  margin-right: 6px;
}
.site-home-page .home-panel-viewall {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 16px;
  border: 1px solid rgba(92, 248, 219, 0.35);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  color: #5cf8db;
  transition: background 0.15s, border-color 0.15s;
}
.site-home-page .home-panel-viewall:hover {
  color: #5cf8db;
  background: rgba(92, 248, 219, 0.1);
  border-color: rgba(92, 248, 219, 0.6);
}
.site-home-page .home-panel-list {
  margin: 0;
  padding: 4px 0;
}
.site-home-page .home-panel-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  transition: background 0.15s;
}
.site-home-page .home-panel-row + .home-panel-row {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}
.site-home-page .home-panel-row:hover {
  background: rgba(255, 255, 255, 0.03);
}
.site-home-page .home-panel-thumb {
  width: 34px;
  height: 34px;
  object-fit: cover;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.2);
  flex: 0 0 34px;
}
.site-home-page .home-panel-thumb--player {
  --club: 92, 248, 219;
  background: radial-gradient(circle at 50% 65%, rgba(var(--club), 0.55) 0%, rgba(var(--club), 0.15) 55%, rgba(var(--club), 0) 72%), rgba(0, 0, 0, 0.2);
  box-shadow: 0 0 10px rgba(var(--club), 0.3);
}
.site-home-page .home-panel-badges {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 3px;
}
.site-home-page .home-panel-badges img {
  width: 15px;
  height: 15px;
  object-fit: contain;
}
.site-home-page .home-panel-badges .home-panel-flag {
  width: 20px;
  height: 20px;
  /* nation images are padded squares: show them whole, no ring (it framed the padding) */
  object-fit: contain;
}
.site-home-page .home-panel-icon {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex: 0 0 34px;
  color: #5cf8db;
  background: rgba(92, 248, 219, 0.1);
  font-size: 14px;
}
.site-home-page .home-panel-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}
.site-home-page .home-panel-name {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.site-home-page .home-panel-name:hover {
  color: #5cf8db;
}
.site-home-page .home-panel-sub {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
/* same treatment as the OVR on the player cards (.hpc-ovr) */
.site-home-page .home-panel-ovr {
  flex: 0 0 auto;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  min-width: 30px;
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.65);
}
.site-home-page .home-panel-ovr-lbl {
  margin-top: 1px;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.5px;
  opacity: 0.65;
}

/* Homepage hero search: dark skin field colour (the dropdown itself is styled in css/layout/site-bar.css) */
.site-dark-skin .site-home-page .hero-search {
  --hs-bg: #1c1c1c;
}
