/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #ffffff;
    color: #2b2b2b;
    line-height: 1.6;
    font-weight: 400;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 1px solid #e5e5e5;
    z-index: 100;
}

.header-content {
    max-width: 600px;
    margin: 0 auto;
    padding: 0.125rem 0.5rem 0.125rem;
}

.site-logo {
    display: block;
    width: 100%;
    max-width: 600px;
    height: auto;
    margin: 0 auto;
}

/* Navigation */
.nav {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.nav-link {
    color: #2b2b2b;
    text-decoration: none;
    font-size: 1.296rem;
    font-weight: 400;
    transition: color 0.2s ease;
    position: relative;
}

.nav-link:hover {
    color: #000000;
}

.nav-link.active {
    color: #000000;
}

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

/* Sections */
.section {
    padding: 2rem 0;
    border-bottom: 1px solid #e5e5e5;
}

.section:last-of-type {
    border-bottom: none;
}

.section-title {
    display: none;
}

/* About Section */
.about-section {
    max-width: 800px;
    margin: 0 auto;
    padding-top: 5rem;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.about-content p {
    font-family: 'Crimson Text', serif;
    font-size: 1.44rem;
    line-height: 1.8;
    color: #2b2b2b;
    font-weight: 400;
}

/* Photo Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    max-width: 600px;
    margin: 0 auto;
}

.photo-item {
    position: relative;
    overflow: hidden;
    background: #e0e0e0;
    cursor: pointer;
    min-height: 150px;
}

.photo-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: opacity 0.2s ease;
    background: #e0e0e0;
}

.photo-item:hover img {
    opacity: 0.9;
}

/* Video Section */
.video-grid {
    max-width: 600px;
    margin: 0 auto;
}

.video-item {
    background: #f5f5f5;
}

.video-item video {
    width: 100%;
    height: auto;
    display: block;
}

/* Music Player */
.music-player {
    max-width: 600px;
    margin: 0 auto;
}

#audioPlayer {
    display: none;
}

.track-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.track-item {
    position: relative;
    background: #f5f5f5;
    cursor: pointer;
    transition: background 0.2s ease;
    overflow: hidden;
}

.track-item:hover {
    background: #e5e5e5;
}

.track-item.playing {
    background: #2b2b2b;
}

.track-item.playing .track-name,
.track-item.playing .play-icon,
.track-item.playing .track-time {
    color: #ffffff;
}

.track-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: rgba(0, 0, 0, 0.05);
    transition: width 0.1s linear;
    pointer-events: none;
}

.track-item.playing .track-progress {
    background: rgba(255, 255, 255, 0.1);
}

.track-content {
    position: relative;
    padding: 0.4rem 0.5rem;
    z-index: 1;
    line-height: 1;
}

.track-info-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0;
    line-height: 1;
}

.track-name {
    font-size: 0.792rem;
    font-weight: 500;
    color: #000000;
}

.track-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.play-icon {
    font-size: 1.2rem;
    color: #666666;
    cursor: pointer;
    padding: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    border: 1px solid #e5e5e5;
}

.play-icon.paused {
    font-size: 0.85rem;
}


.track-time {
    font-size: 0.792rem;
    color: #666666;
    font-variant-numeric: tabular-nums;
    margin-left: auto;
    margin-right: 0.5rem;
}

.track-item.playing .track-time {
    margin-right: 0.5rem;
}

/* Merch Section */
.merch-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    max-width: 600px;
    margin: 0 auto;
    padding-top: 0.75rem;
}

.merch-item {
    position: relative;
    background: #e0e0e0;
    display: block;
    transition: opacity 0.2s ease;
    min-height: 150px;
}

.merch-item img {
    width: 100%;
    height: auto;
    display: block;
    background: #e0e0e0;
}

.merch-item:hover {
    opacity: 0.9;
}

/* Connect Section */
.social-links {
    display: flex;
    gap: 0.75rem;
}

.social-link {
    color: #2b2b2b;
    text-decoration: none;
    font-size: 0.684rem;
    padding: 0.25rem 0.75rem;
    border: 1px solid #2b2b2b;
    transition: all 0.2s ease;
}

.social-link:hover {
    background: #2b2b2b;
    color: #ffffff;
}

/* Footer */
.footer {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 1rem;
    text-align: center;
    border-top: 1px solid #e5e5e5;
    margin-top: 2rem;
}

.footer p {
    font-size: 0.612rem;
    color: #666666;
}

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

    .site-title {
        font-size: 3.744rem;
        margin-bottom: 0.25rem;
    }

    .nav {
        gap: 1.25rem;
        padding-left: 1.125rem;
    }

    .nav-link {
        font-size: 1.08rem;
    }

    .main {
        padding: 0 0.5rem;
        padding-top: 150px;
    }

    .section {
        padding: 1.5rem 0;
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }

    .merch-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }

    .video-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .track-name {
        font-size: 0.72rem;
    }

    .about-content p {
        font-size: 1.2rem;
    }

    .social-links {
        flex-direction: column;
    }

    .footer {
        padding: 1rem 0.75rem;
    }
}

@media (max-width: 480px) {
    .header-content {
        padding: 0.3rem 0.375rem 0.425rem;
    }

    .site-title {
        font-size: 3.0024rem;
        margin-bottom: 0.25rem;
    }

    .nav {
        gap: 1rem;
        padding-left: 1.125rem;
    }

    .nav-link {
        font-size: 1.08rem;
    }

    .main {
        padding: 0 0.375rem;
        padding-top: 145px;
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.375rem;
    }

    .merch-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.375rem;
    }

    .about-content p {
        font-size: 1.08rem;
    }
}
