/* Global Styles & Variables */
:root {
    --bg-color: #080612;
    --card-bg: rgba(20, 16, 38, 0.6);
    --card-border: rgba(255, 255, 255, 0.08);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --primary-glow: #7c3aed; /* Violet */
    --accent-glow: #db2777;  /* Pink */
    --gold-glow: #eab308;    /* Gold */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --neon-shadow: 0 0 20px rgba(124, 58, 237, 0.3);
    --neon-shadow-accent: 0 0 20px rgba(219, 39, 119, 0.3);
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    position: relative;
    padding: 2rem 1rem;
}

/* Ambient Glow Backgrounds */
.ambient-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.45;
    pointer-events: none;
    animation: pulseGlow 10s infinite alternate ease-in-out;
}

.glow-1 {
    width: 400px;
    height: 400px;
    background: var(--primary-glow);
    top: -100px;
    left: -100px;
}

.glow-2 {
    width: 500px;
    height: 500px;
    background: var(--accent-glow);
    bottom: -150px;
    right: -150px;
    animation-delay: -3s;
}

.glow-3 {
    width: 300px;
    height: 300px;
    background: var(--gold-glow);
    top: 40%;
    left: 60%;
    opacity: 0.15;
    animation-delay: -6s;
}

@keyframes pulseGlow {
    0% {
        transform: translate(0, 0) scale(1);
    }
    100% {
        transform: translate(30px, 40px) scale(1.15);
    }
}

/* Container */
.container {
    width: 100%;
    max-width: 800px;
    text-align: center;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
}

/* Logo & Header */
.header {
    margin-bottom: 0.5rem;
}

.logo-container {
    position: relative;
    display: inline-block;
}

.logo {
    max-height: 100px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 15px rgba(124, 58, 237, 0.4));
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.logo:hover {
    transform: scale(1.08) rotate(2deg);
}

.logo-fallback {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-glow), var(--accent-glow));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

/* Main Content Typography */
.main-content {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 3rem 2rem;
    width: 100%;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    position: relative;
    overflow: hidden;
}

/* Glass shine effect */
.main-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 150%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.05),
        transparent
    );
    transform: skewX(-20deg);
    transition: 0.75s;
}

.main-content:hover::before {
    left: 150%;
    transition: 1.5s ease-in-out;
}

.badge {
    background: rgba(124, 58, 237, 0.15);
    border: 1px solid rgba(124, 58, 237, 0.3);
    color: #c084fc;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: inline-block;
    box-shadow: 0 0 10px rgba(124, 58, 237, 0.1);
}

.musician-name {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-top: -0.5rem;
}

.gradient-text {
    background: linear-gradient(135deg, #ffffff 30%, #c084fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-text-alt {
    background: linear-gradient(135deg, #f472b6 0%, #db2777 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tagline {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 580px;
    font-weight: 300;
}

/* Animated Guitarist Section */
.guitarist-section {
    display: flex;
    justify-content: center;
    margin: 1rem 0;
}

.guitarist-wrapper {
    position: relative;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border-radius: 50%;
    transition: transform 0.2s ease;
}

.guitarist-wrapper:hover {
    transform: scale(1.05);
}

.guitarist-wrapper:active {
    transform: scale(0.95);
}

/* Singer emoji */
.guitarist-emoji {
    font-size: 4.5rem;
    z-index: 2;
    animation: rockSinger 2s infinite ease-in-out;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.5));
}

/* Guitar emoji overlapping/attached */
.guitar-emoji {
    position: absolute;
    font-size: 3.5rem;
    bottom: 25px;
    right: 15px;
    z-index: 3;
    transform-origin: 20% 80%;
    animation: rockGuitar 1s infinite alternate ease-in-out;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.5));
}

/* Pulse waves emitted from the guitar */
.pulse-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px solid var(--primary-glow);
    border-radius: 50%;
    opacity: 0;
    pointer-events: none;
    z-index: 1;
}

.guitarist-wrapper:hover .pulse-ring,
.guitarist-wrapper.playing .pulse-ring {
    animation: pulseRing 1.5s infinite cubic-bezier(0.215, 0.61, 0.355, 1);
}

.click-hint {
    position: absolute;
    bottom: -25px;
    font-size: 0.75rem;
    color: var(--text-secondary);
    background: rgba(0,0,0,0.4);
    padding: 2px 10px;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.05);
    white-space: nowrap;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.guitarist-wrapper:hover .click-hint {
    opacity: 1;
    color: var(--gold-glow);
}

/* Singer Rocking Animation */
@keyframes rockSinger {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-4px) rotate(-3deg);
    }
    75% {
        transform: translateY(2px) rotate(3deg);
    }
}

/* Guitar Strumming / Rocking Animation */
@keyframes rockGuitar {
    0% {
        transform: rotate(-10deg) scale(1);
    }
    100% {
        transform: rotate(15deg) scale(1.05);
    }
}

