html,
body.whats-on-page {
  min-height: 100%;
  height: auto;
  overflow-y: auto;
}

.brand-link {
  color: var(--text);
  text-decoration: none;
}

.whats-container {
  width: 100%;
  min-height: 100vh;
  padding: 18px 30px 34px;
}

.whats-topbar {
  margin-bottom: 24px;
}

.whats-main {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
}

.whats-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.whats-header h1 {
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: .95;
  margin: 0;
  color: var(--text);
  text-shadow: 0 2px 0 rgba(0, 150, 255, .24);
}

.whats-header p:last-child {
  max-width: 520px;
  margin: 0 0 7px;
  color: var(--muted);
  line-height: 1.4;
  text-align: right;
}

.section-block {
  border: 1px solid var(--border);
  background: rgba(3, 12, 28, .58);
  border-radius: 24px;
  padding: 18px;
  box-shadow: 0 0 40px rgba(0, 120, 255, .08);
  margin-bottom: 18px;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.section-head h2 {
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  margin: 0;
}

.eyebrow {
  color: var(--blue2);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.live-dot::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 999px;
  background: #ff4d6d;
  box-shadow: 0 0 16px rgba(255, 77, 109, .75);
}

.carousel-controls {
  display: flex;
  gap: 8px;
}

.carousel-arrow {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(0, 200, 255, .22);
  background: rgba(6, 28, 58, .9);
  color: var(--text);
  font-size: 1.7rem;
  line-height: 1;
  font-weight: 900;
  cursor: pointer;
}

.carousel-arrow:disabled {
  opacity: .38;
  cursor: not-allowed;
}

.carousel-arrow:hover {
  border-color: rgba(0, 200, 255, .5);
  background: rgba(0, 200, 255, .14);
}

.card-carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(330px, 420px);
  gap: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 2px 2px 10px;
  scrollbar-width: thin;
}

.card-carousel > * {
  scroll-snap-align: start;
}

.live-carousel {
  grid-auto-columns: minmax(360px, 560px);
}

.event-card,
.live-card {
  border: 1px solid rgba(0, 200, 255, .14);
  background: linear-gradient(180deg, rgba(7, 29, 62, .82), rgba(2, 8, 20, .92));
  border-radius: 22px;
  padding: 16px;
  min-height: 245px;
}

.event-top {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 12px;
}

.event-logo {
  width: 56px;
  height: 56px;
  flex: 0 0 auto;
  border-radius: 16px;
  background: rgba(0, 160, 255, .12);
  border: 1px solid rgba(0, 200, 255, .14);
  display: grid;
  place-items: center;
  overflow: hidden;
  font-weight: 900;
  color: var(--blue2);
}

.event-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.event-card h3,
.live-card h3 {
  font-size: 1.18rem;
  margin-bottom: 3px;
}

.event-meta,
.match-meta {
  color: var(--muted);
  font-size: .85rem;
  line-height: 1.4;
}

.whats-event-guide {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  color: var(--text);
  font-size: .88rem;
  line-height: 1.58;
}

.whats-event-guide p,
.whats-event-guide ul {
  margin: 0;
}

.whats-event-guide ul {
  display: grid;
  gap: 5px;
  padding-left: 1.15rem;
}

.whats-event-guide li::marker {
  color: var(--blue2);
}

.whats-event-guide h4 {
  margin: 2px 0 0;
  color: var(--text);
  font-size: .92rem;
}

.whats-event-guide a {
  color: var(--blue2);
  font-weight: 800;
  text-decoration: none;
}

.whats-event-guide a:hover { text-decoration: underline; }

.status-row,
.action-row,
.gameday-row,
.detail-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.detail-list {
  display: grid;
  gap: 8px;
}

.detail-list span {
  border: 1px solid rgba(0, 200, 255, .13);
  background: rgba(255, 255, 255, .035);
  border-radius: 14px;
  padding: 9px 11px;
  color: var(--muted);
  font-size: .84rem;
}

.detail-list b {
  display: block;
  color: var(--blue2);
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: 1.3px;
  margin-bottom: 3px;
}

.compact-details {
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
}

.primary-action,
.secondary-action {
  text-decoration: none;
  border-radius: 999px;
  padding: 10px 14px;
  font-size: .8rem;
  font-weight: 900;
}

.primary-action {
  color: #06101f;
  background: var(--blue2);
}

