/* ========================
   BASE
======================== */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #050505;
  color: #eaeaea;
}

/* ========================
   HEADER & NAV
======================== */
.logo {
  height: 60px;
  width: auto;
  margin-bottom: 10px;
}

header {
  background: #000;
  padding: 20px;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.home header {
  background: transparent;
  position: fixed;
  width: 100%;
  top: 37px;
  left: 0;
  z-index: 1000000;
  box-sizing: border-box;
  opacity: 1;
  transition: opacity 0.5s ease, background 0.8s;
}

.header-hidden {
  opacity: 0 !important;
}

header h1 {
  margin: 0 0 10px 0;
  font-size: 2rem;
  letter-spacing: 6px;
  color: #fff;
}

/* ========================
   RELEASE BANNER
======================== */
.release-banner {
  background: #ff2e63;
  color: #000;
  text-align: center;
  padding: 10px 20px;
  font-size: 0.85rem;
  letter-spacing: 1px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  box-sizing: border-box;
  z-index: 1000001;
  display: none;
  transition: top 0.3s ease;
}

.release-banner.visible {
  display: block;
}

.release-banner p {
  margin: 0;
}

.release-banner a {
  color: #000;
  font-weight: bold;
  text-decoration: underline;
}

.release-banner a:hover {
  color: #fff;
}

nav a {
  margin: 0 15px;
  color: #eaeaea;
  text-decoration: none;
  font-weight: bold;
  letter-spacing: 2px;
  font-size: 0.9rem;
}

nav a:hover {
  color: #ff2e63;
}

header.scrolled {
  background: #000 !important;
  transition: background 0.8s;
}

/* ========================
   HERO
======================== */
.hero {
  height: 100vh;
  background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.9)),
              url('band.jpg') center/cover no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  letter-spacing: 3px;
  padding: 0 20px;
}

.hero h2 {
  font-size: 4rem;
  margin: 0;
}

.hero p {
  margin: 10px 0 20px;
  color: #bbb;
}

/* ========================
   BUTTON
======================== */
.btn {
  display: inline-block;
  border: 2px solid #ff2e63;
  padding: 10px 20px;
  color: #ff2e63;
  text-decoration: none;
  letter-spacing: 2px;
  font-weight: bold;
  transition: 0.3s;
}

.btn:hover {
  background: #ff2e63;
  color: #000;
}

/* ========================
   ABOUT
======================== */
.about {
  padding: 80px 20px;
  max-width: 700px;
  margin: auto;
  text-align: center;
  line-height: 1.8;
}

.about-welcome {
  font-size: 1.2rem;
  color: #eaeaea;
  margin-bottom: 20px;
  font-style: italic;
}

/* ========================
   MUSIC / SPOTIFY
======================== */
.music {
  padding: 60px 20px;
  max-width: 700px;
  margin: auto;
  text-align: center;
}

.music h2 {
  margin-bottom: 20px;
}

/* ========================
   VIDEO / YOUTUBE
======================== */
.video {
  padding: 60px 20px;
  max-width: 700px;
  margin: auto;
  text-align: center;
}

.video h2 {
  margin-bottom: 20px;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 12px;
}

/* ========================
   GIGS
======================== */
.gigs-section {
  padding: 60px 20px;
  max-width: 700px;
  margin: auto;
  text-align: center;
}

.gigs-section h2 {
  margin-bottom: 30px;
  letter-spacing: 3px;
}

/* ========================
   MERCH
======================== */
.merch-section {
  padding: 60px 20px;
  max-width: 900px;
  margin: auto;
  text-align: center;
}

.merch-section h2 {
  margin-bottom: 30px;
  letter-spacing: 3px;
}

.merch-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.merch-grid .card {
  width: 250px;
}

.merch-grid .card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 10px;
  border: 1px solid #222;
}

/* ========================
   CARDS
======================== */
.card {
  background: #111;
  padding: 20px;
  margin-bottom: 20px;
  border-left: 3px solid #ff2e63;
}

/* ========================
   CONTACT
======================== */
.contact {
  padding: 60px 20px;
  max-width: 700px;
  margin: auto;
  text-align: center;
}

.contact h2 {
  margin-bottom: 10px;
  letter-spacing: 3px;
}

.contact p {
  color: #bbb;
  margin-bottom: 30px;
}

.contact form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact input,
.contact textarea {
  background: #111;
  border: 1px solid #222;
  border-left: 3px solid #ff2e63;
  color: #eaeaea;
  padding: 12px 15px;
  font-size: 0.9rem;
  font-family: Arial, sans-serif;
  letter-spacing: 1px;
  outline: none;
  transition: border-color 0.3s;
}

.contact input:focus,
.contact textarea:focus {
  border-color: #ff2e63;
}

.contact textarea {
  resize: vertical;
}

