/* gl1tch.css */

body, html {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow-x: hidden;
  font-family: 'Share Tech Mono', monospace;
  color: #00ffcc;
  background: black;
}

/* Section 1: Entry */
#entry-node {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 1;
  text-align: center;
}

.glitch-container {
  padding: 2rem 3rem;
  max-width: 900px;
  margin: 2rem auto;
}

.overlay-text {
  font-size: 2rem;
  color: #00ffcc;
  text-shadow: 0 0 4px #00ffcc, 0 0 10px #00ffcc;
}

button#injectBtn {
  margin-top: 1.5rem;
  background: transparent;
  border: 2px solid red;
  color: red;
  padding: 10px 25px;
  font-size: 1.5rem;
  font-family: 'Share Tech Mono', monospace;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}

button#injectBtn:hover {
  background: red;
  color: black;
}

/* Section 2: What is GL1TCH */
#what-is-gl1tch {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  padding: 1.8rem;
  min-height: 100vh;
  z-index: 1;
  position: relative;
}

.glitch-background {
  background: url("../f19.gif") center center no-repeat;
  background-size: cover;
  background-attachment: fixed;
}

.glitch-content {
  display: flex;
  width: 100%;
  height: 100vh; /* Full viewport height */
}

.glitch-image-column,
.glitch-text-column {
  width: 50%;
  height: 100%;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
}

.glitch-image-column img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.glitch-text-column {
  width: 50%;
  height: 100%;
  padding: 2rem;
  box-sizing: border-box;
  /* flex layout for vertical stacking */
  display: flex;
  flex-direction: column;
  justify-content: center;     /* center heading + paragraph */
  align-items: flex-start;     /* keep left-aligned */
}


.glitch-lore {
  max-width: 800px;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #00ffee;
  text-shadow: 0 0 3px #00ffee;
  white-space: pre-line;
  overflow: hidden;
}

@keyframes typing {
  from { width: 0 }
  to { width: 100% }
}

.glitch-lore.typed {
  animation: typing 6s steps(80, end) forwards;
}

/* Section 3: Manifest */
#manifest {
  position: relative;
  padding: 6rem 2rem;
  background: black;
  text-align: left;
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
}

/* GL1TCH PROTOCOL Section */
#gl1tch-protocol {
  background: black;
  padding: 6rem 2rem;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.gl1tch-kita-container {
  max-width: 900px;
  width: 100%;
  position: relative;
  z-index: 1;
}

.gl1tch-terminal {
  font-family: 'Share Tech Mono', monospace;
  color: #00ffee;
  text-shadow: 0 0 2px #00ffee;
}

.gl1tch-terminal-output {
  background-color: rgba(0, 0, 0, 0.6);
  padding: 2rem;
  /*border: 1px solid #00ffee;
  border-radius: 6px;*/
  overflow: hidden;
  min-height: 300px;
}

.gl1tch-line {
  display: none;
  margin: 0;
  padding: 0;
  line-height: 1.3;
}

.gl1tch-line.spacer {
  height: 1rem;
}

.cursor {
  display: inline-block;
  animation: blink 1s step-end infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

/* Typing reveal effect on scroll */
.gl1tch-terminal-output.active .gl1tch-line {
  display: block;
  animation: appear 0.3s ease-in;
}

@keyframes appear {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}
.gl1tch-protocol-columns {
  display: flex;
  flex-direction: row;
  align-items: stretch; /* make both children same height */
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: nowrap;   /* ensure side-by-side on large screens */
  height: 100%;         /* allow children to match height */
}

.gl1tch-terminal,
.gl1tch-image {
  flex: 1;
  min-width: 0;
  height: 100%;          /* match height with sibling */
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.gl1tch-terminal-output {
  width: 100%;
}

.gl1tch-heading {
  color: #00ffee;
  font-family: 'Share Tech Mono', monospace;
  text-shadow: 0 0 2px #00ffee;
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: left;
}

.gl1tch-image img {
  width: 100%;
  max-width: 400px;
  height: auto;
  /*border: 1px solid #00ffcc;
  box-shadow: 0 0 10px #00ffcc;
  border-radius: 6px;*/
}
/* CONNECT SECTION */
#gl1tch-social {
  background: black;
  padding: 6rem 2rem;
  text-align: center;
}

.social-container {
  max-width: 800px;
  margin: 0 auto;
  border: 1px solid #00ffee;
  padding: 2rem;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.5);
  box-shadow: 0 0 10px #00ffee;
  font-family: 'Share Tech Mono', monospace;
}

#gl1tch-social h2 {
  color: #00ffcc;
  text-shadow: 0 0 6px #00ffcc;
  font-size: 1.8rem;
  margin-bottom: 2rem;
}

.social-line {
  color: #00ffee;
  font-size: 1.2rem;
  margin: 1rem 0;
  text-shadow: 0 0 3px #00ffee;
}

.social-line a {
  color: #00ffee;
  text-decoration: none;
  border-bottom: 1px dashed #00ffee;
  transition: all 0.3s ease;
}

.social-line a:hover {
  color: red;
  text-shadow: 0 0 5px red;
  border-bottom-color: red;
}
.mySction  {
  border: 1px solid #00ffee;
  border-radius: 6px;
  padding: 3rem;
  margin: 3rem auto;
  max-width: 900px;
  width: 100%;
  box-shadow: 0 0 12px #00ffee;
  background-color: rgba(0, 0, 0, 0.3);
}

.fallback-link {
  text-align: center;
  margin-top: 2rem;
  font-size: 1.3rem;
  font-family: 'Share Tech Mono', monospace;
  color: #00ffee;
  text-shadow: 0 0 3px #00ffee;
}

.fallback-link a {
  color: #00ffee;
  text-decoration: none;
  position: relative;
  transition: all 0.2s ease-in-out;
}

.fallback-link a::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  background: #00ffee;
  left: 0;
  bottom: -4px;
  opacity: 0.6;
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: right;
}

.fallback-link a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.fallback-link a:hover {
  color: red;
  text-shadow: 0 0 5px red;
}
