/* ===== CSS Variables & Reset ===== */
:root {
    /* Color palette from logo - enhanced */
    --bg-dark: #0d1a20;
    --bg-medium: #1a2d36;
    --bg-light: #2a4250;
    --slate-blue: #6A8A9A;
    --slate-blue-bright: #8BB4C8;
    --steel-gray: #4A6670;
    --light-mist: #C8D4D8;
    --white: #ffffff;
    --accent-glow: rgba(139, 180, 200, 0.4);

    /* Glassmorphism - enhanced */
    --glass: rgba(255, 255, 255, 0.03);
    --glass-solid: rgba(26, 45, 54, 0.8);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-hover: rgba(255, 255, 255, 0.08);

    /* Shadows - premium */
    --shadow-lg: 0 25px 80px -20px rgba(0, 0, 0, 0.7);
    --shadow-glow: 0 0 80px rgba(106, 138, 154, 0.25);
    --shadow-inset: inset 0 1px 0 rgba(255, 255, 255, 0.05);

    /* Spacing */
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 32px;

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-dark);
    color: var(--light-mist);
    line-height: 1.7;
    overflow-x: hidden;
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 4rem 2rem;
    overflow: hidden;
    background: var(--bg-dark);
}

/* Animated gradient background */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(106, 138, 154, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 100% 100%, rgba(74, 102, 112, 0.25) 0%, transparent 50%),
        radial-gradient(ellipse 50% 30% at 0% 80%, rgba(45, 62, 72, 0.3) 0%, transparent 50%);
    animation: gradientShift 15s ease-in-out infinite;
    pointer-events: none;
}

@keyframes gradientShift {

    0%,
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }

    50% {
        transform: scale(1.1) rotate(2deg);
        opacity: 0.8;
    }
}

/* Floating particles effect */
.hero-overlay {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(2px 2px at 20% 30%, rgba(200, 212, 216, 0.15), transparent),
        radial-gradient(2px 2px at 40% 70%, rgba(200, 212, 216, 0.12), transparent),
        radial-gradient(1px 1px at 90% 20%, rgba(200, 212, 216, 0.18), transparent),
        radial-gradient(2px 2px at 60% 50%, rgba(200, 212, 216, 0.1), transparent),
        radial-gradient(1px 1px at 70% 80%, rgba(200, 212, 216, 0.15), transparent),
        radial-gradient(2px 2px at 10% 60%, rgba(200, 212, 216, 0.12), transparent),
        radial-gradient(1px 1px at 85% 45%, rgba(200, 212, 216, 0.1), transparent),
        radial-gradient(2px 2px at 30% 90%, rgba(200, 212, 216, 0.08), transparent);
    background-size: 300px 300px;
    animation: starFloat 60s linear infinite;
    pointer-events: none;
}

@keyframes starFloat {
    0% {
        transform: translateY(0) translateX(0);
    }

    100% {
        transform: translateY(-300px) translateX(50px);
    }
}

/* Premium noise texture */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%' height='100%' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.025;
    pointer-events: none;
    mix-blend-mode: overlay;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.hero-logo {
    width: 100%;
    max-width: 550px;
    height: auto;
    margin-bottom: 2.5rem;
    border-radius: var(--radius-md);
    /* Multi-layered glow effect */
    filter:
        drop-shadow(0 0 20px rgba(106, 138, 154, 0.4)) drop-shadow(0 0 40px rgba(106, 138, 154, 0.2)) drop-shadow(0 30px 60px rgba(0, 0, 0, 0.5));
    animation: floatGlow 8s ease-in-out infinite;
    transition: all var(--transition-normal);
}

.hero-logo:hover {
    filter:
        drop-shadow(0 0 30px rgba(139, 180, 200, 0.6)) drop-shadow(0 0 60px rgba(139, 180, 200, 0.3)) drop-shadow(0 0 90px rgba(106, 138, 154, 0.2)) drop-shadow(0 30px 60px rgba(0, 0, 0, 0.5));
    transform: translateY(-5px) scale(1.02);
}

