/* ============================================
   GUESTBOOK — Cover (Real Composition Notebook)
   ============================================ */

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

html, body {
    height: 100%;
    font-size: 16px;
}

body {
    background: #0e0e0e;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    min-height: 100vh;
}

/* ---- COVER CONTAINER ---- */

.cover {
    position: relative;
    width: 100%;
    max-width: 540px;
    aspect-ratio: 0.77;
    border-radius: 2px;
    overflow: hidden;
    background-image: url('notebook-cover.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow:
        0 2px 8px rgba(0,0,0,0.4),
        0 12px 40px rgba(0,0,0,0.6);
}

/* ---- NOTEBOOK LABEL ---- */
/* Positioned to sit on top of the real label in the photo */

.label {
    position: absolute;
    top: 51%;
    left: 58%;
    transform: translate(-50%, -50%);
    background: #fff;
    border: 2.5px solid #1a1a1a;
    border-radius: 6px;
    padding: 1.5rem 1.75rem 1.25rem;
    width: 48%;
    min-width: 220px;
}

.label-inner {
    display: flex;
    flex-direction: column;
}

.label-line {
    border-bottom: 1.5px solid #1a1a1a;
    min-height: 2.2rem;
    display: flex;
    align-items: flex-end;
    padding-bottom: 3px;
}

.label-line-name {
    min-height: 2.5rem;
}

.label-line-issue {
    min-height: 1.8rem;
}

.label-line-last {
    border-bottom: none;
    min-height: auto;
    padding-top: 0.4rem;
    align-items: flex-start;
}

.label-title {
    font-family: 'Instrument Serif', serif;
    font-size: 2rem;
    color: #1a1a1a;
    line-height: 1;
    letter-spacing: -0.01em;
}

.label-issue {
    font-family: 'Libre Baskerville', serif;
    font-size: 0.55rem;
    color: #888;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.label-tagline {
    font-family: 'Libre Baskerville', serif;
    font-size: 0.5rem;
    color: #666;
    line-height: 1.5;
    letter-spacing: 0.01em;
}

/* ---- BOTTOM INFO (WHITE BOX) ---- */

.cover-bottom {
    position: absolute;
    bottom: 5%;
    left: 53%;
    transform: translateX(-50%);
    text-align: center;
    background: rgba(255,255,255,0.92);
    padding: 0.6rem 1.5rem;
    border-radius: 2px;
}

.cover-link {
    font-family: 'Libre Baskerville', serif;
    font-size: 0.7rem;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #999;
    padding-bottom: 1px;
    transition: all 0.2s ease;
    letter-spacing: 0.02em;
}

.cover-link:hover {
    color: #000;
    border-color: #333;
}

/* ---- NAV (WHITE BOX) ---- */

.cover-nav {
    position: absolute;
    top: 3%;
    right: 3%;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255,255,255,0.92);
    padding: 0.35rem 0.8rem;
    border-radius: 2px;
}

.cover-nav a {
    font-family: 'Libre Baskerville', serif;
    font-size: 0.6rem;
    color: #555;
    text-decoration: none;
    letter-spacing: 0.03em;
    transition: color 0.2s ease;
}

.cover-nav a:hover {
    color: #000;
}

.nav-dot {
    color: #bbb;
    font-size: 0.7rem;
}

/* ---- RESPONSIVE ---- */

@media (max-width: 580px) {
    body {
        padding: 0;
        align-items: flex-start;
    }
    
    .cover {
        max-width: 100%;
        border-radius: 0;
        aspect-ratio: auto;
        min-height: 100vh;
        background-size: cover;
    }
    
    .label {
        width: 50%;
        min-width: 180px;
        padding: 1rem 1.25rem 0.75rem;
    }
    
    .label-title {
        font-size: 1.6rem;
    }
    
    .label-line-name {
        min-height: 2rem;
    }
    
    .label-line-issue {
        min-height: 1.5rem;
    }
}

@media (max-width: 380px) {
    .label {
        width: 55%;
        min-width: 160px;
        padding: 0.85rem 1rem 0.65rem;
    }
    
    .label-title {
        font-size: 1.4rem;
    }
    
    .label-tagline {
        font-size: 0.45rem;
    }
    
    .label-issue {
        font-size: 0.48rem;
    }
}