.secondary-action {
  color: var(--text);
  border: 1px solid rgba(0, 200, 255, .22);
  background: rgba(255, 255, 255, .04);
}

.application-card .primary-action {
  background: linear-gradient(135deg, var(--blue2), #57f0a6);
}

.loading-card,
.empty-card {
  color: var(--muted);
  min-height: 140px;
}

.live-section {
  border-color: rgba(255, 77, 109, .22);
}

.whats-on-page {
  color: var(--public-text, var(--text));
}

.whats-container {
  padding-top: 10px;
}

.whats-main {
  max-width: var(--public-page-max, 1240px);
}

.whats-header,
.section-block {
  border-radius: 10px;
}

.whats-header {
  min-height: 250px;
  display: grid;
  align-items: center;
  padding: 30px;
  border: 1px solid var(--public-line, rgba(51, 145, 235, .22));
  background:
    linear-gradient(90deg, rgba(3, 12, 28, .86), rgba(6, 22, 54, .58)),
    radial-gradient(circle at 92% 18%, rgba(34, 211, 238, .14), transparent 34%);
  box-shadow: 0 18px 54px rgba(0, 0, 0, .18);
}

.whats-header h1 {
  max-width: 780px;
}

.whats-paths span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  border: 1px solid rgba(34, 211, 238, .22);
  border-radius: 999px;
  background: rgba(34, 211, 238, .08);
  padding: 0 12px;
}

.section-block {
  background: var(--public-surface, rgba(3, 12, 28, .72));
  border-color: var(--public-line, rgba(51, 145, 235, .22));
}

.event-card,
.live-card {
  border-radius: 10px;
}

@media (max-width: 760px) {
  .whats-container {
    padding: 8px 12px 28px;
  }

  .whats-main {
    width: 100%;
  }

  .whats-header {
    min-height: 0;
    padding: 22px 18px;
  }

  .whats-header h1 {
    font-size: clamp(2.4rem, 14vw, 4rem);
  }

  .whats-intro {
    max-width: 100%;
  }

  .card-carousel {
    grid-auto-columns: minmax(260px, 88vw);
  }

  .live-carousel {
    grid-auto-columns: minmax(280px, 90vw);
  }

  .section-head {
    align-items: flex-start;
  }
}

.live-event-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.event-logo.small {
  width: 52px;
  height: 52px;
  font-size: 0.9rem;
}

.live-stream-list {
  display: grid;
  gap: 10px;
}

.live-stream-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(84, 215, 255, 0.18);
  border-radius: 18px;
  background: rgba(1, 12, 26, 0.58);
  text-decoration: none;
}

.stream-logo-pair {
  display: flex;
  align-items: center;
}

.mini-logo {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(84, 215, 255, 0.34);
  background: rgba(7, 20, 42, 0.95);
  color: #54d7ff;
  font-weight: 900;
}

.mini-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.streamer-logo {
  margin-left: -10px;
  border-color: rgba(255, 48, 106, 0.55);
}

.stream-title {
  margin: 0 0 4px;
  font-weight: 900;
  color: #fff;
}

.stream-title a {
  color: #54d7ff;
  text-decoration: none;
}

.live-card small {
  display: block;
  color: var(--muted);
  margin-top: 4px;
}

.live-stream-row small {
  display: block;
  color: #b8d7f8;
  margin-top: 4px;
}

.support-bracketr-section {
  border-color: rgba(81, 255, 176, .22);
}

.support-bracketr-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  border: 1px solid rgba(0, 200, 255, .18);
  background:
    radial-gradient(circle at top left, rgba(81, 255, 176, .12), transparent 34%),
    rgba(4, 18, 40, .78);
  border-radius: 22px;
  padding: 20px;
  box-shadow: 0 20px 55px rgba(0, 0, 0, .28);
}

.support-bracketr-card h2 {
  margin: 4px 0 8px;
}

.support-bracketr-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.support-bracketr-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.support-bracketr-actions a {
  text-decoration: none;
  white-space: nowrap;
}

