/* ===========================================================
   AREA STAMPA — tema "Press Kit"
   Adattato dal vecchio player standalone (public_html/press/),
   generalizzato per qualunque release (17/8/2026). Caricato SOLO
   dalle pagine app/views/press/*.php — area a parte, niente
   header/menu del sito pubblico.
   =========================================================== */

body.press-body {
    font-family: "Georgia", serif;
    background: #0f1418;
    color: #e6ecf2;
    padding: 20px;
    margin: 0;
}

.press-h1 {
    font-family: "Georgia", serif;
    font-weight: normal;
    color: #dfe6f0;
    letter-spacing: 0.04em;
    margin-bottom: 30px;
    text-align: center;
}

/* Header con copertina + titolo release */
.press-header {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}

.press-header img {
    max-width: 100%;
    height: auto;
    max-height: 320px;
    border-radius: 6px;
}

.press-header-title {
    font-size: 1.4em;
    letter-spacing: 0.08em;
    margin-top: 15px;
}

.press-header-subtitle {
    margin-top: 5px;
}

.press-header-credits {
    margin-top: 5px;
    font-size: 0.9em;
    color: #ccc;
}

.press-header-intro {
    margin-top: 8px;
    font-size: 0.9em;
}

.press-fade-separator {
    width: 100%;
    height: 60px;
    margin-top: -10px;
    background: linear-gradient(to bottom, rgba(15, 20, 24, 1) 0%, rgba(15, 20, 24, 0.85) 30%, rgba(18, 23, 28, 0.6) 60%, rgba(18, 23, 28, 0) 100%);
}

/* Pulsanti vetrina (index) + copertina/spartiti */
.press-btn-extra {
    display: block;
    margin: 20px auto;
    padding: 10px 18px;
    font-size: 1.1em;
    font-family: "Georgia", serif;
    background: #2d4a63;
    color: #e6ecf2;
    border-radius: 4px;
    border: 1px solid #3a4650;
    text-decoration: none;
    text-align: center;
    transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.press-btn-extra:hover {
    background: #3c5f7f;
    border-color: #5f7a8a;
    box-shadow: 0 0 12px rgba(180, 210, 230, 0.25);
}

/* Track card */
.press-track {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    border-radius: 6px;
    background: #12171c;
    border: 1px solid #2f3a45;
    box-shadow: 0 0 18px rgba(0, 0, 0, 0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.press-track:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 26px rgba(0, 0, 0, 0.55), 0 0 14px rgba(180, 210, 230, 0.25), 0 0 28px rgba(180, 210, 230, 0.15);
    border-color: #5f7a8a;
}

.press-track-cover img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid #3a4650;
    transition: transform 0.35s ease, filter 0.35s ease;
}

.press-track:hover .press-track-cover img {
    transform: scale(1.04);
    filter: brightness(1.08);
}

.press-track-info {
    flex: 1;
    font-family: "Georgia", serif;
}

.press-track-meta {
    font-size: 0.9em;
    color: #b8c3cc;
    margin-top: 6px;
}

.press-track audio {
    width: 100%;
    margin-top: 12px;
    filter: drop-shadow(0 0 4px rgba(0, 0, 0, 0.4));
}

/* Barra di ricerca */
.press-searchbox {
    text-align: center;
    margin: 20px 0;
}

.press-searchbox input {
    padding: 8px;
    width: 260px;
    max-width: 80vw;
    border-radius: 4px;
    border: 1px solid #3a4650;
    background: #1a2128;
    color: #e6ecf2;
    font-family: "Georgia", serif;
}

.press-searchbox button,
.press-searchbox a {
    padding: 8px 14px;
    margin-left: 6px;
    border-radius: 4px;
    border: 1px solid #3a4650;
    background: #2d4a63;
    color: #e6ecf2;
    text-decoration: none;
    cursor: pointer;
    font-family: "Georgia", serif;
}

.press-searchbox button:hover,
.press-searchbox a:hover {
    background: #3c5f7f;
}

/* Paginazione */
.press-pagination {
    text-align: center;
    margin-top: 30px;
}

.press-pagination a {
    color: #e6ecf2;
    padding: 8px 12px;
    margin: 0 4px;
    background: #2d4a63;
    text-decoration: none;
    border-radius: 4px;
    border: 1px solid #3a4650;
    font-family: "Georgia", serif;
}

.press-pagination a.active {
    background: #3c5f7f;
}

.press-pagination a:hover {
    background: #4a6a85;
}

/* Login */
.press-login-form {
    text-align: center;
    margin-top: 20px;
}

.press-login-form input[type="password"] {
    padding: 10px;
    width: 220px;
    border-radius: 4px;
    border: 1px solid #444;
    background: #222;
    color: #eee;
}

.press-login-form button {
    padding: 10px 24px;
    border-radius: 4px;
    border: 1px solid #444;
    background: #333;
    color: #eee;
    font-size: 1em;
    cursor: pointer;
}

/* Riga con "REQUEST ACCESS" (a sinistra) + "ENTER"/"SEND REQUEST" (a
   destra), sotto il campo password — 17/8/2026. */
.press-login-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
}

