/* --- Global Reset & Sticky Footer Setup --- */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  display: flex;
  background-image: url('final.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center;
  font-family: "Baloo 2", sans-serif;
  color: white;
  flex-direction: column;
  margin:0;
  
  /* Flexbox magic to glue footer to bottom */
  display: flex;
  flex-direction: column;
  min-height: 100vh; 
  min-height: 100dvh; /* Dynamic viewport height for mobile browsers */
}

/* --- Header --- */
header {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  flex-shrink: 0; /* Prevents header from squishing */
}

header img {
  width: 400px;
  max-width: 80%; /* Ensures it doesn't overflow on small screens */
  height: auto;
}

/* --- Article Headline (Transparent Black) --- */
.article-headline {
    background-color: rgba(0, 0, 0, 0.5); /* Light black transparency */
    padding: 10px 20px;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.article-headline a {
    color: white; 
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.article-headline a:hover {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(92, 200, 255, 0.8);
}

/* --- Navigation --- */
nav {
  text-align: center;
  padding: 15px 0;
  flex-shrink: 0;
}

nav ul {
  list-style: none;
  padding: 0;
  display: flex;
  justify-content: center;
  margin: 0;
}

nav ul li {
  margin: 0 20px;
}

nav a {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 2px;
  color: #E4405F;
  text-decoration: none;
  text-transform: uppercase;
  position: relative;
  text-shadow: 0 3px 8px rgba(0, 0, 0, 0.8);
  transition: color 0.3s ease;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 2px;
  background: #5cc8ff;
  transition: width 0.3s ease;
}

nav a:hover {
  color: #5cc8ff;
}

nav a:hover::after {
  width: 100%;
}

/* --- MAIN FEATURE SECTION --- */

/* 1. The Content Area - The "Stage" */
.content-area {
    display: flex;
    flex-direction: column; /* FORCES STACKING */
    align-items: center;    /* CENTERS EVERYTHING */
    justify-content: center;
    padding: 60px 20px;
    flex: 1 0 auto;
  flex-grow: 1;
    width: 100%;
    box-sizing: border-box;
}

/* 2. The Container - Limits the width for Desktop */
.main-feature-container {
    width: 100%;
    max-width: 500px; /* How big you want the box on desktop */
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* 3. The Solo Box (Top Part) */
.solo-box {
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: none; /* Connects to player */
    border-radius: 12px 12px 0 0;
    padding: 20px;
    box-sizing: border-box;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.solo-box img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
}

.solo-box p {
    font-size: 1.2rem;
    letter-spacing: 2px;
    margin-top: 15px;
    font-weight: bold;
    text-transform: uppercase;
}

/* 4. The Audio Player (Bottom Part) - UPDATED FOR SPOTIFY */
.audio-player {
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: none; /* Connects seamlessly to the solo-box above */
    padding: 0 !important;   /* Critical: removes internal spacing for the iframe */
    margin: 0;
    line-height: 0;          /* Removes tiny white gaps at the bottom */
    overflow: hidden;
    border-radius: 0 0 12px 12px;
    min-height: 152px;       /* Matches the compact Spotify player height */
}

/* Ensures the iframe fills the container perfectly */
.audio-player iframe {
    width: 100%;
    height: 152px;
    display: block;
    border: none;
}

/* --- Footer --- */
footer {
  flex-shrink: 0; /* Ensures footer maintains its size */
  width: 100%;
  padding: 40px 0;
  text-align: center;
  background: linear-gradient(transparent, rgba(0,0,0,0.9));
}

.social-links a {
  color: white;
  font-size: 35px;
  margin: 0 25px;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.social-links a:hover {
  transform: translateY(-5px);
}

.social-links a:hover .fa-facebook { color: #1877F2; }
.social-links a:hover .fa-instagram { color: #E4405F; }
.social-links a:hover .fa-spotify { color: #1DB954; }
.social-links a:hover .fa-youtube { color: #E4405F; }
