/* =====================================================================
   CEDULE THEME — Dark Varnished Wood
   Aged cedar sign aesthetic. Warm, muted, no eye strain.
   ===================================================================== */
body.theme-cedule {
    --text-color: #d8c0a0;
    --bg-color: #1a0e06;
    --border-color: #7a5a3a;
    --border-light: #4a3018;
    --btn-bg: #3a2010;
    --btn-hover: #5a3018;
    --panel-bg: rgba(26,14,6,0.97);
    --border-color-rgb: 122, 90, 58;
    --accent: #ffd700;
    --accent-dim: rgba(255, 215, 0, 0.08);
    --card-bg: rgba(18, 10, 4, 0.92);
    --card-bg-hover: rgba(24, 14, 6, 0.97);

    background-color: #120c04;
    font-family: 'Arial Narrow', 'Helvetica', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

body.theme-cedule * {
    text-shadow: none !important;
}

body.theme-cedule .wrapper {
    background: #1a0e06;
    border: 3px solid #6a4a28;
    border-radius: 0;
    box-shadow: 0 0 0 2px #30200c, 0 8px 40px rgba(0,0,0,0.85);
    margin: 0 auto;
}

/* ── Header ── */
body.theme-cedule .mafia-header {
    background: linear-gradient(180deg, #251608, #1a0e06);
    border-bottom: 3px solid #5a3a18;
    border-radius: 0;
    padding: 14px 28px;
}

body.theme-cedule .welcome {
    color: #c0903a;
    border-right: 2px solid #3a2810;
}

body.theme-cedule .header-link {
    background: #2e1c08;
    border: 2px solid #6a4a28;
    color: #c0903a;
    border-radius: 0;
    font-weight: bold;
    box-shadow: 0 3px 0 #0e0804;
}
body.theme-cedule .header-link:hover {
    background: #5a3018;
    color: #e0c080;
}

body.theme-cedule .header-btn {
    background: #2e1c08;
    border: 2px solid #6a4a28;
    color: #c0903a;
    border-radius: 0;
    box-shadow: 0 3px 0 #0e0804;
}
body.theme-cedule .header-btn:hover {
    background: #4a2c10;
    color: #e0c080;
}

body.theme-cedule .currency-display {
    background: #221408;
    border: 2px solid #5a3a1a;
    border-radius: 0;
    color: #c0903a;
}

body.theme-cedule .hcur-val,
body.theme-cedule .hcur-lbl {
    color: #c0903a;
}

/* ── Menu ── */
body.theme-cedule .mafia-menu {
    background: linear-gradient(180deg, #1e1208, #160e06);
    border-right: 3px solid #4a3018;
    border-radius: 0;
}

body.theme-cedule .mafia-menu li.menu-section {
    color: #7a5a30;
    border-bottom: 1px solid #3a2410;
    font-size: 11px;
}

body.theme-cedule .mafia-menu li a {
    background: transparent;
    border-left: 3px solid #4a3018;
    color: #b89060;
}
body.theme-cedule .mafia-menu li a:hover,
body.theme-cedule .mafia-menu li a.active {
    background: rgba(100,60,20,0.28);
    border-left-color: #c0903a;
    color: #e0c078;
}

/* ── Content ── */
body.theme-cedule .content {
    background: #1a0e06;
    color: #d0b890;
    border: none;
}

body.theme-cedule .content h1,
body.theme-cedule .content h2,
body.theme-cedule .content h3 {
    color: #c0903a;
    border-bottom: 2px solid #3a2410;
}

body.theme-cedule p,
body.theme-cedule span,
body.theme-cedule div,
body.theme-cedule label,
body.theme-cedule li,
body.theme-cedule td,
body.theme-cedule th {
    color: inherit;
}

/* ── Footer ── */
body.theme-cedule .mafia-footer {
    background: linear-gradient(180deg, #160e06, #100a04);
    border-top: 3px solid #4a3018;
    color: #7a5a30;
}

/* ── Panels ── */
body.theme-cedule .settings-slide-panel,
body.theme-cedule .slide-panel {
    background: #1e1208;
    border-left: 3px solid #5a3a18;
}

body.theme-cedule .panel-body {
    color: #d0b890;
}

body.theme-cedule .angel-panel {
    background: #1a1006;
    border: 3px solid #5a3a18;
}

body.theme-cedule .angel-popup-content,
body.theme-cedule .angel-game-popup {
    color: #d0b890;
    background: #22160a;
    border: 2px solid #5a3a18;
    border-radius: 0;
}

/* ── Buttons ── */
body.theme-cedule .btn-mafia {
    background: #2e1c08;
    border: 2px solid #6a4a28;
    color: #c0903a;
    box-shadow: 0 3px 0 #0e0804;
    border-radius: 0;
}
body.theme-cedule .btn-mafia:hover:not(:disabled) {
    background: #4a2c10;
    color: #e0c078;
}

body.theme-cedule .quick-bets .bill-btn {
    border-color: #5a3a18;
    box-shadow: 0 2px 0 #0e0804;
}

body.theme-cedule .autospin-btn {
    background: #2e1c08;
    border: 2px solid #5a3a18;
    color: #c0903a;
    box-shadow: 0 2px 0 #0e0804;
}
body.theme-cedule .autospin-btn.active {
    background: #5a3018;
    color: #e0c078;
}

/* ── Game area ── */
body.theme-cedule .game-area {
    background: rgba(30,18,8,0.9);
    border: 2px solid #5a3a18;
}

/* ── Cards (settings, stats, etc.) ── */
body.theme-cedule .settings-card,
body.theme-cedule .stat-card,
body.theme-cedule .profile-card,
body.theme-cedule .gift-card,
body.theme-cedule .quest-card {
    background: rgba(26,14,6,0.85);
    border-color: rgba(120,80,40,0.4);
}

body.theme-cedule .theme-swatch,
body.theme-cedule .lang-btn,
body.theme-cedule .cursor-btn,
body.theme-cedule .font-btn {
    background: rgba(40,22,8,0.9);
    border-color: rgba(120,80,40,0.4);
    color: #c0903a;
}
body.theme-cedule .theme-swatch:hover,
body.theme-cedule .lang-btn:hover,
body.theme-cedule .cursor-btn:hover,
body.theme-cedule .font-btn:hover {
    border-color: #c0903a;
    color: #e0c078;
}
body.theme-cedule .theme-swatch.active,
body.theme-cedule .lang-btn.active,
body.theme-cedule .cursor-btn.active,
body.theme-cedule .font-btn.active {
    border-color: #c0903a;
    background: rgba(100,60,20,0.3);
}

/* ===== FLOATING EMBER SPARKS ===== */
body.theme-cedule .content {
    background-image:
        radial-gradient(circle at  9% 18%, rgba(220,130, 20,0.55) 1px, transparent 2px),
        radial-gradient(circle at 24% 65%, rgba(200,100, 10,0.40) 1.5px, transparent 3px),
        radial-gradient(circle at 39% 32%, rgba(240,150, 30,0.50) 1px, transparent 2px),
        radial-gradient(circle at 53% 80%, rgba(210,120, 15,0.38) 1.5px, transparent 3px),
        radial-gradient(circle at 67% 20%, rgba(255,160, 40,0.48) 1px, transparent 2px),
        radial-gradient(circle at 81% 55%, rgba(230,140, 25,0.42) 1px, transparent 2px),
        radial-gradient(circle at 93% 10%, rgba(220,110, 18,0.52) 1.5px, transparent 3px),
        radial-gradient(circle at 16% 48%, rgba(250,170, 45,0.36) 1px, transparent 2px),
        radial-gradient(circle at 45% 28%, rgba(200, 90, 10,0.44) 2px,   transparent 4px),
        radial-gradient(circle at 73% 85%, rgba(235,145, 28,0.32) 1.5px, transparent 3px);
    background-size: 270px 270px;
    will-change: background-position;
    animation: cedule-embers 18s linear infinite;
}
@keyframes cedule-embers {
    from { background-position: 0 0; }
    to   { background-position: 0 -270px; }
}
