/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
}
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

/* === Body Background (robust across mobile) === */
html, body { height: 100%; }
body {
  font-family: 'Comic Neue', sans-serif;
  font-size: 16px;
  color: #000;
  position: relative;
}

/* Full-viewport background layer */
body::before {
  content: "";
  position: fixed;
  inset: 0;                 /* top:0; right:0; bottom:0; left:0 */
  z-index: -1;              /* sit behind everything */
  background-image: url('../img/xranpatterndesk1.webp');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  background-color: #000;   /* fallback */
}

/* Mobile background override */
@media (max-width: 900px) {
  body::before {
    background-image: url('../img/xranpatternmobile1.webp');
    background-position: center top;
    /* no background-attachment needed */
  }
}




/* === Layout Elements === */
/* Header (transparent, no glass box) */
header {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  text-align: center;
  padding: 1.5em 0;
  margin: 0 auto;
  border: none;
  box-shadow: none;

/* page top spacing */
body { padding-top: 24px; }

/* logo spacing */
.logo { margin: 0 auto 25px; }
}


.logo {
  width: 70vw;
  max-width: 240px;
  min-width: 120px;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* Navigation */
nav {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(8px);
  text-align: center;
  padding: 0.8em 1em;
  border-radius: 12px;
  margin: 0 auto 1.5em;
  width: fit-content;
}

nav a {
  color: #ffffff;
  text-decoration: none;
  margin: 0 0.5em;
  font-weight: 500;
}

nav a:hover {
  text-decoration: underline;
}

/* Main Video Card */
.main {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
  width: 90%;
  max-width: 900px;
  margin: 2em auto;
  padding: 1em;
  display: flex;
  justify-content: center;
  align-items: center;
}

.main iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: none;
  border-radius: 12px;
}

/* Footer */
footer {
  background: transparent;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  text-align: center;
  padding: 1em;
  border-radius: 12px;
  margin: 0 auto 2em;
  width: fit-content;
  font-weight: 500;
  color: #ffffff;
}

/* === Responsiveness === */
@media (max-width: 600px) {
  .main {
    width: 95%;
    padding: 0.8em;
  }

  nav {
    width: 90%;
    font-size: 0.9em;
  }

  footer {
    width: 90%;
    font-size: 0.9em;
  }
}
/* === Liquid-Glass Lighting Effect === */
.glass,
header,
nav,
.main,
footer {
  position: relative;
  overflow: hidden;
}

/* subtle inner specular gradient / reflection */
header::before,
nav::before,
.main::before,
footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    /* diagonal light sweep */
    linear-gradient(135deg,
      rgba(255, 255, 255, 0.55) 0%,
      rgba(255, 255, 255, 0.25) 15%,
      rgba(255, 255, 255, 0.05) 35%,
      rgba(255, 255, 255, 0) 60%);
  mix-blend-mode: screen;
  pointer-events: none;
  opacity: 0.6;
}

/* gentle rim light to emphasize glass edges */
header,
nav,
.main,
footer {
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.35),
    0 8px 25px rgba(0,0,0,0.25);
}


nav {
  color: #fff; /* makes plain text (like |) white */
}

nav a {
  color: #fff; /* make the links white too */
}

nav a:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 700px) {
  .three-columns {
    flex-direction: column;
    align-items: center;
  }

  .column {
    width: 90%;
  }
}