@media (max-width: 760px) {
  .whats-container {
    padding: 16px;
  }

  .whats-topbar {
    margin-bottom: 18px;
  }

  .whats-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .whats-header p:last-child {
    text-align: left;
    max-width: none;
  }

  .section-block {
    padding: 14px;
    border-radius: 20px;
  }

  .section-head {
    align-items: flex-start;
  }

  .card-carousel {
    grid-auto-columns: minmax(280px, 86vw);
  }

  .live-carousel {
    grid-auto-columns: minmax(290px, 86vw);
  }

  .support-bracketr-card {
    grid-template-columns: 1fr;
  }

  .support-bracketr-actions {
    justify-content: flex-start;
  }
}


/* Presentational refresh to match the new organisation profile direction without changing colours */
body.whats-on-page{
  background:
    radial-gradient(circle at 16% 8%,rgba(0,200,255,.22),transparent 30%),
    radial-gradient(circle at 84% 16%,rgba(130,50,255,.17),transparent 35%),
    radial-gradient(circle at 78% 78%,rgba(0,80,255,.15),transparent 36%),
    linear-gradient(135deg,#020814,#052342 58%,#020814);
}
body.whats-on-page:before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(120deg,transparent 0 58%,rgba(0,200,255,.055) 58% 59%,transparent 59%),
    linear-gradient(300deg,transparent 0 68%,rgba(255,59,118,.045) 68% 69%,transparent 69%);
  mask-image:linear-gradient(#000,transparent 88%);
}
.whats-container{position:relative}
.whats-topbar{
  max-width:1240px;
  margin:0 auto 24px;
  border:1px solid rgba(0,200,255,.16);
  background:rgba(2,8,20,.55);
  border-radius:20px;
  padding:10px 14px;
  backdrop-filter:blur(10px);
}
.whats-header{
  position:relative;
  display:block;
  min-height:0;
  padding:28px 30px;
  border:1px solid rgba(0,200,255,.25);
  border-radius:24px;
  margin-bottom:20px;
  overflow:hidden;
  background:
    linear-gradient(90deg,rgba(2,8,20,.96) 0%,rgba(3,18,41,.88) 58%,rgba(5,31,62,.58) 100%),
    radial-gradient(circle at 86% 22%,rgba(0,200,255,.22),transparent 30%);
  box-shadow:0 24px 70px rgba(0,0,0,.3);
}
.whats-header:after{
  content:"";
  position:absolute;
  right:-120px;
  top:-150px;
  width:390px;
  height:390px;
  border-radius:50%;
  border:1px solid rgba(0,200,255,.12);
  box-shadow:inset 0 0 70px rgba(0,200,255,.07),0 0 80px rgba(0,200,255,.09);
  pointer-events:none;
}
.whats-header > *{position:relative}
.whats-header-copy{
  max-width:780px;
}
.whats-header h1{
  max-width:720px;
  font-size:clamp(2.8rem,5.2vw,5.2rem);
  line-height:.94;
  letter-spacing:-.03em;
  margin-bottom:16px;
  text-shadow:0 4px 0 rgba(0,150,255,.22),0 20px 55px rgba(0,0,0,.32);
}
.whats-intro{
  max-width:620px;
  margin:0;
  color:var(--muted);
  line-height:1.55;
  font-size:1rem;
}
.whats-paths{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:18px;
}
.whats-paths span{
  border:1px solid rgba(0,200,255,.2);
  background:rgba(0,200,255,.07);
  border-radius:999px;
  padding:8px 11px;
  color:#d7ecff;
  font-size:.78rem;
  font-weight:900;
}
.section-block{
  position:relative;
  background:linear-gradient(180deg,rgba(6,20,44,.88),rgba(3,10,24,.9));
  border-color:rgba(0,200,255,.22);
  box-shadow:0 28px 90px rgba(0,0,0,.32);
  overflow:hidden;
}
.section-block:before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(135deg,rgba(0,200,255,.06),transparent 34%,rgba(255,59,118,.035));
}
.section-block > *{position:relative}
.live-section{border-color:rgba(255,77,109,.28)}
.event-card,.live-card,.support-bracketr-card{
  box-shadow:0 20px 55px rgba(0,0,0,.26);
}
.event-card:hover,.live-card:hover{
  transform:translateY(-2px);
  border-color:rgba(0,200,255,.38);
  box-shadow:0 24px 70px rgba(0,0,0,.34);
}
.event-card,.live-card,.carousel-arrow,.primary-action,.secondary-action{
  transition:transform .18s ease,border-color .18s ease,background .18s ease,box-shadow .18s ease;
}
.primary-action:hover,.secondary-action:hover,.carousel-arrow:hover{
  transform:translateY(-1px);
}
.card-carousel{
  padding:4px 4px 12px;
}
.event-logo{
  box-shadow:inset 0 0 28px rgba(0,200,255,.07),0 14px 34px rgba(0,0,0,.26);
}
.live-stream-row{
  background:linear-gradient(180deg,rgba(2,15,34,.78),rgba(1,8,20,.72));
}
.live-stream-row:hover{
  border-color:rgba(0,200,255,.45);
  background:rgba(0,200,255,.08);
}
@media (max-width:760px){
  .whats-header{padding:22px}
  .whats-header h1{font-size:clamp(2.5rem,14vw,4.1rem)}
}

