@font-face {
    font-family: 'Spirits Neutral';
    src: url('./fonts/SpiritsNeutral-Regular.woff2') format('woff2'), url('./fonts/SpiritsNeutral-Regular.woff') format('woff');
    font-weight: normal; font-style: normal; font-display: swap;
}

@font-face {
    font-family: 'Big Caslon';
    src: url('./fonts/BigCaslon-Medium.woff2') format('woff2'), url('./fonts/BigCaslon-Medium.woff') format('woff');
    font-weight: normal; font-style: normal; font-display: swap;
}

@font-face {
    font-family: 'P22 Typewriter';
    src: url('./fonts/P22Typewriter.woff2') format('woff2'), url('./fonts/P22Typewriter.woff') format('woff');
    font-weight: normal; font-style: normal; font-display: swap;
}

@font-face {
    font-family: 'Georgia';
    src: url('./fonts/Georgia.woff2') format('woff2'), url('./fonts/Georgia.woff') format('woff');
    font-weight: normal; font-style: normal; font-display: swap;
}

@font-face {
    font-family: 'Georgia Italic';
    src: url('./fonts/Georgia-Italic.woff2') format('woff2'), url('./fonts/Georgia-Italic.woff') format('woff');
    font-weight: normal; font-style: normal; font-display: swap;
}

html, body {
  margin: 0;
  overflow-x: hidden;
  overflow-y: auto; 
}

body {
  font-family: 'Spirits Neutral';
  margin: 0;
  background: #000;
  color: #feefcf;
}

.uppercase {
  text-transform: uppercase;
}

#container, #wrapper, #content {
  position: relative;
  width: 100%;
  left: 50%;
  transform: translate(-50%, 0);
  margin: 0;
}

#wrapper {
  overflow: hidden;
  background-image: url('images/library-bg.jpg');
  background-size: contain;
  background-position: top; 
  background-repeat: no-repeat; 
}

#content {
  max-width: 1200px;
  width: calc(100% - 100px);
}

@media (max-width: 600px) {
  #content {
    width: calc(100% - 50px);
  }
}

header {
  position: relative;
  width: 100%;
  height: calc(100vw * 0.63);
  overflow: visible;  
}

@media (max-width: 600px) {
  header {
    height: calc(100vw * 0.63);
  }
}

header .bgImage {
  position: absolute;
  top: 0; left: 50%;
  transform: translate(-50%, 0);
  width: 100vw;
}

header .compassImage {
  position: absolute;
  top: 25%;
  left: 25%;
  transform: translate(-50%, 0);
  width: 32%;
  z-index: 2;
  opacity: 0.55;
  mix-blend-mode: screen;
}

header .titleImage {
  position: absolute;
  top: 25%;
  left: 25%;
  transform: translate(-50%, 0);
  width: 39%;
  z-index: 10;
}

@media (max-width: 600px) {
  header .titleImage {
    top: 19%;
    left: 25%;
    width: 44%;
  }
  header .compassImage {
    top: 16%;
    left: 25%;
    width: 38%;
    opacity: 0.75;
    mix-blend-mode: normal;
  }  
}

#video {
  position: relative;
  margin-top: 0px;
  z-index: 3;
}

.videoPreText {
  position: relative;
  left: 50%; transform: translate(-50%, 0);
  font-size: 30px; line-height: 38px;
  text-align: center;
  width: 82%;
  letter-spacing: 1px;
  margin: 60px 0 60px;
  color: #f7ddad;
}

@media (max-width: 600px) {
  .videoPreText {
    font-size: 18px; line-height: 24px;
  }
}

.videoPreTextImage {
  position: absolute;
  z-index: 0;
  top: 67%; left: calc(50% + 5px);
  transform: translate(-50%, -50%);
  width: calc(100% + 130px);
  height: calc(100% + 140px);
}

@media (max-width: 600px) {
  .videoPreTextImage {
    width: calc(100% + 40px);
  }
}

.videoPreText span {
  position: relative;
  z-index: 1;
}

/* FIXED VIDEO WRAPPER STYLES */
/* FIXED VIDEO WRAPPER STYLES */
.videoWrapper {
  position: relative;
  left: 50%;
  transform: translate(-50%, 0);
  width: calc(100% - 200px);
  margin-top: 20px;
  aspect-ratio: 16 / 10;
}

@media (max-width: 600px) {
  .videoWrapper {
    width: 100%;
  }
}

/* Frame overlay stays the same */
.videoWrapper .frameOverlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 99%;
  z-index: 2;
  pointer-events: none;
}

