/* =============================================
   KYANZRAK — Main Stylesheet
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400&display=swap');

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  height: 100%;
  background-color: #000;
  font-family: 'Space Grotesk', sans-serif;
  color: #fff;
}

/* --- Background Video --- */
#bg-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* --- Vignette Overlay --- */
.vignette {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at center,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 0.9) 100%
  );
  z-index: 1;
  pointer-events: none;
}

/* --- Main Container --- */
.container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100dvh;
  min-height: 100vh;
  padding: 3rem 1.5rem;
}

/* --- Header (Logo + Tagline) --- */
.header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2.5rem;
}

.logo {
  width: 288px;
  max-width: 90vw;
  object-fit: contain;
  opacity: 0.6;
  mix-blend-mode: screen;
  margin-bottom: 0.5rem;
}

.tagline {
  font-size: 0.875rem;
  font-weight: 300;
  letter-spacing: 0.25em;
  color: rgba(255, 255, 255, 0.7);
}

/* --- Glassmorphism Panel --- */
.glass-panel {
  width: 100%;
  max-width: 360px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 8px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* --- Link Rows --- */
.link-row {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease, background 0.3s ease;
}

.link-row:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.link-icon {
  position: absolute;
  left: 1.5rem;
  width: 20px;
  height: 20px;
  opacity: 0.5;
  transition: opacity 0.3s ease, filter 0.3s ease;
}

.link-row:hover .link-icon {
  opacity: 1;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.8));
}

.link-row span {
  width: 100%;
  text-align: center;
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: text-shadow 0.3s ease;
}

.link-row:hover span {
  text-shadow:
    0 0 8px #fff,
    0 0 20px #fff,
    0 0 40px rgba(200, 220, 255, 0.6);
}

/* --- Copyright --- */
.copyright {
  margin-top: 2.5rem;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.3);
  text-align: center;
}

/* --- Fade-up Animation --- */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-up {
  opacity: 0;
  animation: fadeUp 1.2s ease-out forwards;
}

/* --- Tablet & up --- */
@media (min-width: 768px) {
  .logo {
    width: 384px;
  }
  .glass-panel {
    max-width: 400px;
  }
}

/* =============================================
   Mobile landscape fixes
   ============================================= */
@media (orientation: landscape) and (max-height: 500px) {
  .container {
    justify-content: flex-start;
    overflow-y: auto;
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
  }
  .logo {
    width: 140px !important;
  }
  .header {
    margin-bottom: 0.75rem;
  }
  .link-row {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
  }
  .copyright {
    margin-top: 0.75rem;
  }
}
