:root {
    --bg-color: #050505;
    --card-bg: #121212;
    --text-color: #ffffff;
    --accent: #ffcc00;
    --dim-text: #555;
}

body, html {
    margin: 0; padding: 0;
    height: 100%; width: 100%;
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow: hidden;
    touch-action: manipulation;
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: transparent;
}

#menu-view {
    display: none;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto repeat(2, 1fr);
    gap: 15px; height: 100vh; padding: 15px;
    box-sizing: border-box;
}

.menu-logo { grid-column: span 3; display: flex; justify-content: center; padding: 5px 0; }
.menu-logo img { height: 70px; }

.song-card {
    background: var(--card-bg); border: 1px solid #222;
    border-radius: 12px; position: relative;
    display: flex; align-items: center; justify-content: center;
    text-align: center; cursor: pointer; padding: 15px;
    font-size: 0.95rem; font-weight: 500;
}

.grid-info-btn {
    position: absolute; bottom: 8px; right: 8px;
    background: transparent; color: var(--accent);
    border: none; font-size: 1.5rem; cursor: pointer;
}

#content-view { display: none; height: 100vh; width: 100vw; position: relative; }

.content-header {
    position: fixed; top: 0; left: 0; right: 0;
    height: 40px; display: flex; align-items: center;
    justify-content: center; background: rgba(0,0,0,0.9);
    z-index: 50;
}

.header-title { 
    color: var(--dim-text); font-size: 0.75rem; 
    font-weight: 700; text-transform: uppercase; 
    letter-spacing: 2px; margin-left: 70px;
}

.display-area {
    height: 100%; width: 100%;
    display: flex; align-items: center; justify-content: center;
    padding: 40px 15vw; box-sizing: border-box;
}

#text-output { text-align: center; line-height: 1.3; transition: opacity 0.15s; }

.verse-num {
    color: var(--dim-text); font-size: 1.1rem;
    display: block; margin-bottom: 4px; font-weight: 700;
}

.why-link {
    display: inline-block;
    margin-top: 25px;
    font-size: 1.1rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    cursor: pointer;
    border-bottom: 1px solid rgba(255, 204, 0, 0.2);
    opacity: 0.5;
    padding-bottom: 2px;
}

/* The zones are now unequal to favor moving forward */
.tap-zone {
    position: absolute; 
    top: 0; 
    height: 100%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    z-index: 20;
}

#left-zone { 
    left: 0; 
    width: 20%; /* Small zone for 'Back' */
    justify-content: flex-start; /* Keeps chevron toward the edge */
    padding-left: 20px;
}

#right-zone { 
    right: 0; 
    width: 80%; /* Huge zone for 'Next' */
    justify-content: flex-end; /* Keeps chevron toward the edge */
    padding-right: 20px;
}

.chevron {
    font-size: 5rem; color: #fff; font-weight: 100;
    opacity: 0.15; transition: opacity 0.2s; pointer-events: none;
}
.tap-zone:active .chevron { opacity: 0.4; }

.back-btn {
    position: fixed; top: 6px; left: 8px;
    background: rgba(255,255,255,0.1); color: #bbb;
    border: 1px solid #333; padding: 6px 14px;
    border-radius: 6px; z-index: 100; font-size: 0.8rem;
    font-weight: 700;
}
.back-btn:active { background: var(--accent); color: #000; }

#progress-counter {
    position: fixed; bottom: 10px; width: 100%;
    text-align: center; font-size: 0.7rem; color: #222;
}

#start-overlay {
    position: fixed; inset: 0; background: var(--bg-color);
    display: flex; flex-direction: column; align-items: center; justify-content: center; z-index: 1000;
}
.start-btn { padding: 20px 60px; font-size: 1.5rem; background: var(--accent); border: none; border-radius: 50px; font-weight: 700; }