/* Common Herb Game Client Styles — Terminal Aesthetic */
@import url('https://fonts.googleapis.com/css2?family=VT323&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'VT323', 'Courier New', monospace;
    background: #080d08;
    color: #33ff33;
    overflow: hidden;
    height: 100vh;
    font-size: 18px;
    text-shadow: 0 0 5px rgba(51, 255, 51, 0.5);
}

#game-container {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 32px);
    margin-top: 32px;
}

/* Top Bar */
#top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background: #080d08;
    border-bottom: 1px solid #33ff33;
    box-shadow: 0 0 5px rgba(51, 255, 51, 0.3);
}

#top-bar-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

#top-bar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

#location-name {
    font-size: 1.4em;
    color: #33ff33;
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(51, 255, 51, 0.8), 0 0 20px rgba(51, 255, 51, 0.4);
}

#game-date {
    color: #1a8c1a;
}

.top-bar-sep {
    color: #1a3a1a;
}

#governance-info {
    color: #1a8c1a;
}

#tax-rate {
    color: #1a8c1a;
}

#player-name {
    color: #33ff33;
}

#player-citizenship {
    color: #1a8c1a;
}

#player-gold {
    color: #33ff33;
    font-weight: normal;
    text-shadow: 0 0 10px rgba(51, 255, 51, 0.8);
}

/* Game Area */
#game-area {
    flex: 1;
    background: #080d08;
    overflow: hidden;
    position: relative;
}

#game-canvas {
    display: block;
    width: 100%;
    height: 100%;
    cursor: crosshair;
}

/* Bottom Panel */
#bottom-panel {
    display: flex;
    gap: 0;
    padding: 0;
    background: #080d08;
    border-top: 1px solid #33ff33;
    box-shadow: 0 0 5px rgba(51, 255, 51, 0.3);
    height: 150px;
}

.panel {
    flex: 1;
    background: #080d08;
    border: none;
    padding: 10px;
    overflow-y: auto;
    scrollbar-width: none;
}

.panel::-webkit-scrollbar {
    display: none;
}

#inventory-panel { flex: 0 0 300px; }
#equipment-panel { flex: 0 0 auto; }
#skills-panel { flex: 0 0 460px; }
#chat-panel { flex: 1; }

.panel h3 {
    color: #33ff33;
    margin-bottom: 10px;
    font-size: 0.9em;
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(51, 255, 51, 0.8);
}

.empty-text {
    color: #1a8c1a;
    font-style: italic;
}

#inventory-list {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.inventory-item {
    display: flex;
    gap: 6px;
    padding: 3px 6px;
    background: none;
    border: none;
    font-size: 0.85em;
}

.inventory-item .name {
    color: #33ff33;
}

.inventory-item .qty {
    color: #1a8c1a;
}

/* Buttons */
button {
    font-family: 'VT323', 'Courier New', monospace;
    font-size: 1em;
    background: transparent;
    color: #33ff33;
    border: 1px solid #33ff33;
    padding: 8px 16px;
    cursor: pointer;
    transition: all 0.2s;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 5px rgba(51, 255, 51, 0.5);
    box-shadow: 0 0 5px rgba(51, 255, 51, 0.3), inset 0 0 5px rgba(51, 255, 51, 0.1);
}

button:hover {
    background: rgba(51, 255, 51, 0.1);
    color: #66ff66;
    box-shadow: 0 0 10px rgba(51, 255, 51, 0.5), inset 0 0 10px rgba(51, 255, 51, 0.2);
    text-shadow: 0 0 10px rgba(51, 255, 51, 0.8);
}

button.primary {
    background: transparent;
    border: 1px solid #33ff33;
    color: #33ff33;
}

button.primary:hover {
    background: rgba(51, 255, 51, 0.1);
    color: #66ff66;
}

/* Modal */
.modal-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 100;
    justify-content: center;
    align-items: center;
}

.modal-backdrop.active {
    display: flex;
}

