/* === BASE STYLES === */

.grid-layout {
  display: grid;
  grid-template-columns: 3fr 1fr; 
  /* Left is 75%, Right is 25% */
  gap: 2rem;
  align-items: flex-start;
  margin: 4rem auto;
  padding: 2rem;
  max-width: 1200px;
}
.about-layout {
  grid-template-columns: 1fr 1fr; /* Equal width columns */
}
body {
  margin: 0;
  background: #0d0d0d;
  font-family: "Lucida Console", Monaco, "Courier New", monospace;
  color: #f0f0f0;
}
a {
  color: #00ffe0;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* === GRID LAYOUT === */
.grid-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem;
  box-sizing: border-box;
}

@media (max-width: 900px) {
  .grid-layout {
    grid-template-columns: 1fr;
  }
}

.grid-left, .grid-right {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* === HERO SECTION === */
/* patched by Dev – 2025‑07‑01 – goodbye dusty JPEG, hello glitch‑loop */
.hero-banner{
  position:relative;
  width:100%;
  height:60vh;
  min-height:400px;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:2rem;
}

/* Video element that sits behind the glitch text */
.hero-banner .hero-video{
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  object-fit:cover;
  z-index:-1;
}

.hero-text {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 6rem;
  font-family: 'Unica One', sans-serif;
  color: #00ffe0;
  text-shadow: 0 0 10px #ff1493;
}

.hero-text::before,
.hero-text::after {
  content: attr(data-text);
  position: absolute;
  width: 100%;
  overflow: hidden;
  color: #ff00ff;
  z-index: -1;
}

.hero-text::before {
  text-shadow: -2px 0 magenta;
  top: -2px;
  left: 2px;
}

.hero-text::after {
  text-shadow: -2px 0 cyan;
  top: 2px;
  left: -2px;
}

/* === NEON CARDS === */
.neon-card {
  background: #1a1a1a;
  border: 2px solid #333;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 0 20px rgba(0,255,224,0.1);
  color: #fff;
}

.neon-card h2 {
  color: #ff1493;
  font-family: 'Unica One', sans-serif;
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.neon-glow {
  color: #00ffe0;
  text-shadow: 0 0 5px #00ffe0;
}

/* === NEWSLETTER === */
.newsletter-card input {
  padding: 0.75rem;
  width: 60%;
  border-radius: 6px;
  border: none;
  margin-right: 10px;
  font-size: 1em;
  background-color: #111;
  color: #fff;
  box-shadow: 0 0 10px #00ffe0;
}

.newsletter-card input::placeholder {
  color: #00ffe0;
  opacity: 0.6;
}

.newsletter-card button {
  padding: 0.75rem 1.5rem;
  background-color: #ff00aa;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 0 12px #ff00aa;
}

.newsletter-card button:hover {
  background-color: #00ffe0;
  color: #000;
  box-shadow: 0 0 16px #00ffe0;
}

#response-message {
  margin-top: 1rem;
}

/* === FOOTER === */
.footer-grid {
  display: flex;
  justify-content: space-between;
  padding: 2rem;
  background: #111;
  font-size: 0.9rem;
  color: #aaa;
  flex-wrap: wrap;
}

.footer-grid a {
  margin-left: 1rem;
  color: #00ffe0;
  font-weight: bold;
}

.talk-to-machine {
  text-align: center;
}

.chat-avatar {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 1.5rem;
  box-shadow: 0 0 15px #00ffe0;
}

.talk-btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: #00ffe0;
  color: #000;
  font-weight: bold;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 0 15px #00ffe0;
  transition: all 0.3s ease;
}

.talk-btn:hover {
  background-color: #ff00aa;
  color: #fff;
  box-shadow: 0 0 20px #ff00aa;
}

.cta-button-row {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 1.5rem;
}

