@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;800&display=swap');

:root {
    --primary: #e95e9d;
    --secondary: #3070b8;
    --dark: #1a1a2e;
    --light: #ffffff;
    --accent: #eecd4f;
    --card-bg: #eecd4f;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--light);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 100px 0;
}


.cursor-dot, .cursor-outline {
    pointer-events: none;
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9999;
    transition: opacity 0.3s, transform 0.3s;
}

.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary);
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 2px solid var(--secondary);
}


.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    transition: var(--transition);
    padding: 1.5rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.logo span { color: var(--primary); }

.nav-links {
    display: flex;
    list-style: none;
}

.hamburger {
    display: none;
    cursor: pointer;
    z-index: 1100;
}

.hamburger .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px 0;
    background: var(--dark);
    border-radius: 3px;
    transition: var(--transition);
}

.hamburger.is-active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.is-active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.is-active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.nav-links li a {
    text-decoration: none;
    color: var(--dark);
    margin-left: 2.5rem;
    font-weight: 600;
    transition: var(--transition);
    position: relative;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.nav-links li a:hover::after, 
.nav-links li a.active::after { width: 100%; }


.hero {
    min-height: 100vh;
    height: auto;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #e95e9d 0%, #eecd4f 100%);
}

.hero-text,
.hero-image {
    position: relative;
    z-index: 5;
}

.hero::before,
.hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    opacity: 0.45;
    z-index: 1;
    pointer-events: none;
}

.hero::before {
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(255,255,255,0.4) 0%, rgba(233,94,157,0.35) 100%);
    top: 20px;
    left: -40px;
}

.hero::after {
    width: 330px;
    height: 330px;
    background: radial-gradient(circle, rgba(255,255,128,0.4) 0%, rgba(238,205,79,0.25) 100%);
    bottom: -70px;
    right: -60px;
}

.hero-decor {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.hero-decor .circle-1,
.hero-decor .circle-2,
.hero-decor .triangle-1,
.hero-decor .bar-1,
.hero-decor .bar-2,
.hero-decor .square-1,
.hero-decor .star-1 {
    position: absolute;
    pointer-events: none;
}

.hero-decor .circle-1 {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(48,112,184,0.35);
    top: 15%;
    left: 10%;
    animation: float-slight 7s ease-in-out infinite;
}

.hero-decor .circle-2 {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(233,94,157,0.22);
    bottom: 20%;
    right: 8%;
    animation: float-slight 8s ease-in-out infinite;
}

.hero-decor .triangle-1 {
    width: 0;
    height: 0;
    border-left: 35px solid transparent;
    border-right: 35px solid transparent;
    border-bottom: 75px solid rgba(238,205,79,0.8);
    top: 28%;
    right: 28%;
    transform: rotate(20deg);
    filter: drop-shadow(0 0 10px rgba(0,0,0,0.12));
}

.hero-decor .bar-1,
.hero-decor .bar-2,
.hero-decor .square-1 {
    border-radius: 20px;
    background: rgba(26,26,46,0.16);
}

.hero-decor .bar-1 {
    width: 12px;
    height: 95px;
    top: 60%;
    left: 20px;
    transform: rotate(18deg);
}

.hero-decor .bar-2 {
    width: 90px;
    height: 12px;
    top: 70%;
    left: 70px;
    transform: rotate(-10deg);
}

.hero-decor .square-1 {
    width: 90px;
    height: 90px;
    top: 10%;
    right: 28%;
    border-radius: 24px;
    background: rgba(255,165,0,0.25);
    transform: rotate(18deg);
    animation: float-slight 6.5s ease-in-out infinite;
}

.hero-decor .star-1 {
    width: 0;
    height: 0;
    border-left: 18px solid transparent;
    border-right: 18px solid transparent;
    border-bottom: 35px solid rgba(255, 99, 71, 0.75);
    top: 50%;
    left: 18%;
    transform: rotate(35deg);
}

.hero-decor .star-1::after {
    content: '';
    position: absolute;
    top: -22px;
    left: -18px;
    width: 0;
    height: 0;
    border-left: 18px solid transparent;
    border-right: 18px solid transparent;
    border-top: 35px solid rgba(255, 99, 71, 0.75);
}

@keyframes float-slight {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-8px) rotate(1deg); }
}



.hero-decor .triangle-1 {
    width: 0;
    height: 0;
    border-left: 35px solid transparent;
    border-right: 35px solid transparent;
    border-bottom: 75px solid rgba(238,205,79,0.8);
    top: 28%;
    right: 28%;
    transform: rotate(20deg);
    border-radius: 6px;
}

