:root {
    --bg-color: rgb(22, 22, 22);
    --primary-text: silver;
    --secondary-color: #00ff70;
    --buttons: #00ff70;
    --hover: rgb(139, 139, 139);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Poppins", sans-serif;
    background-color: var(--bg-color);
    color: var(--primary-text);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 60px;
    background: linear-gradient(to right, #000, #0a0a0a);
    box-shadow: 0 2px 10px rgba(0, 255, 157, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar img {
    height: 60px;
    width: auto;
    object-fit: contain;
    margin-left: 2rem;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 40px;
    transition: all 0.3s ease;
}

.nav-links li a {
    text-decoration: none;
    color: var(--primary-text);
    font-weight: 500;
    position: relative;
    transition: color 0.3s, transform 0.3s;
}

.nav-links li a:hover,
.nav-links li a.active {
    color: var(--secondary-color);
}

.nav-links li a::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width 0.3s;
}

.nav-links li a:hover::after {
    width: 100%;
}

.burger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    cursor: pointer;
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 300;
}

.burger span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--secondary-color);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hero {
    height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: radial-gradient(circle at 30% 30%, #0a0a0a, #000);
    color: var(--primary-text);
}

.hero h1 {
    font-size: 3rem;
    color: var(--secondary-color);
    text-shadow: 0 0 20px var(--secondary-color);
}

.hero p {
    margin-top: 15px;
    font-size: 1.2rem;
    color: var(--primary-text);
}

.cta {
    margin-top: 40px;
    background-color: var(--buttons);
    color: #000;
    border: none;
    padding: 15px 40px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
}

.cta:hover {
    background-color: var(--hover);
    color: #fff;
    box-shadow: 0 0 20px var(--secondary-color);
}

.info-section {
    background-color: #0a0a0a;
    padding: 100px 60px;
    text-align: center;
    color: var(--primary-text);
}

.info-content {
    max-width: 1000px;
    margin: 0 auto;
}

.info-section h2 {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.info-section p {
    font-size: 1.1rem;
    color: var(--primary-text);
    line-height: 1.6;
    margin-bottom: 50px;
}

.info-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.feature {
    background-color: #111;
    border: 1px solid rgba(0, 255, 112, 0.2);
    border-radius: 15px;
    padding: 30px;
    width: 280px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(0, 255, 112, 0.2);
}

.feature i {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.feature h3 {
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.info-btn {
    display: inline-block;
    margin-top: 50px;
    background-color: var(--buttons);
    color: #000;
    padding: 15px 40px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.info-btn:hover {
    background-color: var(--hover);
    color: #fff;
    box-shadow: 0 0 15px var(--secondary-color);
}

.about-container {
    max-width: 900px;
    margin: 100px auto;
    text-align: center;
    color: var(--primary-text);
    padding: 2rem;
}

.about-container h1 {
    color: var(--secondary-color);
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.about-container .intro {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    color: var(--hover);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.about-card {
    background-color: #111;
    border-radius: 15px;
    padding: 1.5rem;
    text-align: left;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px var(--secondary-color);
}

.about-card h2 {
    color: var(--secondary-color);
    margin-bottom: 0.8rem;
}

.about-card p {
    color: var(--primary-text);
    line-height: 1.5;
}

.version {
    margin-top: 2rem;
    color: var(--hover);
}

.contact-container {
    max-width: 700px;
    margin: 120px auto;
    text-align: center;
    color: var(--primary-text);
    padding: 2rem;
}

.contact-container h1 {
    color: var(--secondary-color);
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.contact-container .intro {
    color: var(--hover);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}

.contact-card {
    background-color: #111;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
    margin-bottom: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px var(--secondary-color);
}

.contact-card h2 {
    color: var(--secondary-color);
    margin-bottom: 0.8rem;
}

.contact-card a {
    font-size: 1.2rem;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-card a:hover {
    color: var(--hover);
    text-decoration: underline;
}

.contact-note {
    font-size: 0.95rem;
    color: var(--hover);
    line-height: 1.6;
    margin-top: 1rem;
}

.response-time {
    margin-top: 0.8rem;
    color: var(--hover);
    font-size: 0.95rem;
    font-style: italic;
}

footer {
    text-align: center;
    padding: 2rem 0;
    font-size: 0.9rem;
    color: var(--hover);
    border-top: 1px solid #222;
}

footer a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--hover);
    text-decoration: underline;
}

.legal-container {
    max-width: 900px;
    margin: 100px auto;
    color: var(--primary-text);
    padding: 2rem;
    line-height: 1.7;
}

.legal-container h1 {
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 10px var(--secondary-color);
}

.legal-container h2 {
    color: var(--secondary-color);
    margin-top: 2rem;
    margin-bottom: 0.8rem;
}

.legal-container a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.legal-container a:hover {
    color: var(--hover);
    text-decoration: underline;
}

.spotify-login-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #1db954;
    color: #000;
    font-weight: 600;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s;
    font-size: 1.1rem;
}

.spotify-login-btn:hover {
    background-color: #1ed760;
    transform: scale(1.05);
}

@media (max-width: 1024px) {
    .navbar {
        padding: 20px 30px;
    }
}

@media (max-width: 768px) {
    .burger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 230px;
        background-color: #000;
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 30px;
        border-left: 2px solid var(--secondary-color);
        transform: translateX(100%);
        transition: transform 0.4s ease-in-out;
        z-index: 250;
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links li a {
        display: block;
        width: 100%;
        padding: 10px 0;
        font-size: 1.1rem;
    }

    .burger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .burger.active span:nth-child(2) {
        opacity: 0;
    }

    .burger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .info-section {
        padding: 60px 30px;
    }

    .feature {
        width: 100%;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .cta {
        padding: 12px 30px;
        font-size: 0.9rem;
    }

    .stats-section {
        padding: 60px 20px;
    }

    #top-genre-title {
        font-size: 2rem;
    }

    .track-card, .artist-card {
        width: 100%;
        max-width: 280px;
    }
}

.stats-section {
    padding: 80px 40px;
    text-align: center;
    color: var(--primary-text);
    background-color: var(--bg-color);
}

#top-genre-title {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 60px;
    text-shadow: 0 0 20px var(--secondary-color);
}

#top-genre {
    color: #fff;
    font-weight: 600;
}

.stats-block {
    margin-bottom: 80px;
}

.stats-block h2 {
    color: var(--secondary-color);
    font-size: 1.8rem;
    margin-bottom: 30px;
    text-shadow: 0 0 10px var(--secondary-color);
}

.tracks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 30px;
    justify-items: center;
}

.genres-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    justify-items: stretch;
    align-items: start;
    margin-top: 20px;
}

.genre-card {
    background-color: #111;
    border-radius: 12px;
    padding: 18px;
    text-align: left;
    box-shadow: 0 0 10px rgba(0, 255, 112, 0.06);
    border: 1px solid rgba(0,255,112,0.08);
}

.genre-card h2 {
    color: var(--secondary-color);
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.genre-card p {
    color: var(--hover);
    font-size: 0.95rem;
    line-height: 1.5;
}

.track-card, .artist-card {
    background-color: #111;
    border-radius: 15px;
    padding: 20px;
    width: 180px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 255, 112, 0.1);
}

.track-card:hover, .artist-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 0 20px var(--secondary-color);
}

.track-card img, .artist-card img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 10px;
}

.track-card h3, .artist-card h3 {
    font-size: 1rem;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.track-card p, .artist-card p {
    font-size: 0.9rem;
    color: var(--hover);
}
