/* -------------------------------------------------------------
 * STORMFORGE BAND WEBSITE - STYLES
 * ------------------------------------------------------------- */

/* Reset & Base Elements */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  min-height: 100%;
  width: 100%;
  background-color: #121212; /* Fallback dark background */
}

body {
  font-family: 'Montserrat', sans-serif;
  color: #ffffff;
  /* Background image configuration */
  background-image: url('../images/bg.jpg');
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  overflow-x: hidden;
}

/* FIXED VIGNETTE SHADOW (FIX FOR SCROLLING SHADOW ISSUE)
 * This overlay is fixed in the viewport, so it remains static around the
 * edges of the screen even as the user scrolls through the page content.
 */
body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.85), inset 0 0 200px rgba(0, 0, 0, 0.95);
  pointer-events: none; /* Allows clicks to pass through to buttons underneath */
  z-index: 9999;
}

/* Background Overlay for Contrast & Readability */
.bg-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.85) 100%), rgba(18, 18, 18, 0.3);
  z-index: 1;
  pointer-events: none;
}

/* Main Layout Wrapper */
.main-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 4rem 1.5rem;
  position: relative;
  z-index: 2; /* Keeps content above background overlay */
}

/* Header & Branding */
.header-container {
  width: 100%;
  max-width: 900px;
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.logo-holder {
  width: 100%;
  max-width: 900px;
  text-align: center;
}

.logo {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 0 8px rgba(0, 0, 0, 0.9)) drop-shadow(0 0 15px rgba(212, 175, 55, 0.15));
  transition: filter 0.3s ease, transform 0.3s ease;
}

.logo:hover {
  filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.95)) drop-shadow(0 0 20px rgba(212, 175, 55, 0.35));
  transform: scale(1.02);
}

.logo-text {
  font-family: 'Cinzel', serif;
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: 6px;
  background: linear-gradient(180deg, #ffffff 0%, #a0a0a0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.8);
}

/* Content Container */
.content-container {
  width: 100%;
  max-width: 700px;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  align-items: center;
}

/* Video Player Card (Glassmorphism) */
.video-card {
  width: 100%;
  background: rgba(18, 18, 18, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 10px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.video-card:hover {
  border-color: rgba(212, 175, 55, 0.3);
  transform: translateY(-2px);
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 10px;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Announcement Card */
.announcement-holder {
  background: linear-gradient(135deg, rgba(20, 20, 20, 0.85) 0%, rgba(10, 10, 10, 0.95) 100%);
  border-left: 3px solid #d4af37;
  border-right: 3px solid #d4af37;
  padding: 1.5rem 2.5rem;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
  max-width: 100%;
  width: 100%;
  transition: transform 0.3s ease;
}

.announcement-holder:hover {
  transform: translateY(-1px);
}

.announcement-badge {
  font-size: 0.75rem;
  letter-spacing: 4px;
  color: #d4af37;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.announcement-text {
  font-family: 'Cinzel', serif;
  font-size: 1.8rem;
  font-weight: 900;
  letter-spacing: 3px;
  color: #ffffff;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.1), 0 0 30px rgba(212, 175, 55, 0.3);
  margin: 0;
  line-height: 1.2;
}

.announcement-sub {
  font-size: 0.95rem;
  letter-spacing: 5px;
  color: #a0a0a0;
  text-transform: uppercase;
  margin-top: 0.5rem;
  font-weight: 400;
}

/* Social & Listen Section */
.social-container {
  width: 100%;
  text-align: center;
}

.section-title {
  font-family: 'Cinzel', serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 5px;
  color: #a0a0a0;
  margin-bottom: 1.5rem;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  width: 100%;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 8px;
  color: #cccccc;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.social-btn:hover {
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
  background: rgba(255, 255, 255, 0.07);
}

.social-icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
  transition: transform 0.3s ease;
}

.social-btn:hover .social-icon {
  transform: scale(1.15);
}

/* Brand Colors on Hover */
.social-btn.bandcamp:hover {
  border-color: #629aa9;
  box-shadow: 0 0 15px rgba(98, 154, 169, 0.35);
  background: rgba(98, 154, 169, 0.08);
}

.social-btn.spotify:hover {
  border-color: #1db954;
  box-shadow: 0 0 15px rgba(29, 185, 84, 0.35);
  background: rgba(29, 185, 84, 0.08);
}

.social-btn.ytmusic:hover {
  border-color: #ff0000;
  box-shadow: 0 0 15px rgba(255, 0, 0, 0.35);
  background: rgba(255, 0, 0, 0.08);
}

.social-btn.youtube:hover {
  border-color: #ff0000;
  box-shadow: 0 0 15px rgba(255, 0, 0, 0.35);
  background: rgba(255, 0, 0, 0.08);
}

.social-btn.instagram:hover {
  border-color: #e1306c;
  box-shadow: 0 0 15px rgba(225, 48, 108, 0.35);
  background: rgba(225, 48, 108, 0.08);
}

.social-btn.facebook:hover {
  border-color: #1877f2;
  box-shadow: 0 0 15px rgba(24, 119, 242, 0.35);
  background: rgba(24, 119, 242, 0.08);
}

/* Contact Email Link */
.email-holder {
  margin-top: 1rem;
}

.email-link {
  display: inline-flex;
  align-items: center;
  color: #8a8a8a;
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 2px;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: all 0.3s ease;
  position: relative;
}

.email-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 1px;
  background-color: #d4af37;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.email-link:hover {
  color: #ffffff;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

.email-link:hover::after {
  width: 80%;
}

.email-icon {
  width: 16px;
  height: 16px;
  margin-right: 8px;
  fill: currentColor;
}

/* Footer Section */
.footer-container {
  margin-top: auto;
  padding: 3rem 0 0 0;
  text-align: center;
  color: #555555;
  font-size: 0.75rem;
  letter-spacing: 1px;
  width: 100%;
}

/* Animation Utilities */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  opacity: 0;
  animation: fadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Responsive Media Queries */
@media (max-width: 600px) {
  .main-wrapper {
    padding: 2.5rem 1rem;
  }
  
  .logo-text {
    font-size: 2.2rem;
    letter-spacing: 4px;
  }
  
  .announcement-text {
    font-size: 1.4rem;
  }

  .announcement-holder {
    padding: 1.25rem 1.5rem;
  }

  .social-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .social-btn {
    padding: 0.75rem 0.85rem;
    font-size: 0.75rem;
    gap: 8px;
  }
}

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