/* Music Island Landing Page - Premium Design v2 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-primary: #000000;
    --bg-secondary: #0a0a0a;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.06);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.15);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.4);
    --accent-purple: #a78bfa;
    --accent-purple-dark: #7c3aed;
    --accent-pink: #ec4899;
    --gradient-purple: linear-gradient(135deg, #a78bfa 0%, #7c3aed 100%);
    --gradient-glow: linear-gradient(135deg, #a78bfa 0%, #7c3aed 50%, #ec4899 100%);
    --spring-easing: cubic-bezier(0.34, 1.56, 0.64, 1);
    --smooth-easing: cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
    background: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Noise Texture Overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
    z-index: 1000;
}

/* Background Effects */
.bg-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    animation: glowPulse 8s ease-in-out infinite;
}

.glow-1 {
    top: -30%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.35) 0%, transparent 60%);
}

.glow-2 {
    bottom: 10%;
    right: -15%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(236, 72, 153, 0.25) 0%, transparent 60%);
    animation-delay: -4s;
}

@keyframes glowPulse {

    0%,
    100% {
        opacity: 0.6;
        transform: scale(1);
    }

    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

/* Grid Pattern */
.bg-effects::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 50% at 50% 0%, black 40%, transparent 100%);
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.3);
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    background: var(--gradient-purple);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-cta {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 12px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s var(--smooth-easing);
    overflow: hidden;
}

.nav-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-purple);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: -1;
}

.nav-cta:hover {
    border-color: var(--accent-purple);
    box-shadow: 0 0 30px rgba(124, 58, 237, 0.3);
}

.nav-cta:hover::before {
    opacity: 0.1;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

.hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, rgba(167, 139, 250, 0.1) 0%, rgba(124, 58, 237, 0.1) 100%);
    border: 1px solid rgba(167, 139, 250, 0.2);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent-purple);
    margin-bottom: 28px;
    backdrop-filter: blur(10px);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-purple);
    border-radius: 50%;
    animation: pulse 2s infinite;
    box-shadow: 0 0 10px var(--accent-purple);
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 0 10px var(--accent-purple);
    }

    50% {
        opacity: 0.6;
        transform: scale(0.9);
        box-shadow: 0 0 20px var(--accent-purple);
    }
}

.hero-title {
    font-size: clamp(48px, 9vw, 80px);
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 28px;
    letter-spacing: -0.03em;
}

.gradient-text {
    background: var(--gradient-glow);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradientShift 5s ease infinite;
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    max-width: 520px;
    margin-bottom: 44px;
    line-height: 1.8;
}

.hero-cta {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    justify-content: center;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.4s var(--spring-easing);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-purple);
    color: white;
    box-shadow:
        0 4px 25px rgba(124, 58, 237, 0.4),
        0 0 0 0 rgba(124, 58, 237, 0.4);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow:
        0 10px 40px rgba(124, 58, 237, 0.5),
        0 0 0 4px rgba(124, 58, 237, 0.2);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--accent-purple);
    background: rgba(167, 139, 250, 0.1);
    transform: translateY(-3px);
}

.btn-large {
    padding: 20px 44px;
    font-size: 17px;
}

/* Island Preview */
.island-preview {
    margin-top: 70px;
    perspective: 1200px;
}