.hero-decor .bar-1,
.hero-decor .bar-2 {
    border-radius: 20px;
    background: rgba(26,26,46,0.16);
}

.hero-decor .bar-1 {
    width: 12px;
    height: 95px;
    top: 60%;
    left: 20px;
    transform: rotate(18deg);
}

.hero-decor .bar-2 {
    width: 90px;
    height: 12px;
    top: 70%;
    left: 70px;
    transform: rotate(-10deg);
}

.features, .tech-section, .mood-section, .footer {
    position: relative;
    overflow: hidden;
}

.features::before,
.features::after,
.tech-section::before,
.tech-section::after,
.mood-section::before,
.mood-section::after,
.footer::before,
.footer::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    opacity: 0.65;
    z-index: 0;
    pointer-events: none;
}

.features::before {
    width: 140px;
    height: 140px;
    background: rgba(233,94,157,0.7);
    top: -25px;
    left: -35px;
    animation: float-soft 8s ease-in-out infinite;
}

.features::after {
    width: 80px;
    height: 80px;
    background: rgba(48,112,184,0.65);
    bottom: 20px;
    right: -20px;
    animation: float-soft 7s ease-in-out infinite reverse;
}

.tech-section::before {
    width: 90px;
    height: 90px;
    background: rgba(255,165,0,0.68);
    top: 15px;
    right: 10%;
    transform: rotate(-10deg);
    animation: spin-slow 14s linear infinite;
}

.tech-section::after {
    width: 110px;
    height: 110px;
    background: rgba(233,94,157,0.62);
    bottom: -25px;
    left: -40px;
    transform: rotate(5deg);
    animation: float-soft 10s ease-in-out infinite;
}

.mood-section::before {
    width: 130px;
    height: 130px;
    background: rgba(48,112,184,0.7);
    top: -30px;
    left: -40px;
    transform: rotate(-8deg);
    animation: float-soft 9s ease-in-out infinite;
}

.mood-section::after {
    width: 100px;
    height: 100px;
    background: rgba(238,205,79,0.72);
    bottom: -25px;
    right: -30px;
    transform: rotate(12deg);
    animation: float-soft 11s ease-in-out infinite reverse;
}

.footer::before {
    width: 160px;
    height: 160px;
    background: rgba(233,94,157,0.6);
    top: -50px;
    right: 20px;
    transform: rotate(30deg);
}

.footer::after {
    width: 120px;
    height: 120px;
    background: rgba(48,112,184,0.65);
    bottom: -40px;
    left: 20px;
    transform: rotate(-20deg);
}

@keyframes float-soft {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-8px) rotate(2deg); }
}

@keyframes spin-slow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.image-blob {
    position: relative;
    z-index: 2;
}

.hero .swirl {
    position: absolute;
    width: 160px;
    height: 160px;
    border: 4px dashed rgba(255,255,255,0.5);
    border-radius: 50%;
    top: 40%;
    right: 14%;
    transform: translate(50%, -40%);
    animation: rotate-swirl 12s linear infinite;
    z-index: 1;
}

@keyframes rotate-swirl {
    from { transform: translate(50%, -40%) rotate(0deg); }
    to { transform: translate(50%, -40%) rotate(360deg); }
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.badge {
    background: var(--primary);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
}

.hero-text h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: var(--transition);
}

.btn-primary {
    background: #3070b8;
    color: white;
    margin-right: 1rem;
}

.btn-secondary {
    border: 2px solid var(--dark);
    color: var(--dark);
}

.btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.image-blob {
    width: 100%;
    height: 500px;
    background: var(--secondary);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    overflow: hidden;
    animation: blob-morph 10s infinite alternate;
}

@keyframes blob-morph {
    0% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
    100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
}

.image-blob img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.subtitle,
.text-center {
    text-align: center;
    max-width: 850px;
    margin: 0 auto 1.5rem;
    color: #333;
    font-size: 1.05rem;
    line-height: 1.65;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.3);
}

.card:hover {
    transform: translateY(-15px);
    background: white;
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.card-icon {
    font-size: 3rem;
    color: var(--secondary);
    margin-bottom: 1.5rem;
}


.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 15px;
    transition: var(--transition);
}

.gallery-item img:hover {
    transform: scale(1.05);
}

.footer {
    background: #3070b8;
    color: white;
    padding: 80px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
}

.footer-col h3, .footer-col h4 {
    margin-bottom: 1.5rem;
}

