* {
  box-sizing: border-box;
}

body, html {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  scrollbar-gutter: stable;
  max-width: 100vw;
}

body {
  margin: 0;
  font-family: 'JetBrains Mono', monospace;
  background-color: #0c0c0c;
  color: white;
  scroll-behavior: smooth;
}

.nav-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

#loader {
  position: fixed;
  inset: 0;
  background-color: #0e0e0e; 
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.4s ease;
}

.loader-content {
  text-align: center;
  animation: fadeIn 1s ease forwards;
}

.loader-logo {
  width: 80px;
  height: 80px;
  animation: pulse 3s infinite;
}

.loader-text {
  color: #00f2ff;
  font-family: 'JetBrains Mono', monospace;
  font-size: 1.2rem;
  margin-top: 1rem;
  letter-spacing: 1px;
  animation: blink 2.5s steps(1) infinite; 
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(1); opacity: 0.8; }
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

#glow {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, #7F00FF 0%, rgba(0, 255, 255, 0) 100%);
  filter: blur(200px);
  z-index: -1;
  pointer-events: none;
  opacity: 60%;
  transform: translate(-50%, -50%);
}

@keyframes glowing {
  0% {background-position: 0 0;}
  50% {background-position: 400% 0;}
  100% {background-position: 0 0;}
}

nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    padding: 10px 20px;
    background-color: transparent;
    border: 2px solid white;
    border-radius: 15px;
    width: 100%;
    max-width: 700px;
    margin: 20px auto 0 auto;
    box-sizing: border-box;
}

nav a {
    display: inline-block;
    padding: 4px;
    transition: background-color 0.3s, transform 0.3s;
    box-sizing: border-box;
    text-decoration: None;
    color: white;
    border-radius: 10px;
}

nav a img {
    width: 18px;
    height: 18px;
    margin-right: 6px;
    vertical-align: middle;
    filter: invert(100%) sepia(90%) hue-rotate(120deg);
}

nav a:hover {
    background-color: gray;
    border-radius: 10px;
    transform: scale(1.05); 
}

.photo-gallery {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.photo-gallery figure {
  margin: 0;
  background: #111;
  padding: 12px;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.2s ease;
  box-shadow: 0 0 8px rgba(0, 255, 255, 0.05);
}

.photo-gallery figure:hover {
  transform: translateY(-5px);
}

.photo-gallery img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
  aspect-ratio: 4/3;
}

.photo-gallery figcaption {
  margin-top: 8px;
  font-size: 0.85rem;
  color: #ccc;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 1rem;
  background: #111;
  border-bottom: 1px solid rgba(0,255,255,0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.hero {
  text-align: center;
  padding: 40px 20px;
  text-decoration: none;
}

.hero h1 {
  font-size: 2.75rem;
  color: cyan;
  margin-bottom: 0.5rem;
}

.hero h3 {
  font-weight: normal;
  color: #ccc;
  margin-top: 0;
  margin-bottom: 1rem;
}

.hero a {
  text-decoration: none;
  color: cyan;
}

.hero a:hover {
  background-color: gray;
  border-radius: 10px;
  transform: scale(1.05);
}

.main-nav a {
  color: cyan;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.main-nav a:hover {
  color: white;
}

.main-content {
  max-width: 1200px;
  margin: auto;
  padding: 2rem;
}

.section {
  margin-bottom: 4rem;
}

.section h2 {
  color: cyan;
  margin-bottom: 1rem;
}

.hero-clip {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 0 12px rgba(0,255,255,0.1);
  margin-bottom: 2rem;
}

.hero-clip video {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 16px;
}

.clip-caption {
  position: absolute;
  bottom: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  width: 100%;
  padding: 1rem;
}

.clip-caption h3 {
  margin: 0;
  font-size: 1.25rem;
  color: cyan;
}

.clip-caption p {
  margin: 0.3rem 0 0;
  font-size: 0.9rem;
  opacity: 0.85;
}

.clip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.clip-card {
  background: #111;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 0 12px rgba(0,255,255,0.05);
  transition: transform 0.2s ease;
}

.clip-card:hover {
  transform: translateY(-4px);
}

.clip-card video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 16px 16px 0 0;
}

.clip-info {
  padding: 12px 16px;
}

.clip-info h4 {
  margin: 0;
  font-size: 1rem;
  color: cyan;
}

.clip-info p {
  margin-top: 4px;
  font-size: 0.85rem;
  opacity: 0.8;
}

.link-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.2rem;
  padding: 10px 0 20px;
  margin-top: -15px;
}

.link-row a {
  color: cyan;
  font-weight: 600;
  text-decoration: none;
  background: rgba(255,255,255,0.05);
  padding: 6px 12px;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.link-row a:hover {
  background: cyan;
  color: black;
}

.grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.photo-card {
  text-align: center;
}

.photo-card img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.05);
}