/* VIDEO CONTAINER */
.videoContainer {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* Video background fallback - make it larger */
.video-bg {
  position: absolute;
  top: 7%;     /* Reduced from 11.5% */
  left: 50%;
  transform: translateX(-50%);
  width: 92%;   /* Increased from 85% */
  height: 85%;  /* Increased from 77.3% */
  background-color: #000;
  z-index: 0;
}

/* Direct iframe styling - scale it larger */
.videoContainer iframe {
  position: absolute;
  top: 7%;      /* Reduced from 11.5% - moves it up */
  left: 50%;
  transform: translateX(-50%);
  width: 92%;   /* Increased from 85% */
  height: 85%;  /* Increased from 77.3% */
  z-index: 1;
  border: none;
}

/* Remove all lite-youtube related styles */
/* Delete these sections:
- .videoContainer lite-youtube
- .videoContainer lite-youtube::before
- .videoContainer lite-youtube::after
- .videoContainer lite-youtube iframe
*/

@media (max-width: 600px) {
  .videoWrapper {
    width: 100%;
  }
}

.videoTitle {
  position: relative;
  margin-top: 50px;
  font-size: 48px;
  line-height: 50px;
  text-align: center;
  left: 50%;
  transform: translate(-50%);
  width: 84%;
  text-transform: uppercase;
}

@media (max-width: 600px) {
  .videoTitle {
    font-size: 21px;
    line-height: 28px;
  }
}

.videoDescription {
  position: relative;
  margin-top: 40px;
  font-family: 'Big Caslon';
  font-size: 23px; line-height: 32px;
  text-align: center;
  width: 90%;
  color: #ded8ca;
  left: 50%;
  transform: translate(-50%, 0);
}

@media (max-width: 600px) {
  .videoDescription {
    font-size: 18px; line-height: 26px;
  }
}

/* Rest of your styles remain the same... */
#sponsors {
  position: relative;
  width: 100%;
  margin-top: 60px;
}

.sponsorsBgWrapper {
  position: absolute;
  width: 100vw;
  height: 250vh;
  top: 0; left: 50%;
  transform: translate(-50%, 0);
  -webkit-mask-image: linear-gradient(to bottom, white 0%, white 50%, transparent 100%);
  mask-image: linear-gradient(to bottom, white 0%, white 50%, transparent 100%);
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  pointer-events: none;
  isolation: isolate;
  z-index: 0;
}

.sponsorsBgImage {
  padding: 0;
  margin: 0;
  position: relative;
  width: 100%;
  bottom: -5px;
}

.sponsorBgTileWrapper {
  padding: 0;
  margin: 0;
  position: relative;
  width: 100%;
  height: 100%;
  background-image: url('images/wallpaper-tile.webp');
  background-repeat: repeat;
  background-size: 100%;
  background-position: top;
}

.sponsorsBgWrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('images/shadow-small.webp');
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
  opacity: 0.6;
  z-index: 1;         
  transform: translateZ(0); 
  -webkit-mask-image: linear-gradient(to bottom, transparent -2%, black 6%);
  mask-image: linear-gradient(to bottom, transparent -2%, black 6%);  
}

.sponsorsTitleImage {
  position: relative;
  left: 50%;
  transform: translate(-50%, 0);
  margin-top: 85px;
  width: 45%;
}

@media (max-width: 600px) {
  .sponsorsTitleImage {
    width: 80%;
  }
}

.sponsorSections {

  position: relative;
  z-index: 2;
}

.sponsorSection {
  position: relative;
  width: 100%;
  z-index: 1;
}

.sponsorSectionTitle {
  position: relative;
  margin-top: 40px;
  font-size: 48px;
  line-height: 50px;
  text-align: center;
  width: 100%;
  margin-bottom: 10px;
}

@media (max-width: 600px) {
  .sponsorSection {
    margin-top: 50px;
  }
.sponsorSections {
  top: -25px;
}
  .sponsorSectionTitle {
    margin-top: -10px;
    font-size: 30px; line-height: 40px;
  }
}

.sponsorItems {
  position: relative;
  width: 100%;
  text-align: center;
}

.sponsorItem {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  width: calc(33% - 30px);
  margin: 15px;
}

@media (max-width: 600px) {
  .sponsorItems {
    margin-top: 5px;
  }

  .sponsorItem {
    width: calc(50% - 30px);
    margin: 5px;
  }
}

.sponsorImage {
  position: absolute;
  width: 72%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  overflow: hidden;
  left: 50%;
  transform: translate(-50%, -50%);
  top: 50%;
}