.island {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(50px);
    -webkit-backdrop-filter: blur(50px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50px;
    padding: 12px 24px;
    box-shadow:
        0 30px 60px -15px rgba(0, 0, 0, 0.6),
        0 0 80px rgba(124, 58, 237, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    animation: floatIsland 5s ease-in-out infinite;
    position: relative;
}

.island::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 52px;
    background: var(--gradient-glow);
    opacity: 0.3;
    z-index: -1;
    filter: blur(15px);
}

@keyframes floatIsland {

    0%,
    100% {
        transform: translateY(0) rotateX(8deg) rotateY(-2deg);
    }

    25% {
        transform: translateY(-8px) rotateX(5deg) rotateY(2deg);
    }

    50% {
        transform: translateY(-12px) rotateX(8deg) rotateY(-2deg);
    }

    75% {
        transform: translateY(-6px) rotateX(6deg) rotateY(0deg);
    }
}

.island-cover {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, #1a1a2e 0%, #2d1b4e 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.cover-placeholder {
    font-size: 20px;
    color: var(--accent-purple);
    animation: noteBounce 2s ease-in-out infinite;
}

@keyframes noteBounce {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.island-info {
    flex: 1;
    text-align: left;
}

.island-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.island-artist {
    font-size: 13px;
    color: var(--text-secondary);
}

.island-controls .control-btn {
    background: white;
    border: none;
    color: black;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s var(--spring-easing);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.island-controls .control-btn:hover {
    transform: scale(1.15);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.playing-indicator {
    display: flex;
    gap: 3px;
    margin-left: 10px;
}

.playing-indicator span {
    width: 4px;
    height: 18px;
    background: var(--gradient-purple);
    border-radius: 3px;
    animation: soundwave 0.8s ease-in-out infinite;
}

.playing-indicator span:nth-child(1) {
    animation-delay: 0s;
}

.playing-indicator span:nth-child(2) {
    animation-delay: 0.15s;
}

.playing-indicator span:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes soundwave {

    0%,
    100% {
        transform: scaleY(0.35);
    }

    50% {
        transform: scaleY(1);
    }
}

/* Sections */
section {
    padding: 120px 40px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.section-title {
    font-size: clamp(36px, 5vw, 52px);
    font-weight: 800;
    text-align: center;
    margin-bottom: 18px;
    letter-spacing: -0.03em;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 70px;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 28px;
    padding: 36px;
    transition: all 0.4s var(--smooth-easing);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(167, 139, 250, 0.5), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}

.feature-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.3);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    font-size: 40px;
    margin-bottom: 20px;
    display: inline-block;
    animation: iconFloat 3s ease-in-out infinite;
}

.feature-card:nth-child(1) .feature-icon {
    animation-delay: 0s;
}

.feature-card:nth-child(2) .feature-icon {
    animation-delay: 0.3s;
}

.feature-card:nth-child(3) .feature-icon {
    animation-delay: 0.6s;
}

.feature-card:nth-child(4) .feature-icon {
    animation-delay: 0.9s;
}

@keyframes iconFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Platforms Grid */
.platforms-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
}

.platform-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 32px 44px;
    transition: all 0.4s var(--smooth-easing);
    position: relative;
}

.platform-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    background: radial-gradient(circle at 50% 0%, currentColor, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s;
    pointer-events: none;
}

.platform-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--border-hover);
    box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.3);
}

.platform-card:hover::after {
    opacity: 0.08;
}

.platform-icon {
    transition: transform 0.4s var(--spring-easing);
}

.platform-card:hover .platform-icon {
    transform: scale(1.2);
}

.platform-card span {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-secondary);
    transition: color 0.3s;
}

.platform-card:hover span {
    color: var(--text-primary);
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 140px 40px;
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.15) 0%, transparent 60%);
    filter: blur(60px);
    pointer-events: none;
}

.cta-content {
    position: relative;
}

.cta-content h2 {
    font-size: clamp(30px, 4.5vw, 44px);
    font-weight: 800;
    margin-bottom: 18px;
    letter-spacing: -0.02em;
}

.cta-content p {
    font-size: 19px;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

/* Footer */
.footer {
    border-top: 1px solid var(--border-color);
    padding: 50px 40px;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.5) 100%);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo .logo-icon {
    width: 32px;
    height: 32px;
}

.footer-logo .logo-text {
    font-size: 17px;
}

.footer-copy {
    font-size: 14px;
    color: var(--text-muted);
}

/* Scroll Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card,
.platform-card {
    animation: fadeInUp 0.6s ease-out backwards;
}

.feature-card:nth-child(1),
.platform-card:nth-child(1) {
    animation-delay: 0.1s;
}

.feature-card:nth-child(2),
.platform-card:nth-child(2) {
    animation-delay: 0.2s;
}

.feature-card:nth-child(3),
.platform-card:nth-child(3) {
    animation-delay: 0.3s;
}

.feature-card:nth-child(4),
.platform-card:nth-child(4) {
    animation-delay: 0.4s;
}

.platform-card:nth-child(5) {
    animation-delay: 0.5s;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        padding: 16px 24px;
    }

    .hero-content {
        padding: 40px 24px;
    }

    section {
        padding: 80px 24px;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .island {
        flex-wrap: wrap;
        justify-content: center;
        padding: 20px;
        border-radius: 28px;
        gap: 16px;
    }

    .island-preview {
        margin-top: 50px;
    }

    .section-subtitle {
        margin-bottom: 50px;
    }

    .features-grid {
        gap: 20px;
    }

    .platforms-grid {
        gap: 16px;
    }

    .platform-card {
        padding: 24px 32px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

/* Hover Cursor Glow Effect */
.feature-card,
.platform-card {
    --mouse-x: 50%;
    --mouse-y: 50%;
}

.feature-card:hover,
.platform-card:hover {
    background:
        radial-gradient(circle at var(--mouse-x) var(--mouse-y),
            rgba(167, 139, 250, 0.1) 0%,
            transparent 50%),
        var(--bg-card-hover);
}