/* --- Premium Hybrid Theme --- */
:root {
    --color-background: #121212;
    --color-surface: #1E1E1E;
    --color-on-surface: #FFFFFF;
    --color-on-surface-variant: #B3B3B3;
    --color-primary: #D0BCFF; /* Material Purple */
    --color-accent: #FF00BF;   /* Vibrant Magenta/Pink */
    --color-outline: #2A2A2A; /* Softer outline */
    --font-family: 'Roboto', sans-serif;
    --header-height: 73px; /* Height of the header */
}

/* --- Base & Typography --- */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--color-background);
    color: var(--color-on-surface);
    margin: 0;
    padding: 0;
    position: relative;
    padding-top: var(--header-height);
}
/* Noise Texture */
body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAElBMVEUAAAD8/vz8/vz8/vz8/vz8/vyQ2IfvAAAAB3RSTlMAEREiI3mKyE2T/gAAAAlwSFlzAAALEwAACxMBAJqcGAAAADZJREFUOMtjYKAkYGRgYGBgYGBob2BgaGBoY2BgYGBoYGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYADNAAFrwAUj1sN8AAAAAElFTkSuQmCC');
    opacity: 0.04;
    pointer-events: none;
    z-index: -1;
}


.md-typescale-display-large { font-size: 68px; line-height: 76px; font-weight: 700; }
.md-typescale-headline-large { font-size: 36px; line-height: 44px; font-weight: 700; }
.md-typescale-title-large { font-size: 22px; line-height: 28px; font-weight: 500; }
.md-typescale-body-large { font-size: 16px; line-height: 24px; font-weight: 400; color: var(--color-on-surface-variant); }
.md-typescale-label-large { font-size: 14px; line-height: 20px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }

/* --- Preloader --- */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-background);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1003;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}
#preloader.hidden { opacity: 0; visibility: hidden; }
.spinner {
    width: 48px;
    height: 48px;
    border: 4px solid var(--color-surface);
    border-top-color: var(--color-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* --- Layout & Components --- */
header {
    background-color: rgba(18, 18, 18, 0.8);
    backdrop-filter: blur(10px);
    padding: 16px 24px;
    border-bottom: 1px solid var(--color-outline);
    position: fixed; /* Changed from sticky to fixed */
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1600px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 24px;
    color: var(--color-on-surface);
    text-decoration: none;
    transition: color 0.3s;
}
.logo:hover {
    color: var(--color-primary);
}
.logo svg {
    transition: transform 0.5s ease-in-out;
}
.logo:hover svg {
    transform: rotate(180deg);
}

nav ul {
    list-style: none;
    display: flex;
    gap: 32px;
    margin: 0;
    padding: 0;
}
nav ul a {
    color: var(--color-on-surface-variant);
    text-decoration: none; /* Removed underline */
    transition: color 0.2s ease-in-out;
}
nav ul a:hover {
    color: var(--color-on-surface);
}

main {
    background-color: transparent;
    position: relative;
    z-index: 1;
}

main > section {
    padding: 80px 48px;
    max-width: 1400px;
    margin: 0 auto 48px auto;
    background-color: rgba(18, 18, 18, 0.5);
    border: 1px solid var(--color-outline);
    border-radius: 24px;
}

/* --- Footer --- */
footer {
    background-color: transparent;
    padding: 48px 24px;
    position: relative;
    z-index: 1;
}
.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}
.footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}
.footer-bottom p {
    margin: 0;
    color: var(--color-on-surface-variant);
}


/* Hero Section */
#hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 70vh;
    position: relative;
    overflow: hidden;
    background-color: transparent;
    border: none;
}

#hero h1 { margin-bottom: 16px; }
#hero p { max-width: 600px; }

/* --- About Page --- */
#about-hero {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 64px;
    align-items: start;
}
#about-hero img {
    width: 100%;
    border-radius: 24px;
    object-fit: cover;
}
#about-hero .about-text p {
    margin-bottom: 1.5em;
}
#about-hero blockquote {
    margin: 32px 0;
    padding-left: 24px;
    border-left: 2px solid var(--color-primary);
    font-size: 20px;
    font-style: italic;
    color: var(--color-on-surface);
}

