/* index.html only. Loaded after base.css. */

/* --- AUTOMATIC SCROLLING LINE STYLES --- */
.ticker-container {
    width: 100%;
    overflow: hidden;
    padding: 8px 0;
}

.ticker-track {
    display: flex;
    width: max-content;
    animation: marquee 20s linear infinite;
}

.ticker-text {
    display: inline-block;
    white-space: nowrap;
    padding-right: 3rem; /* gap between the repeated copy and the next one */
}

/* Pauses the scrolling text when you hover your mouse over it */
.ticker-container:hover .ticker-track {
    animation-play-state: paused;
}

@keyframes marquee {
    0% { transform: translate3d(0, 0, 0); }
    /* Moves exactly one copy's width to the left, then the identical copy
       behind it lines up perfectly — so the loop restart is invisible */
    100% { transform: translate3d(-50%, 0, 0); }
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 1rem 0;
    box-sizing: border-box;
}

.container h1 {
    margin: 0;
}

.container p {
    margin: 0;
}

.container .header-text {
    color: #000;
    text-decoration: none;
    margin-top: 0.5rem;
    margin-bottom: 1rem;
    font-size: 12px
}

.container a {
    color: #000;
    text-decoration: none;
}

.navbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 2rem;
    margin-bottom: 1rem;
    margin-top: 0.2rem;
    color: #000;
}

.navbar a {
    color: #000;
    text-decoration: underline;
    background: none;
    border: none;
    font: inherit;
    cursor: pointer;
    padding: 0;
}

.navbar a:hover {
    text-decoration: none;
}

.logo {
    width: 200px;
    max-width: 50vw;
    height: auto;
    margin-bottom: 1rem;
}

/* --- CONTACT POPUP --- */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    align-items: center;
    justify-content: center;
    z-index: 100;
}

.modal-overlay.open {
    display: flex;
}

.modal-box {
    position: relative;
    background: #fff;
    border: 2px solid #000;
    padding: 2rem 2.5rem;
    text-align: center;
    max-width: 90%;
    box-sizing: border-box;
}

.modal-box h2 {
    margin: 0 0 0.75rem;
}

.modal-box p {
    margin: 0;
}

.modal-close {
    position: absolute;
    top: 0.4rem;
    right: 0.6rem;
    background: none;
    border: none;
    font: inherit;
    font-size: 1rem;
    color: #000;
    cursor: pointer;
}

.modal-close:hover {
    text-decoration: underline;
}

/* --- SECTIONS --- */
section {
    width: 100%;
    max-width: 500px;
    margin: 2.5rem auto 0;
    padding: 0 1rem;
    box-sizing: border-box;
    text-align: center;
}

section h2 {
    font-size: 20px;
    margin: 0 0 1rem;
    text-decoration: underline;
}

.divider {
    border: none;
    border-top: 1px dashed #000;
    max-width: 500px;
    margin: 2.5rem auto 0;
}

/* --- DISCOGRAPHY --- */
.discog-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.discog-item {
    display: block;
    width: min(140px, 40vw);
    color: #000;
    text-decoration: none;
}

.discog-cover {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border: 2px solid #000;
}

.discog-cover-placeholder {
    width: 100%;
    aspect-ratio: 1 / 1;
    border: 2px dashed #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    text-align: center;
    padding: 0.5rem;
    box-sizing: border-box;
}

.discog-item:hover .discog-cover,
.discog-item:hover .discog-cover-placeholder {
    border-style: solid;
}

.discog-title {
    display: block;
    margin-top: 0.5rem;
    text-decoration: underline;
}

.discog-year {
    display: block;
    font-size: 12px;
}

/* --- WORKING ON LINE --- */
.wip-line {
    font-size: 14px;
}

.wip-line .codename {
    font-style: italic;
}

.wip-line .wip-bar {
    letter-spacing: 0.05em;
}

.wip-line .wip-note {
    display: block;
    margin-top: 0.4rem;
}

/* --- BLOG --- */
.blog-post {
    text-align: left;
    margin-bottom: 1.5rem;
}

.blog-post-date {
    font-size: 12px;
}

.blog-post h3 {
    margin: 0.2rem 0;
}

.blog-post p {
    margin: 0.5rem 0 0;
}

.blog-post img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 1rem auto;
    border: 2px solid #000;
}

.blog-read-more {
    color:#000;
    text-decoration: underline;
    display: inline-block;
    margin-top: 0.5rem;
    text-decoration: underline;
}

.blog-read-more:hover {
    text-decoration: none;
}

.blog-more-btn {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.4rem 1rem;
    border: 2px solid #000;
    color: #000;
    text-decoration: none;
}

.blog-more-btn:hover {
    background: #000;
    color: #fff;
}
