:root {
    --color-bg: #050505;
    --color-text-main: #e0e0e0;
    --color-text-muted: #888;
    --color-accent: #ffffff; /* Stark white for contrast */
    --color-accent-dim: #3a3a3a;
    --font-heading: 'Metal Mania', cursive;
    --font-subheading: 'Cinzel', serif;
    --font-body: 'Lato', sans-serif;
    --gap-standard: 2rem;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Background Texture/Mist effect */
.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Changed to linear gradient for consistency from top to bottom */
    background: linear-gradient(180deg, #050505 0%, #111 50%, #050505 100%);
    z-index: -1;
    pointer-events: none;
}

/* Fog Animation */
.fog-container {
    position: fixed;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    z-index: -1;
    top: 0;
    pointer-events: none;
}

.fog-img {
    position: absolute;
    height: 100vh;
    width: 300vw;
    background: url('https://raw.githubusercontent.com/danielstuart14/CSS_FOG_ANIMATION/master/fog1.png') repeat-x;
    background-size: contain;
    animation: fog 60s linear infinite;
    opacity: 0.3;
}

.fog-img-second {
    background: url('https://raw.githubusercontent.com/danielstuart14/CSS_FOG_ANIMATION/master/fog2.png') repeat-x;
    background-size: contain;
    animation: fog 40s linear infinite;
    z-index: -1;
    top: 30%;
}

@keyframes fog {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-200vw, 0, 0); }
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* -----------------------------------------------------------
   Socials Section (Top Priority)
----------------------------------------------------------- */
.socials-top {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 2rem 0;
    width: 100%;
    z-index: 10;
}

.social-link {
    color: var(--color-text-main);
    font-size: 2rem;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.social-link:hover {
    color: var(--color-accent);
    opacity: 1;
    transform: translateY(-3px) scale(1.1);
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
}

.social-link.spotify:hover { color: #1DB954; text-shadow: 0 0 15px rgba(29, 185, 84, 0.4); }
.social-link.instagram:hover { color: #E1306C; text-shadow: 0 0 15px rgba(225, 48, 108, 0.4); }
.social-link.facebook:hover { color: #4267B2; text-shadow: 0 0 15px rgba(66, 103, 178, 0.4); }
.social-link.youtube:hover { color: #FF0000; text-shadow: 0 0 15px rgba(255, 0, 0, 0.4); }

/* -----------------------------------------------------------
   Header
----------------------------------------------------------- */
.band-header {
    text-align: center;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.band-logo {
    width: 150px;
    height: auto;
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.1));
    margin-bottom: 1rem;
    animation: pulse-dim 5s infinite;
}

.band-name {
    font-family: var(--font-heading);
    font-size: 4rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    margin: 0;
    color: var(--color-accent);
    text-shadow: 0 0 20px rgba(0,0,0,0.8);
}

.genre-tag {
    font-family: var(--font-subheading);
    color: var(--color-text-muted);
    letter-spacing: 3px;
    text-transform: uppercase;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
    padding: 0.2rem 1rem;
}

/* -----------------------------------------------------------
   Hero Image
----------------------------------------------------------- */
.hero-image {
    width: 100%;
    max-width: 800px; /* Restrict width on PC so it's not overwhelming */
    margin: 0 auto 4rem auto; /* Center it */
    border: 1px solid #222;
    box-shadow: 0 0 30px rgba(0,0,0,0.8);
    position: relative;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
    filter: grayscale(80%) contrast(120%);
    transition: filter 0.5s ease;
}

.hero-image:hover img {
    filter: grayscale(0%) contrast(110%);
}

.glitch-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.15) 0px,
        rgba(0, 0, 0, 0.15) 1px,
        transparent 1px,
        transparent 2px
    );
    pointer-events: none;
    z-index: 2;
    opacity: 0.7;
}

/* -----------------------------------------------------------
   Music Player
----------------------------------------------------------- */
.custom-player {
    background: rgba(10, 10, 10, 0.9);
    border: 1px solid #333;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 0 20px rgba(0,0,0,0.8);
    backdrop-filter: blur(5px);
}

.player-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: left;
}

#song-art {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border: 1px solid #444;
}

.track-details h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--color-text-main);
    margin: 0;
    line-height: 1.2;
}

