/* --- Left Section (Clicker) --- */
.sectionLeft {
    width: 70%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    background: radial-gradient(circle at center, #fffde7 0%, #fff8e1 100%);
}

body.dark-mode .sectionLeft {
    background: radial-gradient(circle at center, #1a1a1a 0%, #121212 100%);
}

.sectionFooter {
    position: absolute;
    bottom: 30px;
    display: flex;
    gap: 15px;
    justify-content: center; /* Center the remaining buttons */
    width: 100%;
    pointer-events: none; /* Let clicks pass through container */
}

.sectionFooter button {
    pointer-events: auto; /* Re-enable clicks on buttons */
    min-width: 150px; /* Make them substantial */
    background-color: var(--card-bg);
    border: 2px solid #ddd;
    padding: 10px 20px;
    border-radius: 50px;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: var(--shadow);
}

.sectionFooter button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.sectionFooter #DarkMarket {
    background-color: #263238;
    color: #eceff1;
    border-color: #37474f;
    visibility: hidden; /* Controlled by JS */
}

.sectionFooter #DarkMarket:hover {
    background-color: #37474f;
    color: #ff5252;
    box-shadow: 0 0 15px rgba(0,0,0,0.5);
}

#bottomInfo {
    position: absolute;
    bottom: 10px;
    left: 10px;
    font-size: 12px;
    color: rgba(0,0,0,0.4);
    font-family: 'Nunito', sans-serif;
    display: flex;
    gap: 8px;
    align-items: center;
}

#bottomInfo .separator {
    opacity: 0.5;
}

#saveHint {
    cursor: help;
}

body.dark-mode #bottomInfo {
    color: rgba(255,255,255,0.3);
}

/* --- Right Section (Shop) --- */
.sectionRight {
    width: 30%;
    height: 100%;
    background-color: #ffffff;
    border-left: 1px solid #eee;
    padding: 50px 20px 20px 20px; /* Top padding increased for News Ticker */
    overflow-y: auto; /* Scrollable shop */
    box-shadow: -5px 0 15px rgba(0,0,0,0.05);
}

body.dark-mode .sectionRight {
    background-color: #1e1e1e;
    border-left-color: #333;
}

/* --- Top Bar (Settings/Info) --- */
.topBar {
    position: absolute;
    top: 50px; /* Pushed down for News Ticker */
    right: 20px;
    display: flex;
    gap: 10px;
    z-index: 10;
}

/* --- News Ticker --- */
#newsTicker {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 30px;
    background: rgba(0,0,0,0.8);
    color: #fff;
    overflow: hidden;
    z-index: 20;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #444;
}

#newsContent {
    white-space: nowrap;
    padding-left: 100%;
    animation: ticker 20s linear infinite;
    font-family: 'Nunito', sans-serif;
    font-size: 14px;
    font-weight: bold;
    color: #ffd700;
}
