/* ================================================= */
/* CORE RESET & LAYOUT                               */
/* ================================================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Courier New', Courier, monospace;
  background-color: #120b07;
  color: #ebdcc9;
  text-align: center;
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
}

/* Subtle TV scanline overlay */
.static-overlay {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: repeating-linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.15),
    rgba(0, 0, 0, 0.15) 1px,
    transparent 1px,
    transparent 2px
  );
  pointer-events: none;
  z-index: 999;
}

/* ================================================= */
/* HEADER & ARTIST LOGO                              */
/* ================================================= */
header {
  background-color: #21120a;
  border-bottom: 4px solid #8b4513;
  padding: 1.5rem 1rem;
}

.header-container {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.artist-logo {
  max-height: 90px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.8));
}

nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

nav a {
  color: #ebdcc9;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  letter-spacing: 1px;
  transition: color 0.2s;
}

nav a:hover {
  color: #ffaa33;
}

/* ================================================= */
/* HERO SECTION & DUAL-IMAGE GLITCH                  */
/* ================================================= */
.hero {
  padding: 2.5rem 1rem;
  background-color: #0d0704;
  display: flex;
  justify-content: center;
}

.glitch-card {
  position: relative;
  width: 100%;
  max-width: 850px;
  height: 450px;
  border: 4px solid #5c3a21;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.9);
  overflow: hidden;
  cursor: pointer;
}

.glitch-card img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

.img-base {
  opacity: 1;
  z-index: 1;
}

.img-glitch {
  opacity: 0;
  z-index: 2;
  filter: contrast(130%) hue-rotate(190deg);
}

.glitch-card:hover .img-glitch {
  opacity: 0.95;
  animation: jitter 0.15s infinite;
}

@keyframes jitter {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-4px, 2px); }
  50% { transform: translate(4px, -2px); }
  75% { transform: translate(-2px, -3px); }
  100% { transform: translate(0, 0); }
}

.hero-caption {
  position: absolute;
  bottom: 0; left: 0; width: 100%;
  background: linear-gradient(transparent, rgba(0,0,0,0.9));
  padding: 20px;
  z-index: 3;
  color: #ffaa33;
  text-shadow: 2px 2px 4px #000;
}

/* ================================================= */
/* CONTENT SECTIONS & GRIDS                          */
/* ================================================= */
.content-section {
  padding: 3.5rem 1rem;
  max-width: 950px;
  margin: 0 auto;
}

.dark-bg {
  background-color: #180f0a;
  border-radius: 8px;
  margin-top: 20px;
  margin-bottom: 20px;
}

h2 {
  color: #ffaa33;
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  border-bottom: 2px dashed #5c3a21;
  display: inline-block;
  padding-bottom: 5px;
}

.bio-text {
  font-size: 1.1rem;
  max-width: 750px;
  margin: 0 auto;
  color: #d8c4b0;
}

/* ================================================= */
/* DISCOGRAPHY & ALBUM ARTWORK                       */
/* ================================================= */
.album-grid {
  display: flex;
  gap: 25px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px;
}

.album-card {
  background: #24140b;
  border: 1px solid #5c3a21;
  padding: 20px;
  width: 280px;
  text-align: left;
}

.album-art-container {
  width: 100%;
  height: 220px;
  overflow: hidden;
  border: 2px solid #5c3a21;
  margin-bottom: 12px;
  background-color: #0d0704;
}