.card {
  background: #111;
  padding: 1rem;
  border-radius: 12px;
  box-shadow: 0 0 8px rgba(0,255,255,0.05);
  transition: transform 0.2s ease;
}

.card img {
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

.card:hover {
  transform: translateY(-4px);
}

.card video, .card img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 0.5rem;
}

.btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.5rem 1rem;
  background-color: cyan;
  color: #0a0a0a;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.btn:hover {
  background-color: #00ffff;
}

#glow {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(195, 0, 255, 0.6) 0%, transparent 80%);
  filter: blur(200px);
  z-index: -1;
  pointer-events: none;
}

.section {
  padding: 2rem;
  max-width: 1200px;
  margin: auto;
}

.section h2 {
  color: cyan;
  margin-bottom: 1.5rem;
}

.photo-gallery {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.photo-gallery figure {
  margin: 0;
  background: #111;
  padding: 12px;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.2s ease;
  box-shadow: 0 0 8px rgba(0, 255, 255, 0.05);
}

.photo-gallery figure:hover {
  transform: translateY(-5px);
}

.photo-gallery img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: contain; 
}

.photo-gallery figcaption {
  margin-top: 8px;
  font-size: 0.85rem;
  color: #ccc;
}

#lightbox-overlay {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  padding: 2rem;
}

#lightbox-img {
  max-width: 90%;
  max-height: 80%;
  z-index: 1000;
  border-radius: 10px;
  box-shadow: 0 0 25px rgba(0,255,255,0.4);
}

#lightbox-caption {
  margin-top: 1rem;
  color: #ccc;
  text-align: center;
  font-size: 1rem;
}

#lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 2rem;
  color: white;
  cursor: pointer;
  z-index: 10001;
}

#lightbox-prev,
#lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  color: white;
  background: rgba(0, 255, 255, 0.2);
  border: none;
  padding: 0.5rem 1rem;
  cursor: pointer;
  z-index: 10001;
  border-radius: 6px;
}

#lightbox-prev {
  left: 20px;
}

#lightbox-next {
  right: 20px;
}

#lightbox-prev:hover,
#lightbox-next:hover,
#lightbox-close:hover {
  background: rgba(0, 255, 255, 0.4);
}

.fade-in {
  display: flex;             
  flex-wrap: wrap;            
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  width: 100%; 
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInAnimation 1s ease-out forwards;
}

.fade-in2 {
  width: 100%; 
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInAnimation2 1s ease-out forwards;
}

@keyframes fadeInAnimation {
  from {
      opacity: 0;
      transform: translateY(30px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

@keyframes fadeInAnimation2 {
  from {
      opacity: 0;
      transform: translateY(-30px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .nav {
    flex-wrap: wrap;
    justify-content: center;
    padding: 12px;
  }

  .photo-grid {
    grid-template-columns: 1fr; 
  }

  .social-icons {
    justify-content: center;
    flex-wrap: wrap;
  }
}