/* --- Music Page --- */
#music-hero {
    text-align: center;
    padding-bottom: 0;
}
.album-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 32px;
    margin-top: 32px;
}
.album-card {
    background-color: var(--color-surface);
    border-radius: 16px;
    overflow: hidden;
    transition: background-color 0.3s, transform 0.3s;
    cursor: pointer;
}
.album-card:hover {
    background-color: #2a2a2a;
    transform: translateY(-8px);
}
.album-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
}
.album-card h3, .album-card p {
    margin: 0;
    padding: 0 16px;
}
.album-card h3 {
    margin-top: 16px;
}
.album-card p {
    margin-bottom: 16px;
    color: var(--color-on-surface-variant);
}

/* --- Tour Page --- */
#tour-hero {
    text-align: center;
    padding-bottom: 0;
}
.tour-list {
    margin-top: 32px;
}
.tour-item {
    display: flex;
    align-items: center;
    padding: 24px;
    border-bottom: 1px solid var(--color-outline);
    transition: background-color 0.3s;
}
.tour-item:hover {
    background-color: var(--color-surface);
}
.tour-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-right: 32px;
    width: 60px;
}
.tour-date .month {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-primary);
}
.tour-date .day {
    font-size: 32px;
    font-weight: 700;
}
.tour-info {
    flex-grow: 1;
}
.tour-info .city {
    display: block;
    font-size: 20px;
    font-weight: 500;
}
.tour-info .venue {
    color: var(--color-on-surface-variant);
}
.tour-item.past {
    opacity: 0.6;
}
.tour-item.past:hover {
    background-color: transparent;
}
.md-button.sold-out {
    background-color: var(--color-outline);
    color: var(--color-on-surface-variant);
    cursor: not-allowed;
    box-shadow: none;
}
.md-button.sold-out:hover {
    transform: scale(1);
}

/* --- Gallery Page --- */
#gallery-hero {
    text-align: center;
    padding-bottom: 0;
}
.gallery-grid {
    columns: 4;
    column-gap: 24px;
    margin-top: 32px;
}
.gallery-item {
    margin-bottom: 24px;
    break-inside: avoid;
}
.gallery-item img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    cursor: pointer;
    transition: transform 0.3s, opacity 0.3s;
}
.gallery-item img:hover {
    transform: scale(1.02);
    opacity: 0.8;
}

/* Lightbox */
#lightbox {
    display: none;
    position: fixed;
    z-index: 1001;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(18, 18, 18, 0.95);
}
.lightbox-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 1200px;
    animation: zoom 0.6s;
}
@keyframes zoom {
    from {transform: scale(0)}
    to {transform: scale(1)}
}
.close-lightbox {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}
.close-lightbox:hover, .close-lightbox:focus {
    color: #bbb;
    text-decoration: none;
}

/* --- Contact Page (Final) --- */
.contact-main {
    padding: 0;
    max-width: none;
}
.contact-split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: relative;
    overflow: hidden;
}
.contact-left-panel, .contact-right-panel {
    position: relative;
    z-index: 1;
    background-color: transparent;
}
.contact-left-panel {
    display: flex;
    justify-content: center;
    align-items: center;
}
.contact-left-panel img {
    width: 75%;
    height: 98%;
    object-fit: cover;
    border-radius: 30px;
}
.contact-right-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px 64px;
}
.aurora-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}
.contact-content-wrapper {
    position: relative;
    z-index: 1;
}

.aurora-layer {
    position: absolute;
    width: 500px;
    height: 500px;
    background: var(--aurora-color);
    border-radius: 50%;
    filter: blur(160px);
    mix-blend-mode: screen;
    opacity: 0;
    animation: drift 20s infinite linear alternate;
}
.aurora-layer:nth-child(2) {
    animation-duration: 25s;
    animation-direction: alternate-reverse;
}
.aurora-layer:nth-child(3) {
    animation-duration: 18s;
}

@keyframes drift {
    0% { transform: translate(-20%, -20%) scale(1); opacity: 0.2; }
    50% { transform: translate(80%, 70%) scale(1.5); opacity: 0.35; }
    100% { transform: translate(10%, 50%) scale(1.2); opacity: 0.25; }
}

.click-splash {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, var(--color-on-surface) 0%, transparent 70%);
    transform: scale(0);
    opacity: 0.5;
    animation: splash 0.6s ease-out;
    pointer-events: none;
    z-index: 100;
}

@keyframes splash {
    to {
        transform: scale(3);
        opacity: 0;
    }
}