.contact button {
  align-self: center;
  color: #ff2e63;
  border-color: #ff2e63;
  background: transparent;
  -webkit-appearance: none;
  appearance: none;
}

/* ========================
   FOOTER
======================== */
footer {
  text-align: center;
  padding: 20px;
  background: #000;
  margin-top: 40px;
  letter-spacing: 2px;
  font-size: 0.85rem;
  color: #666;
}

/* ========================
   FADE-IN ANIMATION
======================== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================
   RESPONSIVE (mobile)
======================== */
@media (max-width: 600px) {
  .hero h2 {
    font-size: 2.5rem;
  }

  nav a {
    margin: 0 8px;
    font-size: 0.8rem;
  }

  header h1 {
    font-size: 1.5rem;
  }

  .merch-grid .card {
    width: 100%;
  }

  .release-banner {
    font-size: 0.75rem;
    padding: 8px 10px;
    letter-spacing: 0;
  }

  .home header {
    top: 55px;
  }
}

/* ========================
   GRAIN OVERLAY
======================== */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
}

/* ========================
   LOADING SCREEN
======================== */
#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999999;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

#loader.hide {
  opacity: 0;
  visibility: hidden;
}

.loader-logo {
  height: 120px;
  width: auto;
  max-width: 80%;
  animation: logoFlickerPulse 2s ease-in-out;
}

@keyframes logoFlickerPulse {
  0%   { opacity: 0; transform: scale(1); }
  5%   { opacity: 1; transform: scale(1); }
  8%   { opacity: 0; transform: scale(1); }
  10%  { opacity: 1; transform: scale(1); }
  13%  { opacity: 0; transform: scale(1); }
  15%  { opacity: 1; transform: scale(1); }
  18%  { opacity: 0; transform: scale(1); }
  20%  { opacity: 1; transform: scale(1); }
  25%  { opacity: 0; transform: scale(1); }
  30%  { opacity: 1; transform: scale(1); }
  50%  { opacity: 1; transform: scale(1.08); }
  70%  { opacity: 1; transform: scale(0.97); }
  100% { opacity: 1; transform: scale(1); }
}

/* ========================
   ACTIVE NAV LINK
======================== */
nav a.active {
  color: #ff2e63;
  border-bottom: 2px solid #ff2e63;
  padding-bottom: 3px;
}

/* ========================
   SOCIAL LINKS
======================== */
.social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 15px;
}

.social-links a {
  color: #666;
  transition: color 0.3s;
  width: 24px;
  height: 24px;
  display: inline-block;
}

.social-links a:hover {
  color: #ff2e63;
}

.social-links svg {
  width: 24px;
  height: 24px;
}

/* ========================
   GIG TICKET LABELS
======================== */
.ticket-free {
  color: #ffffff;
  font-weight: bold;
  letter-spacing: 1px;
}

.ticket-soon {
  color: #888;
  font-style: italic;
}

/* ========================
   NO MERCH MESSAGE
======================== */
.no-merch {
  color: #666;
  font-style: italic;
  letter-spacing: 1px;
  margin-top: 20px;
}

/* ========================
   FLOATING SOCIALS
======================== */
.floating-socials {
  position: fixed;
  top: 50%;
  left: 15px;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 9998;
}

.floating-socials a {
  color: #666;
  transition: color 0.3s;
  width: 20px;
  height: 20px;
  display: inline-block;
}

.floating-socials a:hover {
  color: #ff2e63;
}

.floating-socials svg {
  width: 20px;
  height: 20px;
}

@media (max-width: 600px) {
  .floating-socials {
    display: none;
  }
}

/* ========================
   GALLERY
======================== */
.gallery-section {
  padding: 60px 20px;
  max-width: 1100px;
  margin: auto;
  text-align: center;
}

.gallery-section h2 {
  margin-bottom: 30px;
  letter-spacing: 3px;
}

.masonry-grid {
  columns: 3;
  column-gap: 12px;
}

.masonry-grid img {
  width: 100%;
  max-width: 100%;
  height: auto;
  margin-bottom: 12px;
  display: block;
  cursor: pointer;
  transition: opacity 0.3s;
}

.masonry-grid img:hover {
  opacity: 0.75;
}

@media (max-width: 768px) {
  .masonry-grid {
    columns: 2;
  }
}

@media (max-width: 480px) {
  .masonry-grid {
    columns: 1;
  }
}

/* ========================
   LIGHTBOX
======================== */
#lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.92);
  z-index: 99999;
  justify-content: center;
  align-items: center;
}

#lightbox.active {
  display: flex;
}

#lightbox-img {
  max-width: 90%;
  max-height: 90vh;
  width: auto;
  height: auto;
  border: 2px solid #ff2e63;
}

#lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  transition: color 0.3s;
}

#lightbox-close:hover {
  color: #ff2e63;
}