.press-request-link {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 4px;
    border: 1px solid #6b6b3a;
    background: #333;
    /* Giallo chiaro, richiesta esplicita 17/8/2026 — distingue il pulsante
       "secondario" (richiedi accesso) da quello "primario" (ENTER). */
    color: #f0e28a;
    font-family: "Georgia", serif;
    font-size: 1em;
    text-decoration: none;
    cursor: pointer;
}

.press-request-link:hover {
    background: #3c3c2a;
    border-color: #8a8a4a;
}

/* Pagina "Request Press Access" */
.press-request-intro {
    max-width: 520px;
    margin: 0 auto;
    text-align: center;
    line-height: 1.6;
    color: #dfe6f0;
}

.press-request-form {
    max-width: 380px;
    margin: 24px auto 0;
    text-align: left;
}

.press-request-form label {
    display: block;
    margin-bottom: 14px;
    font-size: 0.95em;
}

.press-request-form input[type="text"],
.press-request-form input[type="email"] {
    display: block;
    width: 100%;
    margin-top: 6px;
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #444;
    background: #222;
    color: #eee;
    box-sizing: border-box;
    font-family: "Georgia", serif;
}

/* Honeypot anti-spam: invisibile a un umano, non "display:none" (alcuni
   bot lo ignorano se troppo ovvio), spostato fuori schermo. */
.press-honeypot {
    position: absolute;
    left: -9999px;
    top: -9999px;
}

.press-error {
    color: #ff8a8a;
    text-align: center;
}

/* Spartiti: lista + viewer */
.press-scores-layout {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.press-scores-list {
    width: 32%;
    max-height: 90vh;
    overflow-y: auto;
    padding-right: 10px;
    border-right: 1px solid #3a4650;
}

.press-scores-viewer {
    width: 68%;
    height: 90vh;
    position: relative;
}

.press-scores-viewer iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.press-scores-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: transparent;
}

.press-pdf-button {
    display: block;
    margin: 10px auto;
    padding: 10px 14px;
    font-size: 15px;
    background: #1f2a33;
    color: #dce3e8;
    border: 1px solid #3a4650;
    border-radius: 6px;
    text-align: center;
    text-decoration: none;
    transition: 0.2s;
}

.press-pdf-button:hover {
    background: #2a3640;
    border-color: #4a5560;
}

.press-back-button {
    display: inline-block;
    padding: 8px 14px;
    background: #2a3640;
    color: #dce3e8;
    border: 1px solid #3a4650;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 20px;
    transition: 0.2s;
}

.press-back-button:hover {
    background: #3a4650;
}

/* Logout */
.press-logout-box {
    text-align: right;
    margin-bottom: 10px;
}

.press-logout-box a {
    font-family: "Georgia", serif;
    padding: 6px 14px;
    background: #2d4a63;
    color: #e6ecf2;
    border-radius: 4px;
    border: 1px solid #3a4650;
    text-decoration: none;
    transition: background 0.25s ease, border-color 0.25s ease;
}

.press-logout-box a:hover {
    background: #3c5f7f;
    border-color: #5f7a8a;
}

/* Footer */
.press-footer {
    margin-top: 60px;
    padding-top: 25px;
    padding-bottom: 20px;
    text-align: center;
    font-family: "Georgia", serif;
    font-weight: normal;
    color: #b8c3cc;
    font-size: 0.85em;
    opacity: 0.85;
}

.press-footer-line {
    width: 120px;
    height: 1px;
    background: #3a4650;
    margin: 0 auto 15px auto;
    opacity: 0.6;
}
