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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #000;
    background-color: #fff;
}

/* Header */
header {
    position: sticky;
    top: 0;
    background-color: #fff;
    z-index: 100;
    border-bottom: 1px solid #e0e0e0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-bars {
    display: flex;
    gap: 0.25rem;
    align-items: flex-end;
    height: 30px;
    position: relative;
    margin-right: 0.5rem;
}

.logo-bars .bar {
    width: 5px;
    background-color: #000;
    border-radius: 5px;
}

.logo-bars .bar:nth-child(1) {
    height: 10px;
}

.logo-bars .bar:nth-child(2) {
    height: 16px;
}

.logo-bars .bar:nth-child(3) {
    height: 22px;
}

.logo-bars .bar:nth-child(4) {
    height: 30px;
}

.logo-dots {
    position: absolute;
    top: -10px;
    right: -18px;
    width: 28px;
    height: 28px;
}

.logo-dots .dot {
    background-color: #000;
    border-radius: 50%;
    position: absolute;
}

.logo-dots .dot-large {
    width: 6px;
    height: 6px;
    top: 2px;
    right: 0;
}

.logo-dots .dot-medium:nth-child(2) {
    width: 4px;
    height: 4px;
    top: 0;
    right: 10px;
}

.logo-dots .dot-medium:nth-child(3) {
    width: 4px;
    height: 4px;
    top: 10px;
    right: 8px;
}

.logo-dots .dot-small {
    width: 2px;
    height: 2px;
    top: 5px;
    right: 16px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text h1 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.2;
}

.logo-text .tagline {
    font-size: 0.75rem;
    color: #000;
    margin: 0;
    line-height: 1.2;
}

.menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background-color: #000;
    transition: all 0.3s ease;
}

.nav-menu {
    display: none;
    flex-direction: column;
    padding: 1rem 2rem;
    background-color: #fff;
    border-top: 1px solid #e0e0e0;
}

.nav-menu.active {
    display: flex;
}

.nav-menu a {
    color: #000;
    text-decoration: none;
    padding: 0.75rem 0;
    font-size: 1rem;
    transition: color 0.2s;
}

.nav-menu a:hover {
    color: #666;
}

/* Main Content */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    padding-top: 0;
}

section {
    margin-bottom: 4rem;
}

h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 0 0 0rem 0;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    width: 100vw;
    max-width: 2660px;
}

.hero-image {
    width: 100%;
    max-width: 2660px;
    max-height: min(20vw, 532px);
    height: auto;
    object-fit: cover;
    object-position: center 30%;
    margin: 0 auto 2rem;
    display: block;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.125rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Top Songs Section */
.songs-container {
    display: flex;
    flex-wrap: nowrap;
    gap: 1rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 1rem;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.songs-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.song-button {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    border: none;
    font-size: 1rem;
    font-weight: 500;
    color: #fff;
    flex: 0 0 auto;
    white-space: nowrap;
    text-decoration: none;
    cursor: default;
    transition: box-shadow 0.2s;
}

.song-button:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.song-button .song-title {
    flex: 1;
    text-decoration: none;
    pointer-events: none;
    user-select: none;
}

.song-links {
    display: flex;
    gap: 0.5rem;
}

.song-link {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: opacity 0.2s, filter 0.2s;
    border-radius: 50%;
    overflow: hidden;
}

.song-link:hover {
    opacity: 0.7;
}

.song-link img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.2s;
}

.song-link:hover img {
    filter: grayscale(0%);
}

/* Albums Section */
.album-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.filter-button {
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    border: 1px solid #e0e0e0;
    background-color: #f5f5f5;
    color: #000;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s;
}

.filter-button:hover {
    background-color: #e0e0e0;
}

.filter-button.active {
    background-color: #000;
    color: #fff;
    border-color: #000;
}

.albums-grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 2rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 1rem;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.albums-grid::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.album-card {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    flex: 0 0 280px;
    min-width: 280px;
    display: flex;
    flex-direction: column;
}

.album-card:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.album-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    background-color: #f0f0f0;
}

.album-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.album-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    height: 1.5rem;
    line-height: 1.5rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: center;
}

.album-theme {
    font-size: 0.875rem;
    color: #666;
    margin-bottom: 0.5rem;
    height: 2.5rem;
    line-height: 1.25rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.album-theme-label {
    font-weight: 600;
    color: #000;
}

.album-vibe {
    font-size: 0.875rem;
    color: #666;
    margin-bottom: 0.5rem;
    padding-top: 0.25rem;
    height: 1.5rem;
    line-height: 1.5rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.album-vibe-label {
    font-weight: 600;
    color: #000;
}

.album-energy-label {
    font-weight: 600;
    color: #000;
    margin-right: 0.5rem;
    font-size: 0.875rem;
}

.album-energy {
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
}

.album-energy-wrapper {
    display: flex;
    align-items: baseline;
    margin-bottom: 1.5rem;
    padding-top: 0.25rem;
    height: 1.5rem;
    line-height: 1.5rem;
}

.star {
    width: 16px;
    height: 16px;
    display: inline-block;
    vertical-align: middle;
}

.star.filled {
    color: #CC5500;
}

.star.outline {
    color: #ccc;
}

.album-links {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding-top: 1rem;
    margin-top: 1rem;
    border-top: 1px solid #e0e0e0;
}

.album-link {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: opacity 0.2s, filter 0.2s;
    border-radius: 50%;
    overflow: hidden;
}

.album-link:hover {
    opacity: 0.7;
}

.album-link img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.2s;
}

.album-link:hover img {
    filter: grayscale(0%);
}

/* About and AI Note Sections */
.about p,
.ai-note p {
    margin-bottom: 1.5rem;
    font-size: 1rem;
    line-height: 1.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        padding: 1rem;
    }

    main {
        padding: 1rem;
        padding-top: 0;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1rem;
        line-height: 1.6;
        padding-top: 0.5rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .album-filters {
        display: none;
    }

    .album-card {
        flex: 0 0 260px;
        min-width: 260px;
    }

    h2 {
        font-size: 1.5rem;
    }
}
