/* Card Styles */
.card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    transition: all 0.3s;
}

.card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.card h3 {
    color: #333;
    margin-bottom: 10px;
}

.card p {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}

/* Panel */
.panel {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.panel h3 {
    margin: 0 0 20px 0;
    color: #333;
    font-size: 18px;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
}

/* Grids */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.adventures-grid,
.lobbies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.players-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
}

/* Adventure/Quiz Card */
.adventure-card {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s;
}

.adventure-card:hover {
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

.adventure-card h3 {
    color: #333;
    margin-bottom: 10px;
}

.adventure-card p {
    color: #999;
    font-size: 13px;
    margin: 8px 0;
}

/* Card Actions */
.card-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.card-actions .btn,
.card-actions button {
    flex: 1;
    text-align: center;
}

/* Player Card */
.player-card {
    background: #f8f9fa;
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    border-left: 4px solid #667eea;
}

.player-name {
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.player-icon {
    font-size: 20px;
    margin-bottom: 5px;
}

.empty-players {
    text-align: center;
    padding: 30px;
    color: #999;
}

/* Status Badge */
.status-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.open {
    background: #e3f2fd;
    color: #1976d2;
}

.status-badge.running {
    background: #fff3e0;
    color: #e65100;
}

.status-badge.closed {
    background: #f3e5f5;
    color: #7b1fa2;
}
