* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    min-height: 100%;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #100034;
    color: white;
}

/* Header / Navigation */

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
    background-color: #3700be;
    color: white;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: white;
    font-weight: 700;
    font-size: 18px;
}

.logo-icon {
    width: 48px;
    height: 48px;
    display: inline-block;
    background: url('../images/logo.png') no-repeat center/contain;
    flex: 0 0 48px;
}

.logo-text {
    color: white;
    line-height: 1;
}

header nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

header nav ul li a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: color 0.3s;
}

header nav ul li a:hover {
    color: #03dac6;
}
/* Hero Section */

.hero {
    height: 900px; 
    width: 100%;
    padding: 0 20px; 
    background: linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.45)),
                url('../images/herobg.jpg') center/cover no-repeat;
    background-size: cover;
    color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 18px;
}

.hero h1 {
        font-size: 42px;
        margin: 0;
}
.hero p {
    font-size: 18px;
    margin: 0;
}
.btn {
    background: #3700be;
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
}

.btn:hover {
    background: #03dac6;
}

.genres {
    padding: 60px 20px;
    background: transparent;
}

.section-header {
    text-align: center;
    margin: 0 0 28px 0;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.genres-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.genres-card {
    background: #fff;
    color: #222;
    padding: 28px 20px;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(22, 28, 37, 0.06);
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.genres-card .icon {
    font-size: 36px;
}

.genres-card h3 {
    font-size: 20px;
    margin: 0;
}

.genres-card p {
    font-size: 14px;
    color: #555;
    margin: 0 0 8px 0;
}

.random {
    padding: 60px 20px;
    background: transparent;
}

/* Song of the Day*/
.random-box {
    max-width: 760px;
    margin: 18px auto 0 auto;
    background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
    border: 1px solid rgba(255,255,255,0.06);
    padding: 20px 22px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(2, 6, 23, 0.6);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.random-box-header h3 {
    margin: 0 0 4px 0;
    font-size: 20px;
    color: #fff;
}

.random-song-title {
    margin: 0;
    font-size: 14px;
    color: #cfd8ff;
}

.random-player {
    display: flex;
    justify-content: center;
    align-items: center;
}

#random-audio {
    width: 100%;
    max-width: 700px;
    outline: none;
}

.random-download {
    display: flex;
    justify-content: center;
    margin-top: 6px;
}

.random-download .btn {
    background: #03dac6;
    color: #060606;
    padding: 10px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
}

.random-download .btn:hover {
    background: #3700be;
    color: white;
    transition: background 0.3s;
}

footer {
    background: #3700be;
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: auto;
}

footer a {
  color: white;
  text-decoration: none;
  margin: 0 5px;
}

footer a:hover {
  color: #03dac6;
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  height: 3px;
  width: 25px;
  background: white;
  margin: 4px 0;
  border-radius: 2px;
}

@media (max-width: 800px) {
    .hamburger {
        display: flex;
        align-items: center;
        justify-content: center;
    }

        header nav ul {
            display: none;
            position: absolute;
            right: 20px;
            top: 60px;
            background: #222;
            padding: 12px 16px;
            border-radius: 8px;
            flex-direction: column;
            gap: 12px;
            box-shadow: 0 8px 20px rgba(0,0,0,0.15);
        }

        header nav ul.nav-active {
            display: flex;
        }
}

@media (max-width: 900px) {
    .genres-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .genres-grid {
        grid-template-columns: 1fr;
    }
}

.browse-header {
    text-align: center;
    margin: 0 0 28px 0;
    padding-top: 50px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.browse-links {
    display: flex;
    justify-content: center;
    align-items: center;
}

.browse-links nav ul {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 8px 0;
    justify-content: center;
}

.browse-links nav ul li {
    list-style: none;
}

.browse-links nav ul li a.btn {
    padding: 8px 14px;
    font-size: 14px;
}

.contact-section {
    max-width: 600px;
    margin: 100px auto 60px;
    background: #1a174d;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(22, 28, 37, 0.10);
    padding: 28px 28px 28px 28px;
    color: #fff;
}
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.contact-form label {
    font-weight: 500;
    color: #cfd8ff;
}
.contact-form input,
.contact-form textarea {
    padding: 10px 12px;
    border-radius: 6px;
    border: none;
    background: #fff;
    color: #222;
    font-size: 16px;
    resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus {
    outline: 2px solid #03dac6;
}
.contact-form .btn {
    align-self: flex-end;
    margin-top: 10px;
    background: #3700be;
    color: white;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
    border: none;
    cursor: pointer;
}
.contact-form .btn:hover {
    background: #03dac6;
    color: #222;
}

.song-list {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 16px;
}
.songs-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.song-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #1a174d;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(22, 28, 37, 0.10);
    padding: 18px 22px;
    gap: 18px;
}
.song-info {
    display: flex;
    align-items: center;
    gap: 18px;
}
.song-title {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin-right: 10px;
}
.song-download.btn {
    background: #03dac6;
    color: #060606;
    padding: 10px 18px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    margin-left: 18px;
}
.song-download.btn:hover {
    background: #3700be;
    color: white;
    transition: background 0.3s;
}
