@import url('https://fonts.googleapis.com/css2?family=Pathway+Gothic+One&family=Orbitron:wght@400;700&display=swap');

:root {
  --sw-yellow: #feda4a;
  --sw-blue: #4bd5ee;
  --bg-black: #000;
}

/* Bottom Resource Bar */
.bottom-nav {
  width: 100%;
  background: rgba(254, 218, 74, 0.1);
  border-top: 1px solid var(--sw-yellow);
  padding: 15px 0;
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  gap: 30px;
  backdrop-filter: blur(5px);
}

.bottom-nav a {
  color: var(--sw-yellow);
  text-decoration: none;
  font-size: 1.5rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.bottom-nav a:hover {
  color: #fff;
}

body {
  background-color: var(--bg-black);
  color: var(--sw-yellow);
  font-family: 'Pathway Gothic One', sans-serif;
  margin: 0;
  padding-bottom: 80px; /* Space for the fixed bottom nav */
  overflow-x: hidden;
}

/* Starfield Background */
.stars {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: black url('https://s3-us-west-2.amazonaws.com/s.cdpn.io/1231630/stars.png') repeat;
  z-index: -1;
}

/* Intro Text */
.intro {
  position: absolute;
  top: 40%;
  left: 10%;
  color: var(--sw-blue);
  font-size: 2.5rem;
  opacity: 0;
  animation: intro-fade 6s ease-out 1s;
}

@keyframes intro-fade {
  0% { opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { opacity: 0; }
}

/* Crawl Animation */
.crawl-container {
  display: flex;
  justify-content: center;
  position: relative;
  height: 100vh;
  perspective: 400px;
  overflow: hidden;
}

.crawl-content {
  position: absolute;
  top: 100%;
  width: 70%;
  text-align: justify;
  font-size: 3rem;
  line-height: 1.5;
  transform-origin: 50% 100%;
  animation: crawl-movement 90s linear 7s forwards;
}

.crawl-content h1 {
  text-align: center;
  margin-bottom: 50px;
  font-size: 5rem;
  text-transform: uppercase;
}

.crawl-content h2 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 3rem;
}

@keyframes crawl-movement {
  0% {
    top: 100%;
    transform: rotateX(20deg) translateZ(0);
  }
  100% {
    top: -5000px;
    transform: rotateX(25deg) translateZ(-2500px);
  }
}

/* Navigation Links */
.nav-links {
  position: relative;
  z-index: 10;
  text-align: center;
  margin-top: 100px;
  padding: 50px;
  opacity: 0;
  animation: links-fade 1s linear 80s forwards; /* Appear near end of crawl */
}

.nav-links.visible {
  opacity: 1;
  animation: none;
}

@keyframes links-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.nav-links h2 {
  margin-bottom: 40px;
}

.session-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.session-list li a {
  color: var(--sw-yellow);
  text-decoration: none;
  font-size: 2rem;
  border: 2px solid var(--sw-yellow);
  padding: 10px 20px;
  transition: all 0.3s ease;
}

.session-list li a:hover {
  background-color: var(--sw-yellow);
  color: #000;
}

/* Generic Layout Styles */
.container {
  max-width: 900px;
  margin: 50px auto;
  padding: 40px;
  border: 1px solid var(--sw-yellow);
  background-color: rgba(0, 0, 0, 0.8); /* Slight dark overlay to help readability */
}

.container p {
  font-size: 1.5rem;
  line-height: 1.6;
  margin-bottom: 30px;
}

.back-link {
  display: block;
  margin-top: 30px;
  color: var(--sw-blue);
  text-decoration: none;
  font-size: 1.2rem;
}

/* Gallery Styles */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 50px;
  border-top: 1px solid var(--sw-yellow);
  padding-top: 30px;
}

.gallery-item {
  border: 1px solid var(--sw-yellow);
  padding: 5px;
  background: rgba(254, 218, 74, 0.1);
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.05);
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
}

.gallery-item span {
  display: block;
  text-align: center;
  margin-top: 10px;
  font-size: 1.2rem;
  color: var(--sw-yellow);
}