/* soundwave ripple */
@keyframes pulseRing {
    0% {
        transform: scale(0.6);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* Floating Music Notes */
.music-notes-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
    overflow: hidden;
}

.floating-note {
    position: absolute;
    font-size: 1.5rem;
    color: var(--primary-glow);
    text-shadow: 0 0 8px rgba(124,58,237,0.5);
    opacity: 0;
    bottom: -50px;
    animation: floatUp 4s linear forwards;
}

@keyframes floatUp {
    0% {
        transform: translateY(0) translateX(0) rotate(0deg) scale(0.5);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    50% {
        transform: translateY(-50vh) translateX(var(--sway-x-mid, 30px)) rotate(180deg) scale(1.1);
    }
    100% {
        transform: translateY(-105vh) translateX(var(--sway-x-end, -20px)) rotate(360deg) scale(0.8);
        opacity: 0;
    }
}

/* Countdown Section */
.countdown-container {
    width: 100%;
    margin: 0.5rem 0;
}

.countdown-title {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-weight: 600;
}

.countdown {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    max-width: 480px;
    margin: 0 auto;
}

.countdown-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 1rem 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s, border-color 0.3s;
}

.countdown-item:hover {
    transform: translateY(-3px);
    border-color: rgba(124, 58, 237, 0.3);
    background: rgba(124, 58, 237, 0.05);
}

.countdown-item .number {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.countdown-item .label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
}

/* Subscription Form Section */
.subscription-section {
    width: 100%;
    max-width: 520px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 2rem;
}

.subscription-section h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.subscribe-form {
    width: 100%;
}

.input-group {
    display: flex;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 4px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.input-group:focus-within {
    border-color: var(--primary-glow);
    box-shadow: 0 0 15px rgba(124, 58, 237, 0.25);
}

.subscribe-form input {
    background: transparent;
    border: none;
    outline: none;
    color: white;
    padding: 0.8rem 1.5rem;
    font-size: 0.95rem;
    flex-grow: 1;
    font-family: var(--font-body);
    width: 100%;
}

.subscribe-form input::placeholder {
    color: #64748b;
}

.submit-btn {
    background: linear-gradient(135deg, var(--primary-glow), var(--accent-glow));
    color: white;
    border: none;
    outline: none;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    font-family: var(--font-body);
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
    transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
}

.submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.45);
    filter: brightness(1.05);
}

.submit-btn:active {
    transform: translateY(1px);
}

.btn-icon {
    width: 16px;
    height: 16px;
    transition: transform 0.3s;
}

.submit-btn:hover .btn-icon {
    transform: translate(2px, -2px);
}

.form-message {
    font-size: 0.85rem;
    margin-top: 0.75rem;
    min-height: 1.25rem;
    transition: color 0.3s;
    font-weight: 500;
}

.form-message.success {
    color: #4ade80; /* green */
}

.form-message.error {
    color: #f87171; /* red */
}

/* Footer Section */
.footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}

.social-links {
    display: flex;
    gap: 1.25rem;
}

.social-link {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.social-link:hover {
    color: white;
    transform: translateY(-5px);
    background: rgba(124, 58, 237, 0.15);
    border-color: var(--primary-glow);
    box-shadow: 0 0 15px rgba(124, 58, 237, 0.3);
}

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

/* Responsive Breakpoints */
@media (max-width: 600px) {
    body {
        padding: 1.5rem 1rem;
    }
    
    .main-content {
        padding: 2rem 1.25rem;
        gap: 1.75rem;
    }

    .musician-name {
        font-size: 2.2rem;
    }

    .tagline {
        font-size: 0.95rem;
    }

    .countdown {
        gap: 0.5rem;
    }

    .countdown-item {
        padding: 0.75rem 0.25rem;
        border-radius: 12px;
    }

    .countdown-item .number {
        font-size: 1.6rem;
    }

    .countdown-item .label {
        font-size: 0.65rem;
    }

    .input-group {
        flex-direction: column;
        background: transparent;
        border: none;
        gap: 0.75rem;
        padding: 0;
    }

    .input-group:focus-within {
        box-shadow: none;
    }

    .subscribe-form input {
        background: rgba(0, 0, 0, 0.4);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 50px;
        text-align: center;
        padding: 0.9rem 1.5rem;
    }

    .subscribe-form input:focus {
        border-color: var(--primary-glow);
        box-shadow: 0 0 15px rgba(124, 58, 237, 0.2);
    }

    .submit-btn {
        width: 100%;
        justify-content: center;
        padding: 0.9rem;
    }
    
    .guitarist-emoji {
        font-size: 3.8rem;
    }

    .guitar-emoji {
        font-size: 3rem;
        bottom: 20px;
        right: 10px;
    }
}
