* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    min-height: 100vh;
}
.page-wrapper {
    display: grid;
    grid-template-columns: 160px 1fr 160px;
    gap: 20px;
    min-height: 100vh;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}
.sidebar { min-height: 100vh; }
.sidebar-left, .sidebar-right { display: flex; align-items: flex-start; padding-top: 80px; }
.sticky-ad { position: sticky; top: 20px; width: 160px; min-height: 600px; }
.main-content { display: flex; justify-content: center; align-items: flex-start; padding: 20px 0; }
@media (max-width: 1024px) {
    .page-wrapper { grid-template-columns: 1fr; gap: 0; }
    .sidebar { display: none; }
}
.container { max-width: 560px; width: 100%; }
.header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.back-button { text-decoration: none; color: #fff; font-size: 1em; background: rgba(255,255,255,0.2); padding: 6px 14px; border-radius: 20px; }
.back-button:hover { background: rgba(255,255,255,0.35); }
.title { color: #fff; font-size: 1.6em; font-weight: 800; text-shadow: 0 2px 8px rgba(0,0,0,0.2); }
.daily-badge { background: #fff; color: #f5576c; font-weight: 700; font-size: 0.85em; padding: 6px 18px; border-radius: 20px; display: inline-block; margin-bottom: 14px; }
.progress-bar-wrap { background: rgba(255,255,255,0.3); border-radius: 10px; height: 8px; margin-bottom: 18px; }
.progress-bar { background: #fff; border-radius: 10px; height: 8px; width: 0%; transition: width 0.5s; }
.puzzle-card { background: #fff; border-radius: 20px; padding: 32px 24px; text-align: center; box-shadow: 0 8px 32px rgba(0,0,0,0.15); margin-bottom: 20px; }
.puzzle-number { color: #aaa; font-size: 0.85em; margin-bottom: 12px; letter-spacing: 1px; text-transform: uppercase; }
.emoji-display { font-size: 3.5em; letter-spacing: 6px; margin-bottom: 12px; line-height: 1.2; }
.hint-text { color: #888; font-size: 0.9em; min-height: 20px; }
.options-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.option-btn {
    background: #fff; border: 2px solid transparent; border-radius: 14px;
    padding: 14px 10px; font-size: 1em; cursor: pointer; font-weight: 600;
    color: #333; transition: all 0.2s; box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}
.option-btn:hover { border-color: #f5576c; transform: translateY(-2px); }
.option-btn.correct { background: #00b894; color: #fff; border-color: #00b894; }
.option-btn.wrong { background: #d63031; color: #fff; border-color: #d63031; }
.option-btn:disabled { cursor: not-allowed; opacity: 0.85; transform: none; }
.result-box { background: #fff; border-radius: 16px; padding: 20px; text-align: center; margin-bottom: 16px; box-shadow: 0 4px 16px rgba(0,0,0,0.1); }
.result-icon { font-size: 2.5em; margin-bottom: 8px; }
.result-msg { font-size: 1.1em; font-weight: 700; color: #333; margin-bottom: 14px; }
.next-btn { background: linear-gradient(135deg, #f093fb, #f5576c); color: #fff; border: none; border-radius: 12px; padding: 12px 28px; font-size: 1em; font-weight: 700; cursor: pointer; transition: opacity 0.2s; }
.next-btn:hover { opacity: 0.85; }
.score-bar { display: flex; justify-content: space-between; background: rgba(255,255,255,0.2); border-radius: 14px; padding: 12px 20px; color: #fff; font-size: 1em; margin-bottom: 16px; }
.score-bar strong { font-size: 1.15em; }
.game-over { background: #fff; border-radius: 20px; padding: 36px 24px; text-align: center; box-shadow: 0 8px 32px rgba(0,0,0,0.15); }
.game-over h2 { font-size: 2em; margin-bottom: 10px; }
.game-over p { color: #555; font-size: 1.1em; margin-bottom: 20px; }
.share-btn, .play-again-btn {
    border: none; border-radius: 12px; padding: 12px 28px; font-size: 1em; font-weight: 700; cursor: pointer; margin: 6px;
}
.share-btn { background: linear-gradient(135deg, #f093fb, #f5576c); color: #fff; }
.play-again-btn { background: #f0f0f0; color: #333; }
.share-btn:hover { opacity: 0.85; }
.play-again-btn:hover { background: #e0e0e0; }
.hidden { display: none; }