.sponsorFrameImage {
  position: relative;
  width: 100%;
}

.puzzles {
  position: absolute;
  width: 100vw;
  left: 0;
  margin-top: calc(100vw * .2);
  left: 50%;
  transform: translate(-50%, 0);
  z-index: 0;
}

@media (max-width: 600px) {
  .puzzles {
    margin-top: calc(100vw * .2);
  }
}

.puzzlesImage {
  position: relative;
  width: 100%;
}

#sponsors2 {
  position: relative;
  z-index: 2;
  margin-top: -85px;
}

.sponsorsWhy {
  position: relative;
  width: 100%;
  margin-top: calc(100vw * 0.15);
}

.sponsorsWhyBgImage {
  position: absolute;
  top: 0; left: 50%;
  transform: translate(-50%, 0);
  width: 80vw;
  top: 50vh;
  z-index: 0;
  pointer-events: none;
}

.sponsorsWhyTitle {
  position: relative;
  font-size: 48px;
  line-height: 50px;
  text-align: center;
  width: 100%;
  text-shadow: 0 0 10px rgba(0,0,0,1), 0 0 20px rgba(0,0,0,1);
}

@media (max-width: 600px) {
  .sponsorsWhyTitle {
    font-size: 28px;
    line-height: 40px;
    margin-top: 30px;
  }
	#sponsors2 {
	  margin-top: -15px;
	}
  
}

.sponsorsWhyDescription {
  position: relative;
  margin-top: 20px;
  font-family: 'Big Caslon';
  font-size: 23px; line-height: 32px;
  text-align: center;
  width: 100%;
  color: #ded8ca;
  text-shadow: 0 0 10px rgba(0,0,0,1), 0 0 20px rgba(0,0,0,1);
}

@media (max-width: 600px) {
  .sponsorsWhyDescription {
    margin-top: 10px;
    font-size: 18px; line-height: 26px;
  }
}

.sponsorReviews {
  position: relative;
  margin-top: 30px;
  z-index: 1;
}

.sponsorReview {
  position: relative;
  width: 100%;
  left: 50%;
  transform: translate(-50%, 0);
  max-width: 700px;
  text-align: center;
  margin-top: 80px;
}

.sponsorReviewLabel {
  position: relative;
  width: 100%;
  font-family: 'Georgia Italic';
  font-size: 26px;
  line-height: 35px;
  color: #FFF;
  text-align: center;
}

.sponsorReviewWriter {
  position: relative;
  width: 100%;
  font-family: 'Georgia';
  font-size: 20px;
  line-height: 35px;
  margin-top: 10px;
  text-align: center;
}

@media (max-width: 600px) {
  .sponsorReviewLabel {
    font-size: 21px; line-height: 30px;
  }

  .sponsorReviewLabel {
    font-size: 18px; line-height: 30px;
  }
}

.sponsorReviewImage {
  position: relative;
  display: inline-block;
  width: 30%;
  margin: 10px 0 0;
}

.sponsorLevels {
  position: relative;
  left: 50%;
  transform: translate(-50%, 0);
  display: flex;
  max-width: 900px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: 50px;
}

.sponsorLevelsTitle {
  position: relative;
  margin-top: 70px;
  font-size: 48px;
  line-height: 50px;
  text-align: center;
  width: 100%;
}

@media (max-width: 600px) {
  .sponsorLevels {
    gap: 20px;
  }

  .sponsorLevelsTitle {
    font-size: 30px; line-height: 40px;
  }
}

.sponsorLevel {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  flex-grow: 1;
  width: calc(50% - 50px);
  border-radius: 0;
  border: 30px solid transparent;
  background: none;
  color: #2e2926;
  text-align: center;
  border-image-source: url('./images/sponsor-level1-bg.webp');
  border-image-slice: 80 fill;
  border-image-repeat: stretch;
  border-image-width: 30px;
  border-image-outset: 0;
  max-width: 300px;
  z-index: 1;
}

.sponsorLevels .background1 {
  border-image-source: url('./images/sponsor-level1-bg.webp');
}

.sponsorLevels .background2 {
  border-image-source: url('./images/sponsor-level2-bg.webp');
}

.sponsorLevels .background3 {
  border-image-source: url('./images/sponsor-level3-bg.webp');
}

.sponsorLevels .background4 {
  border-image-source: url('./images/sponsor-level4-bg.webp');
}

@media (max-width: 800px) {
  .sponsorLevel {
    width: calc(100% - 200px);
  }
}