/* Organisation-aligned public discovery layout */
body.whats-on-page {
  --whats-bg: #050a13;
  --whats-panel: #0a1322;
  --whats-line: rgba(52, 94, 145, .48);
  --whats-line-strong: rgba(68, 142, 216, .8);
  --whats-blue: #159dff;
  --whats-muted: #a8b4c7;
  margin: 0;
  color: #f5f8ff;
  background:
    radial-gradient(circle at 50% -10%, rgba(21, 157, 255, .13), transparent 38%),
    linear-gradient(180deg, #050a13 0%, #07101d 54%, #050a13 100%);
}

body.whats-on-page::before {
  display: none;
}

.whats-container {
  min-height: 100vh;
  padding: 0 0 28px;
}

.whats-container > .public-site-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  width: 100%;
  max-width: none;
  min-height: 62px;
  margin: 0;
  padding: 0 28px;
  border: 0;
  border-bottom: 1px solid rgba(37, 82, 127, .35);
  border-radius: 0;
  background: rgba(5, 10, 19, .88);
  box-shadow: none;
  backdrop-filter: blur(14px);
}

.whats-container > .public-site-nav .brand img {
  width: 142px;
  max-width: none;
}

.whats-container > .public-site-nav .top-actions {
  min-height: 72px;
  gap: 8px;
}

.whats-container > .public-site-nav .nav-pill {
  min-height: 72px;
  padding: 0 16px;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: transparent;
  color: #d8e1ef;
  box-shadow: none;
}

.whats-container > .public-site-nav .nav-pill:hover,
.whats-container > .public-site-nav .nav-pill[aria-current="page"] {
  border-bottom-color: #2f6ea8;
  background: transparent;
  color: #fff;
}

.whats-main {
  width: min(1780px, calc(100% - 64px));
  max-width: none;
  margin: 0 auto;
  padding-top: 16px;
}

.whats-header {
  min-height: 288px;
  display: grid;
  align-items: center;
  margin-bottom: 18px;
  padding: 44px 54px;
  border: 1px solid var(--whats-line);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(8, 15, 29, .97) 0%, rgba(8, 16, 31, .83) 48%, rgba(8, 16, 31, .62) 100%),
    url("/public/assets/rocket-league/match-center-access-bg.webp") center / cover;
  box-shadow: 0 18px 60px rgba(0, 0, 0, .28);
}

.whats-header::after {
  inset: 0;
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  background: linear-gradient(180deg, transparent, rgba(5, 10, 19, .4));
  box-shadow: none;
}

.whats-header-copy {
  max-width: 760px;
  z-index: 1;
}

.whats-header h1 {
  max-width: none;
  margin: 0 0 12px;
  color: #fff;
  font-size: clamp(2.8rem, 4.5vw, 4.25rem);
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow: none;
}

.whats-intro {
  max-width: 680px;
  color: #d8e0ed;
  font-size: 1.08rem;
}

.whats-paths {
  margin-top: 20px;
}

.whats-paths span {
  min-height: 36px;
  padding: 0 13px;
  border: 1px solid rgba(91, 132, 182, .72);
  border-radius: 7px;
  background: rgba(10, 20, 36, .74);
  color: #dce7f7;
  font-size: .76rem;
  letter-spacing: .02em;
}

.eyebrow {
  margin-bottom: 10px;
  color: #1fa8ff;
  font-size: .82rem;
  letter-spacing: .18em;
}

.section-block {
  margin-bottom: 18px;
  padding: 24px 30px 20px;
  border: 1px solid var(--whats-line);
  border-top: 2px solid var(--whats-blue);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(12, 23, 40, .94), rgba(7, 15, 28, .94));
  box-shadow: 0 18px 60px rgba(0, 0, 0, .28);
}