.modal {
    background: #080d08;
    border: 1px solid #33ff33;
    padding: 20px;
    min-width: 300px;
    max-width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 0 10px rgba(51, 255, 51, 0.3), inset 0 0 20px rgba(0, 0, 0, 0.5);
}

.shop-modal {
    min-width: 400px;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.modal-header h2 {
    color: #33ff33;
    font-size: 1.2em;
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(51, 255, 51, 0.8), 0 0 20px rgba(51, 255, 51, 0.4);
}

.modal-close {
    background: none;
    border: none;
    color: #1a8c1a;
    font-size: 1.5em;
    cursor: pointer;
    padding: 0;
    box-shadow: none;
    text-shadow: none;
}

.modal-close:hover {
    color: #33ff33;
    text-shadow: 0 0 10px rgba(51, 255, 51, 0.8);
    box-shadow: none;
}

.modal-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #1a8c1a;
    text-shadow: none;
}

.form-group input {
    width: 100%;
    padding: 10px;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid #33ff33;
    color: #33ff33;
    font-family: 'VT323', 'Courier New', monospace;
    font-size: 1.1em;
    text-shadow: 0 0 5px rgba(51, 255, 51, 0.5);
    box-shadow: 0 0 5px rgba(51, 255, 51, 0.2), inset 0 0 10px rgba(0, 0, 0, 0.5);
}

.form-group input:focus {
    outline: none;
    border-color: #66ff66;
    box-shadow: 0 0 10px rgba(51, 255, 51, 0.4), inset 0 0 10px rgba(0, 0, 0, 0.5);
}

.form-group input::placeholder {
    color: #1a8c1a;
}

.error-text {
    color: #ff3333;
    margin-bottom: 10px;
    font-size: 0.9em;
    text-shadow: 0 0 5px rgba(255, 51, 51, 0.5);
}

/* Shop */
.tax-info {
    background: rgba(0, 0, 0, 0.5);
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #1a8c1a;
    color: #33ff33;
}

.shop-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background: rgba(0, 0, 0, 0.5);
    margin-bottom: 8px;
    border: 1px solid #1a8c1a;
}

.shop-item .item-name {
    font-weight: normal;
    color: #33ff33;
}

.shop-item .item-price {
    color: #33ff33;
    text-shadow: 0 0 10px rgba(51, 255, 51, 0.8);
}

.shop-item button {
    padding: 5px 15px;
    font-size: 0.85em;
}

#purchase-details {
    line-height: 2;
}

#purchase-details .line-item {
    display: flex;
    justify-content: space-between;
}

#purchase-details .tax-line {
    color: #1a8c1a;
}

#purchase-details .total-line {
    border-top: 1px solid #33ff33;
    padding-top: 10px;
    margin-top: 10px;
    font-weight: normal;
    font-size: 1.1em;
    text-shadow: 0 0 10px rgba(51, 255, 51, 0.8);
}

/* Shop Tabs */
.shop-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 15px;
    border-bottom: 1px solid #1a8c1a;
}

.shop-tab {
    flex: 1;
    padding: 8px 15px;
    background: none;
    border: 1px solid #1a8c1a;
    border-bottom: none;
    color: #1a8c1a;
    cursor: pointer;
    font-family: 'VT323', 'Courier New', monospace;
    font-size: 1em;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: none;
    text-shadow: none;
}

.shop-tab:hover {
    color: #33ff33;
    background: rgba(51, 255, 51, 0.05);
}

.shop-tab.active {
    color: #33ff33;
    background: rgba(51, 255, 51, 0.1);
    border-color: #33ff33;
    text-shadow: 0 0 10px rgba(51, 255, 51, 0.8);
}

.sell-item-qty {
    color: #1a8c1a;
    margin-left: 8px;
    font-size: 0.9em;
}

#sale-details {
    line-height: 2;
}

#sale-details .line-item {
    display: flex;
    justify-content: space-between;
}

#sale-details .tax-line {
    color: #1a8c1a;
}

