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: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;
}

.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);
}

.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;
  min-height:250px;
  align-items:flex-end;
  padding:30px;
  border:1px solid rgba(0,200,255,.25);
  border-radius:28px;
  margin-bottom:20px;
  overflow:hidden;
  background:
    linear-gradient(90deg,rgba(2,8,20,.96) 0%,rgba(3,18,41,.88) 45%,rgba(5,31,62,.58) 100%),
    radial-gradient(circle at 78% 28%,rgba(0,200,255,.26),transparent 32%),
    radial-gradient(circle at 88% 78%,rgba(255,59,118,.15),transparent 28%);
  box-shadow:0 28px 90px rgba(0,0,0,.35);
}
.whats-header:after{
  content:"";
  position:absolute;
  right:-90px;
  top:-120px;
  width:430px;
  height:430px;
  border-radius:50%;
  border:1px solid rgba(0,200,255,.14);
  box-shadow:inset 0 0 80px rgba(0,200,255,.08),0 0 90px rgba(0,200,255,.11);
  pointer-events:none;
}
.whats-header > *{position:relative}
.whats-header h1{
  font-size:clamp(3rem,7vw,6.2rem);
  letter-spacing:-.055em;
  text-shadow:0 5px 0 rgba(0,150,255,.25),0 25px 70px rgba(0,0,0,.35);
}
.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{min-height:0;padding:22px;align-items:flex-start}
  .whats-header h1{font-size:clamp(2.6rem,15vw,4.4rem)}
}