.footer-col ul { 
    list-style: none; 
}

.footer-col ul li { 
    margin-bottom: 0.8rem; 
}

.footer-col a { 
    color: #ccc; 
    text-decoration: none; 
    transition: var(--transition); 
}

.footer-col a:hover { 
    color: var(--primary); 
}

.social-icons a {
    font-size: 1.5rem;
    margin-right: 1rem;
}

.footer-bottom {
    text-align: center;
    border-top: 4px solid #ea6038;
    margin-top: 50px;
    padding-top: 20px;
    font-size: 0.9rem;
    color: #ffffff;
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.appear {
    opacity: 1;
    transform: translateY(0);
}

#backToTop {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    border: none;
    display: none;
    z-index: 100;
}


.tech-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
    margin-top: 50px;
}

.tech-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.tech-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary);
    opacity: 0.3;
}

.tech-main-img {
    width: 100%;
    border-radius: 30px;
    box-shadow: 20px 20px 60px rgba(0,0,0,0.1);
}

.floating-stat {
    position: absolute;
    bottom: 20px;
    right: -20px;
    background: var(--primary);
    color: white;
    padding: 1.5rem;
    border-radius: 20px;
    font-weight: bold;
    box-shadow: 0 10px 20px rgba(255, 62, 109, 0.3);
}


.mood-selector-container {
    background: white;
    padding: 3rem;
    border-radius: 40px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.05);
    margin-top: 40px;
}

.mood-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.mood-btn {
    padding: 1rem 2rem;
    border: 2px solid #eee;
    background: none;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

.mood-btn.active {
    background: #3070b8;
    color: white;
    border-color: var(--dark);
}

.player-preview {
    background: #eecd4f;
    border-radius: 25px;
    padding: 2rem;
    max-width: 600px;
    margin: 0 auto;
}

.player-content {
    display: flex;
    align-items: center;
    gap: 2rem;
}

#track-art {
    width: 120px;
    height: 120px;
    border-radius: 15px;
    object-fit: cover;
}

.visualizer {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 30px;
    margin-top: 15px;
}

.visualizer span {
    width: 4px;
    background: #ea6038;
    height: 10%;
    border-radius: 2px;
}

.playing span {
    animation: bounce 0.6s infinite alternate;
}

@keyframes bounce {
    from { height: 10%; }
    to { height: 100%; }
}

@media (max-width: 768px) {
    .tech-grid { grid-template-columns: 1fr; }
    .player-content { flex-direction: column; text-align: center; }
}


@media (max-width: 768px) {
    html {
        scroll-padding-top: 110px;
    }
    body {
        padding-top: 110px;
    }
    * { cursor: auto !important; }
    .cursor-dot, .cursor-outline { display: none; }
    .hero {
        padding-top: 80px;
        min-height: calc(100vh - 110px);
    }
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-text h1 { font-size: 2.8rem; }
    .hero-btns {
        justify-content: center;
        text-align: center;
    }
    .btn {
        min-width: 48%;
        max-width: 100%;
    }
    .nav-links {
        position: fixed;
        right: -100%;
        top: 80px;
        flex-direction: column;
        background: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 10px rgba(0,0,0,0.1);
    }
    .nav-links.active { right: 0; }
    .nav-links li { margin: 1.5rem 0; }
    .hamburger { display: block; cursor: pointer; }
    .footer-grid { grid-template-columns: 1fr 1fr; }

    .hero::before {
        width: 130px;
        height: 130px;
        top: 12px;
        left: -20px;
    }
    .hero::after {
        width: 180px;
        height: 180px;
        bottom: -30px;
        right: -30px;
    }

    .hero-decor .circle-1 {
        width: 70px;
        height: 70px;
        top: 12%;
        left: 8%;
    }
    .hero-decor .circle-2 {
        width: 110px;
        height: 110px;
        bottom: 22%;
        right: 6%;
    }
    .hero-decor .triangle-1 {
        top: 24%;
        right: 24%;
        border-left: 24px solid transparent;
        border-right: 24px solid transparent;
        border-bottom: 55px solid rgba(238,205,79,0.8);
    }
    .hero-decor .bar-1 {
        top: 60%;
        left: 16px;
        height: 70px;
    }
    .hero-decor .bar-2 {
        top: 66%;
        left: 56px;
        width: 65px;
    }

    .hero .swirl {
        width: 125px;
        height: 125px;
        top: 43%;
        right: 17%;
        transform: translate(35%, -43%);
    }
}