#sale-details .total-line {
    border-top: 1px solid #33ff33;
    padding-top: 10px;
    margin-top: 10px;
    font-weight: normal;
    font-size: 1.1em;
    text-shadow: 0 0 10px rgba(51, 255, 51, 0.8);
}

/* Toast */
.toast {
    position: fixed;
    bottom: 180px;
    left: 50%;
    transform: translateX(-50%);
    background: #33ff33;
    color: #080d08;
    padding: 15px 30px;
    font-weight: normal;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 200;
    text-shadow: none;
    box-shadow: 0 0 20px rgba(51, 255, 51, 0.6);
}

.toast.show {
    opacity: 1;
}

/* Equipment */
#equipped-tool {
    padding: 8px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid #1a8c1a;
    text-align: center;
    font-size: 12px;
}

.inventory-item.equipped {
    background: rgba(51, 255, 51, 0.1);
    border-color: #33ff33;
}

.btn-equip, .btn-unequip {
    padding: 2px 8px;
    font-size: 11px;
    border: 1px solid #33ff33;
    cursor: pointer;
    box-shadow: none;
}

.btn-equip {
    background: transparent;
    color: #33ff33;
}

.btn-equip:hover {
    background: rgba(51, 255, 51, 0.1);
    color: #66ff66;
}

.btn-unequip {
    background: transparent;
    color: #1a8c1a;
    border-color: #1a8c1a;
}

.btn-unequip:hover {
    background: rgba(51, 255, 51, 0.1);
    color: #33ff33;
}

/* Skills */
.skill-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 8px;
    font-size: 12px;
}

.skill-name {
    width: 80px;
}

.skill-level {
    width: 30px;
    text-align: center;
    font-weight: normal;
    color: #33ff33;
    text-shadow: 0 0 10px rgba(51, 255, 51, 0.8);
}

.skill-xp-bar {
    flex: 1;
    height: 8px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid #1a8c1a;
    overflow: hidden;
}

.skill-xp-fill {
    height: 100%;
    background: #33ff33;
    box-shadow: 0 0 5px rgba(51, 255, 51, 0.5);
    transition: width 0.3s ease;
}

.skill-xp {
    width: 60px;
    text-align: right;
    color: #1a8c1a;
    font-size: 11px;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #080d08;
}

::-webkit-scrollbar-thumb {
    background: #1a8c1a;
}

::-webkit-scrollbar-thumb:hover {
    background: #33ff33;
}

/* Trade Window */
.modal-small {
    min-width: auto;
    max-width: 250px;
}

.modal-trade {
    min-width: 450px;
}

.trade-columns {
    display: flex;
    gap: 15px;
    margin: 15px 0;
}

.trade-column {
    flex: 1;
    background: rgba(0, 0, 0, 0.5);
    padding: 10px;
    border: 1px solid #1a8c1a;
}

.trade-column h4 {
    margin: 0 0 10px 0;
    padding-bottom: 5px;
    border-bottom: 1px solid #1a8c1a;
    color: #33ff33;
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9em;
}

.trade-items {
    min-height: 60px;
    margin-bottom: 10px;
}

.trade-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 8px;
    margin: 4px 0;
    background: rgba(51, 255, 51, 0.05);
    border: 1px solid #1a8c1a;
}

.trade-item button {
    background: transparent;
    border: 1px solid #ff3333;
    color: #ff3333;
    width: 22px;
    height: 22px;
    padding: 0;
    cursor: pointer;
    font-weight: bold;
    box-shadow: none;
    text-shadow: none;
}

.trade-item button:hover {
    background: rgba(255, 51, 51, 0.2);
    box-shadow: none;
}

.trade-gold-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 10px 0;
}

.trade-gold-row label {
    color: #1a8c1a;
    text-shadow: none;
}

.trade-gold-row input {
    width: 80px;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid #33ff33;
    color: #33ff33;
    padding: 4px 8px;
    font-family: 'VT323', 'Courier New', monospace;
    font-size: 1em;
    text-shadow: 0 0 5px rgba(51, 255, 51, 0.5);
}