@keyframes floatGlow {

    0%,
    100% {
        transform: translateY(0) scale(1);
        filter:
            drop-shadow(0 0 20px rgba(106, 138, 154, 0.4)) drop-shadow(0 0 40px rgba(106, 138, 154, 0.2)) drop-shadow(0 30px 60px rgba(0, 0, 0, 0.5));
    }

    50% {
        transform: translateY(-15px) scale(1.01);
        filter:
            drop-shadow(0 0 30px rgba(139, 180, 200, 0.5)) drop-shadow(0 0 60px rgba(139, 180, 200, 0.25)) drop-shadow(0 35px 70px rgba(0, 0, 0, 0.5));
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-15px) scale(1.01);
    }
}

.hero-tagline {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(0.9rem, 2vw, 1.2rem);
    font-weight: 300;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--slate-blue-bright);
    margin-bottom: 3.5rem;
    text-shadow: 0 0 40px rgba(139, 180, 200, 0.3);
}

.cta-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 3rem;
    background: var(--glass-solid);
    border: 1px solid var(--glass-border);
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border-radius: 60px;
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-inset), 0 10px 40px rgba(0, 0, 0, 0.3);
    transition: all var(--transition-normal);
    overflow: hidden;
}

/* Shimmer effect on button */
.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    background: var(--bg-light);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow), var(--shadow-inset);
    border-color: var(--slate-blue);
}

.cta-button svg {
    animation: bounce 2.5s ease-in-out infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(6px);
    }
}

/* ===== Section Styles ===== */
section {
    padding: 8rem 2rem;
    position: relative;
}

.section-content {
    max-width: 1100px;
    margin: 0 auto;
}

h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 600;
    text-align: center;
    margin-bottom: 1.25rem;
    letter-spacing: 0.08em;
    color: var(--white);
    text-shadow: 0 0 60px rgba(139, 180, 200, 0.2);
}

.section-lead {
    text-align: center;
    font-size: 1.15rem;
    color: var(--slate-blue);
    margin-bottom: 4rem;
    letter-spacing: 0.02em;
}

/* ===== Music Section ===== */
.music-section {
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-medium) 50%, var(--bg-dark) 100%);
}

.music-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 100px;
    background: linear-gradient(to bottom, transparent, var(--slate-blue), transparent);
}

.spotify-container {
    position: relative;
    background: var(--glass-solid);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-lg), var(--shadow-inset);
    transition: all var(--transition-normal);
}

.spotify-container:hover {
    box-shadow: var(--shadow-glow), var(--shadow-lg);
    border-color: rgba(106, 138, 154, 0.3);
}

.spotify-container::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    padding: 1px;
    background: linear-gradient(135deg, rgba(106, 138, 154, 0.2) 0%, transparent 50%, rgba(74, 102, 112, 0.1) 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.spotify-container iframe {
    display: block;
    border-radius: 16px;
}

/* ===== About Section ===== */
.about-section {
    background: var(--bg-dark);
}

.about-text {
    max-width: 750px;
    margin: 0 auto;
    text-align: center;
}

.about-text p {
    font-size: 1.2rem;
    line-height: 2;
    margin-bottom: 2rem;
    color: var(--light-mist);
}

.about-text p:last-child {
    margin-bottom: 0;
}

/* ===== Connect Section ===== */
.connect-section {
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-medium) 100%);
    position: relative;
    overflow: hidden;
}

.connect-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 100% 50% at 50% 100%, rgba(106, 138, 154, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.connect-section .section-content {
    position: relative;
    z-index: 1;
}

.connect-links {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.connect-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2.5rem 4rem;
    background: var(--glass-solid);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: var(--white);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-lg), var(--shadow-inset);
    transition: all var(--transition-normal);
    overflow: hidden;
}

/* Gradient border effect */
.connect-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    padding: 1px;
    background: linear-gradient(135deg, rgba(106, 138, 154, 0.3) 0%, transparent 50%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.connect-card:hover::before {
    opacity: 1;
}

.connect-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-glow), var(--shadow-lg);
    border-color: rgba(106, 138, 154, 0.4);
}

.connect-card svg {
    transition: all var(--transition-normal);
    filter: drop-shadow(0 0 10px transparent);
}

