/* Global dark theme */
body {
    background: #0a0a0a;
    color: #e5e5e5;
    font-family: system-ui, sans-serif;
    margin: 0;
    padding: 0;
}

/* App container */
#app {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

/* Header (common) */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    font-size: 0.9rem;
}
.back-link {
    color: #a3a3a3;
    text-decoration: none;
}
.back-link:hover {
    color: #ffffff;
}
.youtube-link {
    color: #ff0000;
    font-weight: 500;
    text-decoration: none;
}
.youtube-link:hover {
    opacity: 0.8;
}

/* Headings */
.page-title {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: #ffffff;
}

/* Gallery grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1.5rem;
}
.card {
    background: #121212;
    border-radius: 0.75rem;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid #242424;
}
.card:hover {
    transform: scale(1.02);
    border-color: #3a3a3a;
    background: #1e1e1e;
}
.card-image {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
}
.card-info {
    padding: 0.75rem;
    display: flex;
    justify-content: space-between;
}
.card-info h3 {
    margin: 0;
    font-size: 1rem;
    color: #ffffff;
}
.music-indicator {
    font-size: 1.2rem;
}

/* Modal */
.modal {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}
.modal.hidden {
    display: none;
}
.modal-content {
    background: #121212;
    border-radius: 1rem;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    border: 1px solid #2a2a2a;
    padding: 1.5rem;
}
.close-btn {
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    font-size: 2rem;
    color: #a3a3a3;
    cursor: pointer;
}
.close-btn:hover {
    color: #fff;
}

/* Image grid inside modal */
.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 0.5rem;
    margin-bottom: 1rem;
}
.grid-image {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 0.25rem;
    cursor: pointer;
    border: 2px solid transparent;
}
.grid-image:hover {
    border-color: #1db954;
}

/* Music list */
.list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.track {
    background: #121212;
    border: 1px solid #2a2a2a;
    border-radius: 0.75rem;
    padding: 1.2rem;
}
.track-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}
.track-header h3 {
    margin: 0;
    font-size: 1.2rem;
    color: #fff;
}
.artist {
    color: #a3a3a3;
    margin: 0.2rem 0 0;
}
.reveal-btn {
    background: #1f1f1f;
    border: 1px solid #3a3a3a;
    color: #e5e5e5;
    padding: 0.4rem 1rem;
    border-radius: 2rem;
    cursor: pointer;
}
.reveal-btn:hover {
    background: #2a2a2a;
    border-color: #1db954;
}
.description {
    margin-top: 1rem;
    padding: 1rem;
    background: #0f0f0f;
    border-left: 3px solid #1db954;
    color: #b3b3b3;
}
audio {
    width: 100%;
    margin-top: 0.5rem;
}

/* Category grid */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}
.category-card {
    background: #121212;
    border: 1px solid #2a2a2a;
    border-radius: 1rem;
    padding: 2rem 1.5rem;
    text-align: center;
    text-decoration: none;
    color: #e5e5e5;
    cursor: pointer;
}
.category-card:hover {
    background: #1e1e1e;
    border-color: #1db954;
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}
.lightbox.hidden {
    display: none;
}
.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
}
.lightbox-close {
    position: absolute;
    top: -2rem;
    right: -2rem;
    font-size: 3rem;
    color: #fff;
    cursor: pointer;
}
#lightbox-img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
}
.main {
    text-align: center;
    padding: 2rem;
}

.banner {
    max-width: 100%;
    height: auto;
    margin-bottom: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

.title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #fff 0%, #b3b3b3 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-size: 1.2rem;
    color: #b3b3b3;
    margin-bottom: 3rem;
}

.menu {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
}

.menu-button {
    background: #121212;
    border: 1px solid #2a2a2a;
    color: #e5e5e5;
    padding: 1rem 2.5rem;
    border-radius: 3rem;
    font-size: 1.2rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
}

.menu-button:hover {
    background: #1e1e1e;
    border-color: #1db954;
    transform: translateY(-2px);
}
/* Lore button styling */
.lore-btn {
    background: #121212;
    border: 1px solid #2a2a2a;
    color: #e5e5e5;
    padding: 0.8rem 2rem;        /* slightly smaller than menu button */
    border-radius: 2rem;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: block;              /* makes it a block element */
    margin: 1.5rem auto;         /* centers horizontally with auto margins */
    text-align: center;
    width: fit-content;          /* shrinks to content width */
    border: none;                /* optional: remove default button border */
}

.lore-btn:hover {
    background: #1e1e1e;
    border-color: #1db954;       /* green border on hover */
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(29, 185, 84, 0.2);
}