/* Base Styles */
:root {
    --primary-color: #0cf;
    --secondary-color: #05a;
    --accent-color: #f0f;
    --text-color: #fff;
    --bg-color: #000;
    --glow-color: rgba(12, 204, 255, 0.7);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Rajdhani', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden; /* Allow vertical scroll, prevent horizontal */
    min-height: 100vh; /* Ensure body is at least viewport height */
    width: 100%; /* Use 100% for better scrollbar handling */
}

/* Loading Screen */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: opacity 0.5s ease-out;
}

.loader {
    width: 80px;
    height: 80px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    border-top: 4px solid var(--primary-color);
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
    position: relative;
}

.loader-inner {
    position: absolute;
    width: 60%;
    height: 60%;
    top: 20%;
    left: 20%;
    border: 3px solid rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    border-top: 3px solid var(--accent-color);
    animation: spin 0.8s linear infinite reverse;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#loading-screen p {
    font-family: 'Orbitron', sans-serif;
    font-size: 18px;
    letter-spacing: 5px;
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* Main Content */
#content {
    position: relative;
    min-height: 100vh; /* Allow content to grow beyond viewport height */
    width: 100%;    /* Take full width */
    opacity: 0;
    transition: opacity 1s ease-in;
    display: flex; /* Use flexbox to center .container */
    flex-direction: column;
    align-items: center; /* Center .container horizontally */
    justify-content: center; /* Center .container vertically if content is short */
}

#content.visible {
    opacity: 1;
}

/* Canvas and Fallback */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

#fallback-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, #050505 0%, #000 100%);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    z-index: 0;
    opacity: 0;
    transition: opacity 1s ease;
}

#fallback-bg.visible {
    opacity: 1;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Content Container */
.container {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* height: 100vh; Removed to allow content to define height */
    padding: 50px 20px; /* Add padding for spacing around content */
    text-align: center;
    width: 100%; /* Ensure container takes full width of #content */
    box-sizing: border-box; /* Ensure padding is included in width/height */
}

/* Logo */
.logo-container {
    margin-bottom: 15px;
    max-width: 80%;
    transition: transform 0.3s ease;
}

.logo-container:hover {
    transform: scale(1.02);
}

#logo {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 0 10px var(--glow-color));
}

/* Coming Soon Text */
.coming-soon {
    margin-bottom: 10px;
    position: relative;
}

.coming-soon h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: 8px;
    text-shadow: 0 0 10px var(--glow-color);
    margin-bottom: 10px;
    position: relative;
    animation: textPulse 4s infinite;
}

@keyframes textPulse {
    0%, 100% { text-shadow: 0 0 10px var(--glow-color); }
    50% { text-shadow: 0 0 20px var(--glow-color), 0 0 30px var(--glow-color); }
}

.glitch-line {
    height: 2px;
    width: 0;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    margin: 0 auto;
    animation: lineExpand 3s ease-in-out infinite;
}

/* New wrapper for Bio and Music sections for two-column layout */
.bio-music-wrapper {
    display: flex;
    justify-content: space-between; /* Distributes space between items */
    align-items: flex-start; /* Aligns items to the top */
    gap: 40px; /* Space between the two columns */
    width: 80%; /* Overall width of the two-column area */
    max-width: 1500px; /* Max width for the two columns combined (e.g. 700px * 2 + 40px gap) */
    margin: 40px auto; /* Centering the wrapper, with top/bottom margins */
}

.bio-music-wrapper > .content-section {
    flex-basis: calc(50% - 20px); /* Each section takes half the space minus half the gap */
    max-width: 700px; /* Respect individual column max width */
    margin: 0; /* Reset individual margins; wrapper handles spacing and its own centering. Top/bottom margins for the group are on the wrapper. */
}

/* Content Sections (Bio, Music, Socials) */
.content-section {
    margin-top: 40px;
    margin-bottom: 40px;
    width: 80%;
    max-width: 700px; /* Max width for readability */
    margin-left: auto;
    margin-right: auto;
}

.content-section h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    color: var(--primary-color);
    text-shadow: 0 0 8px var(--glow-color), 0 0 15px var(--primary-color);
    margin-bottom: 20px;
    letter-spacing: 4px;
    text-transform: uppercase;
    position: relative;
}

.content-section h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: var(--primary-color);
    margin: 10px auto 0;
    opacity: 0.7;
}

.content-section p {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-color);
    opacity: 0.85;
    text-align: justify; /* For better paragraph flow */
}

/* Performances Section */
#performances-section .performance-category {
    margin-bottom: 30px; /* Space between categories */
}

#performances-section .performance-category:last-child {
    margin-bottom: 0;
}

#performances-section h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem; /* Slightly smaller than h2 */
    color: var(--secondary-color); /* Different color for distinction */
    text-shadow: 0 0 6px var(--secondary-color), 0 0 10px var(--secondary-color);
    margin-bottom: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-align: center; /* Center subheadings */
}

#performances-section .performance-subtitle {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.9rem;
    color: var(--text-color);
    opacity: 0.7;
    text-align: center;
    margin-bottom: 15px;
    font-style: italic;
}

