.rmd-raffle-container { max-width: 1000px; margin: 0 auto; font-family: Arial, sans-serif; }
.rmd-header { text-align: center; margin-bottom: 30px; }
.rmd-timer { background: #d63638; color: white; padding: 15px; border-radius: 8px; display: inline-block; margin: 20px 0; }
.rmd-countdown { font-size: 24px; font-weight: bold; }
.rmd-countdown span { display: inline-block; min-width: 40px; }

.rmd-prize-section { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-bottom: 30px; background: #f9f9f9; padding: 20px; border-radius: 10px; }
.rmd-prize-img { width: 100%; height: 300px; object-fit: cover; border-radius: 8px; }
.rmd-price { font-size: 28px; color: #d63638; font-weight: bold; }
.rmd-shipping { color: #4CAF50; font-weight: bold; }

.rmd-numbers-grid { margin: 30px 0; }
.rmd-grid { display: grid; grid-template-columns: repeat(10, 1fr); gap: 8px; margin: 20px 0; }
.rmd-number { padding: 15px; border: 2px solid #ddd; background: white; cursor: pointer; font-weight: bold; border-radius: 4px; transition: all 0.3s; }
.rmd-number.available { background: #4CAF50; color: white; border-color: #4CAF50; }
.rmd-number.available:hover { background: #45a049; transform: scale(1.1); }
.rmd-number.sold { background: #f44336; color: white; border-color: #f44336; cursor: not-allowed; opacity: 0.7; }
.rmd-number.selected { background: #2196F3; color: white; border-color: #2196F3; animation: pulse 1s infinite; }

@keyframes pulse { 0% { transform: scale(1); } 50% { transform: scale(1.05); } 100% { transform: scale(1); } }

.rmd-legend { display: inline-block; width: 20px; height: 20px; margin: 0 5px; vertical-align: middle; border-radius: 3px; }
.rmd-legend.available { background: #4CAF50; }
.rmd-legend.sold { background: #f44336; }
.rmd-legend.selected { background: #2196F3; }

.rmd-purchase-form { background: #fff; padding: 25px; border: 2px solid #2196F3; border-radius: 8px; margin-top: 20px; }
.rmd-form-row { margin-bottom: 15px; }
.rmd-form-row label { display: block; margin-bottom: 5px; font-weight: bold; }
.rmd-form-row input { width: 100%; padding: 10px; border: 1px solid #ddd; border-radius: 4px; }
.rmd-selected-numbers { background: #e3f2fd; padding: 15px; margin-bottom: 20px; border-radius: 4px; }

.rmd-btn { padding: 12px 30px; border: none; border-radius: 4px; cursor: pointer; font-size: 16px; text-decoration: none; display: inline-block; margin: 5px; }
.rmd-btn-primary { background: #d63638; color: white; }
.rmd-btn-primary:hover { background: #b71c1c; }
.rmd-btn-secondary { background: #FF9800; color: white; }

.rmd-raffle-card { display: grid; grid-template-columns: 300px 1fr; gap: 20px; background: white; padding: 20px; margin-bottom: 20px; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
.rmd-card-image img { width: 100%; height: 200px; object-fit: cover; border-radius: 4px; }
.rmd-card-meta { margin: 15px 0; display: flex; gap: 15px; flex-wrap: wrap; }

.rmd-completed-card { background: #f5f5f5; padding: 20px; margin-bottom: 20px; border-radius: 8px; border-left: 5px solid #4CAF50; }
.rmd-ball { display: inline-block; width: 40px; height: 40px; background: #d63638; color: white; border-radius: 50%; text-align: center; line-height: 40px; margin: 0 5px; font-weight: bold; }
.rmd-winner-number { font-size: 48px; color: #d63638; font-weight: bold; text-align: center; padding: 20px; background: white; border-radius: 8px; display: inline-block; min-width: 100px; }

@media (max-width: 768px) {
    .rmd-prize-section { grid-template-columns: 1fr; }
    .rmd-grid { grid-template-columns: repeat(5, 1fr); }
    .rmd-raffle-card { grid-template-columns: 1fr; }
}