/*
Theme Name: Gianni Music
Theme URI: http://giannismusic.com
Author: Gianni
Description: Tema dark, minimale, sidebar con titolo verticale, ticker orari mondiali.
Version: 1.3
*/
body {
    background-color: #000000;
    background-image: url('background-pattern.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #f2d5df;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    min-height: 100vh;
    padding-bottom: 50px; /* Spazio per il ticker in basso */
}

/* Sidebar Laterale */
header {
    width: 150px; /* Ridotta per via del testo verticale */
    background-color: rgba(53, 0, 20, 0.85);
    border-right: 3px solid #d6006f;
    padding: 40px 0;
    box-sizing: border-box;
    position: fixed;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; /* Centra verticalmente */
}

h1 {
    margin: 0;
    font-size: 3.5em;
    letter-spacing: 15px; /* Spazio tra le lettere verticali */
    color: #d6006f;
    text-transform: uppercase;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    writing-mode: vertical-rl; /* Scrittura verticale */
    text-orientation: upright; /* Lettere dritte */
}

/* Area principale del contenuto */
.main-wrapper {
    margin-left: 150px;
    padding: 50px;
    flex-grow: 1;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
}

.content {
    max-width: 800px;
    width: 100%;
    line-height: 1.6;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 40px;
}

/* Stili per la sezione What's New */
.whats-new-section {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(214, 0, 111, 0.3);
}

.whats-new-section h2 {
    color: #d6006f;
    font-size: 1.8em;
    margin-top: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Ticker orari mondiali */
.ticker-wrap {
    width: 100%;
    overflow: hidden;
    background-color: rgba(20, 0, 8, 0.95);
    border-top: 2px solid #d6006f;
    color: #f2d5df;
    padding: 15px 0;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 999;
    white-space: nowrap;
}

.ticker {
    display: inline-block;
    white-space: nowrap;
    padding-left: 100%; /* Partenza da destra */
    animation: ticker 30s linear infinite;
}

@keyframes ticker {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-100%, 0, 0); }
}

.ticker-item {
    display: inline-block;
    padding: 0 50px;
    font-size: 1.1em;
    font-weight: bold;
    letter-spacing: 2px;
}

.ticker-city {
    color: #d6006f;
    margin-right: 10px;
}

/* Stili generali */
a {
    color: #d6006f;
    text-decoration: none;
}
a:hover { color: #ff3399; }

/* Responsività */
@media (max-width: 768px) {
    body { flex-direction: column; padding-bottom: 60px; }
    header {
        position: relative;
        width: 100%;
        height: auto;
        border-right: none;
        border-bottom: 3px solid #d6006f;
        padding: 20px;
        flex-direction: row;
    }
    h1 {
        writing-mode: horizontal-tb; /* Torna orizzontale su mobile */
        text-orientation: mixed;
        letter-spacing: 10px;
        font-size: 2.5em;
    }
    .main-wrapper { margin-left: 0; padding: 20px; }
}
