/* ======================================================
   THEME VARIABLES
====================================================== */
@import url("https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@300;400;600;900&display=swap");

:root {
  --bg-overlay: rgba(0, 0, 0, 0.78);
  --glass-bg: rgba(255, 255, 255, 0.08);
  --glass-hover: rgba(255, 255, 255, 0.14);
  --text-main: #ffffff;
  --text-muted: #cccccc;
  --accent: #ffd700;

  --blur: blur(10px);
  --radius: 10px;
  --max-width: 900px;
}

/* ======================================================
   RESET + BASE
====================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
}

body {
  font-family: "Source Sans Pro", sans-serif;
  background: #000;
  color: var(--text-main);
  line-height: 1.7;
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

/* ======================================================
   GLOBAL BACKGROUND (LOADS ONCE)
====================================================== */
.bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}

.bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(0px);
  transform: scale(1.03);
  transition: filter 1.2s ease, transform 1.2s ease;
  will-change: filter, transform;
}
/* Cinematic overlay (only when logo is active) */
.bg-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 1.2s ease;
  z-index: -1;
}

.bg-overlay.show {
  opacity: 1;
}
.bg-overlay.show ~ .bg video,
.bg-overlay.show + .bg video {
  filter: blur(4px);
  transform: scale(1.06);
}
/* ======================================================
   LOGOS
====================================================== */
.logo-center {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.1s ease;
  z-index: 10;
}

.logo-center.visible {
  opacity: 1;
}
.logo-center img {
  width: min(60vw, 420px);
}

.logo-corner {
  position: fixed;
  top: 20px;
  left: 28px;
  z-index: 1000;
  transition: opacity 0.8s ease;
}

.logo-corner.hidden {
  opacity: 0;
  pointer-events: none;
}
.logo-corner img {
  width: 140px;
}

/* ======================================================
   NAVIGATION
====================================================== */
.menu-toggle {
  display: none;
  position: fixed;
  top: 22px;
  right: 26px;
  z-index: 1100;
  font-size: 2.4rem;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

.top-nav {
  position: fixed;
  top: 20px;
  right: 28px;
  z-index: 1000;
  padding: 8px 18px;
  border-radius: var(--radius);
  backdrop-filter: var(--blur);
}

.top-nav ul {
  list-style: none;
  display: flex;
  gap: 22px;
}

.top-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.top-nav a:hover {
  color: var(--accent);
}

/* ======================================================
   APP LAYOUT (CONTENT SWAPS HERE)
====================================================== */
#app {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  padding: 140px 24px 100px;
  display: flex;
  justify-content: center;
}

.page {
  width: 100%;
  max-width: var(--max-width);
}

/* ======================================================
   COMMON COMPONENTS
====================================================== */
.glass {
  background: var(--glass-bg);
  backdrop-filter: var(--blur);
  border-radius: var(--radius);
}

.card {
  padding: 26px;
  background: var(--glass-bg);
  backdrop-filter: var(--blur);
  border-radius: var(--radius);
  transition: background 0.3s ease;
}

.card:hover {
  background: var(--glass-hover);
}

/* ======================================================
   FOOTER
====================================================== */
.footer {
  position: fixed;
  left: 0;
  bottom: -140px; /* hidden below screen */
  width: 100%;
  padding: 30px 20px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);

  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: var(--blur);

  transition: bottom 0.6s ease;
  z-index: 1200;
}

/* visible state */
.footer.show {
  bottom: 0;
}


.footer-links a {
  margin: 0 6px;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--text-main);
}

.footer {
  position: fixed;
  left: 0;
  bottom: -140px;
  width: 100%;
  padding: 30px 20px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: var(--blur);
  transition: bottom 0.6s ease;
  z-index: 1200;

  position: fixed;
}

/* SIDE SOCIALS */
.footer-socials.side {
  position: absolute;
  right: 28px; /* change to left if you want */
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  gap: 16px;
}

.footer-socials.side a {
  width: 20px;
  height: 20px;
  opacity: 0.7;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.footer-socials.side a:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.footer-socials.side svg {
  width: 100%;
  height: 100%;
  fill: var(--text-muted);
}

.footer-socials.side a:hover svg {
  fill: var(--text-main);
}
@media (max-width: 640px) {
  .footer-socials.side {
    position: static;
    transform: none;
    margin-top: 16px;
    justify-content: center;
  }
}


/* ======================================================
   ANIMATIONS
====================================================== */
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ======================================================
   MOBILE
====================================================== */
@media (max-width: 768px) {

  .menu-toggle {
    display: block;
  }

  .top-nav {
    inset: 0 0 0 auto;
    width: 260px;
    height: 100vh;
    padding-top: 80px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }

  .top-nav.open {
    transform: translateX(0);
  }

  .top-nav ul {
    flex-direction: column;
    gap: 26px;
    padding-left: 28px;
  }

  .logo-corner img {
    width: 120px;
  }

  .app {
    padding-top: 120px;
  }
}

