@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    background: linear-gradient(135deg, #000000 0%, #0a0a0a 25%, #1a1a1a 50%, #0a0a0a 75%, #000000 100%);
    color: #FFFFFF;
    overflow-x: hidden;
}

/* Homepage specific styles */
body.homepage {
    background: url('https://images.unsplash.com/photo-1511671782779-c97d3d27a1d4?auto=format&fit=crop&w=1500&q=80') center center/cover no-repeat, linear-gradient(135deg, #191414 0%, #1DB954 100%);
    background-blend-mode: overlay;
}

.spotify-card {
    background: rgba(25, 25, 25, 0.95);
    border-radius: 2rem;
    box-shadow: 0 8px 32px rgba(30, 215, 96, 0.15);
    border: 1px solid rgba(30, 215, 96, 0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.spotify-logo {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
}

.lang-switcher {
    position: absolute;
    top: 2rem;
    right: 2rem;
    z-index: 20;
}

.lang-switcher a {
    color: #fff;
    opacity: 0.7;
    margin-left: 1rem;
    font-weight: 500;
    text-decoration: none;
    transition: opacity 0.2s;
}

.lang-switcher a.active, 
.lang-switcher a:hover {
    opacity: 1;
    text-decoration: underline;
}

.neo-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.neo-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.neo-input, .neo-select {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.neo-input:focus, .neo-select:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: #1DB954;
    box-shadow: 
        0 0 0 4px rgba(29, 185, 84, 0.15),
        0 8px 25px rgba(29, 185, 84, 0.2);
    outline: none;
}

.neo-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.75rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
    cursor: pointer;
}

.neo-select:hover {
    background-color: rgba(255, 255, 255, 0.06);
    border-color: rgba(29, 185, 84, 0.5);
}

.neo-select option {
    background: #191414;
    color: #ffffff;
    padding: 0.5rem;
}

.modern-button {
    background: linear-gradient(135deg, #1DB954 0%, #1ED760 50%, #1DB954 100%);
    background-size: 200% 200%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
}

.modern-button:hover {
    background-position: right center;
    transform: translateY(-2px);
    box-shadow: 
        0 12px 30px rgba(29, 185, 84, 0.4),
        0 0 0 1px rgba(29, 185, 84, 0.2);
}

.modern-button:active {
    transform: translateY(0);
}

.modern-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.modern-button:hover::before {
    left: 100%;
}

.nav-item {
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
}

.nav-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(29, 185, 84, 0.1), rgba(30, 215, 96, 0.1));
    border-radius: 0.75rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-item:hover::before,
.nav-item.active::before {
    opacity: 1;
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #1DB954, #1ED760);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
}

.nav-item:hover::after,
.nav-item.active::after {
    width: 80%;
}

.gradient-text {
    background: linear-gradient(135deg, #1DB954, #1ED760, #00D4AA);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient 3s ease infinite;
}

.glass-nav {
    background: linear-gradient(90deg, #191414 80%, #1DB954 100%);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-bottom: 1.5px solid #1DB95444;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.floating-element {
    animation: float 6s ease-in-out infinite;
}

.glow-effect {
    box-shadow: 0 0 30px rgba(29, 185, 84, 0.2);
}

.glow-effect:hover {
    box-shadow: 0 0 50px rgba(29, 185, 84, 0.4);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

::-webkit-scrollbar-thumb {
    background: rgba(29, 185, 84, 0.5);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(29, 185, 84, 0.7);
}

/* Language Dropdown */
.lang-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.lang-btn {
    background: rgba(29, 185, 84, 0.1);
    border: 1px solid rgba(29, 185, 84, 0.3);
    color: #1DB954;
    font-size: 1.1rem;
    cursor: pointer;
    padding: 0.5rem 0.8rem;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.lang-btn:focus, .lang-btn:hover {
    background: rgba(29, 185, 84, 0.2);
    border-color: rgba(29, 185, 84, 0.5);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(29, 185, 84, 0.2);
}

.lang-list {
    display: none;
    position: absolute;
    right: 0;
    top: 3rem;
    min-width: 180px;
    width: auto;
    white-space: nowrap;
    background: rgba(25, 20, 20, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 1rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(29, 185, 84, 0.2);
    z-index: 1000;
    padding: 0.5rem;
    overflow: hidden;
}

.lang-dropdown.open .lang-list {
    display: block;
    animation: slideInDropdown 0.3s ease-out;
}

.lang-list a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #fff;
    padding: 0.75rem 1.25rem;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 0.25rem;
    transition: all 0.2s ease;
    opacity: 0.9;
    white-space: nowrap;
}

.lang-list a:last-child {
    margin-bottom: 0;
}

.lang-list a.active {
    background: linear-gradient(135deg, #1DB954, #1ed760);
    color: #191414;
    opacity: 1;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(29, 185, 84, 0.3);
}

.lang-list a:hover:not(.active) {
    background: rgba(29, 185, 84, 0.15);
    color: #1DB954;
    opacity: 1;
    transform: translateX(2px);
}

@keyframes slideInDropdown {
    0% { 
        opacity: 0; 
        transform: translateY(-10px) scale(0.95); 
    }
    100% { 
        opacity: 1; 
        transform: translateY(0) scale(1); 
    }
}

/* Mobile menu styles */
.mobile-menu {
    transition: all 0.3s ease-in-out;
}

.mobile-menu.hidden {
    display: none !important;
}

.mobile-menu:not(.hidden) {
    display: block !important;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    0% { opacity: 0; transform: translateY(-20px); }
    100% { opacity: 1; transform: translateY(0); }
}

@media (min-width: 768px) {
    .mobile-menu {
        display: none !important;
    }
}

/* Hide language dropdown completely on mobile */
@media (max-width: 767px) {
    .lang-dropdown {
        display: none !important;
    }
    
    .mobile-menu .lang-dropdown,
    .mobile-menu div:has(.lang-dropdown) {
        display: none !important;
    }
}

/* Animations */
@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(10px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes slideDown {
    0% { opacity: 0; transform: translateY(-20px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes scaleIn {
    0% { transform: scale(0.9); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes gradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Animation utility classes */
.animate-fade-in {
    animation: fadeIn 0.8s ease-out;
}

.animate-slide-up {
    animation: slideUp 0.8s ease-out;
}

.animate-scale-in {
    animation: scaleIn 0.4s ease-out;
}

.animate-pulse-slow {
    animation: pulse 3s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.animate-bounce-slow {
    animation: bounce 2s infinite;
}

.animate-spin {
    animation: spin 1s linear infinite;
}

.animate-spin-slow {
    animation: spin 2s linear infinite;
}

/* ===== MOBILE OPTIMIZED HERO SECTION ===== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 2rem 1rem;
}

/* Cloud Water Effect Elements */
.cloud-water-element {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, 
        rgba(29, 185, 84, 0.8) 0%, 
        rgba(30, 215, 96, 0.6) 25%, 
        rgba(0, 212, 170, 0.4) 50%, 
        rgba(29, 185, 84, 0.6) 75%, 
        rgba(30, 215, 96, 0.8) 100%);
    border-radius: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    position: relative;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 8px 32px rgba(29, 185, 84, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    animation: cloudWaterFloat 6s ease-in-out infinite;
    overflow: hidden;
}

.cloud-water-element::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, 
        rgba(255, 255, 255, 0.3) 0%, 
        transparent 50%, 
        rgba(29, 185, 84, 0.2) 100%);
    animation: cloudWaterRipple 4s ease-in-out infinite;
    border-radius: 50%;
}

.cloud-water-element::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        transparent 30%, 
        rgba(255, 255, 255, 0.1) 50%, 
        transparent 70%);
    animation: cloudWaterShine 3s ease-in-out infinite;
    border-radius: 2rem;
}

.cloud-water-element i {
    font-size: 2rem;
    color: white;
    z-index: 10;
    position: relative;
    animation: cloudWaterIcon 2s ease-in-out infinite;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

@keyframes cloudWaterFloat {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg) scale(1);
        box-shadow: 
            0 8px 32px rgba(29, 185, 84, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.2);
    }
    25% { 
        transform: translateY(-10px) rotate(2deg) scale(1.05);
        box-shadow: 
            0 15px 40px rgba(29, 185, 84, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }
    50% { 
        transform: translateY(-5px) rotate(-1deg) scale(1.02);
        box-shadow: 
            0 12px 35px rgba(29, 185, 84, 0.35),
            inset 0 1px 0 rgba(255, 255, 255, 0.25);
    }
    75% { 
        transform: translateY(-15px) rotate(1deg) scale(1.08);
        box-shadow: 
            0 20px 45px rgba(29, 185, 84, 0.45),
            inset 0 1px 0 rgba(255, 255, 255, 0.35);
    }
}

@keyframes cloudWaterRipple {
    0% { 
        transform: scale(0.8) rotate(0deg);
        opacity: 0.5;
    }
    50% { 
        transform: scale(1.2) rotate(180deg);
        opacity: 0.8;
    }
    100% { 
        transform: scale(0.8) rotate(360deg);
        opacity: 0.5;
    }
}

@keyframes cloudWaterShine {
    0%, 100% { 
        transform: translateX(-100%) skewX(-15deg);
        opacity: 0;
    }
    50% { 
        transform: translateX(100%) skewX(-15deg);
        opacity: 0.6;
    }
}

@keyframes cloudWaterIcon {
    0%, 100% { 
        transform: scale(1) rotate(0deg);
        filter: brightness(1);
    }
    50% { 
        transform: scale(1.1) rotate(5deg);
        filter: brightness(1.2);
    }
}

/* Enhanced floating elements with cloud water effect */
.floating-element {
    animation: cloudWaterFloat 6s ease-in-out infinite;
}

.glow-effect {
    box-shadow: 
        0 0 30px rgba(29, 185, 84, 0.2),
        0 8px 32px rgba(29, 185, 84, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.glow-effect:hover {
    box-shadow: 
        0 0 50px rgba(29, 185, 84, 0.4),
        0 15px 40px rgba(29, 185, 84, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transform: translateY(-5px) scale(1.05);
}

/* Enhanced background animations */
.animated-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.floating-circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(29, 185, 84, 0.1), rgba(30, 215, 96, 0.1));
    animation: float 8s ease-in-out infinite;
    backdrop-filter: blur(5px);
}

.circle-1 {
    width: 250px;
    height: 250px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
    background: linear-gradient(135deg, rgba(29, 185, 84, 0.15), rgba(30, 215, 96, 0.1));
}

.circle-2 {
    width: 200px;
    height: 200px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.1), rgba(29, 185, 84, 0.15));
}

.circle-3 {
    width: 150px;
    height: 150px;
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
    background: linear-gradient(135deg, rgba(30, 215, 96, 0.1), rgba(0, 212, 170, 0.15));
}

.circle-4 {
    width: 180px;
    height: 180px;
    top: 30%;
    right: 40%;
    animation-delay: 6s;
    background: linear-gradient(135deg, rgba(29, 185, 84, 0.1), rgba(30, 215, 96, 0.1));
}

/* Enhanced floating animation */
@keyframes float {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg) scale(1);
        opacity: 0.6;
    }
    25% { 
        transform: translateY(-20px) rotate(5deg) scale(1.05);
        opacity: 0.8;
    }
    50% { 
        transform: translateY(-10px) rotate(-3deg) scale(1.02);
        opacity: 0.7;
    }
    75% { 
        transform: translateY(-30px) rotate(2deg) scale(1.08);
        opacity: 0.9;
    }
}

/* Circular Motion Effect */
.circular-motion-element {
    position: relative;
    display: inline-block;
}

.circular-motion-element::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120px;
    height: 120px;
    border: 2px solid rgba(29, 185, 84, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: circularRotate 8s linear infinite;
}

.circular-motion-element::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 140px;
    height: 140px;
    border: 1px dashed rgba(30, 215, 96, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: circularRotate 12s linear infinite reverse;
}

.circular-motion-element .floating-element {
    position: relative;
    z-index: 10;
}

/* Orbiting particles */
.circular-motion-element .orbiting-particle {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 6px;
    height: 6px;
    background: #1DB954;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 10px rgba(29, 185, 84, 0.8);
}

.circular-motion-element .orbiting-particle:nth-child(1) {
    animation: orbitParticle1 6s linear infinite;
}

.circular-motion-element .orbiting-particle:nth-child(2) {
    animation: orbitParticle2 8s linear infinite;
}

.circular-motion-element .orbiting-particle:nth-child(3) {
    animation: orbitParticle3 10s linear infinite;
}

.circular-motion-element .orbiting-particle:nth-child(4) {
    animation: orbitParticle4 12s linear infinite;
}

@keyframes circularRotate {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes orbitParticle1 {
    0% {
        transform: translate(-50%, -50%) rotate(0deg) translateX(60px) rotate(0deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(360deg) translateX(60px) rotate(-360deg);
    }
}

@keyframes orbitParticle2 {
    0% {
        transform: translate(-50%, -50%) rotate(90deg) translateX(70px) rotate(-90deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(450deg) translateX(70px) rotate(-450deg);
    }
}

@keyframes orbitParticle3 {
    0% {
        transform: translate(-50%, -50%) rotate(180deg) translateX(80px) rotate(-180deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(540deg) translateX(80px) rotate(-540deg);
    }
}

@keyframes orbitParticle4 {
    0% {
        transform: translate(-50%, -50%) rotate(270deg) translateX(90px) rotate(-270deg);
    }
    100% {
        transform: translate(-50%, -50%) rotate(630deg) translateX(90px) rotate(-630deg);
    }
}

/* Enhanced circular motion with glow */
.circular-motion-element.enhanced::before {
    border: 2px solid rgba(29, 185, 84, 0.5);
    box-shadow: 
        0 0 20px rgba(29, 185, 84, 0.3),
        inset 0 0 20px rgba(29, 185, 84, 0.1);
}

.circular-motion-element.enhanced::after {
    border: 1px dashed rgba(30, 215, 96, 0.4);
    box-shadow: 0 0 15px rgba(30, 215, 96, 0.2);
}

.circular-motion-element.enhanced .orbiting-particle {
    width: 8px;
    height: 8px;
    background: linear-gradient(45deg, #1DB954, #1ED760);
    box-shadow: 
        0 0 15px rgba(29, 185, 84, 0.9),
        0 0 30px rgba(29, 185, 84, 0.5);
}

.hero-container {
    max-width: 1200px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    z-index: 10;
    position: relative;
}

/* Animated Background */
.animated-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.floating-circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(29, 185, 84, 0.1), rgba(30, 215, 96, 0.1));
    animation: float 8s ease-in-out infinite;
}

.circle-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.circle-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.circle-3 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

.circle-4 {
    width: 120px;
    height: 120px;
    top: 30%;
    right: 40%;
    animation-delay: 6s;
}

/* Enhanced Logo Section */
.logo-section {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
}

.logo-wrapper {
    position: relative;
    display: inline-block;
    padding: 2rem;
}

.spotify-logo-animated {
    width: 100px;
    height: 100px;
    filter: drop-shadow(0 0 30px rgba(29, 185, 84, 0.4));
    animation: logoPulse 4s ease-in-out infinite;
    position: relative;
    z-index: 10;
}

.logo-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 160px;
    height: 160px;
    background: radial-gradient(circle, rgba(29, 185, 84, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: glowPulse 5s ease-in-out infinite;
}

/* Enhanced logo animations */
@keyframes logoPulse {
    0%, 100% { 
        transform: scale(1) rotate(0deg);
        filter: drop-shadow(0 0 30px rgba(29, 185, 84, 0.4));
    }
    25% { 
        transform: scale(1.05) rotate(2deg);
        filter: drop-shadow(0 0 40px rgba(29, 185, 84, 0.5));
    }
    50% { 
        transform: scale(1.1) rotate(0deg);
        filter: drop-shadow(0 0 50px rgba(29, 185, 84, 0.6));
    }
    75% { 
        transform: scale(1.05) rotate(-2deg);
        filter: drop-shadow(0 0 40px rgba(29, 185, 84, 0.5));
    }
}

@keyframes glowPulse {
    0%, 100% { 
        opacity: 0.3; 
        transform: translate(-50%, -50%) scale(1);
        background: radial-gradient(circle, rgba(29, 185, 84, 0.3) 0%, transparent 70%);
    }
    50% { 
        opacity: 0.7; 
        transform: translate(-50%, -50%) scale(1.3);
        background: radial-gradient(circle, rgba(29, 185, 84, 0.5) 0%, transparent 70%);
    }
}

@keyframes logoPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.3; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.6; transform: translate(-50%, -50%) scale(1.2); }
}

/* Title Section */
.title-section {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #1DB954, #1ED760, #00D4AA, #1DB954);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientFlow 4s ease infinite;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 4vw, 1.5rem);
    color: #e5e5e5;
    margin-bottom: 1rem;
    font-weight: 500;
}

.hero-description {
    font-size: clamp(0.9rem, 3vw, 1.1rem);
    color: #a0a0a0;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

@keyframes gradientFlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Enhanced Hero Section Spacing */
.hero-container {
    max-width: 1200px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3rem;
    z-index: 10;
    position: relative;
    padding: 2rem 0;
}

/* Enhanced Title Section */
.title-section {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 0;
}

.hero-title {
    font-size: clamp(3rem, 10vw, 5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #1DB954, #1ED760, #00D4AA, #1DB954, #1ED760);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientFlow 6s ease infinite;
    text-shadow: 0 0 30px rgba(29, 185, 84, 0.3);
}

.hero-subtitle {
    font-size: clamp(1.3rem, 5vw, 1.8rem);
    color: #e5e5e5;
    margin-bottom: 1.5rem;
    font-weight: 600;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-description {
    font-size: clamp(1rem, 3.5vw, 1.3rem);
    color: #b0b0b0;
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto;
    font-weight: 400;
}

/* Enhanced Features Section */
.features-section {
    width: 100%;
    max-width: 1000px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.features-title {
    font-size: clamp(2rem, 6vw, 3rem);
    font-weight: 800;
    color: #ffffff;
    text-align: center;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, #1DB954, #1ED760);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(29, 185, 84, 0.2);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    padding: 0 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(29, 185, 84, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    backdrop-filter: blur(15px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(29, 185, 84, 0.1), transparent);
    transition: left 0.6s;
}

.feature-item:hover::before {
    left: 100%;
}

.feature-item:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(29, 185, 84, 0.08));
    border-color: rgba(29, 185, 84, 0.3);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(29, 185, 84, 0.1);
}

.feature-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1DB954, #1ED760);
    border-radius: 50%;
    color: white;
    font-size: 1.3rem;
    box-shadow: 0 8px 20px rgba(29, 185, 84, 0.3);
    transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 25px rgba(29, 185, 84, 0.4);
}

.feature-text {
    color: #e5e5e5;
    font-size: 1.1rem;
    line-height: 1.6;
    font-weight: 500;
}

/* Features Section */
.features-section {
    width: 100%;
    max-width: 800px;
    margin: 2rem auto;
}

.features-title {
    font-size: clamp(1.5rem, 5vw, 2rem);
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    margin-bottom: 2rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 0 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(29, 185, 84, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.feature-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1DB954, #1ED760);
    border-radius: 50%;
    color: white;
    font-size: 1.1rem;
}

.feature-text {
    color: #e5e5e5;
    font-size: 1rem;
    line-height: 1.5;
}

/* Enhanced Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.scroll-text {
    color: rgba(29, 185, 84, 0.8);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: fadeInOut 3s ease-in-out infinite;
}

.scroll-arrow {
    width: 40px;
    height: 40px;
    border-right: 3px solid rgba(29, 185, 84, 0.7);
    border-bottom: 3px solid rgba(29, 185, 84, 0.7);
    transform: rotate(45deg);
    animation: scrollBounce 2s infinite;
    box-shadow: 0 0 20px rgba(29, 185, 84, 0.3);
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

@keyframes scrollBounce {
    0%, 20%, 50%, 80%, 100% { transform: rotate(45deg) translateY(0); }
    40% { transform: rotate(45deg) translateY(-10px); }
    60% { transform: rotate(45deg) translateY(-5px); }
}

/* Mobile Language Switcher */
.lang-switcher-mobile {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1000;
    display: flex;
    gap: 0.5rem;
}

.lang-btn-mobile {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: rgba(25, 20, 20, 0.9);
    border: 1px solid rgba(29, 185, 84, 0.3);
    border-radius: 1rem;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.lang-btn-mobile.active {
    background: linear-gradient(135deg, #1DB954, #1ED760);
    color: #191414;
    border-color: #1DB954;
    box-shadow: 0 4px 15px rgba(29, 185, 84, 0.3);
}

.lang-btn-mobile:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(29, 185, 84, 0.2);
}

.lang-flag {
    font-size: 1.1rem;
}

/* Toast Container */
.toast-container {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 400px;
}

/* Loading Spinner */
.loading-spinner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(5px);
}

.loading-spinner.hidden {
    display: none;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(29, 185, 84, 0.3);
    border-top: 3px solid #1DB954;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Tailwind-like utility classes for primary colors */
.border-primary {
    border-color: #1DB954 !important;
}

.border-primary-30 {
    border-color: rgba(29, 185, 84, 0.3) !important;
}

.bg-primary {
    background-color: #1DB954 !important;
}

.text-primary {
    color: #1DB954 !important;
}

/* Enhanced loading spinner animations */
.loading-spinner-enhanced {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.loading-spinner-enhanced.hidden {
    display: none;
}

.spinner-container {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1.5rem;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.spinner-ring {
    position: relative;
    width: 64px;
    height: 64px;
}

.spinner-ring-bg {
    width: 64px;
    height: 64px;
    border: 4px solid rgba(29, 185, 84, 0.3);
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 0;
}

.spinner-ring-active {
    width: 64px;
    height: 64px;
    border: 4px solid transparent;
    border-top: 4px solid #1DB954;
    border-radius: 50%;
    position: absolute;
    top: 0;
    left: 0;
    animation: spinFast 0.8s linear infinite;
}

.spinner-text {
    color: white;
    font-size: 1.125rem;
    font-weight: 500;
    margin-top: 1.5rem;
}

.spinner-dots {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.spinner-dot {
    width: 8px;
    height: 8px;
    background-color: #1DB954;
    border-radius: 50%;
    animation: bounceDot 1.4s ease-in-out infinite;
}

.spinner-dot:nth-child(1) {
    animation-delay: 0s;
}

.spinner-dot:nth-child(2) {
    animation-delay: 0.16s;
}

.spinner-dot:nth-child(3) {
    animation-delay: 0.32s;
}

@keyframes spinFast {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes bounceDot {
    0%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-12px);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding: 1rem 0.5rem;
        min-height: 100vh;
    }
    
    .hero-container {
        gap: 2rem;
        padding: 1rem 0;
    }
    
    .logo-section {
        margin-bottom: 1rem;
    }
    
    .logo-wrapper {
        padding: 1rem;
    }
    
    .spotify-logo-animated {
        width: 80px;
        height: 80px;
    }
    
    .logo-glow {
        width: 120px;
        height: 120px;
    }
    
    .features-section {
        margin: 2rem auto;
        padding: 0 1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 0.5rem;
    }
    
    .feature-item {
        padding: 1.5rem;
        gap: 1rem;
    }
    
    .feature-icon {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
    
    .feature-text {
        font-size: 1rem;
    }
    
    .lang-switcher-mobile {
        top: 0.5rem;
        right: 0.5rem;
    }
    
    .lang-btn-mobile {
        padding: 0.4rem 0.6rem;
        font-size: 0.8rem;
    }
    
    .toast-container {
        top: 1rem;
        right: 1rem;
        left: 1rem;
        max-width: none;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .features-title {
        font-size: 1.8rem;
    }
    
    .feature-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1.5rem;
    }
    
    .feature-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    .feature-text {
        font-size: 0.95rem;
    }
    
    .logo-wrapper {
        padding: 0.5rem;
    }
    
    .spotify-logo-animated {
        width: 70px;
        height: 70px;
    }
    
    .logo-glow {
        width: 100px;
        height: 100px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Performance Optimizations */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Enhanced visual effects */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(29, 185, 84, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(30, 215, 96, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 40% 40%, rgba(0, 212, 170, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* Enhanced text shadows for better readability */
.hero-title,
.hero-subtitle,
.features-title {
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

/* Smooth transitions for all interactive elements */
.feature-item,
.neo-card,
.modern-button {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Enhanced focus states for accessibility */
.neo-input:focus,
.neo-select:focus,
.modern-button:focus {
    outline: 2px solid rgba(29, 185, 84, 0.5);
    outline-offset: 2px;
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .floating-circle,
    .spotify-logo-animated,
    .logo-glow,
    .scroll-arrow,
    .feature-item::before {
        animation: none;
    }
    
    .feature-item:hover {
        transform: none;
    }
}