body {
  margin: 0;
  padding: 0;
  background-color: black;
  font-family: 'Orbitron', sans-serif;
  color: white;
  display: flex;
  justify-content: center;   /* centers content-wrapper horizontally */
  align-items: center;       /* centers it vertically */
  min-height: 100vh;
  width: 100vw;
  box-sizing: border-box;
  text-align: center;
  overflow-x: hidden;
}

.container {
  text-align: center;
  padding: 0rem;
  width: 90%;
  max-width: 600px;
  margin: auto;
}


.title-image {
  margin-top: -2rem; /* Adjust the value as you like */
  max-width: 60%;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: -4rem;
  min-width: 280px;
}

#mainVideo {
  width: 80%;
  max-width: 1000px;      /* Set a limit to how wide it gets */
  height: auto;
  border: 4px solid black;  /* Optional: your styled border */
  border-radius: 40px;     /* Optional: curved corners */
  display: block;
  margin: 40px auto 20px auto; /* Center it with some margin */
  position: relative;  /* or absolute if needed */
  z-index: 10;
}

.bio {
  margin: 1.5rem auto;
  padding: 1rem;
  border: 1px dashed white;
  max-width: 600px;
  cursor: pointer;
  


/*transition: background 0.3s ease;*/
}





.bio:hover {
  background: rgba(255, 255, 255, 0.05);
}

.buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem 0;
}

.btn {
  background: none;
  border: 2px solid white;
  color: white;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  font-weight: bold;
  transition: all 0.3s;
}

.btn:hover {
  background: white;
  color: black;
}

.logo {
  max-width: 100px;
  margin: 2rem auto 0;
  display: block;
}

/* Glitch transition */
#glitch-transition {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: black;
  pointer-events: none;
  opacity: 0;
  z-index: 9999;
  background-image: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(255,255,255,0.05) 3px
  );
  animation: none;
}

@keyframes glitchOut {
  0% { opacity: 0; }
  30% { opacity: 1; }
  100% { opacity: 0; }
}

.subtitle {
  font-size: 1.25rem;
  color: #fff;
  margin-top: 0.5rem;
  margin-bottom: 2rem; /* Add this line to increase space below */
  text-align: center;
}

.link-buttons {
  display: flex;
  flex-direction: column; /* stack buttons vertically */
  gap: 1rem; /* adds space between them */
  align-items: center; /* center horizontally */
}


nav {
  position: absolute;
  top: 20px;
  left: 20px;
}

.home-link {
  font-size: 0.9rem;
  text-decoration: none;
  color: white;
  background: none;
  border: none;
  padding: 5px 10px;
  cursor: pointer;
  transition: opacity 0.2s;
}

.home-link:hover {
  text-decoration: underline;
  opacity: 0.7;
}


.content-wrapper {
  width: 100%;
  max-width: 1200px;
  padding: 40px 20px;
  
  display: flex;
  flex-direction: column;
  align-items: center;  /* centers items inside it */
  justify-content: center;
  gap: 30px;
  box-sizing: border-box;
}

.noise-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.noise-blip {
  position: absolute;
  height: 2px;
  background-color: rgba(255, 255, 255, 0.2); /* semi-transparent white */
  animation: glitch-blip 0.4s linear infinite;
}

@keyframes glitch-blip {
  0% { transform: scaleX(0); opacity: 0; }
  10% { transform: scaleX(1); opacity: 1; }
  90% { opacity: 0.3; }
  100% { transform: scaleX(0); opacity: 0; }
}


.glitch-flash {
    position: fixed;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    background: repeating-linear-gradient(
        0deg,
        rgba(255,0,255,0.08),
        rgba(255,0,255,0.08) 2px,
        rgba(0,255,255,0.1) 2px,
        rgba(0,255,255,0.1) 4px
    );
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
    animation: glitchyFlash 0.15s;
}

@keyframes glitchyFlash {
    0% { opacity: 0.8; transform: skewX(0deg); }
    50% { opacity: 0.6; transform: skewX(10deg); }
    100% { opacity: 0; transform: skewX(-5deg); }
}



.btn {
  position: relative;
  display: inline-block;
  width: 100px;         /* or use min-width: 250px; for flexible sizing */
  height: 30px;         /* Adjust as needed */
  padding: 1em 2em;     /* Optional, doesn't affect layout now */
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  font-family: 'Orbitron', sans-serif;
  font-size: 1.2em;
  border: 2px solid #fff;
  margin: 0.5em;
  text-align: center;
}

.fake-title,
.real-title {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.real-title {
  opacity: 0;
}

.btn:hover .real-title {
  opacity: 1;
}

.btn:hover .fake-title {
  opacity: 0;
}




* {
  cursor: none !important;
}

.glitch-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  background: white;
  border: 2px solid red;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
  

/* transition: transform 0.05s ease-out; */


transition: none !important;  
}




.glitch-cursor.glitch {
  animation: glitch-move 0.2s infinite;
}

@keyframes glitch-move {
  0%   { transform: translate(2px, -2px) scale(1.1); }
  25%  { transform: translate(-2px, 2px) scale(0.95); }
  50%  { transform: translate(2px, 2px) scale(1.05); }
  75%  { transform: translate(-2px, -2px) scale(1); }
  100% { transform: translate(0, 0) scale(1); }
}


#staticOverlay {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.7); /* semi-transparent black */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  cursor: pointer;
}

.overlay-text {
  color: white;
  font-family: 'Orbitron', sans-serif;
  font-size: 2rem;
  user-select: none;
}

#bio {
  cursor: pointer;
  padding: 10px;
  max-width: 90%;
  z-index: 1000;
  

/*  transition: top 0.3s ease, left 0.3s ease;  */
}




#logo {
  display: block !important;
  visibility: visible !important;
  z-index: 9999 !important;
  opacity: 1 !important;
}

@media only screen and (max-width: 768px) {
  #logo {
    display: block;
  }
}




/* new code */

#staticOverlay {
  display: flex;
  ...
}