.trade-status {
    text-align: center;
    padding: 8px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid #1a8c1a;
    margin-bottom: 15px;
    color: #1a8c1a;
}

.trade-status .confirmed {
    color: #33ff33;
    text-shadow: 0 0 10px rgba(51, 255, 51, 0.8);
}

.add-item-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    margin: 4px 0;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid #1a8c1a;
}

.add-item-row input {
    width: 60px;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid #33ff33;
    color: #33ff33;
    padding: 4px;
    font-family: 'VT323', 'Courier New', monospace;
    font-size: 1em;
}

.add-item-row button {
    padding: 4px 12px;
    font-size: 0.85em;
}

/* Bank Modal */
.modal-bank {
    min-width: 500px;
}

.bank-gold-section {
    background: rgba(0, 0, 0, 0.5);
    padding: 15px;
    border: 1px solid #1a8c1a;
    margin-bottom: 15px;
}

.bank-gold-display {
    display: flex;
    justify-content: space-around;
    margin-bottom: 12px;
}

.bank-gold-display strong {
    color: #33ff33;
    text-shadow: 0 0 10px rgba(51, 255, 51, 0.8);
}

.bank-gold-controls {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.bank-gold-controls input {
    width: 100px;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid #33ff33;
    color: #33ff33;
    padding: 6px 10px;
    font-family: 'VT323', 'Courier New', monospace;
    font-size: 1em;
    text-shadow: 0 0 5px rgba(51, 255, 51, 0.5);
}

.bank-columns {
    display: flex;
    gap: 15px;
}

.bank-column {
    flex: 1;
    background: rgba(0, 0, 0, 0.5);
    padding: 10px;
    border: 1px solid #1a8c1a;
}

.bank-column h4 {
    margin: 0 0 10px 0;
    padding-bottom: 5px;
    border-bottom: 1px solid #1a8c1a;
    color: #33ff33;
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9em;
}

.bank-item-list {
    max-height: 250px;
    overflow-y: auto;
}

.bank-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 8px;
    margin: 4px 0;
    background: rgba(51, 255, 51, 0.05);
    border: 1px solid #1a8c1a;
    font-size: 0.85em;
}

.bank-item-actions {
    display: flex;
    gap: 4px;
}

.bank-item-actions button {
    padding: 2px 8px;
    font-size: 0.8em;
    box-shadow: none;
}

/* Chat */
#chat-panel {
    display: flex;
    flex-direction: column;
}

#chat-messages {
    flex: 1;
    overflow-y: auto;
    scrollbar-width: none;
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 0.8em;
    line-height: 1.4;
}

#chat-messages::-webkit-scrollbar {
    display: none;
}

.chat-msg {
    padding: 1px 0;
}

.chat-msg .chat-name {
    color: #33ff33;
    text-shadow: 0 0 5px rgba(51, 255, 51, 0.5);
}

.chat-msg .chat-text {
    color: #1a8c1a;
}

.chat-msg.chat-system {
    color: #1a6a1a;
    font-style: italic;
}

#chat-input-row {
    display: flex;
    gap: 5px;
    margin-top: 5px;
}

#chat-input {
    flex: 1;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid #1a8c1a;
    color: #33ff33;
    padding: 4px 8px;
    font-family: 'VT323', 'Courier New', monospace;
    font-size: 0.85em;
    text-shadow: 0 0 5px rgba(51, 255, 51, 0.5);
}

#chat-input:focus {
    outline: none;
    border-color: #33ff33;
}

#chat-send {
    padding: 4px 10px;
    font-size: 0.8em;
    box-shadow: none;
}

/* Equipment Slots */
.equipment-slots {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 4px 0;
}

.equip-slot {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85em;
}

.slot-label {
    color: #888;
    min-width: 55px;
    text-transform: capitalize;
}

.slot-item {
    color: #1a8c1a;
}