.track-details p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.player-controls {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.control-btn {
    background: none;
    border: 1px solid #444;
    color: var(--color-text-main);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.control-btn:hover {
    border-color: var(--color-text-main);
    background: rgba(255,255,255,0.1);
}

.control-btn.play {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
    border-color: #666;
}

/* -----------------------------------------------------------
   Content Sections
----------------------------------------------------------- */
.content-section {
    width: 100%;
    margin-bottom: 4rem;
    text-align: center;
}

.content-section h2 {
    font-family: var(--font-subheading);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--color-text-main);
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
}

.content-section h2::after {
    content: '';
    display: block;
    width: 50%;
    height: 2px;
    background: var(--color-text-muted);
    margin: 0.5rem auto 0;
}

.text-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.1rem;
    color: #ccc;
}

.text-content p {
    margin-bottom: 1.5rem;
}

.text-content strong {
    color: white;
    font-family: var(--font-subheading);
}

/* -----------------------------------------------------------
   Members Grid
----------------------------------------------------------- */
.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 1rem;
}

.member-card {
    background: linear-gradient(180deg, #111, #080808);
    padding: 2rem 1rem;
    border: 1px solid #222;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.member-card:hover {
    transform: translateY(-5px);
    border-color: #444;
}

.member-card h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: #fff;
    letter-spacing: 1px;
}

.real-name {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.5rem;
    font-style: italic;
}

.role {
    font-family: var(--font-subheading);
    text-transform: uppercase;
    color: #aaa;
    font-weight: 700;
    letter-spacing: 2px;
}

/* -----------------------------------------------------------
   Gallery
----------------------------------------------------------- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.gallery-grid img {
    width: 100%;
    height: auto;
    border: 1px solid #222;
    filter: grayscale(100%);
    transition: filter 0.5s ease;
}

.gallery-grid img:hover {
    filter: grayscale(0%);
}

/* -----------------------------------------------------------
   Footer
----------------------------------------------------------- */
.site-footer {
    width: 100%;
    padding: 3rem 0;
    margin-top: auto;
    border-top: 1px solid #222;
    text-align: center;
    color: #555;
    font-size: 0.9rem;
}

.booking-section {
    margin-top: 1.5rem;
}

.booking-section h3 {
    font-family: var(--font-subheading);
    color: var(--color-text-main);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.contact-email {
    margin-top: 0.5rem;
    color: #888;
    font-family: var(--font-subheading);
    display: inline-block;
    border: 1px solid #333;
    padding: 0.5rem 1rem;
    background: rgba(255,255,255,0.05);
    transition: all 0.3s ease;
}

.contact-email:hover {
    background: rgba(255,255,255,0.1);
    border-color: #666;
    color: #fff;
    cursor: text;
}


/* -----------------------------------------------------------
   Animations
----------------------------------------------------------- */
@keyframes pulse-dim {
    0%, 100% { opacity: 0.8; }
    50% { opacity: 0.4; }
}

.fade-in {
    opacity: 0;
    animation: fadeInAnimation 1.5s forwards;
}

.delay-1 { animation-delay: 0.5s; }

@keyframes fadeInAnimation {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* JavaScript Scroll Reveal Class */
.fade-in-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-in-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* -----------------------------------------------------------
   Media Queries
----------------------------------------------------------- */
@media (max-width: 768px) {
    .band-name {
        font-size: 2.8rem;
    }

    .socials-top {
        gap: 1.5rem;
    }

    .social-link {
        font-size: 1.8rem;
    }

    .members-grid {
        grid-template-columns: repeat(2, 1fr); /* 2x2 on tablet/large phone */
    }
}

@media (max-width: 480px) {
    .band-name {
        font-size: 2rem;
    }
    
    .social-link {
        font-size: 1.5rem;
        padding: 0.5rem;
    }
    
    .members-grid {
        grid-template-columns: 1fr; /* Stack on small phone */
    }

    .text-content {
        padding: 0 1rem;
    }

    /* Player Adjustments for Mobile */
    .custom-player {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
        padding: 1.5rem 1rem;
    }

    .player-info {
        flex-direction: column;
        text-align: center;
        width: 100%;
    }

    #song-art {
        width: 100px;
        height: 100px;
        margin-bottom: 0.5rem;
        box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    }
    
    .track-details h3 {
        font-size: 1.2rem;
    }
    
    .player-controls {
        width: 100%;
        justify-content: center;
        gap: 2rem;
    }

    .control-btn {
        transform: scale(1.1); /* Larger touch targets */
    }
}
