/* Global Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #0b0b0b; /* Deep premium black */
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 40px 20px;
}

/* මුළු සයිට් එකම එකම පළලකට බැලන්ස් කරන Container එක */
.container {
    width: 100%;
    max-width: 900px; /* හැම section එකක්ම මේ පළලට සමාන වෙනවා */
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* --- Hero Header Section --- */
.hero-header {
    position: relative;
    
    /* Container එකෙන් එළියට පැන මුළු ස්ක්‍රීන් එකේම පළල ගැනීමට */
    width: 100vw; 
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;

    height: 500px; /* උඹට කැමති උසක් මෙතනට දාන්න */
    background-image: url('https://raw.githubusercontent.com/Amawin/amawin.github.io/main/Amawin%20header.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 40px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.6));
    z-index: 1;
}

.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 5.5rem;
    color: #ffffff;
    letter-spacing: -3px;
    z-index: 2;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

/* --- Bio Section --- */
#bio {
    width: 100%;
    padding: 0 10px;
}

.bio-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #cccccc;
    text-align: justify; /* දෙපැත්තම එක කෙලින් balance වෙන්න */
}

/* --- Music Section --- */
#music h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    margin-bottom: 20px;
    padding-left: 10px;
    letter-spacing: -1px;
    color: #ffffff;
}

.spotify-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.embed-container {
    width: 100%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    border-radius: 12px;
    overflow: hidden;
}

.embed-container iframe {
    display: block;
    border: none;
}

/* --- Footer Section --- */
#connect {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
    padding-top: 30px;
    border-top: 1px solid #222;
}

.social-links {
    display: flex;
    gap: 25px;
}

.social-links a {
    color: #aaaaaa;
    font-size: 1.5rem;
    transition: color 0.3s ease, transform 0.2s ease;
}

.social-links a:hover {
    color: #1DB954; /* Spotify Green */
    transform: scale(1.1);
}

.distro {
    font-size: 0.9rem;
    color: #666666;
}

.distro span {
    color: #999999;
    font-weight: 600;
}

.copyright {
    font-size: 0.8rem;
    color: #444444;
}

/* --- Mobile View Responsive Styles --- */
@media (max-width: 768px) {
    body {
        padding: 20px 10px;
    }
    .container {
        gap: 30px;
    }
    .hero-header {
        height: 300px;
    }
    .hero-title {
        font-size: 3rem;
        letter-spacing: -1.5px;
    }
    
    .bio-text {
        font-size: 1rem;
        line-height: 1.6;
        text-align: center; /* මොබයිල් එකේදී විතරක් බයෝ එක මැදට කරනවා */
    }
}