.equip-slot button {
    background: none;
    border: none;
    color: #f44;
    cursor: pointer;
    font-family: 'VT323', 'Courier New', monospace;
    font-size: 0.85em;
    padding: 0 2px;
}

.equip-slot button:hover {
    color: #ff6666;
    text-shadow: 0 0 5px rgba(255, 68, 68, 0.5);
}

.equip-bonus {
    color: #4af;
    font-size: 0.85em;
}

.equip-totals {
    color: #4af;
    font-size: 0.85em;
    padding-top: 4px;
    border-top: 1px solid #1a3a1a;
    margin-top: 4px;
}

/* Combat HP Display */
#player-hp {
    color: #f44;
    text-shadow: 0 0 10px rgba(255, 68, 68, 0.8);
}

/* Combat Panel */
.combat-panel {
    position: fixed;
    top: 80px;
    right: 20px;
    width: 200px;
    background: rgba(8, 13, 8, 0.95);
    border: 1px solid #33ff33;
    border-radius: 4px;
    padding: 10px;
    z-index: 8000;
    box-shadow: 0 0 10px rgba(51, 255, 51, 0.3);
}

.combat-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

#combat-enemy-name {
    color: #f44;
    font-size: 1.1em;
    text-shadow: 0 0 5px rgba(255, 68, 68, 0.5);
}