.cta-btn {
  flex: 1;
  text-align: center;
  padding: 1rem;
  font-size: 1.1rem;
  font-weight: bold;
  border: 2px solid #00ffe0;
  border-radius: 8px;
  color: #000;
  background-color: #00ffe0;
  text-decoration: none;
  box-shadow: 0 0 15px #00ffe0;
  transition: all 0.3s ease;
}

.cta-btn:hover {
  background-color: #ff00aa;
  color: #fff;
  box-shadow: 0 0 25px #ff00aa;
}

@media (max-width: 600px) {
  .hero-text {
    font-size: 2rem;
  }

  .cta-btn {
    font-size: 1rem;
    padding: 0.75rem;
  }
}

.cta-btn:focus {
  outline: 2px dashed #ff00aa;
  outline-offset: 4px;
}

.button--glitch {
  border: 2px solid #00ffe0;
  background: #00ffe0;
  color: #000;
  border-radius: 8px;
  box-shadow: 0 0 12px #00ffe0;
  text-transform: uppercase;
  font-weight: bold;
  transition: 0.3s ease;
}

.button--glitch:hover {
  background: #ff00aa;
  color: #fff;
  box-shadow: 0 0 20px #ff00aa;
}
.grid-right {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.chat-avatar {
  width: 100%;
  border-radius: 12px;
  margin: 1rem 0;
  box-shadow: 0 0 20px rgba(0, 255, 224, 0.2);
}
.neon-card ul {
  list-style: square;
  color: #00ffe0;
  line-height: 1.6;
}
audio {
  margin-top: 1rem;
  width: 100%;
}
.full-size-img {
  width: auto;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}
.chat-image-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
}

.chat-image-wrapper img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.overlay-btn {
  position: absolute;
  bottom: 8%;
  left: 50%;
  transform: translateX(-50%);
  background-color: #00ffe0;
  color: #000;
  padding: 0.6rem 1.2rem;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  box-shadow: 0 0 12px #00ffe0;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.overlay-btn:hover {
  transform: translateX(-50%) scale(1.05);
}
.extras-layout {
  display: grid;
  grid-template-columns: 1fr 1fr; /* 50/50 split */
  gap: 2rem;
  align-items: flex-start;
  margin: 4rem auto;
  padding: 2rem;
  max-width: 1200px;
}
.want-more-btn {
  margin-top: 2rem;
  font-size: 0.85rem;
  padding: 0.4rem 1rem;
}
.cover-thumb {
  max-width: 800px;
  max-height: 800px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 1rem auto;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(0, 255, 224, 0.15);
}
.download-btn {
  display: block;                  /* Full-width block for proper centering */
  width: fit-content;              /* Shrink to button size */
  margin: 2rem auto 0 auto;        /* Top margin only, center horizontally */
  padding: 0.6rem 1.2rem;
  background-color: #00ffe0;
  color: #000;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  box-shadow: 0 0 12px #00ffe0;
  text-decoration: none;
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.download-btn:hover {
  transform: scale(1.05);
  background-color: #00ffcc;
}
.machine-lab .hero-text {
  font-size: 5rem;
}
.hero-text {
  white-space: nowrap;
}
.machine-lab .hero-text {
  font-size: 5rem;
}
.glow-img {
  max-width: 100%;
  border: 2px solid #ff5ef3;
  border-radius: 8px;
  box-shadow: 0 0 20px #ff5ef3;
  margin-bottom: 1.5rem;
}

.sigil-float {
  position: absolute;
  width: 90px;
  opacity: 0.3;
  animation: pulse 2s infinite alternate;
  filter: drop-shadow(0 0 10px #f0f);
}

@keyframes pulse {
  from { transform: scale(1); }
  to { transform: scale(1.05); }
}

.neon-card img.diary-bg {
  opacity: 0.05;
  position: absolute;
  z-index: 0;
  width: 100%;
  height: auto;
}

.neon-card .content {
  position: relative;
  z-index: 2;
}
aside .neon-card ul {
  position: relative;
  z-index: 2;
}

aside .neon-card .sigil-float {
  z-index: 0;
}
