Texas Holdem MCP Server

by freshlife001
Verified
body { font-family: 'Poppins', Arial, sans-serif; margin: 0; padding: 0; background: url('back.avif') center center fixed; background-size: cover; position: relative; min-height: 100vh; color: #333; } /* Add Vegas-style overlay with lights */ body::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.5) 100%); z-index: -1; } /* Add animated lights effect */ body::after { content: ''; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: radial-gradient(circle at 20% 30%, rgba(255, 215, 0, 0.2) 0%, transparent 20%), radial-gradient(circle at 80% 20%, rgba(255, 0, 0, 0.2) 0%, transparent 20%), radial-gradient(circle at 40% 80%, rgba(0, 0, 255, 0.2) 0%, transparent 20%), radial-gradient(circle at 70% 60%, rgba(148, 0, 211, 0.2) 0%, transparent 20%); z-index: -1; animation: casino-lights 15s infinite alternate; } @keyframes casino-lights { 0% { opacity: 0.5; } 25% { opacity: 0.7; } 50% { opacity: 0.9; } 75% { opacity: 0.7; } 100% { opacity: 0.5; } } /* Remove the previous gradient animation */ @keyframes gradient { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } } .container { max-width: 1200px; margin: 0 auto; padding: 30px 20px; } h1 { text-align: center; color: white; font-size: 2.5rem; margin-bottom: 30px; text-shadow: 2px 2px 4px rgba(0,0,0,0.3); } h2 { color: #2c3e50; border-bottom: 2px solid #3498db; padding-bottom: 10px; margin-top: 0; } .login-container, .tables-container, .game-container, .create-table-container { background-color: rgba(255, 255, 255, 0.9); border-radius: 12px; padding: 30px; margin-bottom: 30px; box-shadow: 0 10px 30px rgba(0,0,0,0.2); backdrop-filter: blur(5px); transition: all 0.3s ease; } .table-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; margin-top: 20px; } .hidden { display: none !important; } .table-card { border: none; border-radius: 10px; padding: 20px; cursor: pointer; transition: all 0.3s ease; background: linear-gradient(145deg, #ffffff, #f0f0f0); box-shadow: 5px 5px 15px rgba(0,0,0,0.1), -5px -5px 15px rgba(255,255,255,0.8); } .table-card:hover { transform: translateY(-5px); box-shadow: 8px 8px 20px rgba(0,0,0,0.15), -8px -8px 20px rgba(255,255,255,0.9); } .table-card h3 { color: #2c3e50; margin-top: 0; font-size: 1.3rem; } .table-card p { color: #7f8c8d; margin: 8px 0; } .poker-table { background: linear-gradient(145deg, #277a2a, #1e5e20); border-radius: 200px; width: 800px; height: 400px; margin: 0 auto; position: relative; color: white; box-shadow: 0 15px 35px rgba(0,0,0,0.3); border: 15px solid #8B4513; display: flex; flex-wrap: wrap; justify-content: space-around; align-items: center; padding: 20px; } .community-cards { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); display: flex; gap: 10px; z-index: 2; } .player-seat { width: 120px; height: 120px; background-color: rgba(0,0,0,0.6); border-radius: 50%; display: flex; flex-direction: column; justify-content: center; align-items: center; color: white; transition: all 0.3s ease; box-shadow: 0 5px 15px rgba(0,0,0,0.3); text-align: center; margin: 10px; position: relative; z-index: 1; } /* Create a container for player seats */ .player-seats-container { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: flex; flex-wrap: wrap; justify-content: space-around; align-items: center; } /* Position seats in a circle */ .card { width: 60px; height: 90px; background: linear-gradient(145deg, #ffffff, #f0f0f0); border-radius: 8px; display: flex; justify-content: center; align-items: center; color: black; font-weight: bold; box-shadow: 0 4px 8px rgba(0,0,0,0.3); transition: transform 0.3s ease; position: relative; overflow: hidden; } .card:hover { transform: translateY(-5px); } .player-seat { position: absolute; width: 120px; height: 120px; background-color: rgba(0,0,0,0.6); border-radius: 50%; display: flex; flex-direction: column; justify-content: center; align-items: center; color: white; transition: all 0.3s ease; box-shadow: 0 5px 15px rgba(0,0,0,0.3); text-align: center; } .player-seat p, .player-seat span, .player-seat div { margin: 2px 0; width: 100%; text-align: center; } .player-seat.active { box-shadow: 0 0 20px 8px gold; animation: pulse 1.5s infinite; } @keyframes pulse { 0% { box-shadow: 0 0 20px 8px rgba(255,215,0,0.7); } 50% { box-shadow: 0 0 30px 12px rgba(255,215,0,1); } 100% { box-shadow: 0 0 20px 8px rgba(255,215,0,0.7); } } .pot { position: absolute; top: 30%; left: 50%; transform: translateX(-50%); font-size: 28px; font-weight: bold; text-shadow: 2px 2px 4px rgba(0,0,0,0.5); } .actions { margin-top: 30px; display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; } button { padding: 12px 20px; border: none; border-radius: 8px; background: linear-gradient(145deg, #4CAF50, #45a049); color: white; cursor: pointer; font-size: 16px; font-weight: 500; transition: all 0.3s ease; box-shadow: 0 4px 8px rgba(0,0,0,0.2); font-family: 'Poppins', sans-serif; } button:hover { transform: translateY(-3px); box-shadow: 0 6px 12px rgba(0,0,0,0.3); } button:active { transform: translateY(1px); } button:disabled { background: linear-gradient(145deg, #cccccc, #bbbbbb); cursor: not-allowed; transform: none; box-shadow: 0 2px 4px rgba(0,0,0,0.1); color: #888888; opacity: 0.7; } /* Override specific button styles when disabled */ #foldBtn:disabled, #checkBtn:disabled, #callBtn:disabled, #betBtn:disabled, #raiseBtn:disabled { background: linear-gradient(145deg, #cccccc, #bbbbbb); color: #888888; } #refreshTablesBtn, #createTableBtn { margin-right: 10px; margin-bottom: 10px; } #leaveTableBtn { background: linear-gradient(145deg, #e74c3c, #c0392b); } #leaveTableBtn:hover { background: linear-gradient(145deg, #c0392b, #e74c3c); } #foldBtn { background: linear-gradient(145deg, #e74c3c, #c0392b); } #checkBtn, #callBtn { background: linear-gradient(145deg, #3498db, #2980b9); } #betBtn, #raiseBtn { background: linear-gradient(145deg, #f1c40f, #f39c12); color: #2c3e50; } input { padding: 12px 15px; border: 2px solid #ddd; border-radius: 8px; font-size: 16px; transition: all 0.3s ease; box-shadow: inset 0 2px 4px rgba(0,0,0,0.1); font-family: 'Poppins', sans-serif; } input:focus { border-color: #3498db; outline: none; box-shadow: inset 0 2px 4px rgba(0,0,0,0.1), 0 0 8px rgba(52,152,219,0.6); } .player-hand { display: flex; justify-content: center; gap: 15px; margin-top: 30px; } .red { color: #e74c3c; } .notification-area { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 400px; max-height: 80vh; z-index: 1000; display: flex; flex-direction: column; align-items: center; gap: 15px; pointer-events: none; } .action-notification { background-color: rgba(0, 0, 0, 0.8); color: white; padding: 15px 25px; border-radius: 12px; box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3); animation: fadeIn 0.4s ease-in-out; transition: opacity 0.5s ease-out, transform 0.5s ease-out; font-size: 24px; text-align: center; width: 100%; } .action-notification.fade-out { opacity: 0; transform: translateY(-20px); } @keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } } /* Form styling */ .form-group { margin-bottom: 20px; } .form-group label { display: block; margin-bottom: 8px; font-weight: 500; color: #2c3e50; } .form-row { display: flex; gap: 15px; margin-bottom: 20px; flex-wrap: wrap; } .form-row > div { flex: 1; min-width: 200px; } .form-row input { width: 100%; } .btn-group { display: flex; gap: 15px; margin-top: 25px; } .game-stage { font-size: 1.2rem; font-weight: bold; margin-bottom: 10px; color: #fff; background-color: #2c3e50; padding: 5px 10px; border-radius: 5px; display: flex; justify-content: space-between; align-items: center; } .game-stage span { margin: 0 5px; } /* Responsive adjustments */ @media (max-width: 900px) { .poker-table { width: 90%; height: 300px; border-width: 10px; } .card { width: 45px; height: 70px; font-size: 14px; } .player-seat { width: 90px; height: 90px; font-size: 14px; } .pot { font-size: 22px; top: 25%; } .actions { flex-direction: column; align-items: center; gap: 10px; } .actions button, .actions input { width: 100%; max-width: 300px; margin: 0; } h1 { font-size: 2rem; margin-bottom: 15px; } .container { padding: 15px; height: 100vh; display: flex; flex-direction: column; } .game-container { flex: 1; display: flex; flex-direction: column; overflow: hidden; margin-bottom: 0; padding: 15px; } .player-hand { margin-top: 15px; } } @media (max-width: 600px) { body { overflow: hidden; position: fixed; width: 100%; height: 100%; } .container { padding: 10px 5px; max-height: 100vh; } /* Hide title on mobile when in game view */ .hide-title h1 { display: none; } h1 { font-size: 1.6rem; margin-bottom: 8px; } h2 { font-size: 1.3rem; margin-bottom: 8px; padding-bottom: 5px; } .login-container, .tables-container, .game-container, .create-table-container { padding: 15px 10px; margin-bottom: 20px; max-height: calc(100vh); overflow-y: auto; } .poker-table { height: calc(100vh - 100px); /* Increased height to fill more of the screen */ border-width: 6px; margin: 0 auto; padding: 0; } /* Make action buttons smaller */ .actions { display: flex; flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 5px; margin-top: 5px; } .actions button { padding: 6px 8px; font-size: 11px; min-height: 30px; max-width: 60px; flex: 0 0 auto; } .actions input { padding: 6px 8px; font-size: 11px; height: 30px; max-width: 60px; flex: 0 0 auto; } /* Group bet controls together */ #betBtn, #betAmount, #raiseBtn { display: inline-flex; margin: 0 2px; } /* Create a betting controls container */ .actions::after { content: ""; display: block; width: 100%; order: 1; } #betBtn { order: 2; } #betAmount { order: 3; } #raiseBtn { order: 4; } /* Reduce spacing around elements */ .player-hand { margin-top: 5px; gap: 8px; } .table-list { grid-template-columns: 1fr; gap: 10px; margin-top: 10px; max-height: calc(100vh - 200px); overflow-y: auto; } .action-notification { width: 90%; font-size: 16px; padding: 8px 12px; } .actions { gap: 8px; margin-top: 10px; } button { padding: 8px 15px; font-size: 14px; } input { padding: 8px 12px; font-size: 14px; } } /* Adjust player seat positions for smaller screens */ @media (max-width: 900px) { /* We'll need to adjust the JavaScript that positions the seats dynamically */ /* This is a placeholder for seat position adjustments */ .community-cards { gap: 5px; } } .countdown-timer { position: fixed; top: 10px; left: 50%; transform: translateX(-50%); padding: 10px; background-color: rgba(0, 0, 0, 0.7); border-radius: 5px; color: white; margin: 10px 0; text-align: center; z-index: 1000; width: 200px; } .time-remaining { font-size: 18px; font-weight: bold; } .time-remaining.urgent { color: red; animation: pulse 1s infinite; } .warning-message { color: red; margin-top: 5px; } @keyframes pulse { 0% { opacity: 1; } 50% { opacity: 0.5; } 100% { opacity: 1; } }
ID: zu05b54ubz