body.theme-potok {
    --text-color: #f0e6d2;
    --bg-color: #1e3a1e;
    --border-color: #6b4f2a;
    --border-light: #4a2c1a;
    --btn-bg: #6b4f2a;
    --btn-hover: #8b6b3c;
    --panel-bg: rgba(30, 58, 30, 0.98);       /* ← PŘIDÁNO */
    --border-color-rgb: 107, 79, 42;          /* ← PŘIDÁNO */
    --accent: #ffd700;
    --accent-dim: rgba(255, 215, 0, 0.08);
    --card-bg: rgba(16, 30, 16, 0.92);
    --card-bg-hover: rgba(20, 38, 20, 0.97);
    
    background-image: url('../../images/forest-bg.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: scroll;
    background-position: center;
    background-color: var(--bg-color);
}

body.theme-potok .wrapper {
    background: transparent;
    border: none;
    box-shadow: none;
}

/* Lighter shadow scope to avoid full-page repaint pressure */
body.theme-potok .content h1,
body.theme-potok .content h2,
body.theme-potok .content h3,
body.theme-potok .mafia-menu li.menu-section,
body.theme-potok .welcome,
body.theme-potok .header-link,
body.theme-potok .header-btn {
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

body.theme-potok .mafia-header {
    background: url('../../images/wood-panel.png') repeat-x;
    background-size: auto 100%;
    border-bottom: 3px solid var(--border-light);
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    padding: 15px 30px;
}

body.theme-potok .header-left h1 {
    font-size: 36px;
}

body.theme-potok .header-link {
    background: url('../../images/leather-btn.png') repeat;
    background-size: cover;
    border: 2px solid var(--border-color);
    color: #ffd700;
    border-radius: 10px;
    padding: 8px 15px;
    font-weight: bold;
    text-decoration: none;
}

body.theme-potok .header-link:hover {
    filter: brightness(1.2);
    border-color: #d4af37;
}

body.theme-potok .header-btn {
    background: url('../../images/leather-btn.png') repeat;
    background-size: cover;
    border: 2px solid var(--border-color);
    color: #ffd700;
    border-radius: 30px;
}

body.theme-potok .header-btn:hover {
    filter: brightness(1.2);
    border-color: #d4af37;
}

body.theme-potok .currency-display {
    background: url('../../images/wood-panel.png') repeat;
    background-size: cover;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    color: #ffd700;
}

body.theme-potok .currency-value {
    color: #ffd700;
}

body.theme-potok .mafia-menu {
    background: url('../../images/wood-panel.png') repeat;
    background-size: cover;
    border-right: 3px solid var(--border-light);
    border-bottom: 3px solid var(--border-light);
    box-shadow: inset 0 0 30px rgba(0,0,0,0.5);
}

body.theme-potok .mafia-menu li.menu-section {
    color: #d4af37;
    border-bottom: 2px solid var(--border-color);
}

body.theme-potok .mafia-menu li a {
    background: rgba(42, 26, 13, 0.7);
    border-left: 4px solid var(--border-color);
    color: #ffd700;
    border-radius: 0 10px 10px 0;
}

body.theme-potok .mafia-menu li a:hover,
body.theme-potok .mafia-menu li a.active {
    background: rgba(107, 79, 42, 0.8);
    border-left: 4px solid #d4af37;
}

body.theme-potok .content {
    background: url('../../images/old-paper.png') repeat;
    background-size: cover;
    color: #2c1810;
    border: 3px solid var(--border-light);
    border-radius: 10px;
    padding: 30px;
    box-shadow: inset 0 0 30px rgba(0,0,0,0.3);
}

body.theme-potok .content h1,
body.theme-potok .content h2,
body.theme-potok .content h3 {
    color: #2c1810;
    border-bottom: 3px solid var(--border-light);
}

body.theme-potok .mafia-footer {
    background: url('../../images/wood-panel.png') repeat;
    background-size: cover;
    border-top: 3px solid var(--border-light);
    color: #d4af37;
    padding: 15px;
}

body.theme-potok .btn-mafia {
    background: url('../../images/leather-btn.png') repeat;
    background-size: cover;
    border: 2px solid var(--border-color);
    color: #ffd700;
    border-radius: 30px;
    box-shadow: 0 5px 0 #2c1810;
    font-weight: bold;
}

body.theme-potok .btn-mafia:hover:not(:disabled) {
    filter: brightness(1.2);
    transform: translateY(-2px);
    box-shadow: 0 7px 0 #2c1810;
}

body.theme-potok .quick-bets .bill-btn {
    border-color: var(--border-color);
    box-shadow: 0 2px 0 #2c1810;
}

body.theme-potok .autospin-btn {
    background: url('../../images/leather-btn.png') repeat;
    background-size: cover;
    border: 2px solid var(--border-color);
    color: #ffd700;
}

body.theme-potok .autospin-btn.active {
    background: #d4af37;
    color: #2c1810;
}

body.theme-potok .game-area {
    background: url('../../images/old-paper.png') repeat;
    background-size: cover;
    border: 3px solid var(--border-light);
    border-radius: 15px;
    padding: 25px;
}

body.theme-potok .image-container {
    background: url('../../images/wood-panel.png') repeat;
    background-size: cover;
    border: 3px solid var(--border-color);
    box-shadow: 0 5px 0 #2c1810;
}

body.theme-potok .angel-panel {
    background: url('../../images/wood-panel.png') repeat;
    background-size: cover;
    border: 3px solid var(--border-color);
}

body.theme-potok .settings-slide-panel,
body.theme-potok .slide-panel {
    background: url('../../images/wood-panel.png') repeat;
    background-size: cover;
    border-left: 3px solid var(--border-light);
}

body.theme-potok .angel-popup-content,
body.theme-potok .angel-game-popup {
    color: #2c1810;
    background: rgba(255, 248, 220, 0.95);
    border: 3px solid var(--border-color);
    border-radius: 10px;
}

body.theme-potok .angel-popup-content h3,
body.theme-potok .angel-popup-content p {
    color: #2c1810;
}

/* ===== POTOK: SETTINGS THEME BUTTONS & LANG BUTTONS ===== */
body.theme-potok .theme-btn {
    background: url('../../images/leather-btn.png') repeat;
    background-size: cover;
    border: 2px solid #d4af37;
    color: #ffd700;
    text-shadow: 2px 2px 3px #000;
    box-shadow: 0 3px 0 #2c1810;
}

body.theme-potok .theme-btn:hover {
    filter: brightness(1.2);
    border-color: #ffd700;
    box-shadow: 0 5px 0 #2c1810;
    transform: translateY(-2px);
}

body.theme-potok .theme-btn.active {
    border-color: #ffd700;
    box-shadow: 0 0 14px rgba(255, 215, 0, 0.6), 0 3px 0 #2c1810;
    color: #fff;
    filter: brightness(1.3);
}

body.theme-potok .lang-btn {
    background: url('../../images/leather-btn.png') repeat;
    background-size: cover;
    border: 2px solid #d4af37;
    color: #ffd700;
    text-shadow: 1px 1px 2px #000;
}

body.theme-potok .lang-btn:hover {
    filter: brightness(1.2);
    border-color: #ffd700;
}

body.theme-potok .lang-btn.active {
    border-color: #ffd700;
    color: #fff;
    box-shadow: 0 0 12px rgba(255, 215, 0, 0.55);
    filter: brightness(1.3);
    background: url('../../images/leather-btn.png') repeat;
    background-size: cover;
}

body.theme-potok .btn-mafia {
    border-color: #d4af37;
}
body.theme-potok .btn-mafia:hover:not(:disabled) {
    border-color: #ffd700;
}