.connect-card.spotify:hover svg {
    color: #1DB954;
    filter: drop-shadow(0 0 20px rgba(29, 185, 84, 0.5));
}

.connect-card span {
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 0.9rem;
}

/* ===== Footer ===== */
.footer {
    padding: 5rem 2rem;
    background: linear-gradient(180deg, var(--bg-medium) 0%, var(--bg-dark) 100%);
    border-top: 1px solid var(--glass-border);
    text-align: center;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--slate-blue), transparent);
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
}

/* Animated Sound Wave Graphic */
.footer-graphic {
    margin-bottom: 2rem;
}

.footer-wave {
    width: 200px;
    height: 60px;
    margin: 0 auto;
    display: block;
}

.wave-bar {
    height: 30px;
    transform-origin: center bottom;
    animation: soundWave 1.2s ease-in-out infinite;
}

.wave-bar:nth-child(2) {
    animation-delay: 0.1s;
}

.wave-bar:nth-child(3) {
    animation-delay: 0.2s;
}

.wave-bar:nth-child(4) {
    animation-delay: 0.3s;
}

.wave-bar:nth-child(5) {
    animation-delay: 0.4s;
}

.wave-bar:nth-child(6) {
    animation-delay: 0.5s;
}

.wave-bar:nth-child(7) {
    animation-delay: 0.6s;
}

.wave-bar:nth-child(8) {
    animation-delay: 0.7s;
}

.wave-bar:nth-child(9) {
    animation-delay: 0.8s;
}

.wave-bar:nth-child(10) {
    animation-delay: 0.9s;
}

.wave-bar:nth-child(11) {
    animation-delay: 1.0s;
}

.wave-bar:nth-child(12) {
    animation-delay: 0.1s;
}

.wave-bar:nth-child(13) {
    animation-delay: 0.2s;
}

.wave-bar:nth-child(14) {
    animation-delay: 0.3s;
}

.wave-bar:nth-child(15) {
    animation-delay: 0.4s;
}

.wave-bar:nth-child(16) {
    animation-delay: 0.5s;
}

.wave-bar:nth-child(17) {
    animation-delay: 0.6s;
}

@keyframes soundWave {

    0%,
    100% {
        transform: scaleY(0.4);
        opacity: 0.5;
    }

    50% {
        transform: scaleY(1);
        opacity: 1;
    }
}

.footer-tagline {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--light-mist);
    margin-bottom: 0.75rem;
    letter-spacing: 0.12em;
}

.footer-copyright {
    color: var(--steel-gray);
    font-size: 0.85rem;
    letter-spacing: 0.05em;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .hero {
        padding: 3rem 1.5rem;
        min-height: auto;
        padding-top: 5rem;
        padding-bottom: 5rem;
    }

    .hero-logo {
        max-width: 280px;
        margin-bottom: 2rem;
    }

    .hero-tagline {
        font-size: 0.75rem;
        letter-spacing: 0.2em;
        margin-bottom: 2.5rem;
    }

    .cta-button {
        padding: 1rem 2rem;
        font-size: 0.85rem;
    }

    section {
        padding: 5rem 1.5rem;
    }

    h2 {
        font-size: 1.6rem;
        margin-bottom: 1rem;
    }

    .section-lead {
        font-size: 1rem;
        margin-bottom: 2.5rem;
    }

    .spotify-container {
        padding: 1.25rem;
    }

    .spotify-container iframe {
        height: 380px;
    }

    .about-text p {
        font-size: 1rem;
        line-height: 1.9;
    }

    .connect-card {
        padding: 2rem 3rem;
    }

    .footer {
        padding: 4rem 1.5rem;
    }

    .footer-logo {
        width: 140px;
    }
}

/* ===== Scroll Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.spotify-container {
    animation: fadeInUp 0.8s ease backwards;
}

.about-text {
    animation: fadeInUp 0.8s ease 0.1s backwards;
}

.connect-card {
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

/* ===== Selection & Focus ===== */
::selection {
    background: var(--slate-blue);
    color: var(--white);
}

a:focus-visible {
    outline: 2px solid var(--slate-blue);
    outline-offset: 4px;
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--steel-gray);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--slate-blue);
}