@media (max-width: 600px) {
  .sponsorLevel {
    margin: 0;
    width: calc(100% - 80px);
  }
}

.sponsorLevelTitle, .sponsorLevelType, .sponsorLevelPrice, .sponsorLevelAvailable, .sponsorLevelItems {
  position: relative;
  width: 100%;
  text-align: center;
  margin-top: 10px;
}

.sponsorLevelTitle {
  font-size: 48px;
  line-height: 40px;
} 

.sponsorLevelType {
  font-family: 'P22 Typewriter';
  font-size: 21px;
  line-height: 28px;
}

.sponsorLevelPrice {
  font-family: 'Spirits Neutral';
  font-size: 48px;
  line-height: 40px;
}

.sponsorLevelAvailable {
  margin-top: 20px;
  font-family: 'Spirits Neutral';
  font-size: 20px;
  line-height: 20px;
  color: #862727;
}

@media (max-width: 600px) {
  .sponsorLevelTitle {
    font-size: 38px; line-height: 42px;
  }

  .sponsorLevelType {
    font-size: 18px; line-height: 24px;
  }

  .sponsorLevelAvailable {
    margin-top: 10px;
  }
}

.sponsorLevelItems {
  text-align: left;
}

.sponsorLevelItems li {
  margin-left: -15px;
  margin-bottom: 15px;
  font-family: 'Spirits Neutral';
  font-size: 20px;
  line-height: 24px;
}

@media (max-width: 600px) {
  .sponsorLevelItems li {
    margin-left: -25px;
    font-size: 18px;
    line-height: 21px;
  }
}

#contact {
  position: relative;
  width: 100%;
  margin-top: 100px;
  z-index: 3;
}

.contactHeader {
  position: relative;
  width: 100%;
  left: 50%;
  transform: translate(-50%, 0);
  max-width: 700px;
  text-align: center;
  font-family: 'Big Caslon';
  font-size: 28px; line-height: 40px;
  color: #FFF;
}

.contactDetails {
  position: relative;
  width: 100%;
  left: 50%;
  transform: translate(-50%, 0);
  margin-top: 20px;
  max-width: 700px;
  text-align: center;
  font-size: 21px; line-height: 24px;
  color: #ffffff7a;
}

.contactEmail {
  position: relative;
  width: 100%;
  left: 50%;
  margin-top: 20px;
  transform: translate(-50%, 0);
  max-width: 700px;
  text-align: center;
  font-family: 'Big Caslon';
  font-size: 30px; line-height: 40px;
}

.contactEmail a {
  font-family: inherit;
  font-size: inherit;
  color: #b6995f;
  text-decoration: none;
}

.contactEmail a:hover {
  text-decoration: underline;
}

@media (max-width: 600px) {
  .contactHeader {
    font-size: 21px; line-height: 30px;
  }

  .contactDetails {
    font-size: 18px;
  }

  .contactEmail {
    margin-top: 10px;
    font-size: 24px; line-height: 32px;
  }
} 

#faq {
  position: relative;
  margin-top: 80px;
  padding-bottom: 200px;
  z-index: 3;
}

.faqTitle {
  position: relative;
  margin-top: 40px;
  font-size: 48px;
  line-height: 50px;
  text-align: center;
  width: 100%;
}

@media (max-width: 600px) {
  .faqTitle {
    font-size: 24px;
    line-height: 32px;
  }
}

.faqItem {
  position: relative;
  width: 100%;
  margin-top: 30px;
}

.faqItemQuestion {
  position: relative;
  width: 100%;
  left: 50%;
  text-align: center;
  transform: translate(-50%, 0);
  max-width: 900px;  
  font-size: 28px; line-height: 40px;
  color: #dcd4c3;
  font-family: 'Georgia';
}

@media (max-width: 600px) {
  .faqItemQuestion {
    font-size: 21px; line-height: 30px;
  }
}

.faqItemAnswer {
  position: relative;
  width: 100%;
  left: 50%;
  transform: translate(-50%, 0);
  max-width: 900px;
  text-align: center;
  font-family: 'Big Caslon';
  color: #a4a097;
  font-size: 23px; line-height: 32px;
}

@media (max-width: 600px) {
  .faqItemAnswer {
    margin-top: 10px;
    font-size: 18px; line-height: 26px;
  }
}

.faqItemLine {
  position: relative;
  margin-top: 40px;
  left: 50%;
  transform: translate(-50%, 0);
  width: 100px;
  height: 4px;
  background: #4c4a45;
}