/* Reset and Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: #000000;
    color: #FFFFFF;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow: hidden; /* Prevents body scroll, keeps it in the viewer */
    touch-action: manipulation; /* Disables double-tap to zoom */
}

/* Fullscreen Trigger Button */
#btn-start-session {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px 40px;
    font-size: 2rem;
    font-weight: bold;
    background-color: #333333;
    color: #FFFFFF;
    border: 2px solid #555555;
    border-radius: 8px;
    cursor: pointer;
    z-index: 100;
}

/* App Container */
#app-container {
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

#app-container.hidden {
    display: none;
}

/* Navigation Zones (Invisible) */
.nav-zone {
    position: absolute;
    top: 0;
    width: 15vw; /* 15% of screen width for tapping */
    height: 100%;
    z-index: 10;
}

#nav-left { left: 0; }
#nav-right { right: 0; }

/* Visual feedback on tap (optional, currently transparent) */
.nav-zone:active {
    background-color: rgba(255, 255, 255, 0.05);
}

/* Song Viewer and Scrollbar Hiding */
#song-viewer {
    flex-grow: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 4vh 18vw; /* Leaves padding for nav zones */
    
    /* Hide scrollbar for Firefox */
    scrollbar-width: none; 
}

/* Hide scrollbar for Chrome, Safari and Opera */
#song-viewer::-webkit-scrollbar {
    display: none;
}

/* Typography and Parsed Elements */
#song-title {
    font-size: 3vh;
    text-align: center;
    margin-bottom: 4vh;
    color: #FFFFFF;
    border-bottom: 2px solid #333333;
    padding-bottom: 10px;
}

#song-content {
    font-size: 2vh;
    line-height: 1.6;
    white-space: pre-wrap; /* Respects line breaks from text */
}

/* Custom Markup Classes */
.tag-section {
    display: block;
    background-color: #222222;
    color: #FFEB3B; /* High contrast yellow */
    padding: 10px 15px;
    margin: 40px 0 20px 0;
    font-weight: bold;
    border-left: 5px solid #FFEB3B;
    text-transform: uppercase;
    font-size: 0.9em;
}

.tag-drum-note {
    display: block;
    color: #00E5FF; /* Cyan for metrics */
    font-family: 'Consolas', 'Courier New', monospace;
    font-weight: bold;
    margin: 15px 0;
    font-size: 1.1em;
    letter-spacing: 2px;
}

.tag-dynamic {
    display: block;
    color: #FF5722; /* Orange/Red for dynamics */
    font-style: italic;
    font-weight: bold;
    margin: 15px 0;
}
