/* static/css/style.css */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
}

#game-area {
    border-radius: 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    cursor: pointer;
    user-select: none;
}

#coin-display {
    transition: transform 0.1s;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

#coin-display:hover {
    transform: scale(1.1);
}

.card {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.card-header {
    background-color: #343a40;
    color: white;
}

.jumbotron {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 10px;
    padding: 3rem 2rem;
}

.list-group-item {
    border-left: 3px solid #667eea;
}

#chat-messages {
    background-color: #f8f9fa;
    border-radius: 5px;
}

.alert {
    border-radius: 5px;
}

.btn {
    border-radius: 5px;
}

/* Pulse animation for important elements */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.buy-btn:hover {
    animation: pulse 0.5s ease-in-out;
}

/* CTF hint styling */
.text-muted {
    font-size: 0.9em;
}

/* Make tables more readable */
.table-sm {
    font-size: 0.875rem;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, 0.02);
}

/* Admin dashboard specific */
.card-body {
    padding: 1rem;
}

.small {
    font-size: 0.875em;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .jumbotron {
        padding: 2rem 1rem;
    }
    
    .card {
        margin-bottom: 15px;
    }
}

/* Success/Error states */
.alert-success {
    background-color: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

.alert-danger {
    background-color: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

/* Loading states */
.loading {
    opacity: 0.6;
    pointer-events: none;
}