body {
  font-family: "Segoe UI", sans-serif;
  color: #f4f4f4;
  margin: 0;
  overflow: auto;
  overflow-x: hidden;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
  -moz-overflow-scrolling: touch;
  -ms-overflow-scrolling: touch;
  -o-overflow-scrolling: touch;
  -ms-overflow-style: ms-autohiding-scrollbar;
  background: linear-gradient(to bottom, #1a1a1a, #2c2c2c);
}

header {
  background-color: #1f1f1f;
  text-align: center;
  padding: 40px 20px;
}

.header-section {
  background-image: linear-gradient(
      to top,
      rgba(19, 20, 15, 1) 10%,
      rgba(19, 20, 15, 0) 100%
    ),
    url("/images/Tavern_background.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  width: 100%;
  position: relative;
  margin-bottom: 50vh;
  top: 0;
  left: 0;
  right: 0;
  padding-top: 0;
}

header p {
  font-size: 1.2em;
  color: #ccc;
}

section {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 15px;
  padding: 2rem;
  margin: 2rem auto;
  max-width: 800px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

h1 {
  font-size: 10em;
  text-align: center;
  margin-top: 0;
  top: -20px;
  margin-bottom: 0;
  font-family: "IMPACT", sans-serif;
  background: linear-gradient(to bottom, #ffb300, #ffffff);
  -webkit-background-clip: text;
  color: transparent;
  filter: drop-shadow(4px 4px 8px rgba(0, 0, 0, 1));
}

h2 {
  font-size: 4em;
  text-align: center;
  margin-top: 0;
  font-family: "IMPACT", sans-serif;
  background: #ffffff;
  -webkit-background-clip: text;
  color: transparent;
  filter: drop-shadow(4px 4px 8px rgba(0, 0, 0, 0.8));
}

h3 {
  font-size: 2em;
  text-align: center;
  margin-top: 0;
}

.schedule ul {
  list-style: none;
  padding-left: 0;
}

.schedule li {
  margin: 10px 0;
}

iframe {
  width: 100%;
  height: 1000px;
  border: none;
}

footer {
  background-color: #1f1f1f;
  text-align: center;
  padding: 20px;
  font-size: 0.9em;
  color: #aaa;
}

a {
  color: #00aced;
  text-decoration: none;
}

:root {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  -o-box-sizing: border-box;
  box-sizing: border-box;
  cursor: default;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  -o-user-select: none;
  user-select: none;
}

*,
:before,
:after {
  -webkit-box-sizing: inherit;
  -moz-box-sizing: inherit;
  -ms-box-sizing: inherit;
  -o-box-sizing: inherit;
  box-sizing: inherit;
}

html,
body {
  position: relative;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}

html {
  overflow: hidden;
}

#page-wrap {
  position: relative;
  display: block;
  clear: both;
  background: none;
  color: #000;
  text-decoration: none;
  padding: 3rem 0;
  width: 100%;
  height: 100%;
}

#inner-wrap {
  position: absolute;
  top: 3rem;
  left: 0;
  right: 0;
  bottom: 3rem;
  display: table;
  width: 100%;
  height: 100%;
  min-height: 322px;
  overflow: visible;
}

.logo {
  position: absolute;
  z-index: 1;
  left: 4rem;
  display: block;
  width: 4vmax;
  height: 8vmax;
  min-width: 70px;
  min-height: 70px;
}

.menu-section li a {
  color: white;
  text-decoration: none;
  display: block;
  width: 100%;
  height: 100%;
}

.menu-section li a:hover {
  color: rgba(255, 179, 0, 0.8);
}

.social-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin: 2rem 0;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-icons img {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.waves {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: block;
  min-width: 100%;
  min-height: 70%;
  margin: auto 0;
}

.Header-Title-Text {
  position: relative;
  top: 45%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: block;
  width: 80vw;
  height: 100%;
  z-index: 2;
}

img,
svg {
  display: block;
  overflow: visible;
  pointer-events: none;
}

.group:before,
.group:after {
  content: "";
  display: table;
  clear: both;
}
.group {
  zoom: 1;
}

.credits {
  position: relative;
  z-index: 9;
  font-size: 130%;
  text-align: center;
  width: 100%;
  padding: 2rem 0;
}

.credits a {
  display: inline-block;
  color: #df1888;
  font-family: Arial, sans-serif;
  line-height: 1.5em;
  text-decoration: none !important;
  white-space: nowrap;
  margin: 0 1.2em;
  padding: 0.6em 0;
  transition: 150ms;
}

.credits a:hover {
  color: #2d71b9;
  cursor: pointer;
}

.credits-logo {
  fill: currentColor;
  display: inline-block;
  vertical-align: bottom;
  width: 1.6em;
  height: 1.6em;
  margin: 0 0.5em 0 0;
}

.menu-section {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  font-size: 1.2em;
  padding: 16px;
  border-radius: 30px;
  background-color: rgba(0, 0, 0, 0.4);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: auto;
  min-width: 300px;
  max-width: 800px;
}

.menu-section ul {
  list-style: none;
  display: inline-flex;
  padding: 0;
  margin: 0;
  position: relative;
}

.menu-highlight {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 100%;
  background: rgba(242, 242, 242, 0.2);
  border-radius: 16px;
  z-index: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.menu-section li {
  color: white;
  font-weight: bold;
  padding: 12px 16px;
  margin: 0 8px;
  border-radius: 16px;
  position: relative;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  transition: color 0.3s ease, background-color 0.3s ease;
  background-color: transparent;
  z-index: 1;
}

.menu-section li:hover {
  color: rgba(255, 179, 0, 0.8);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1100;
  margin-right: 12px;
}
.menu-toggle span {
  display: block;
  width: 28px;
  height: 4px;
  margin: 4px 0;
  background: #fff;
  border-radius: 2px;
  transition: 0.3s;
}

.trophy-container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
}
.trophy-container img {
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%) scale(0.8);
  z-index: -1;
  width: 100vw;
}

.Header-Title {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}
.button {
  position: relative;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(45deg, #ffb300, #ffa726, #ffd54f);
  padding: 18px 30px;
  border-radius: 18px;
  font-size: 2.2em;
  font-weight: bold;
  cursor: pointer;
  border: none;
  bottom: 3.5em;
  z-index: 500;
}

.button span {
  position: relative;
  z-index: 1;
}

.button::before {
  content: "";
  position: absolute;
  inset: 1px;
  background: #121212;
  border-radius: 18px;
  transition: 0.5s;
}

.button:hover::before {
  opacity: 0.7;
}

.button::after {
  content: "";
  position: absolute;
  inset: 0px;
  background: linear-gradient(45deg, #ffb300, #9c6615, #ffd54f);
  border-radius: 18px;
  transition: 0.5s;
  opacity: 0;
  filter: blur(20px);
}

.button:hover:after {
  opacity: 1;
}

.prize-pool {
  background-size: cover;
  background-image: url("/images/Prize Pool Background.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-color: #1f1f1f;
  height: 70vh;
  width: 100%;
  position: relative;
  margin-top: -50vh;
  z-index: 1;
}

.prize-pool-amount {
  font-size: 13vw;
  font-family: "IMPACT", sans-serif;
  color: #ffffff;
  text-align: center;
  display: flex;
  justify-content: center;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.overview {
  background: linear-gradient(
    to bottom right,
    rgba(0, 0, 0, 0.3) 30%,
    rgba(255, 179, 0, 0.8) 100%
  );
  border-radius: 15px;
  padding: 2rem;
  width: 90vw;
  margin: 2rem;
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.overview-header {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.overview-header-title {
  font-size: 4em;
  font-weight: bold;
  text-align: center;
}

.overview-header p {
  font-size: 1.25rem;
  font-weight: 400;
}

.overview-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: 70%;
  margin: 0 auto;
}

.overview-content p {
  text-align: center;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  line-height: 1.2;
  font-weight: 400;
}

.overview-content ul {
  list-style: none;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
}

.overview-content ul li {
  display: grid;
  grid-template:
    "icon"
    "line"
    "dot"
    "title";
  justify-items: center;
  align-items: center;
  text-align: center;
  color: white;
  flex: 1;
}

.overview-content ul li::before {
  content: "";
  grid-area: line;
  height: 2rem;
  border-right: 2px dotted currentColor;
}

.overview-content ul li::after {
  content: "";
  grid-area: dot;
  width: 1rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #ffb300;
  justify-self: center;
  margin-bottom: 0.5rem;
}

.overview-content ul li .emoji {
  grid-area: icon;
  width: 6rem;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  color: white;
  font-size: 3rem;
  border: 0.4rem solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  background: #ffb300;
  box-shadow: -0.5rem 0.5rem 1rem rgba(0, 0, 0, 0.45),
    inset -0.25rem 0.25rem 0.5rem rgba(0, 0, 0, 0.45);
}

.overview-content ul li .title {
  grid-area: title;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
/*  text-transform: uppercase;*/
}

.overview-content ul li a {
  color: #ffb300;
  text-decoration: none;
  transition: color 0.2s ease;
}

.overview-content ul li a:hover {
  color: white;
  text-decoration: underline;
}

.schedule {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  padding: 2rem;
  margin: 2rem auto;
  max-width: 1600px;
  justify-items: center;
  justify-content: center;
}

.schedule h2 {
  grid-column: 1 / -1;
  margin-bottom: 1.5rem;
  text-align: center;
}

.schedule .schedule-card {
  margin: 0 auto;
  background: transparent;
  box-shadow: 0px 8px 28px -9px rgba(0, 0, 0, 0.45);
  position: relative;
  width: 300px;
  height: 330px;
  border-radius: 16px;
  overflow: hidden;
}

/* Thursday Card */
.schedule .schedule-card.thursday.playing .wave {
  animation: wave 3000ms infinite linear;
}
.schedule .schedule-card.thursday.playing .wave:nth-child(2) {
  animation-duration: 4000ms;
}
.schedule .schedule-card.thursday.playing .wave:nth-child(3) {
  animation-duration: 5000ms;
}

/* Friday Card */
.schedule .schedule-card.friday.playing .wave {
  animation: wave 3500ms infinite linear;
}
.schedule .schedule-card.friday.playing .wave:nth-child(2) {
  animation-duration: 4500ms;
}
.schedule .schedule-card.friday.playing .wave:nth-child(3) {
  animation-duration: 5500ms;
}

/* Saturday Card */
.schedule .schedule-card.saturday.playing .wave {
  animation: wave 4000ms infinite linear;
}
.schedule .schedule-card.saturday.playing .wave:nth-child(2) {
  animation-duration: 5000ms;
}
.schedule .schedule-card.saturday.playing .wave:nth-child(3) {
  animation-duration: 6000ms;
}

/* Sunday Card */
.schedule .schedule-card.sunday.playing .wave {
  animation: wave 4500ms infinite linear;
}
.schedule .schedule-card.sunday.playing .wave:nth-child(2) {
  animation-duration: 5500ms;
}
.schedule .schedule-card.sunday.playing .wave:nth-child(3) {
  animation-duration: 6500ms;
}

/* Base wave styles */
.schedule .schedule-card .wave {
  position: absolute;
  width: 540px;
  height: 700px;
  opacity: 0.6;
  left: 0;
  top: 0;
  margin-left: -50%;
  margin-top: -70%;
  background: linear-gradient(744deg, #ffb300, #ffd54f 60%, #1a1a1a);
  border-radius: 40%;
}

.schedule .schedule-card .wave:nth-child(2),
.schedule .schedule-card .wave:nth-child(3) {
  top: 210px;
}

.schedule .schedule-card .infotop {
  text-align: center;
  font-size: 20px;
  position: absolute;
  left: 0;
  height: 100%;
  right: 0;
  color: rgb(255, 255, 255);
  font-weight: 600;
}

.emoji {
  font-size: 2.25em;
  font-weight: bolder;
  filter: drop-shadow(4px 4px 8px rgba(0, 0, 0, 0.8));
}

.final-day {
  font-size: 2.25em;
  /*line-height: 1;*/
  font-weight: bolder;
  filter: drop-shadow(4px 4px 8px rgba(0, 0, 0, 0.8));
}

.infotop {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 3em;
  justify-content: flex-start;
  align-items: center;
}

.schedule .schedule-card .day {
  font-weight: bold;
  position: relative;
  font-size: 1.25em;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.schedule .schedule-card .date {
  font-size: 1.5em;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

@keyframes wave {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.schedule .schedule-card .event {
  font-size: 1.8em;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

/* BREAKPOINTS START*/

/* PHONE BREAKPOINT */

@media (max-width: 700px) {
  .menu-toggle {
    display: flex;
  }
  .menu-section {
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
  .menu-section ul {
    position: absolute;
    top: 55px;
    margin: 0 8px;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    flex-direction: column;
    align-items: stretch;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    max-height: 0;
    overflow: hidden;
    z-index: 1001;
  }
    .menu-section ul.open {
        max-height: 400px;
    }
  .menu-section li {
    margin: 20px 0;
    text-align: center;
    font-size: 1.1em;
    background-color: transparent;
  }
  .menu-highlight {
    display: none;
  }

  .Header-Title-Text {
    width: 200%;
  }

  .logo {
    display: none;
  }

  .prize-pool {
    height: auto;
    min-height: 250px;
    padding: 2em 0.5em 1em 0.5em;
    background-size: cover;
    background-position: center;
  }
  .prize-pool-amount {
    font-size: 6em;
    word-break: break-word;
    padding: 0 0;
  }
  .prize-pool h1 {
    font-size: 4em;
    margin: 0.2em 0;
  }
  .prize-pool h2 {
    font-size: 1.1em;
    margin: 0;
    padding: 0 0.5em;
    line-height: 1.3;
  }

  .schedule {
    padding: 1rem;
    margin: 2rem 1rem;
  }

  .overview {
    width: 92vw;
    margin: 1em 0 1em 0;
    padding: 1em;
    border-radius: 10px;
  }
  .overview-header-title {
    font-size: 2em;
  }
  .overview-header p {
    font-size: 1em;
    text-align: center;
    padding: 0 0.5em;
  }
  .overview-content {
    width: 100%;
    gap: 1em;
  }
  .overview-content ul {
    flex-direction: column;
    width: 100%;
  }
  .overview-content ul li {
    grid-template: "icon title" "line line" "dot dot";
    grid-template-columns: 50px 1fr;
    justify-items: start;
    align-items: center;
    text-align: left;
    padding: 0.5em 0.2em;
    gap: 0px 22px;
  }
  .overview-content ul li .emoji {
    width: 2.5em;
    font-size: 1.5em;
    min-width: 2.5em;
    margin-right: 0.5em;
  }
  .overview-content ul li .title {
    font-size: 1em;
    text-align: left;
  }
  .overview-content ul li::before,
  .overview-content ul li::after {
    display: none;
  }
}