#contact-hero {
    text-align: left;
    padding: 0;
}
#contact-content {
    align-items: flex-start;
    text-align: left;
    margin-top: 48px;
}
.social-grid-container {
    max-width: none;
    width: 100%;
    margin: 0;
}
.social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
}
.social-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 140px;
    background-color: var(--color-surface);
    border-radius: 24px;
    text-decoration: none;
    color: var(--color-on-surface);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.social-button i {
    font-size: 48px;
    color: var(--color-on-surface-variant);
    transition: all 0.3s ease;
}
.social-button .social-label {
    font-size: 16px;
    font-weight: 500;
    position: absolute;
    bottom: 24px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}
.social-button:hover {
    transform: translateY(-8px);
    background-color: var(--color-outline);
}
.social-button:hover i {
    color: var(--color-on-surface);
    transform: translateY(-10px);
}
.social-button:hover .social-label {
    opacity: 1;
    transform: translateY(0);
}
.social-button.spotify:hover i { color: #1DB954; }
.social-button.apple:hover i { color: #FFFFFF; }
.social-button.youtube:hover i { color: #FF0000; }
.social-button.instagram:hover i { color: #E4405F; }
.social-button.twitter:hover i { color: #1DA1F2; }
.social-button.soundcloud:hover i { color: #FF5500; }

.professional-contacts {
    margin-top: 48px;
    text-align: left;
}
.professional-contacts a {
    color: var(--color-on-surface);
    text-decoration: none;
    transition: color 0.3s;
}
.professional-contacts a:hover {
    color: var(--color-primary);
}


/* Main Track Section */
#main-track {
    padding: 32px;
}
.audio-player {
    display: flex;
    align-items: center;
    gap: 24px;
}
.audio-player img {
    width: 80px;
    height: 80px;
    border-radius: 8px;
}
.player-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}
.progress-bar {
    flex-grow: 1;
    height: 4px;
    background-color: var(--color-outline);
    border-radius: 2px;
    cursor: pointer;
}
.progress {
    width: 15%;
    height: 100%;
    background-color: var(--color-primary);
    border-radius: 2px;
}
.time-display {
    font-variant-numeric: tabular-nums;
    color: var(--color-on-surface-variant);
}

/* Video Preview Section */
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 16px;
}
.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Photo Preview Section */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}
.photo-grid img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    object-fit: cover;
    transition: transform 0.3s, opacity 0.3s;
}
.photo-grid img:hover {
    transform: scale(1.03);
    opacity: 0.9;
}

/* Feed Section */
#feed {
    border-top: 1px solid var(--color-outline);
    margin-top: 64px;
}
.feed-item {
    padding: 24px 0;
    border-bottom: 1px solid var(--color-outline);
}
.feed-item:last-child {
    border-bottom: none;
}

/* --- Components --- */
.md-button {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 32px;
    height: 56px;
    border-radius: 28px;
    border: none;
    font-family: var(--font-family);
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    transform: scale(1);
}
.md-button:hover {
    transform: scale(1.05);
}
.md-button .material-icons { margin-right: 8px; }

.md-button--filled {
    background-color: var(--color-accent);
    color: var(--color-on-surface);
    box-shadow: 0 8px 24px -8px var(--color-accent);
}
.md-button--filled:hover {
    background-color: #FF33C9;
    box-shadow: 0 12px 32px -8px var(--color-accent);
}

.md-button--text {
    background-color: transparent;
    color: var(--color-primary);
    height: auto;
    padding: 8px 16px;
}
.md-button--text:hover {
    background-color: rgba(208, 188, 255, 0.1);
}

.md-button--icon {
    background: transparent;
    border: none;
    color: var(--color-on-surface-variant);
    cursor: pointer;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
}
.md-button--icon:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--color-on-surface);
}
.md-button--icon.play-pause {
    background-color: var(--color-primary);
    color: var(--color-background);
}
.md-button--icon.play-pause:hover {
    background-color: #E0D0FF;
}

.md-card {
    background-color: transparent;
    border: 1px solid var(--color-outline);
    border-radius: 16px;
    padding: 24px;
    transition: background-color 0.3s, transform 0.3s;
    opacity: 0;
    transform: translateY(20px);
}
.md-card.visible { opacity: 1; transform: translateY(0); }
.md-card:hover {
    background-color: var(--color-surface);
    transform: translateY(-4px);
}
.md-card h3 { margin-top: 0; }

/* Ripple Effect */
.ripple {
    position: absolute;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    transform: scale(0);
    animation: ripple-animation 0.6s linear;
}
@keyframes ripple-animation { to { transform: scale(4); opacity: 0; } }
