/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #9E00E7 0%, #3600C9 100%);
    min-height: 100vh;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.logo h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #4a5568;
    margin-bottom: 5px;
}

.logo p {
    color: #718096;
    font-size: 1.1rem;
    font-weight: 500;
}

.house-info {
    text-align: right;
}

.bankroll {
    margin-bottom: 10px;
}

.bankroll .label {
    color: #718096;
    font-size: 0.9rem;
    font-weight: 500;
}

.bankroll .amount {
    color: #2d3748;
    font-size: 1.2rem;
    font-weight: 600;
    margin-left: 10px;
}

.status {
    color: #38a169;
    font-weight: 600;
    font-size: 1rem;
}

/* Main Game Area */
.game-area {
    flex: 1;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.game-area h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 30px;
    text-align: center;
}

/* Game Selection */
.game-options {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-bottom: 32px;
}
.game-option {
    background: #f7fafc;
    border: 2px solid #e2e8f0;
    border-radius: 15px;
    padding: 25px 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 220px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(124,58,237,0.04);
    font-size: 1.1rem;
}
.game-option:hover {
    border-color: #7c3aed;
    box-shadow: 0 6px 24px rgba(124,58,237,0.10);
    background: #ede9fe;
}
.game-option.active {
    border-color: #7c3aed;
    background: linear-gradient(135deg, #ede9fe 0%, #f3e8ff 100%);
    color: #3a185c;
    box-shadow: 0 8px 32px rgba(124,58,237,0.12);
}
.game-option .game-info h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #7c3aed;
}
.game-option .game-info p {
    margin-bottom: 6px;
    color: #4a5568;
    font-size: 1.05rem;
}
.game-option .payout {
    font-weight: 700;
    color: #38a169;
    margin-top: 6px;
    font-size: 1.08rem;
}

.game-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.game-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.game-info p {
    margin-bottom: 10px;
    opacity: 0.9;
}

.payout {
    font-weight: 600;
    font-size: 1.1rem;
}

/* Betting Interface */
.bet-amount, .player-address {
    margin-bottom: 30px;
}