.section-block::before {
  display: none;
}

.live-section {
  border-color: var(--whats-line);
  border-top-color: #ff3d67;
}

.section-head {
  margin-bottom: 16px;
}

.section-head h2 {
  color: #fff;
  font-size: 1.55rem;
  line-height: 1.15;
}

.carousel-controls {
  gap: 8px;
}

.carousel-arrow {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(90, 130, 177, .72);
  border-radius: 8px;
  background: rgba(8, 17, 30, .82);
  font-size: 1.35rem;
}

.card-carousel {
  grid-auto-columns: minmax(420px, 1fr);
  gap: 18px;
  padding: 0 0 6px;
}

.card-carousel:has(> :only-child) {
  grid-auto-columns: minmax(0, 760px);
}

.event-card,
.live-card {
  min-height: 0;
  padding: 18px;
  border: 1px solid rgba(52, 94, 145, .44);
  border-radius: 8px;
  background: #08111f;
  box-shadow: none;
}

.event-card:hover,
.live-card:hover {
  transform: none;
  border-color: rgba(21, 157, 255, .72);
  box-shadow: none;
}

.event-top,
.live-event-head {
  align-items: center;
  gap: 18px;
  margin-bottom: 14px;
}

.event-logo,
.event-logo.small {
  width: 76px;
  height: 76px;
  border: 1px solid rgba(73, 112, 157, .62);
  border-radius: 8px;
  background: #050a13;
  box-shadow: none;
}

.event-card h3,
.live-card h3 {
  color: #fff;
  font-size: 1.2rem;
  line-height: 1.2;
}

.event-meta,
.match-meta {
  color: var(--whats-muted);
}

.detail-list {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.detail-list span {
  min-height: 58px;
  padding: 10px 12px;
  border: 1px solid rgba(52, 94, 145, .44);
  border-radius: 7px;
  background: rgba(12, 23, 40, .72);
  color: #d8e1ef;
}

.detail-list b {
  color: #26b0ff;
}

.action-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.primary-action,
.secondary-action {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  padding: 0 16px;
}

.primary-action,
.application-card .primary-action {
  background: #159dff;
  color: #fff;
}

.secondary-action {
  border-color: rgba(90, 130, 177, .72);
  background: rgba(8, 17, 30, .62);
}

.loading-card,
.empty-card {
  min-height: 126px;
  display: grid;
  place-items: center;
  color: var(--whats-muted);
  text-align: center;
}

.support-bracketr-card {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.support-bracketr-section {
  border-top-color: #34d884;
}

@media (min-width: 1500px) {
  .card-carousel {
    grid-auto-columns: minmax(430px, calc((100% - 36px) / 3));
  }
}

@media (max-width: 900px) {
  .whats-container > .public-site-nav {
    padding: 0 18px;
  }

  .whats-main {
    width: min(100% - 32px, 1780px);
  }

  .whats-header {
    min-height: 250px;
    padding: 34px 30px;
  }
}

@media (max-width: 760px) {
  .whats-container {
    padding: 0 0 20px;
  }

  .whats-container > .public-site-nav {
    min-height: 58px;
    padding: 8px 12px;
  }

  .whats-container > .public-site-nav .top-actions,
  .whats-container > .public-site-nav .nav-pill {
    min-height: 40px;
  }

  .whats-main {
    width: min(100% - 20px, 1780px);
    padding-top: 12px;
  }

  .whats-header {
    min-height: 0;
    padding: 26px 20px;
    border-radius: 8px;
  }

  .whats-header h1 {
    max-width: 100%;
    font-size: clamp(1.95rem, 8.5vw, 2.8rem);
    overflow-wrap: anywhere;
  }

  .whats-intro {
    font-size: .96rem;
  }

  .section-block {
    padding: 18px 16px 14px;
    border-radius: 8px;
  }

  .card-carousel,
  .live-carousel {
    grid-auto-columns: 100%;
    scroll-snap-type: x mandatory;
  }

  .card-carousel > *,
  .live-carousel > * {
    scroll-snap-align: start;
  }

  .event-logo,
  .event-logo.small {
    width: 62px;
    height: 62px;
  }

  .support-bracketr-card {
    gap: 18px;
  }
}
