/* ============================================= */
/* HEADSTATE DIGITAL BRAND & STYLE KIT           */
/* ============================================= */

/* --- CORE ANIMATIONS & BODY STYLES --- */

body {
  /* Sets the futuristic font for all text */
  font-family: 'Rajdhani', sans-serif; 
  
  /* The foundational dark background color */
  background-color: #0D1117;
  
  /* Default text color (will be color-shifted) */
  color: #C9D1D9;
  
  /* Applies the main color-shifting animation */
  animation: headstate-hue-shift 45s linear infinite;

  /* General text styling for the brand */
  letter-spacing: 0.025em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-align: center;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

/* Keyframes for the high-vibrancy, site-wide color shift */
@keyframes headstate-hue-shift {
  from {
    filter: hue-rotate(0deg) saturate(1.7) contrast(1.2);
  }
  to {
    filter: hue-rotate(360deg) saturate(1.7) contrast(1.2);
  }
}

/* Creates the animated aurora effect in the background */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(324deg, #0d1117, #58a6ff, #238636, #0d1117);
  background-size: 400% 400%;
  animation: headstate-aurora 20s ease infinite;
  z-index: -1;
  opacity: 0.2;
}

@keyframes headstate-aurora {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}


/* --- HELPER CLASSES & COMPONENT STYLES --- */

/* Apply to main content containers for the "glass" effect */
.hs-card {
  background-color: rgba(22, 27, 34, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(48, 54, 61, 0.5);
  border-radius: 0.75rem;
  padding: 1.5rem;
  max-width: 900px;
  margin: 20px;
}

/* A standard button for the brand */
.hs-button {
  display: inline-block;
  font-family: 'Rajdhani', sans-serif;
  font-weight: 700;
  color: #FFFFFF;
  background: linear-gradient(45deg, #2ea043, #238636);
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: transform 0.2s ease;
  border: none;
  cursor: pointer;
}

.hs-button:hover {
    transform: translateY(-2px) scale(1.05);
}

/* A standard link for the brand */
a.hs-link {
    color: #58a6ff; /* Base color is blue */
    text-decoration: none;
    font-weight: 600;
}
a.hs-link:hover {
    text-decoration: underline;
}

/* Use this class for any text that should use the logo font */
.hs-logo-font {
    font-family: 'Orbitron', sans-serif;
}

/* Existing styles from index.html, adapted for brand kit */
header {
    padding: 20px;
}

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
}

.logo {
    height: 6em; /* Match the h1 font-size */
    margin-right: 15px;
}

.music-text {
    margin: 0; /* Reset margin */
}

h1 {
    font-size: 4em;
    /* color and text-shadow will be handled by hue-shift */
    margin-bottom: 10px;
    letter-spacing: 3px;
}

h2 {
    font-size: 1.8em;
    /* color will be handled by hue-shift */
    margin-top: 0;
    letter-spacing: 2px;
}

.tab-container {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.tab {
    /* background-color, border, color, padding, margin, cursor, font-size, border-radius, transition are now handled by hs-button */
    font-size: 1.2em;
    margin: 0 10px;
}

.tab:hover, .tab.active {
    /* background-color, color, text-shadow are now handled by hs-button */
    background: linear-gradient(45deg, #2ea043, #238636);
}

.tab-content {
    display: none;
    /* max-width, padding, background-color, border-radius, border, box-shadow, backdrop-filter are now handled by hs-card */
}

.tab-content.active {
    display: block;
}

.section h3 {
    font-size: 2.5em;
    /* color and text-shadow will be handled by hue-shift */
    margin-bottom: 20px;
    letter-spacing: 1.5px;
}

.section p {
    font-size: 1.2em;
    line-height: 1.8;
    /* color will be handled by hue-shift */
}

a {
    /* color, text-decoration, transition are now handled by hs-link */
}

a:hover {
    /* color, text-shadow are now handled by hs-link */
}

footer {
    margin-top: 40px;
    padding: 15px;
    /* color will be handled by hue-shift */
    font-size: 1em;
    letter-spacing: 1px;
}

.footer-links {
    margin-top: 10px;
    font-size: 0.9em;
}

.footer-separator {
    margin: 0 10px;
}

/* --- ARTIST OVERLAY STYLES --- */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.overlay-content {
    position: relative;
    max-height: 80vh;
    overflow-y: auto;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 2.5em;
    color: #C9D1D9;
    text-decoration: none;
}

.social-links {
    margin-top: 20px;
    margin-bottom: 20px;
}

.social-links a {
    margin: 0 15px;
}

.music-player {
    margin-top: 20px;
}


/* --- RESPONSIVE STYLES --- */
@media (max-width: 768px) {
    .logo-container {
        flex-direction: column;
    }

    .logo {
        margin-right: 0;
        margin-bottom: 10px;
    }
}