.combat-flee-btn {
    background: #400;
    color: #f44;
    border: 1px solid #f44;
    padding: 4px 10px;
    font-family: inherit;
    font-size: 0.9em;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.combat-flee-btn:hover {
    background: #600;
    box-shadow: 0 0 5px rgba(255, 68, 68, 0.5);
}

.combat-hp-bar {
    width: 100%;
    height: 16px;
    background: #1a1a1a;
    border: 1px solid #333;
    margin-bottom: 4px;
}

.combat-hp-fill {
    height: 100%;
    background: #4a4;
    transition: width 0.2s, background-color 0.3s;
}

.combat-hp-text {
    text-align: center;
    color: #fff;
    font-size: 0.95em;
}

/* Casino Modal */
.casino-modal {
    min-width: 480px;
    max-width: 520px;
}

.casino-bet-screen {
    text-align: center;
}

.casino-gold-display {
    color: #33ff33;
    font-size: 1.2em;
    margin-bottom: 16px;
    text-shadow: 0 0 10px rgba(51, 255, 51, 0.8);
}

.casino-bet-label {
    color: #8B0000;
    font-size: 1.1em;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
    text-shadow: 0 0 8px rgba(139, 0, 0, 0.6);
}

.casino-bet-input {
    width: 140px;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid #8B0000;
    color: #ff4444;
    padding: 8px 12px;
    font-family: 'VT323', 'Courier New', monospace;
    font-size: 1.2em;
    text-align: center;
    text-shadow: 0 0 5px rgba(255, 68, 68, 0.5);
}

.casino-bet-input:focus {
    outline: none;
    border-color: #ff4444;
    box-shadow: 0 0 8px rgba(139, 0, 0, 0.4);
}

.casino-quick-bets {
    display: flex;
    gap: 6px;
    justify-content: center;
    margin: 12px 0 16px;
    flex-wrap: wrap;
}

.casino-quick-bet {
    background: rgba(139, 0, 0, 0.2);
    border: 1px solid #8B0000;
    color: #ff6666;
    padding: 4px 10px;
    font-family: 'VT323', 'Courier New', monospace;
    font-size: 0.9em;
    cursor: pointer;
    text-shadow: none;
    box-shadow: none;
}

.casino-quick-bet:hover {
    background: rgba(139, 0, 0, 0.4);
    color: #ff4444;
    box-shadow: 0 0 5px rgba(139, 0, 0, 0.4);
}

.casino-deal-btn {
    background: #8B0000;
    border: 1px solid #ff4444;
    color: #fff;
    padding: 8px 32px;
    font-family: 'VT323', 'Courier New', monospace;
    font-size: 1.1em;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.casino-deal-btn:hover {
    background: #a00;
    box-shadow: 0 0 10px rgba(139, 0, 0, 0.6);
}

.casino-deal-btn:disabled {
    opacity: 0.4;
    cursor: default;
}

.casino-error {
    color: #ff4444;
    font-size: 0.9em;
    margin-top: 8px;
    min-height: 1.2em;
}

/* Casino Game Screen */
.casino-hand-section {
    margin-bottom: 16px;
    padding: 12px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid #333;
    border-radius: 4px;
}

.casino-hand-label {
    color: #888;
    font-size: 0.85em;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
}

.casino-hand-total {
    color: #33ff33;
    font-size: 1em;
    float: right;
    text-shadow: 0 0 5px rgba(51, 255, 51, 0.5);
}

.casino-cards {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.casino-card {
    width: 60px;
    height: 84px;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.casino-card-front {
    background: #f0ede4;
    border: 1px solid #999;
}

.casino-card-back {
    background: #333;
    border: 2px solid #444;
    position: relative;
}

.casino-card-back::after {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    right: 4px;
    bottom: 4px;
    border: 1px solid #555;
    border-radius: 2px;
}

.casino-card-rank {
    font-size: 20px;
    font-weight: bold;
    font-family: 'VT323', 'Courier New', monospace;
    line-height: 1;
}

.casino-card-suit {
    font-size: 12px;
    font-family: 'VT323', 'Courier New', monospace;
    margin-top: 2px;
}

.casino-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 16px 0 8px;
}

.casino-hit-btn, .casino-stand-btn {
    padding: 8px 28px;
    font-family: 'VT323', 'Courier New', monospace;
    font-size: 1.1em;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.casino-hit-btn {
    background: rgba(139, 0, 0, 0.3);
    border: 1px solid #8B0000;
    color: #ff6666;
}

.casino-hit-btn:hover {
    background: rgba(139, 0, 0, 0.5);
    box-shadow: 0 0 8px rgba(139, 0, 0, 0.4);
}

.casino-stand-btn {
    background: rgba(26, 140, 26, 0.2);
    border: 1px solid #1a8c1a;
    color: #33ff33;
}

.casino-stand-btn:hover {
    background: rgba(26, 140, 26, 0.4);
    box-shadow: 0 0 8px rgba(51, 255, 51, 0.3);
}

.casino-hit-btn:disabled, .casino-stand-btn:disabled {
    opacity: 0.4;
    cursor: default;
}

.casino-bet-display {
    text-align: center;
    color: #888;
    font-size: 0.9em;
}

.casino-bet-display strong {
    color: #ff6666;
}

/* Casino Result Screen */
.casino-result {
    text-align: center;
    font-size: 1.4em;
    margin: 16px 0;
    padding: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.casino-result.win {
    color: #33ff33;
    text-shadow: 0 0 15px rgba(51, 255, 51, 0.8);
}

.casino-result.loss {
    color: #ff4444;
    text-shadow: 0 0 15px rgba(255, 68, 68, 0.8);
}

.casino-result.push {
    color: #DAA520;
    text-shadow: 0 0 15px rgba(218, 165, 32, 0.8);
}

.casino-result.blackjack {
    color: #DAA520;
    font-size: 1.6em;
    text-shadow: 0 0 20px rgba(218, 165, 32, 1);
}

.casino-result-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 16px;
}

.casino-play-again-btn {
    background: #8B0000;
    border: 1px solid #ff4444;
    color: #fff;
    padding: 8px 24px;
    font-family: 'VT323', 'Courier New', monospace;
    font-size: 1em;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.casino-play-again-btn:hover {
    background: #a00;
    box-shadow: 0 0 10px rgba(139, 0, 0, 0.6);
}

.casino-leave-btn {
    background: transparent;
    border: 1px solid #666;
    color: #888;
    padding: 8px 24px;
    font-family: 'VT323', 'Courier New', monospace;
    font-size: 1em;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.casino-leave-btn:hover {
    border-color: #999;
    color: #ccc;
}