.bet-amount label, .player-address label {
    display: block;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.amount-input {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.amount-input input {
    padding: 15px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1.1rem;
    transition: border-color 0.3s ease;
}

.amount-input input:focus {
    outline: none;
    border-color: #667eea;
}

.amount-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.amount-btn {
    padding: 10px 20px;
    border: 2px solid #e2e8f0;
    background: white;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.amount-btn:hover {
    border-color: #667eea;
    background: #f7fafc;
}

.amount-btn.active {
    border-color: #667eea;
    background: #667eea;
    color: white;
}

.player-address input {
    width: 100%;
    padding: 15px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.player-address input:focus {
    outline: none;
    border-color: #667eea;
}

/* Bet Info */
.bet-info {
    background: #f7fafc;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #e2e8f0;
}

.info-row:last-child {
    border-bottom: none;
}

.info-row span:first-child {
    color: #718096;
    font-weight: 500;
}

.info-row span:last-child {
    color: #2d3748;
    font-weight: 600;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.btn-secondary {
    background: #e2e8f0;
    color: #4a5568;
}

.btn-secondary:hover {
    background: #cbd5e0;
    transform: translateY(-2px);
}

/* Payment Interface */
.payment-details {
    background: #f7fafc;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
}

.payment-amount, .house-address {
    margin-bottom: 25px;
}

.payment-amount .label, .house-address .label {
    display: block;
    color: #718096;
    font-weight: 500;
    margin-bottom: 8px;
}

.payment-amount .amount {
    font-size: 2rem;
    font-weight: 700;
    color: #2d3748;
}

.address-display {
    display: flex;
    align-items: center;
    gap: 15px;
    background: white;
    padding: 15px;
    border-radius: 10px;
    border: 2px solid #e2e8f0;
}

.address-display span {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: #4a5568;
    word-break: break-all;
}

.copy-btn {
    padding: 8px 15px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
}

.copy-btn:hover {
    background: #5a67d8;
}

.payment-instructions {
    margin-bottom: 25px;
}

.payment-instructions h4 {
    color: #2d3748;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.payment-instructions ol {
    padding-left: 20px;
}

.payment-instructions li {
    margin-bottom: 8px;
    color: #4a5568;
}

/* Result Interface */
.result-details {
    background: #f7fafc;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
}

.dice-roll, .result {
    text-align: center;
    margin-bottom: 25px;
}

.dice-roll .label {
    display: block;
    color: #718096;
    font-weight: 500;
    margin-bottom: 10px;
}

.dice-roll .roll {
    font-size: 3rem;
    font-weight: 700;
    color: #2d3748;
}

.result .result-text {
    font-size: 2rem;
    font-weight: 700;
    padding: 15px 30px;
    border-radius: 10px;
    display: inline-block;
}

.result.win .result-text {
    background: #c6f6d5;
    color: #22543d;
}

.result.lose .result-text {
    background: #fed7d7;
    color: #742a2a;
}

.payout-info {
    background: white;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 25px;
    border: 2px solid #c6f6d5;
}

.payout-amount, .payout-address {
    margin-bottom: 15px;
}

.payout-amount .label, .payout-address .label {
    color: #718096;
    font-weight: 500;
    margin-right: 10px;
}

.payout-amount .amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: #22543d;
}

.verification {
    background: white;
    border-radius: 10px;
    padding: 20px;
    border: 2px solid #e2e8f0;
}

.verification h4 {
    color: #2d3748;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.verification-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #e2e8f0;
}

.verification-row:last-child {
    border-bottom: none;
}

.verification-row span:first-child {
    color: #718096;
    font-weight: 500;
}

.verification-row span:last-child {
    color: #4a5568;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    word-break: break-all;
}

/* Footer */
.footer {
    margin-top: 40px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.footer-section h4 {
    color: #2d3748;
    margin-bottom: 15px;
    font-size: 1.2rem;
    font-weight: 600;
}

.footer-section p {
    color: #718096;
    line-height: 1.6;
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

.loading-text {
    color: white;
    font-size: 1.2rem;
    font-weight: 500;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    .header {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .house-info {
        text-align: center;
    }
    
    .game-area {
        padding: 20px;
    }
    
    .game-options {
        flex-direction: column;
        align-items: center;
    }
    
    .game-option {
        width: 100%;
        max-width: 320px;
    }
    
    .amount-buttons {
        justify-content: center;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* Payout Card Styles */
.payout-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px 24px;
  max-width: 600px;
  margin: 40px auto;
  box-shadow: 0 4px 24px rgba(124,58,237,0.08), 0 1.5px 0 #7c3aed;
  border: 2px solid #e0e0e0;
  color: #222;
}
.payout-card h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #7c3aed;
  letter-spacing: 0.5px;
}
.payout-card label {
  font-weight: 600;
  margin-top: 16px;
  display: block;
  color: #3a185c;
}
.payout-card textarea, .payout-card input {
  width: 100%;
  background: #f7f7fa;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  color: #222;
  padding: 10px;
  margin-top: 6px;
  margin-bottom: 16px;
  font-size: 1rem;
  resize: vertical;
}
.slatepack-columns {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}
.slatepack-col {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.action-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  margin-bottom: 8px;
}
.btn {
  padding: 10px 24px;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-primary {
  background: #7c3aed;
  color: #fff;
}
.btn-primary:hover {
  background: #5b21b6;
}
.btn-danger {
  background: #d32f2f;
  color: #fff;
}
.btn-secondary {
  background: #f3f4f6;
  color: #3a185c;
  border: 1px solid #7c3aed;
}
.btn-link {
  background: none;
  color: #7c3aed;
  border: none;
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
}

.btn:disabled, button[disabled] {
  background: #e0e0e0 !important;
  color: #aaa !important;
  cursor: not-allowed !important;
  border: 1px solid #ccc !important;
  box-shadow: none !important;
}
.payout-card textarea:disabled, textarea[disabled] {
  background: #f0f0f0 !important;
  color: #aaa !important;
  cursor: not-allowed !important;
  border: 1px solid #e0e0e0 !important;
}

#copyPayoutSlatepackBtn {
  margin-top: 6px;
  margin-bottom: 8px;
  width: 100%;
  background: #f3f4f6;
  color: #3a185c;
  border: 1px solid #7c3aed;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
#copyPayoutSlatepackBtn:hover {
  background: #e9d8fd;
}
#claim-messages {
  margin-top: 16px;
}
#claim-messages pre {
  background: #2f232e;
  color: #fff;
  padding: 12px;
  margin-top: 10px;
  border-radius: 8px;
  font-size: 1rem;
  white-space: pre-wrap;
  word-break: break-all;
  max-height: 200px;
  overflow: auto;
  box-sizing: border-box;
} 