* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', sans-serif; }
body { background: #e0e7ff; min-height: 100vh; display: flex; justify-content: center; align-items: center; color: #1e293b; padding: 20px; position: relative; }
.bg-blob { position: absolute; border-radius: 50%; filter: blur(80px); z-index: -1; opacity: 0.6; }
.blob1 { width: 400px; height: 400px; background: #fca5a5; top: -100px; left: -100px; }
.blob2 { width: 300px; height: 300px; background: #93c5fd; bottom: -50px; right: -50px; }
.blob3 { width: 250px; height: 250px; background: #6ee7b7; top: 50%; left: 50%; transform: translate(-50%, -50%); }

.glass-container { background: rgba(255, 255, 255, 0.6); backdrop-filter: blur(20px); border: 1px solid rgba(255, 255, 255, 0.8); border-radius: 24px; padding: 30px; width: 100%; max-width: 1400px; box-shadow: 0 25px 45px rgba(0, 0, 0, 0.05); }
.layout-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; }
h1 { text-align: center; font-size: 2rem; margin-bottom: 20px; }

.controls-area { background: rgba(255, 255, 255, 0.9); padding: 15px; border-radius: 15px; margin-bottom: 20px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; border: 1px solid #e2e8f0; }
.controls-area input, .controls-area select { padding: 8px; border: 1px solid #cbd5e1; border-radius: 8px; outline: none; }
.btn-danger { background: #ef4444; color: white; border: none; padding: 8px 15px; border-radius: 8px; cursor: pointer; font-weight: bold; }
.btn-next { background: #3b82f6; color: white; border: none; padding: 12px 30px; border-radius: 30px; font-size: 1.2rem; font-weight: bold; cursor: pointer; box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4); transition: 0.2s; }
.btn-next:hover { transform: scale(1.05); }

.poker-table { background: rgba(16, 185, 129, 0.1); border: 2px solid rgba(16, 185, 129, 0.3); border-radius: 50% / 20%; padding: 30px; margin-bottom: 20px; }
.pot-display { text-align: center; font-size: 1.5rem; font-weight: bold; color: #059669; margin-bottom: 15px; }
.board-section { display: flex; justify-content: center; gap: 10px; margin-bottom: 20px; }
.card-slot { width: 50px; height: 70px; background: rgba(255, 255, 255, 0.8); border: 2px dashed #94a3b8; border-radius: 8px; display: flex; justify-content: center; align-items: center; font-size: 1.5rem; font-weight: bold; cursor: pointer; transition: 0.2s; box-shadow: 0 4px 6px rgba(0,0,0,0.05); }
.card-slot:hover { background: white; border-color: #3b82f6; transform: translateY(-2px); }
.card-slot.filled { border: 2px solid #e2e8f0; background: white; font-family: 'Courier New', monospace; }
.card-red { color: #ef4444; } .card-black { color: #1e293b; }

.player-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 15px; }
.player-seat { background: rgba(255, 255, 255, 0.9); border: 1px solid #e2e8f0; border-radius: 12px; padding: 15px; box-shadow: 0 4px 6px rgba(0,0,0,0.02); display: flex; flex-direction: column; gap: 10px; position: relative; transition: 0.2s; }
.player-seat.active-turn { border: 2px solid #3b82f6; box-shadow: 0 0 15px rgba(59, 130, 246, 0.3); transform: scale(1.02); }
.player-seat.folded { opacity: 0.5; }

.player-header { display: flex; justify-content: space-between; font-weight: bold; font-size: 0.9rem; }
.player-name-input { border: none; background: transparent; font-weight: bold; font-size: 0.9rem; width: 60%; border-bottom: 1px dashed #cbd5e1; color: #1e293b; }
.player-stack { color: #059669; }
.player-bet { font-size: 0.8rem; color: #64748b; }

.rival-cards { display: flex; gap: 5px; margin-bottom: 5px; }
.rival-card-slot { width: 30px; height: 42px; background: rgba(0,0,0,0.05); border: 1px dashed #94a3b8; border-radius: 4px; display: flex; justify-content: center; align-items: center; font-size: 1rem; cursor: pointer; font-weight: bold; }
.rival-card-slot.filled { background: white; border: 1px solid #cbd5e1; }

.action-buttons { display: flex; flex-wrap: wrap; gap: 5px; margin-top: auto; }
.btn-action { flex: 1; padding: 6px; border-radius: 6px; border: 1px solid #cbd5e1; background: white; cursor: pointer; font-size: 0.75rem; font-weight: bold; color: #475569; }
.btn-action:disabled { opacity: 0.3; cursor: not-allowed; }
.btn-action.fold { background: #fee2e2; color: #b91c1c; }
.btn-action.raise { background: #dbeafe; color: #1d4ed8; }
.btn-action.allin { background: #fef08a; color: #854d0e; }

.coach-panel { background: rgba(255, 255, 255, 0.9); border-radius: 20px; padding: 20px; display: flex; flex-direction: column; border: 1px solid #e2e8f0; }
.coach-panel h2 { font-size: 1.2rem; margin-bottom: 15px; color: #1e293b; border-bottom: 1px solid #e2e8f0; padding-bottom: 10px;}
.coach-chat { flex: 1; background: #f8fafc; border-radius: 10px; padding: 15px; overflow-y: auto; max-height: 400px; margin-bottom: 20px; display: flex; flex-direction: column; gap: 10px; }
.message { padding: 10px; border-radius: 8px; font-size: 0.85rem; max-width: 90%; }
.message.bot { background: #e0e7ff; color: #1e293b; align-self: flex-start; }
.probability-box { background: rgba(16, 185, 129, 0.1); padding: 15px; border-radius: 10px; text-align: center; }
.prob-bar-container { width: 100%; height: 15px; background: #cbd5e1; border-radius: 10px; overflow: hidden; margin-bottom: 5px; }
.prob-bar { height: 100%; background: #10b981; width: 0%; transition: 0.3s; }
.prob-text { font-weight: bold; color: #1e293b; font-size: 1.2rem; }

.modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); display: flex; justify-content: center; align-items: center; z-index: 1000; }
.glass-panel { background: rgba(255,255,255,0.9); padding: 20px; border-radius: 20px; width: 90%; max-width: 600px; }
.deck-grid { display: grid; grid-template-columns: repeat(13, 1fr); gap: 5px; margin: 20px 0; }
.deck-card { background: white; border: 1px solid #cbd5e1; border-radius: 5px; padding: 10px 0; text-align: center; font-size: 1rem; font-weight: bold; cursor: pointer; transition: 0.1s; }
.deck-card:hover { transform: scale(1.1); background: #f1f5f9; }
.btn-close { background: #ef4444; color: white; border: none; padding: 10px 20px; border-radius: 8px; cursor: pointer; font-weight: bold; width: 100%; }
.hidden { display: none !important; }
.notificacion { position: fixed; bottom: 20px; right: 20px; background: #10b981; color: white; padding: 15px 25px; border-radius: 10px; z-index: 1000; }
@media (max-width: 1024px) { .layout-grid { grid-template-columns: 1fr; } }