#performances-section ul {
    list-style-type: none; /* Remove default bullets */
    padding-left: 0; /* Remove default padding */
    text-align: left; /* Align list items to the left */
}

#performances-section ul li {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-color);
    opacity: 0.8;
    margin-bottom: 8px; /* Space between list items */
    padding-left: 15px; /* Indent list items */
    position: relative;
}

#performances-section ul li::before {
    content: "▹"; /* Custom bullet point */
    position: absolute;
    left: 0;
    color: var(--primary-color); /* Bullet color */
    font-size: 0.9em;
    top: 1px;
}


#socials-section .social-links {
    margin-top: 10px; /* Adjust if h2 margin-bottom is not enough */
}

/* Call to Action Button Section */
#cta-section {
    /* Uses .content-section styles for width, max-width, margins */
    text-align: center; /* Center the button */
    margin-top: 40px; /* Space above the CTA section */
    margin-bottom: 20px; /* Space below CTA, before socials */
}

.cta-button {
    display: inline-block;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-color);
    background-color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 12px 30px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 5px;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px var(--glow-color), 0 0 20px var(--glow-color);
}

.cta-button:hover,
.cta-button:focus {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: var(--text-color);
    box-shadow: 0 0 15px var(--secondary-color), 0 0 30px var(--secondary-color);
    transform: translateY(-3px);
}


/* Photo Gallery Section */
#photos-section {
    /* Inherits .content-section styles like width, max-width, margins */
}

.photo-gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px; /* Space between photos */
    margin-top: 20px; /* Space below the "Promo Photos" h2 */
}

.photo-item {
    flex: 1 1 300px; /* Allows items to grow and shrink, with a base size */
    max-width: 45%; /* On larger screens, aim for two photos side-by-side */

    overflow: hidden; /* Ensures image respects border-radius */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.photo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(var(--primary-color-rgb, 0, 204, 255), 0.3);
}

.photo-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px; /* Match parent if no complex overlays */
    transition: transform 0.3s ease;
}

/* .photo-item:hover img {
    transform: scale(1.03);
} */


/* Social Links */
.social-links {
    display: flex;
    justify-content: center;
    gap: 25px;
}

.social-icon {
    color: var(--text-color);
    font-size: 1.8rem;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    overflow: hidden;
    text-decoration: none;
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.social-icon:hover {
    color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.social-icon:hover::before {
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .bio-music-wrapper {
        flex-direction: column; /* Stack sections vertically */
        align-items: center; /* Center sections when stacked */
        width: 100%; /* Wrapper takes full available width in mobile */
        gap: 0; /* No gap needed when stacked, sections will use their own margins */
        margin-top: 0; /* Remove wrapper's top margin, sections will have their own */
        margin-bottom: 0; /* Remove wrapper's bottom margin */
    }

    .bio-music-wrapper > .content-section {
        flex-basis: auto; /* Reset flex-basis for stacked layout */
        width: 90%; /* Use the mobile width defined for .content-section */
        /* max-width: 700px; is inherited from general .content-section */
        margin: 30px auto; /* Apply mobile top/bottom margin and auto for L/R centering */
    }

    .coming-soon h1 {
        font-size: 2rem;
        letter-spacing: 5px;
    }

    .content-section {
        width: 90%;
        margin-top: 30px;
        margin-bottom: 30px;
    }

    .content-section h2 {
        font-size: 1.8rem; /* Keep as is or adjust if needed */
        letter-spacing: 3px;
        margin-bottom: 15px;
    }

    #performances-section h3 {
        font-size: 1.1rem; /* Adjust for mobile */
        letter-spacing: 2px;
    }

    #performances-section .performance-subtitle {
        font-size: 0.85rem;
    }

    #performances-section ul li {
        font-size: 0.95rem;
        padding-left: 12px; /* Adjust indent for mobile */
    }

    .content-section p {
        font-size: 1rem;
    }
    
    .cta-button {
        font-size: 1.1rem;
        padding: 10px 25px;
    }

    .photo-gallery {
        gap: 15px;
    }

    .photo-item {
        max-width: 70%; /* Single column for photos on medium screens */
        flex-basis: 70%;
    }

    .social-links {
        gap: 15px;
    }
    
    .social-icon {
        font-size: 1.5rem;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .coming-soon h1 {
        font-size: 1.5rem;
        letter-spacing: 3px;
    }

    .content-section h2 {
        font-size: 1.6rem; /* Keep as is or adjust if needed */
        letter-spacing: 2px;
    }

    #performances-section h3 {
        font-size: 1rem; /* Further adjust for smaller screens */
    }

    #performances-section .performance-subtitle {
        font-size: 0.8rem;
    }
    
    #performances-section ul li {
        font-size: 0.9rem;
    }

    .content-section p {
        font-size: 0.95rem;
    }

    .cta-button {
        font-size: 1rem;
        padding: 8px 20px;
    }

    .photo-item {
        max-width: 90%; /* Larger single column for photos on small screens */
        flex-basis: 90%;
    }
    
    .social-links {
        gap: 10px;
    }
    
    .social-icon {
        font-size: 1.2rem;
        width: 40px;
        height: 40px;
    }
    
    .logo-container {
        margin-bottom: 30px;
    }
}
