* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    scroll-behavior: smooth;
    background: linear-gradient(135deg, rgba(34, 193, 195, 0.95), rgba(253, 187, 45, 0.95));
}

/* Header Styles */
.main-header {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo h1 {
    color: white;
    font-size: 1.5rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    margin-left: 2rem;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: rgba(255, 255, 255, 0.8);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(34, 193, 195, 0.95), rgba(253, 187, 45, 0.95)),
                url('https://source.unsplash.com/random/1920x1080/?music') center/cover;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 0 1rem;
    position: relative;
    overflow: hidden;
    background-attachment: fixed;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 1s ease;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease 0.2s;
}

.player-container {
    background: linear-gradient(135deg, rgba(34, 193, 195, 0.5), rgba(253, 187, 45, 0.5));
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 25px 35px;
    box-shadow: 0 25px 30px rgba(0, 0, 0, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.3);
    width: 320px;
    max-width: 100%;
    transition: all 0.5s ease-in-out;
    visibility: visible;
    opacity: 1;
    margin: 50px auto;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.player-header {
    text-align: center;
    color: white;
    margin-bottom: 20px;
}

.genre-selector {
    text-align: center;
    margin: 15px 0;
    position: relative;
    width: 70%;
    margin-left: auto;
    margin-right: auto;
}

#genre-select {
    position: relative;
    max-height: 50%;
    width: 100%;
    padding: 8px 16px;
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.15);
    color: white;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    text-align: center;
    font-weight: 500;
    backdrop-filter: blur(8px);
    letter-spacing: 0.5px;
}

#genre-select:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

#genre-select:focus {
    outline: none;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.6);
}

#genre-select option {
    position: absolute;
    background: transparent;
    color: #4d4d4d;
    padding: 8px 16px;
    font-size: 13px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 0.3s ease;
    backdrop-filter: blur(10px);
    cursor: pointer;
    text-align: center;
    font-weight: 500;
    backdrop-filter: blur(10px);
    margin-bottom: 50px;
    max-width: 50%;
    max-height: 50%;

}

#genre-select option:hover {
    background: rgba(52, 73, 94, 0.95);
}

#genre-select option:checked {
    background: rgba(41, 128, 185, 0.9);
}

.genre-selector::after {
    content: '\25BC';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    pointer-events: none;
    font-size: 12px;
    opacity: 0.7;
}

.loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    display: none;
}

.loading.active {
    display: block;
}

.img-container {
    width: 180px;
    height: 180px;
    margin: 0 auto 25px;
    position: relative;
    border-radius: 50%;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.img-container img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    animation: rotate 20s linear infinite;
    animation-play-state: paused;
}

.img-container.play img {
    animation-play-state: running;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.music-info {
    text-align: center;
    margin: 20px 0;
    color: white;
}

.progress-container {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    height: 4px;
    width: 100%;
    margin: 20px 0;
    cursor: pointer;
}

.progress {
    background: white;
    border-radius: 5px;
    height: 100%;
    width: 0%;
    transition: width 0.1s linear;
}

.duration-wrapper {
    display: flex;
    justify-content: space-between;
    color: white;
    font-size: 14px;
}

.player-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.action-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: white;
    font-size: 20px;
    cursor: pointer;
    padding: 12px;
    margin: 0 15px;
    transition: all 0.3s ease;
    display: inline-block;
    backdrop-filter: blur(5px);
}

.action-btn-big {
    font-size: 24px;
    display: inline-block;
}

.action-btn:focus {
    outline: none;
}

.action-btn:hover {
    color: rgba(255, 255, 255, 0.7);
    transform: scale(1.1);
}

.music-info h3 {
    margin-bottom: 5px;
    font-size: 16px;
}

.music-info p {
    font-size: 13px;
    opacity: 0.8;
}

/* About Section */
.about {
    padding: 5rem;
    background: #f9f9f9;
    text-align: center;
}

.social-links {
    margin-top: 1rem;
}

.social-icon {
    font-size: 1.5rem;
    color: #333;
    margin: 0 1rem;
    transition: color 0.3s ease;
}

.social-icon:hover {
    color: #22c1c3;
}

/* Footer */
footer {
    background: #333;
    color: white;
    padding: 3rem 2rem 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #22c1c3;
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Buttons */
.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #22c1c3, #fdbb2d);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.4s ease;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
    background: linear-gradient(135deg, #fdbb2d, #22c1c3);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

#contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; 

}

/* Features Section */
.features {
    padding: 5rem 2rem;
    background: #f9f9f9;
    text-align: center;
}

.features h2 {
    margin-bottom: 3rem;
    color: #333;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.feature-card i {
    font-size: 2.5rem;
    color: #22c1c3;
    margin-bottom: 1rem;
}


/* Ad Spaces */
.ad-banner {
    padding: 2rem;
    background: linear-gradient(135deg, rgba(34, 193, 195, 0.95), rgba(253, 187, 45, 0.95));
    text-align: center;
}

.ad-space {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    margin: 0 auto;
    max-width: 728px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.ad-space-vertical {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 160px;
    height: 600px;
}

.ad-placeholder {
    color: #999;
}


/* Responsive Design */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.1rem;
        padding: 0 1rem;
    }

    .ad-space-vertical {
        display: none;
    }

    .features-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 0 1rem;
    }

    .cta-button {
        padding: 0.8rem 2rem;
        font-size: 0.9rem;
    }
}