.album-art {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.album-card:hover .album-art {
  transform: scale(1.03);
}

.tracklist {
  font-size: 0.9rem;
  margin-top: 10px;
  color: #cbb89d;
}

.audio-player-box {
  margin-top: 15px;
}

.audio-player-box audio {
  width: 100%;
  margin-top: 5px;
}

/* ================================================= */
/* TOUR LIST & GLITCH ENTRY POINT                    */
/* ================================================= */
.tour-list {
  list-style: none;
  margin-top: 1rem;
}

.tour-list li {
  background: #21120a;
  border-left: 5px solid #8b4513;
  margin-bottom: 12px;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.btn-ticket {
  background: #8b4513;
  color: #fff;
  border: none;
  padding: 8px 16px;
  font-family: inherit;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-ticket:hover {
  background: #ffaa33;
  color: #000;
}

/* ARG Glitched Tour Item */
.glitch-tour-item {
  background: #2d0606 !important;
  border-left: 5px solid #ff3333 !important;
  border: 1px dashed #ff3333;
  cursor: pointer;
}

.glitch-tour-item:hover {
  background: #ff3333 !important;
  color: #000;
  box-shadow: 0 0 15px rgba(255, 51, 51, 0.7);
}

.red-alert {
  color: #ff3333;
  font-weight: bold;
}

.alert-btn {
  background: #ff3333 !important;
  color: #000 !important;
}

/* ================================================= */
/* MERCH STORE                                       */
/* ================================================= */
.store-grid {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.store-item {
  background: #24140b;
  border: 1px solid #5c3a21;
  padding: 15px;
  width: 230px;
}

.store-img-container {
  width: 100%;
  height: 180px;
  overflow: hidden;
  border: 1px solid #5c3a21;
  margin-bottom: 10px;
  background-color: #0d0704;
}

.store-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.store-item:hover .store-img {
  transform: scale(1.05);
}

.price {
  color: #ffaa33;
  font-weight: bold;
  display: block;
  margin-top: 5px;
}

/* ================================================= */
/* NEWSLETTER & FOOTER                               */
/* ================================================= */
.newsletter-form {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 15px;
}

.newsletter-form input {
  padding: 10px;
  width: 60%;
  max-width: 350px;
  background: #24140b;
  border: 1px solid #5c3a21;
  color: #ebdcc9;
  font-family: inherit;
}

.newsletter-form button {
  padding: 10px 20px;
  background: #8b4513;
  color: #fff;
  border: none;
  font-family: inherit;
  font-weight: bold;
  cursor: pointer;
}

.newsletter-form button:hover {
  background: #ffaa33;
  color: #000;
}

footer {
  padding: 2rem;
  background: #0d0704;
  border-top: 2px solid #3b2011;
  margin-top: 3rem;
  font-size: 0.85rem;
}

.footer-cipher {
  color: #555;
  margin-top: 8px;
  font-family: monospace;
}

/* ================================================= */
/* ARG TERMINAL MODAL                                */
/* ================================================= */
.modal {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background-color: rgba(0, 0, 0, 0.92);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

.hidden { display: none !important; }

.modal-content {
  background-color: #020a03;
  border: 2px solid #00ff66;
  width: 90%;
  max-width: 680px;
  padding: 25px;
  box-shadow: 0 0 30px rgba(0, 255, 102, 0.4);
  text-align: left;
  color: #00ff66;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #00ff66;
  padding-bottom: 10px;
  margin-bottom: 15px;
}

.aetheria-logo {
  max-height: 45px;
  object-fit: contain;
  border: 1px solid #00ff66;
}

.close-btn {
  font-size: 2rem;
  cursor: pointer;
  color: #00ff66;
}

.close-btn:hover {
  color: #fff;
}

.terminal-title {
  font-weight: bold;
  font-size: 0.9rem;
  margin-bottom: 15px;
}

.sys-msg {
  color: #ff3333;
  margin-bottom: 15px;
  font-weight: bold;
}

.input-line {
  display: flex;
  align-items: center;
  margin-top: 15px;
}

#passcodeInput {
  background: transparent;
  border: none;
  border-bottom: 1px solid #00ff66;
  color: #00ff66;
  font-family: monospace;
  font-size: 1.1rem;
  outline: none;
  width: 70%;
  padding: 4px;
}

#terminalOutput {
  margin-top: 15px;
  font-weight: bold;
}